Commit Graph

240 Commits

Author SHA1 Message Date
Eli Barzilay
af6be85ff5 Fix lots of indentation mistakes.
(Found by my ayatollah script...)
2013-03-14 10:55:47 -04:00
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
Eli Barzilay
6e4cad01e6 #lang racket' -> #lang racket/base' conversions in stepper. 2012-11-07 08:03:46 -05:00
Eli Barzilay
cbfb1fdb37 A whole bunch of missing newlines at EOFs (and a few other spaceages). 2012-10-19 06:47:24 -04:00
John Clements
2c93ccdf18 failed to include test file for example 2012-08-27 23:47:44 -07:00
John Clements
f107c4d265 finish adding stepper external interface 2012-08-27 22:23:27 -07:00
John Clements
f933535639 adding external interface 2012-08-27 22:23:26 -07:00
John Clements
614ff235fc remove dependencies on mz-testing.rkt 2012-08-27 13:35:38 -07:00
John Clements
46899084f1 use for rather than let loop 2012-08-22 10:14:13 -07:00
John Clements
4e47c669ca repair hack for beginner-proc names 2012-07-24 06:42:19 -04:00
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
Eli Barzilay
7d6e79023c Random pickiness.
Spaces at EOFs, indentation, etc.
2012-06-22 12:00:48 -04:00
John Clements
3ef7aa2a45 rackety 2012-06-20 23:38:51 -07:00
John Clements
da652c4774 oops add one more reference to new file 2012-06-20 09:08:22 -07:00
John Clements
63cc342cdb fixes to dialog for too-many-step resolution 2012-06-19 23:51:59 -07:00
John Clements
c01e8c1564 refactored to reduce stepper dependencies 2012-06-19 23:51:59 -07:00
John Clements
66321c8f84 adding halt dialog for runaway process 2012-06-19 23:51:59 -07:00
John Clements
a11fd04b01 working on adding stopping dialog 2012-06-19 23:51:59 -07:00
John Clements
615f687d7c reformatting only 2012-06-19 23:51:59 -07:00
Eli Barzilay
17090fca4f A bunch of fprintf' -> eprintf' conversions (and a few related things). 2012-05-06 12:06:00 -04:00
John Clements
721af649d7 reformatting 2012-05-03 10:55:49 -07:00
John Clements
fd6dddb8d0 deleted test-docs-complete.rkt 2012-03-29 10:10:01 -07: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
John Clements
481bc2f00f make sure initial update goes on eventspace thread 2012-01-18 14:51:42 -08:00
John Clements
758523bdf3 put status bar update on stepper frame eventspace 2012-01-18 14:51:42 -08:00
Neil Toronto
ea68677d2f Icon fixes:
Split images/icons/misc into images/icons/symbol and images/icons/misc

Updated tests

Fixed Gtk assertion failure in Macro Stepper (came from "about" dialog being created before the stepper window was shown; fixed by creating it on demand)

Changed Stepper similarly (though there was no assertion failure)

Put a quote in the Macro Stepper logo

Portable recycle-icon

Removed recycle unicode from the docs (was causing PDF build to fail)

Internal API fixes

Please merge into release
2012-01-16 12:45:48 -07:00
Neil Toronto
4a09c04581 Lightened icon outlines
Added lambda icon, foot icon, search forward/back icons

Doc fixes

Stepper: icons on buttons, logo and about dialog

Macro stepper: icons on buttons, logo and about dialog

Please merge into release
2012-01-15 22:19:55 -07:00
Robby Findler
458e2c2282 some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:' 2011-11-30 06:45:50 -06:00
John Clements
c8a15f7013 Stepper fix for possible race condition
Uses queue-callback to avoid a possible race condition in updating of editor
on non-eventspace thread.

Fixes PR 12217
2011-09-21 22:45:46 -07:00
Matthew Flatt
0197902309 add var-ref->mod-decl-insp' and switch cur-code-insp' uses
Macros and other tools that need syntax privilege used
`(current-code-inspector)' at the module top-level to try to
capture the right code inspector at load time. It's more
consistent to instead use the enclosing module's declaration-time
inspector, and `var-ref->mod-decl-insp' provides that. The
new function works only on references to anonymous variables,
which limits access to the inspector.

The real function name is longer, of course.
2011-09-20 13:50:36 -06:00
Stephen Chang
35f3a29020 fix lazy stepper tests
add case to annotate/module-top-level in stepper/private/annotate.rkt
2011-08-22 17:58:22 -04:00
Eli Barzilay
d61eb53686 Lots of documentation formatting.
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00
Stephen Chang
8956364387 change recon-val in stepper to use render-to-sexpr for non-lazy lists 2011-07-24 12:18:09 -04:00
Stephen Chang
3f79c37ce6 add make-lazy-proc to lazy stepper skipped fns list 2011-07-13 18:54:45 -04:00
John Clements
35c9bd90ab preserve user origin field... it may be useful 2011-07-09 17:18:13 -07:00
John Clements
a1cc083737 preserve origin field 2011-07-09 16:19:16 -07:00
John Clements
592f28382b refactoring, no semantic changes 2011-07-09 16:19:15 -07:00
John Clements
2cebd8f4cb retabbing, dumping a 'local', no longer using parenthesized module form 2011-07-09 16:19:15 -07:00
John Clements
53db721ee9 retabbing only 2011-07-09 16:19:15 -07:00
John Clements
ba82f46a07 retabbing and dead code removal only 2011-07-09 16:19:15 -07:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Matthew Flatt
1160d3df62 remove syntax certificates; add syntax taints 2011-06-29 19:15:48 -06:00
John Clements
d81a95ef26 cleanup, tentatively annotating all top-level-vars 2011-06-29 12:44:35 -07:00
John Clements
e88ec555bb added parameter to control STC's debug printout 2011-06-29 12:44:09 -07:00
John Clements
ae9cab6ee0 Updated stepper-syntax property to only permit known & documented stepper properties,
discovered quite a number of strange old errors. Also fixed an
error on setting current-directory when the tab has no directory,
no infrastructure for testing this automatically.
Requires are now handled correctly, except that required bindings aren't treated
as top-level (that is, their reductions are skipped). Should be an easy fix...
2011-06-29 00:32:38 -07:00
John Clements
d839b9fea6 renamed define-struct-hint to black-box-expr, applied to require as well 2011-06-29 00:28:08 -07:00
John Clements
7d782b6fd3 fixed undiscovered bug in reconstruction of let*, added test case too 2011-06-29 00:25:56 -07:00
John Clements
673f99417b removed a space 2011-06-28 18:43:04 -07:00
John Clements
b9a802386e set the current directory based on the tab's get-directory before starting the stepper.
Closes PR 11048
2011-06-28 17:07:12 -07: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