Commit Graph

130 Commits

Author SHA1 Message Date
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