Matthew Flatt
40c1c2ffef
cocoa cursors
2010-11-05 15:54:16 -06:00
Matthew Flatt
a368362803
better frame sizing in gtk (but still not right)
2010-11-05 15:54:07 -06:00
Jon Rafkind
eb89a429e7
set the font before computing the distance between the line numbers and the real text. add an option to the general pane to enable line numbers
2010-11-01 23:45:00 -06:00
Jon Rafkind
18504774f0
cleanup code. attempt to add preference for line numbers in the general tab. closes pr11367
2010-11-01 22:14:45 -06:00
Jon Rafkind
4f3e87d42a
replace the line number widget in drracket with the new mixin from the framework
2010-11-01 22:14:45 -06:00
Robby Findler
b121171a98
fixed a bug in the way interval maps were being used in check syntax.
...
please push to the release branch.
2010-10-26 19:47:35 -05:00
Ryan Culpepper
ff7fd55d86
Check Syntax now uses interval-maps
2010-10-22 15:30:24 -06:00
Robby Findler
a7e72a6bae
fix stupidity....
2010-10-19 23:49:18 -05:00
Robby Findler
20b596b8f2
fix pretty big for check syntax
2010-10-19 18:41:20 -05:00
Robby Findler
ea985a81d6
added some more information to the error messages when a syncheck test case fails
2010-10-19 18:41:20 -05:00
Robby Findler
920800531c
adjust drracket so that, during check syntax, there is less sharing between drracket and the user program. specifically, the gui libs are not shared
2010-10-19 07:07:09 -05:00
Robby Findler
c785235af4
made the pretty big and r5rs drracket languages use the new read-accept-lang parameter to disable #lang in the REPL
2010-10-13 15:55:17 -05:00
Matthew Flatt
6ac33a62be
set `read-accept-lang' to #t by default, plus related adjustments
...
including adding some uses of `with-module-read-parameterization'
so that `read-accept-lang' is set right anyway; still, so many
many places just set `read-accept-reader' to #t that making
`read-accept-lang' #f by default looks like too big of an
incompatibility
2010-10-08 19:01:33 -06:00
Eli Barzilay
2189957b6f
Change the errortrace protocol for `initialize-test-coverage-point' and
...
`test-covered' to use just the expression -- looks like there's no
reason to use an additional key.
Also, change its uses to map each syntax to an mcons where its mcar is
used to track coverage. This is done everywhere, since it turns out to
be much faster to insert a `set-mcar!' with a 3d mpair, rather than a
call to a thunk.
Note that it still uses mpairs as a hack. It "works" in the same way
that this simplified example does:
(define-syntax m
(let ([b (mcons 0 0)])
(lambda (stx)
(with-syntax ([b b])
#'(case-lambda [() (mcar b)]
[(x) (set-mcar! b x)])))))
I think that it's fragile, and likely to stop working at some point, but
I don't see anything better for now.
2010-10-04 17:24:22 -04:00
Robby Findler
ca930a8e30
removed some bogus code
2010-10-04 12:50:18 -05:00
Eli Barzilay
d7b9857f7b
Remove unused definition.
2010-10-04 13:18:06 -04:00
Robby Findler
1ed2c7c417
closes PR 11277
2010-10-02 09:34:22 -05:00
Jon Rafkind
9755d565bd
update the show line numbers menu option when it is selected
2010-09-29 23:48:35 -06:00
Jon Rafkind
a9b9f0c0de
get the right number of visible lines
2010-09-29 23:48:35 -06:00
Jon Rafkind
8cba0a0627
add menu item to hide/show line numbers
2010-09-29 23:48:34 -06:00
Jon Rafkind
24e0060e6d
instantiate definitions text properly. caught by drdr
2010-09-28 16:04:23 -06:00
Jon Rafkind
d112eb4ceb
add line numbers pane to drracket
2010-09-28 14:08:04 -06:00
Robby Findler
7dbb287601
make bugs like that in PR 11241 easier to diagnose / see by turning
...
the hang into a dialog.
2010-09-23 06:25:21 -05:00
Robby Findler
d55932e3df
Adjusted the 'clear error highlight' menu item so it clears the coverage annotations too.
2010-09-21 15:08:12 -05:00
Robby Findler
44fe632da5
fixed two bugs in ->i:
...
- when optional arguments didn't also have rest args,
it generated the wrong wrapper function
- the object-contract interaction was broken;
it was not adding the this argument in
Also removed the hack added earlier this eve.
closes PR 11180
2010-09-09 21:42:41 -05:00
Robby Findler
a693efb677
a hack around a bug
2010-09-09 16:39:10 -05:00
Robby Findler
d419e8c12a
changed the ->d contracts to ->i contracts
2010-09-09 14:21:35 -05:00
Casey Klein
f1be76f2e2
Special-cases DrRacket's definition-finder to find Redex metafunction definitions
2010-09-09 12:07:24 -05:00
Robby Findler
41e4470f23
closes PR 11134
2010-09-08 17:03:11 -05:00
Robby Findler
c52bc4c524
removed unused method
2010-09-05 07:41:00 -05:00
Robby Findler
5e04a5c6d9
When opening a new window where the language is one of the htdp languages (via the
...
language dialog, not the #lang htdp/* variants), teachpacks are put into the
initial REPL (instead of just having the language primitives).
closes PR 11160
2010-09-04 19:37:02 -05:00
Robby Findler
994c28d8b0
started a test suite for the check syntax coloring annotations that the contract system leaves behind
2010-09-04 11:18:38 -05:00
Robby Findler
44753bc690
adjusted the splash screen code so that the christmas day easter egg is optional (defaultly off)
2010-09-01 13:23:18 -05:00
Robby Findler
12ab498977
added docs for the splash screen library in the framework
2010-09-01 13:23:18 -05:00
Robby Findler
7020cb6e4c
adjusted the language dialog so that the output-style and fraction-style radio boxes aren't adjacent
2010-08-29 08:20:53 -05:00
Eli Barzilay
606b7f60dc
Lots of "~e" to "~.s" changes.
2010-08-25 17:17:01 -04:00
Robby Findler
d98c5025cb
adjusted the automatic compilation in drracket so that it only avoids compiling files in the main collects dir
2010-08-24 09:42:57 -05:00
Robby Findler
32f1f1d8f1
the error window for check syntax now goes away when you Run or edit the definitions window
...
closes PR 11101
2010-08-20 17:39:45 -05:00
Robby Findler
fd109558de
catch esc to close the about frame
2010-08-18 07:13:10 -05:00
Robby Findler
2cb5de9581
added a few more contracts to those that get colored by check syntax
...
(and fixed a bug in the helper macros that support the coloring)
2010-08-17 11:41:21 -05:00
Robby Findler
7352d86f1f
improved check syntax's jump-to-definition so it scrolls to a more natural place
2010-08-07 14:35:04 -05:00
Robby Findler
2b2fb3c07e
renamed the contract obligation properties and added options to a few more contract combinators
2010-08-07 14:35:04 -05:00
Robby Findler
8e4b169583
check syntax now remembers the mode it was in last time and uses that next time
...
also, fixed a bug in the way modes were switch around (colors would not
be reset if there was nothing new to color)
2010-08-07 14:35:04 -05:00
Robby Findler
18b8cde3e2
adjusted the annotations so that contracts can declare multiple parts
...
of themselves to be colored and then used that so that the #:pre-cond
and #:post-cond keywords on ->i contracts are colored.
2010-08-07 14:35:03 -05:00
Robby Findler
4eb3df7094
various cleanups, including finishing up the client mode, string constants, and coloring of (known) identifiers
2010-08-07 14:35:03 -05:00
Robby Findler
b9ff546e83
now traverses from the bound occurrences to the binding ones for contract annotations
2010-08-07 14:35:03 -05:00
Robby Findler
e7bd94f2d2
adjusted check syntax to record the right-hand side of binding forms (when they are there)
2010-08-07 14:35:03 -05:00
Robby Findler
5a5da11314
added in unioning and a bit more coloring; checking in to prepare for some changes to the original check syntax (to support contract obligations better)
2010-08-07 14:35:02 -05:00
Robby Findler
b72a59d55c
broke things up a little bit more and started in on the new contract traversal
2010-08-07 14:35:02 -05:00
Robby Findler
9b01650e83
broke up check syntax into multiple files
2010-08-07 14:35:02 -05:00