Commit Graph

415 Commits

Author SHA1 Message Date
Neil Toronto
db57b78e18 Added lock-icon
Changed most *-icon and *-logo function arguments to keyword arguments

text-icon no longer uses font size

Small doc changes
2012-06-26 15:00:05 -06:00
Robby Findler
3250d97f71 log errors that read-language produces when DrRacket calls it 2012-06-22 10:31:00 -05:00
Robby Findler
88f4ddabcc Rackety 2012-06-18 11:26:27 -05:00
Robby Findler
397f10842a export signatures from module-browser.rkt; also Rackety 2012-06-10 11:53:54 -05:00
Robby Findler
b5258e0e2b In the multi-file search window, only re-load the file
in the bottom window when it really is a different file
(ie, using a same-file predicate that involves opening
the files and comparing the ports)

closes PR 12635 (hopefully -- if not, then we can reopen)
2012-06-03 17:07:12 -05:00
Robby Findler
bf95ee1052 Adjust datalog to cooperate with check syntax a little bit more.
Specifically:
 - make predicate symbols and variables be original (and,
   in the former case, have srclocs)
 - remove the originality in the quoted syntax constants
   that the expansion introduces

I think there is probably something better that should be done
with those introduced syntax constants, possibly relacing
them with #f, or possibly replacing them with source location
lists, but I'm not sure how they are used, so I've just left
them in there.

(Also, very minor Rackety in check syntax)
2012-06-01 04:55:04 -05:00
Robby Findler
77811e0e95 Adjust how the drracket repl iterates over expressions to make it more
like textual-read-eval-print-loop

There is still a difference, however, because drracket's REPL has a
notion of multiple expressions that are submitted simultaneously that
textual-read-eval-print-loop doesn't. For example, if you type this at
the prompt:

  (car) (+ 1 2)

then textual-read-eval-print-loop will print out the error and then 3,
but drracket will print only the error (ditto if (car) were replaced
by a continuation abort).

This difference is, IMO, a good thing, since it lets you use a single
interaction to do multiple things, but stops as soon as there is an
error. (It is also how drracket has behaved for a long time.)

