Robby Findler
00152d2482
compile the tool files in addition to the framework and drracket when PLTDRPAR is set
2011-02-11 19:50:16 -06:00
Robby Findler
a142492833
tweaks to drracket startup compilation code and added mention of PLTDRPAR to the docs
2011-02-09 15:19:27 -06:00
Robby Findler
994624b794
adjust the way drracket's parallel startup compilation mode works
2011-02-08 15:38:12 -06:00
Robby Findler
a509fc28fe
a first attempt to use the parallel compilation stuff in drracket's startup
2011-02-08 10:55:36 -06:00
David Van Horn
760a58b65d
Fixes more spelling errors.
2011-02-04 19:44:13 -07:00
Robby Findler
c119cef915
don't show themodule langauge opt-in buttons when we're not in the module language anymore
...
(this extra check is necessary because we might have moved languages between
the time the timer is started and when it fires)
closes PR 11705
Please merge to the release 5.1 branch
2011-02-03 18:01:30 -06:00
John Clements
4344fe004a
added purpose statement for fn
2011-02-03 10:27:46 -08:00
Robby Findler
823b6629aa
add an extra check to make sure drracket is more likely to startup when things go wrong in strange ways
...
Please merge to the 5.1 release branch
2011-02-01 12:12:36 -06:00
Robby Findler
fad47541b2
after viewing the mars splash screen, go back to the original splash screen (usually)
2011-01-30 21:50:36 -06:00
Robby Findler
4090eabacb
added a color:text method get-token-range and then used that to improve how f1 in drracket works
...
Please include this commit on the release branch
2011-01-29 12:28:26 -06:00
Robby Findler
3f9c2ca968
be less conservative about refreshing the screen in check syntax when erasing the annotations
2011-01-23 18:03:03 -06:00
Robby Findler
3abfb8ce91
adjusted f1 in drracket so that it uses the syntax colorer
...
(this fixes hitting f1 on things like the "racket" in @racket[...])
2011-01-22 19:39:47 -06:00
Robby Findler
71ecf83d63
delay the update of the module language's re-parsing of the editor (and re-computing the buttons) until no keys have been typed for 200 msec
...
closes PR 11406
2011-01-22 17:30:08 -06:00
Robby Findler
faf152a931
added a status dialog for the module language's create stand-alone executable case
...
closes PR 11660
2011-01-22 16:21:20 -06:00
Robby Findler
54d556b368
adjusted PLTDRCM in trace mode to use the log-info printouts instead of manager-trace-handler
2011-01-22 16:06:47 -06:00
Robby Findler
0fe0858ba8
adjustments to the colorer-out-of-sync gizmo
...
(the "()" in the bottom right of the drracket window)
to make sure that it is right when switching tabs
and when a frame is first opened
2011-01-22 16:06:44 -06:00
Robby Findler
45a635339e
refactored to make testing check syntax renaming possible
...
made sure to remove duplicates from the list before doing renaming
closes PR 11659
2011-01-21 22:27:18 -06:00
Robby Findler
2043b4ad6f
various bug report form changes and fixes
...
- show discard-all-bug-reports menu item as long as there is at least one bug report
- move the close-and-save button to the left-hand side of the dialog
- ask about discarding bug reports when clicking the close box
- working dealing with empty bug reports
- the 'finished' stage of the bug report form sets the focus to the close button
closes PR 11644
closes PR 11645
closes PR 11638
closes PR 11640
2011-01-20 17:21:11 -06:00
Robby Findler
b25c9591f6
remove leftover printf and adjust splash screen width default
2011-01-20 15:40:50 -06:00
Robby Findler
cde613218e
adjusted the framework preferences system to work better with failures under windows
2011-01-20 14:07:12 -06:00
Matthew Flatt
f662ea5322
DrRacket printing: disable date and filename banner
2011-01-19 06:32:30 -07:00
Robby Findler
90826f3533
get rid of a bogus use of eq? => should improve the coloring of the language popup in drracket's bottom left corner
2011-01-17 20:56:06 -06:00
Matthew Flatt
4e47aff061
clean up code that adds date and filename to DrRacket printout
...
--- although I don't think it should be added at all, or maybe
added only if a preference is set
2011-01-14 20:30:51 -07:00
Robby Findler
7763e428f4
drracket tab unsaved notification: add a dot back in to try to be more friendly to XP
2011-01-13 10:13:52 -06:00
Robby Findler
2e05c118ba
add an extra explicit step in initializing a drracket frame to set the toolbar buttons
...
closes PR 11608 (hopefully)
2011-01-11 16:23:15 -06:00
Robby Findler
b823b94cda
change drracket to print the start & end compiling messages when in PLTDRCM=trace mode
2011-01-10 16:56:40 -06:00
Robby Findler
9698d03955
adjust check syntax so that it uses a copy of the definitions text as the source of the program
...
this seems to improve the responsiveness of check syntax a fair amount
on a fast machine, copying drracket/private/rep.rkt takes .5 seconds, tho.
2011-01-10 13:04:36 -06:00
Robby Findler
160d9d9ac4
removed unused bound id
2011-01-10 13:04:34 -06:00
Robby Findler
d2cb96bcb3
setup hooks so that the behavior of the home / c:a keybinings delegates to a method to find where to go
...
then, use that to change how it works for the scheme mode (and also another variation for the REPL to
cope with the prompt)
I spent a while trying to make this work at the keymap% level (ie putting different keybindings for "home"
and "c:a" into different keymaps) but this just turned out to be far too confusing and fragile, so went
with this alternative (one keybinding, but that delegates to an overridable method)
closes PR 11446
2011-01-09 16:22:28 -06:00
Robby Findler
1425969f61
seems safe to use the star under windows now for unsaved files
2011-01-08 20:25:11 -06:00
Robby Findler
da9c34cd52
use the new refresh-now method
2011-01-08 14:52:36 -06:00
Robby Findler
b77847904e
adjust the way the () colorer status thingy draws
2011-01-06 14:24:00 -06:00
Robby Findler
c94ad960ac
ask about normalizing pastes only after pasting has finished (in case there are multiple calls to insert)
...
closes PR 11449
2011-01-06 08:39:32 -06:00
Robby Findler
33cb5a8b6f
use new syntax colorer hooks to provide feedback about syntax coloring in the definitions window in drracket
2011-01-05 20:39:35 -06:00
Matthew Flatt
b0095111d4
restore and document scrolling behavior
...
Closes PR 11583, and
everts the previous fix for PR 10853 and fixes
it in a different way
2011-01-05 07:02:00 -07:00
Robby Findler
9cd9fd24aa
tweaks to the splash screen easter eggs to make them more responsive
2011-01-04 15:40:35 -06:00
Robby Findler
b0309ae99e
changes the way the drracket frame is initialized so that it finishes on a single GUI event callback
...
related to PR 11590
2011-01-04 06:18:44 -06:00
Robby Findler
7eb3e8c28a
change drracket and framework so they don't rebind printf anymore
...
(instead binding oprintf to print to the original output port of drracket)
2011-01-02 10:03:24 -06:00
Robby Findler
1be502ed79
fixed a bug that Eli noticed in the initial state of the language dialog
2011-01-02 10:03:23 -06:00
Robby Findler
1d5031c3e6
probable fix for race condition in check syntax (exposed by test suite)
2010-12-31 20:15:55 -06:00
Robby Findler
3237be6b4e
renamed the check syntax progress status-line
2010-12-31 20:15:53 -06:00
Eli Barzilay
3fb871586f
Removed some exe bits that look redundant.
2010-12-31 15:59:39 -05:00
Robby Findler
fb25dc9a42
adjusted drracket test suites so that it is (more) careful to keep all manipulation of GUI objects (text% objects seem to have been the important one) on the drracket eventspace main thread in an effort to make the test suites more stable.
2010-12-29 20:31:40 -06:00
Robby Findler
ae2d7c47b6
added missing call-as-primary-owner
...
related to PR 10853
2010-12-28 16:37:11 -06:00
Robby Findler
413c0489f2
adjust arity to the global-port-print-handler so that its name is meaningful
2010-12-27 09:16:07 -06:00
Robby Findler
c926656b8a
save the 'preserve stacktrace' setting the language preference
...
closes PR 11037
2010-12-25 20:07:34 -06:00
Robby Findler
dd531dde9e
check syntax does not call eval-compile-time-part-of-top-level when
...
checking programs in the module language.
closes PR 10908
2010-12-25 15:38:08 -06:00
Robby Findler
da68fc209a
fix contract
2010-12-24 15:58:18 -06:00
Matthew Flatt
3d10915736
fix font size for lang-in-source explanation
2010-12-21 19:28:40 -07:00
Robby Findler
bf53fd5c38
adjust the auto-text behavior of DrRacket so that it doesn't require the
...
queue-callback / execute callback dance; also, change the behavior
a little bit so that it works a little bit more like the rest of the
DrRacket languages; in particular, the initialization of the REPL
now only happens when a window is first opened or a new tab is first
created, but not at other times (ie not when the language changes;
when the language changes, we just keep the REPL state the same and
show a warning like before)
This change also required a change to the way the repl is initialized
and a slight change to the behavior of the first-opened method. Specifically,
it is now called in a slightly better context so that errors that
happen look like errors in the user's program. The only other use of
the first-opened method in the tree was to initialize the teachpacks
in the teaching languages and this new behavior is also an improvement
there.
2010-12-20 08:43:34 -06:00
Robby Findler
ba11a02c1d
adjust drracket to use setup/dir's find-collects-path instead of the broken, halfway thing is was doing
2010-12-20 08:43:31 -06:00
Robby Findler
ede60de584
Make it so that DrRacket deletes .zo files when the corresponding source file isn't present anymore
...
(when in the DrRAcket-compiles-my-zo-files mode)
2010-12-16 16:12:54 -06:00
Robby Findler
5e51b7f335
add a menu item to the check syntax context-sensitive help that offers to search in help desk (just like the menu item that is there when check syntax is not running)
...
closes PR 11357
2010-12-16 16:12:51 -06:00
Robby Findler
0542d3ca70
added support for saving bug reports (for ease of offline submission)
...
also cleaned up a bunch of little things in the bug report implementation:
- the abort had race conditions
- formatted the collections a little bit better (hopefully)
- broke the implementation up into multiple files
- fixed broken interaction with drracket (the drracket frame mixin is now being used properly)
2010-12-14 19:14:33 -06:00
Robby Findler
80f573cc0e
multi-file search bugfix
...
(it now correctly restores the regexp vs string match preference)
2010-12-14 19:14:29 -06:00
Robby Findler
5adaedae8e
added oprintf
2010-12-14 19:14:22 -06:00
Robby Findler
29797e67bd
multi-file search tweaks:
...
- added the search string to the title of the window
- made the default preference includes scrbl files
- adjusted the title of the window to put drracket last
2010-12-12 15:26:51 -06:00
Robby Findler
3424e1b1df
only show the compiling messages when PLTDRCM is trace
2010-12-12 15:26:48 -06:00
Jon Rafkind
7d8e4f81f2
add start of gui component to show the module interface (contracts/types/etc..)
2010-12-10 17:08:21 -07:00
Robby Findler
0b54d7f010
avoid taking over control-[ under windows so that overriding the smart opening paren thing is still possible
2010-12-10 11:47:10 -06:00
Robby Findler
092b966b83
use the new feature of panel:dragable (from previous commit) to make the
...
'put definitions beside interactions' preference changes take effect immediately
2010-12-09 15:50:12 -06:00
Vincent St-Amour
b045153177
letrec: consider outside bindings safe.
2010-12-08 20:32:19 -05:00
Vincent St-Amour
36f6149a41
Another alphabetical order fix.
2010-12-08 19:13:00 -05:00
Sam Tobin-Hochstadt
e70ccafd7b
Add `defined?' assertions to fix DrRacket.
2010-12-08 18:53:56 -05:00
Vincent St-Amour
b7588b0081
Add my name to acknowledgements and fix alphabetical order.
2010-12-08 18:17:05 -05:00
Robby Findler
dd081d9b4e
added a tabs menu for windows (and linux)
2010-12-07 16:33:51 -06:00
Robby Findler
2d55dd1bb7
sort the font names in the popup
2010-12-07 07:27:54 -06:00
Robby Findler
71cf40c4b7
drr: avoid making the window jump wider when a new tab is created.
...
(this one has been bugging me for _far_ too long)
2010-12-04 18:40:47 -06:00
Robby Findler
3a506e5acb
check syntax: sort the identifiers (but this time without a bug...)
...
closes PR 11494
2010-12-04 18:40:47 -06:00
Casey Klein
5bb45d787f
Caps REPL history using string length rather than entry count
2010-12-02 15:54:49 -06:00
Casey Klein
ab82bc04eb
Cleans up REPL history preference for (some?) old versions
2010-12-02 15:54:49 -06:00
Casey Klein
fad4771167
Fixes a bug in the cap on REPL history
2010-12-02 15:54:48 -06:00
Robby Findler
d4857c4420
adjusted check syntax so that it does renaming better.
...
Specifically, it finds all variables that match the one being
renamed in the fully expanded program, as well as all variables
that have the same source locations of any of those (etc).
2010-12-02 10:40:43 -06:00
Robby Findler
6c25210a6b
refactored check syntax in preparation to fix the problem with binding identifiers being duplicated by macros
2010-11-30 15:47:40 -06:00
Robby Findler
c123a8cc5d
fixed a bug that caused a leak that held onto drracket frames.
...
The bug was that the planet log message registration was happening
on drracket's thread instead of on the user's thread, so it was
using the wrong keys in the ephemerons.
2010-11-28 16:06:09 -06:00
Eli Barzilay
be2ea96cc8
"TeachScheme!" -> "Program by Design" in DrRacket
2010-11-25 22:10:33 -05:00
Robby Findler
3b56f81b10
adjusted case of 'show line numbers' to match menu / prefs distinction
2010-11-21 07:39:12 -06:00
Robby Findler
18b94ca853
added scrbl as an extension
2010-11-18 13:21:39 -06:00
Jon Rafkind
cd4e5e7410
move line numbers option from general to editing->general
2010-11-14 19:48:20 -07:00
Robby Findler
616647cb17
drr: remove bad keybindings for next-tab and prev-tag
2010-11-14 06:48:57 -06:00
Matthew Flatt
cd1fb5bea9
change DrRacket to aviod rebuilding some menus unnecessarily
2010-11-05 15:54:42 -06:00
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