Commit Graph

20 Commits

Author SHA1 Message Date
Robby Findler
993cd40208 Adjust DrRacket so the window can get narrower
For example, a new DrRacket window (with a file named tmp.rkt in the
and 356 afterwards.  This is under mac os x with, I believe, the
default system font sizes. (The file is important because different
languages can have different buttons in the toolbar and the filename's
length itself can affect the minimum size.)

Mostly this change is the addition of a new kind of panel that
lets its children have multiple fixed sizes (as opposed to
just a single minimum size and (optionally  arbitrarily large))
It also adjusts the various toolbar buttons to use this new code.

Also, there's a few tweaks to shrink other things that became the
limiting factor in shrinking the width of the DrRacket window.

Currently, at least for #lang racket programs, the toolbar buttons
along the top of the window are the limiting factor (including the
save button).  With a bogus language (ie, #lang rackeeet), the bottom
bar is the limiting factor, since that will have only the Save, Run,
and Stop buttons.

related to PR 13281
2012-11-29 09:43:05 -06:00
Robby Findler
e89a121ae5 add some first-cut logging information to drracket
to track how long events take to be handled
2012-10-26 21:49:44 -05:00
Robby Findler
9815822255 adjust the big definitions / interactions labels so they
are sensitive to the #lang line and then enable them
for the teaching languages
2012-07-29 09:43:38 -05:00
Robby Findler
3250d97f71 log errors that read-language produces when DrRacket calls it 2012-06-22 10:31:00 -05: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
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
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
Robby Findler
14e62f6caf when the filename changes, re-run the "what language are we in" code to
facilitate things in the s-exp language with relative paths

closes PR 12177
2011-09-05 14:13:48 -05:00
Robby Findler
0c6bc11ac3 start a section for documenting the symbols that DrRacket passes to a language's get-info proc
add docs for a few of these, notably the syntax colorer
2011-08-04 21:40:29 -07:00
Robby Findler
b972a0940d Added online expansion and compilation of files
being edited in DrRacket (via places)

Added an API to let tools have access to that
  information (and compute more stuff)

Used that to make an online version of Check Syntax
  which led to a separately callable Check Syntax API.
2011-08-02 16:28:16 -05:00
Robby Findler
344168690e likely fix for bug on mailing list that Matthias reported
("drracket fails to start up properly" Tue, Jul 26, 2011 at 2:12 PM)

  et fails to start up properly
2011-07-26 21:05:49 -05:00
Robby Findler
754b4df5e8 make sure the language-specific toolbar buttons are put into the toolbar in the right order initially
closes PR 12068
2011-07-21 14:15:11 -05: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
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
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
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
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
bc5ced58e2 More Racketying 2010-06-18 21:35:56 -05:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Matthew Flatt
ed1d7f81c9 move drscheme and tests/drscheme to drracket and tests/drracket 2010-05-09 15:34:50 -06:00