Robby Findler
68f34502b8
add a cache to avoid calling normalize-path so often when switching tabs
...
closes PR 11936
2011-06-15 11:44:25 +08:00
Eli Barzilay
67d58b9041
Add *.rktl and *.rktd files as drracket files.
2011-06-03 00:56:21 -04:00
Eli Barzilay
1582f160bc
* Make the drracket `default-filters' have a ";"-separated glob for all
...
patterns instead of one pattern per suffix. (This was almost never
used -- only when saving a file that is in text mode.)
* Since this default is the same that the scheme
mode ("framework/private/scheme.rkt") sets, remove that
setting. (Leave it commented in case there's need to have some
different global default.) It makes the above default get used when
saving a scheme-mode file.
* Finally, for some reason the code in "framework/private/finder.rkt"
was not using these `default-filters' at all for the file open dialog
in `*get-file'. (I tracked it back to CVS when the code was written,
and it was never used.)
I made it use it now. This is visible on gtk (and probably on
windows, not sure what OSX does) in that openning a file would show
you all files. After this change, it would show only racket source
files, but there will be an option to switch the pattern to show all files.
** If the previous setup (showing all files) was intentional, it would
be better to simply change "drracket/private/main.rkt" to add the
racket source globs before the default. In that case it might also
make sense to uncomment the change in scheme.rkt back in, so when
saving the default is the racket file suffixes (but this sounds
like a confusing UI).
2011-06-02 10:06:15 -04:00
Robby Findler
7b3039d22d
an attempt to fix the 'toolbar buttons are wrong on initialization' bug in drracket
2011-05-15 21:48:21 -05:00
Robby Findler
c5f8add9ea
avoid eval-compile-time-part-of-top-level when in the module language
...
Thanks to Ryan for spotting this call!
Closes PR 11908
2011-05-10 14:10:28 -05:00
Robby Findler
41497cec6a
avoid printing stacktrace information when the exception is a exn:fail:user?.
...
closes PR 11874
2011-04-24 07:45:07 -05:00
Robby Findler
8f43c9ebdb
adjust the module browser so that when expansion does IO and that IO uses specials,
...
the specials are just ignored, instead of causing an error message
closes PR 11854
2011-04-19 10:31:37 -05:00
Robby Findler
57b9bcfe38
fix check syntax's stdout so that it can handle specials
...
related to PR 11854
merge to release, please
2011-04-19 10:31:37 -05:00
Robby Findler
d1ddc8372e
fixes the warning message so that if you close it once,
...
then it stays closed until you click 'Run' again.
closes PR 11783
2011-04-17 19:36:26 -05:00
Robby Findler
cc091bd25c
fix an ordering problem in check syntax's error message display
...
closes PR 11845
2011-04-16 07:38:23 -05:00
Robby Findler
06ed61c0d2
remove unused string-constant
2011-04-14 15:27:23 -05:00
Robby Findler
7b4e673081
adjust drracket's value printer to specially treat 2htdp/image images.
...
related to PR 11849
2011-04-14 15:26:43 -05:00
Robby Findler
658bc59a92
adjust various status controls so they don't take the focus
...
also added a separator menu item to the line/column number popup menu
2011-04-11 07:41:49 -05:00
Robby Findler
c4e0559db4
made the line/column thingy's popup menu be able to show the line numbers in the definitions window
...
- added add-line-number-menu-items
- some minor fixes to the docs
related to discussion in PR 11837
2011-04-10 19:38:19 -05:00
Robby Findler
2c2669bfa6
fix the handling of the drracket:show-line-numbers? preference
...
so the line numbers change no matter who sets the preference
2011-04-10 19:38:08 -05:00
Robby Findler
77cb90a3b2
add string munging to live up to the 200 char limit for the new module browser menu item
2011-04-09 21:45:52 -05:00
Stephen Chang
9f848863ff
fix lazy stepper to work with print and write output-styles
...
in stepper/stepper-tool.rkt
- in simple-module-based-language-convert-value, add print and trad-write case
in stepper/private/macro-unwind.rkt
- in fall-through, add to procedure-extract-target case
in drracket/tool-lib.rkt
- in contract for drracket:language:simple-settings-printing-style, add
'trad-write
2011-04-07 12:49:27 -04:00
Robby Findler
e928bd840c
Two improvements to the mrlib/graph library and the module browser:
...
- improved the drawing speed in mrlib's graph pasteboard
by caching the background arrows (optionally; only turned
on for the module browser. in redex, this probably won't
speed anything up so it isn't used)
- added a search feature to the module graph to help find
dependencies; type in string and some of the graph changes
color
2011-04-06 11:35:31 -05:00
Robby Findler
56ab3eecb6
make the front-end deadlock avoidance (aka pospone io) wrapper handle specials
...
closes PR 11831
2011-03-31 15:21:45 -05:00
Robby Findler
8ae72bc29c
added preference for the test coverage colors in the module language
2011-02-19 16:14:59 -06:00
Robby Findler
1cf98d3033
fix when check syntax is clearing out its error message editor
...
closes PR 11751
2011-02-17 13:53:15 -06:00
Robby Findler
3cb3b9fa83
fix a bug in PLTDRPAR
2011-02-17 12:28:22 -06:00
Robby Findler
e3c26a2aa4
improved the setup for the front-end method so that
...
printing to stdout and stderr is safe and to better document
the issues
2011-02-15 18:10:03 -06:00
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