Commit Graph

211 Commits

Author SHA1 Message Date
Guillaume Marceau
6fc14b269d The rewriting machanism no longer inserts with-handler everywhere. 2011-07-06 00:28:45 -04:00
Guillaume Marceau
01b9bde7fa The documentation for htdp-lang now uses the new vocabulary. 2011-07-06 00:27:28 -04:00
Guillaume Marceau
f858b8bb5c Htdp no longer throws exceptions that have no source information 2011-07-06 00:19:24 -04:00
Guillaume Marceau
79589b9b9f The htdp test suite now checks that the correct error messages are thrown. 2011-07-06 00:19:22 -04:00
Guillaume Marceau
2f3da4c4cd Changed the wording of BSL error messages 2011-07-05 17:57:19 -04:00
Guillaume Marceau
103474a5f5 Implemented struct colored-error-message struct and colored-format 2011-07-05 17:57:18 -04:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Eli Barzilay
78dacef817 Get rid of "defaultly"s. 2011-06-28 02:11:24 -04:00
Eli Barzilay
40124a0619 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Eli Barzilay
a38f384a00 Finish converting scheme' -> racket'.
Everything compiles fine now even if the compatibility bindings are
gone.
2011-06-28 00:45:38 -04:00
Eli Barzilay
ac26fe7554 A ton of @scheme*' -> @racket*' and related updates.
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Robby Findler
835762903c if we're highlighting something in the defs window, make sure the window is shown
closes PR 11977
2011-06-17 12:43:09 +08:00
Robby Findler
9bf26ef69e add more caching to avoid calling normalize-path so much;
this should affect the test coverage coloring and the stacktrace
arrows/stop-sign window
2011-06-15 16:45:47 +08:00
Robby Findler
b9ff7dc4af thanks, Sam. 2011-06-15 12:52:39 +08:00
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