closes PR 12790
2012-05-30 22:31:55 -05:00
Robby Findler
daa048719a fixed a bug in the ordering of how printing parameters are set up
There was an exception raised and then handled internally when the
slideshow/pict-convert library was loaded; DrRacket loaded this
library during the dynamic-extent of a handler it installed into
the global-port-print-handler, which causes a (non-tail) infinite
loop.
2012-05-30 22:31:55 -05:00
Robby Findler
0456d5e4e5 exploit record-dc% to keep picts from drawing outside
of their bounding boxes
2012-05-26 21:39:11 -05:00
Matthew Flatt
562fa3c6b9 add some missing acks 2012-05-20 21:15:06 -06:00
Asumu Takikawa
a00cd7ebff Remove drracket/private/module-interface.
With permission from Jon Rafkind.
2012-05-18 16:05:26 -04:00
Matthew Flatt
0c95475f4f fixes for `scribble/srcdoc'
Use the new `relative-in' form to make imports
resolve correctly when they are shifted among modules.
2012-05-15 20:03:41 -06:00
Robby Findler
9e7eb963d7 define => define/private (in a class) 2012-05-14 21:43:46 -05:00
Robby Findler
e4887f576d add some code to help avoid drracket dying when the sandbox does strange things 2012-05-14 07:53:52 -05:00
Matthew Flatt
f5e3182345 fix dependency of DrRacket tool module on docs 2012-05-13 07:13:18 -06:00
Matthew Flatt
964020f288 implement scribble/srcdoc' via submodules instead of expand'
Also add a `for-doc' require form, make `proc-doc' et al. provide
forms, make `provide/doc' an alias for `provide'.
2012-05-12 01:37:50 -06:00
Eli Barzilay
48b0b50647 Minor improvement, and recognize a ".plt" suffix in any case. 2012-05-11 06:18:20 -04:00
Eli Barzilay
17090fca4f A bunch of fprintf' -> eprintf' conversions (and a few related things). 2012-05-06 12:06:00 -04:00
Robby Findler
98e06248b5 properly deal with menu shortcuts that are symbols (e.g., 'f1) in
the "Show Active Keybindings" menu item

closes PR 12737

Thanks to Laurent Orseau for the fix!
2012-04-28 08:52:13 -05:00
Matthew Flatt
351e82735b move and rename pict `convert' support
Renamed `convert' to `pict-convert', etc., to avoid confusion
with `file/convert' bindings.

Moved out of `slideshow/pict' to `slideshow/pict-convert', because
most `slideshow/pict' clients do not need it.
2012-04-06 18:51:10 -06:00
Robby Findler
526b659616 account for long search strings when opening the results window
in "search in files"

closes PR 12673
2012-04-05 07:29:40 -05:00
Robby Findler
4360e62c22 improve the gui for specifying the submodules to run 2012-03-31 22:46:44 -05:00
Robby Findler
033536e746 select the contents of the search string in the 'search in files' dialog
closes PR 12667
2012-03-31 12:12:50 -05:00
Robby Findler
4b57482298 adjust DrRacket submodule-running options so the user
has more control over which ones get run
2012-03-30 16:42:34 -05:00
Robby Findler
5c7a299c04 make DrRacket run test submodules (in the module language) by default.
Add an option in the language dialog to disable that behavior
2012-03-29 22:12:14 -05:00
Matthew Flatt
6e5cf70c95 draw picts in DrRacket with 'aligned smoothing 2012-03-28 06:41:00 -06:00
Robby Findler
617df05ef7 added a test suite for DrRacket that checks to make sure the Dear Dr
starts up on all of the days that have easter eggs (well, except 7/2,
since that one is hard to interpose on and hasn't changed in a long
time)
2012-03-26 15:43:56 -05:00
Robby Findler
bef9e11272 re-unbreak DrRacket 2012-03-26 07:51:57 -05:00
Matthew Flatt
704c320131 unbreak DrRacket 2012-03-26 06:33:37 -06:00
Robby Findler
5280ef1517 clear the interactions text's undos from the drracket thread, not from the user thread 2012-03-25 17:25:48 -05:00
Robby Findler
0d6b825377 add a preference to control whether or not there is an extra
pixel of space in between lines in DrRacket.

This change is based on Matthew's experience having a look
at the font setup on the three platforms.

He writes:
>  * Mac OS X: the convention seems to be to add space between lines.
>   TextEdit, for example, looks like DrRacket: the maze has spaces.
>
>   (I can't find a font that makes the maze look right, actually, even
>   if I adjust the line spacing.)
>
>  * Windows: the convention seems to be that space is built into the
>   font. DrRacket (and SirMail) draw lines more sparsely than Notepad.
>
>   Perhaps consistent with the differing conventions, the height of
>   "Courier New" at 11-pixel size is 14 on Windows, 13 on Mac OS X.
>
>  * Unix: the convention seems to be to add space. DrRacket looks like
>   the default Terminal and Text Editor programs on Ubuntu.
>
>   The maze nevertheless looks right everywhere, because the glyphs
>   extend an extra pixel above the declared bounding box!
2012-03-24 20:20:05 -05:00
Robby Findler
9bc1684c9b fix problems with user-defined keybindings and the example in the docs
as reported on the dev mailing list by António Menezes Leitao
2012-03-19 09:58:59 -05:00
Matthew Flatt
72ec4070bd drracket: run `main' submodule 2012-03-09 10:34:56 -07:00
Eli Barzilay
f7c67b49a4 Big newline at EOF scan. 2012-02-29 00:28:11 -05:00
Robby Findler
36323cf3be added a pict-snip test case 2012-02-25 21:42:40 -06:00
Robby Findler
ad65164c5e added a snipclass for pict-snip 2012-02-25 21:25:09 -06:00
Robby Findler
72b9199976 use record-dc% for drawing picts in the DrRacket repl 2012-02-25 17:59:07 -06:00
Robby Findler
f61f0830e5 change register-toolbar-button so that it accepts a number
argument and uses that to order the buttons in the DrRacket
panel.

Also, order all of the buttons via these numbers in
a more sane way
2012-02-25 16:57:49 -06:00
Robby Findler
df4dbe615f add a convertible interface to texpict that lets
values be convertiable to picts.

use that interface in DrRacket, but via the suboptimal
screen-bitmap route (for now)
2012-02-24 10:48:19 -06:00
Robby Findler
914f9feebc lighten some check syntax arrow colors in white-on-black mode
closes PR 12594
2012-02-22 16:41:46 -06:00
Eli Barzilay
c007c345f9 A bunch of more typos like the ones in David's commit. 2012-02-21 14:21:43 -05:00
Robby Findler
d361724607 revert the logo to the released one 2012-02-18 14:32:08 -06:00
Robby Findler
0e543fc66b adjust the way internal errors are shown in DrRacket
so that printing an error no longer blocks (on user actions) but still
uses the GUI. Also: when new errors are generated while a dialog box
showing an error is still open, then just ignore those errors. Also,
if an error is generated that has been shown in the last 5 minutes, ignore
the new one.
2012-02-14 11:26:20 -06:00
Robby Findler
5e0f5beee5 added Racket logo by John & Neil 2012-02-08 19:17:42 -06:00
Robby Findler
678603ae24 move the 'remove all saved bug reports' menu item to the
end of the menu so it is not so easy to accidentally
click on
2012-02-08 16:23:13 -06:00
Robby Findler
e8902f9981 added a hack to keep DrRacket from freezing when it is unable to
detect if a (n online check syntax) rename would conflict with
an existing name. (This can happen because the remote place's
custodian gets shutdown due to, for example, another tab's online
check syntax running.)
2012-01-31 21:11:16 -06:00
Robby Findler
a0ef78e97b adjust online check syntax to try to fix a bug where renaming information
can get "stale" and cause DrRacket to deadlock (this commit just sets
up some stuff to make one fix possible, but that fix doesn't seem to
be working, so the actual fix is disabled (see comment in commit))
2012-01-31 21:11:16 -06:00
Robby Findler
c9e4c88b7c fix a bug in check syntax where it would attempt to (as part of the
coloring for blame assignment in check syntax) try to color
the right-hand side of a binding that actually comes from
a lambda-bound variable (and thus crash for not finding the
right-hand side)
2012-01-19 13:20:41 -06:00
Matthew Flatt
2c88b12913 add some missing acks
Merge to 5.2.1
2012-01-17 07:33:58 -07:00
Robby Findler
aaeb3db534 clear the "what was the last language?" state when moving out of the module language
so that things get initialized properly when moving back into the module language.

closes PR 12493
2012-01-16 09:09:58 -06:00