Commit Graph

76 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
Eli Barzilay
672910f27b Lots of bad TAB eliminations.
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.

If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces.  For example, to see
per-line authors, use "git blame -w <file>".  Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".
2012-11-07 11:22:20 -05:00
Eli Barzilay
39a0ab60a7 Some more #lang racket' -> #lang racket/base' conversions
(And some other related minor racketisms.)
2012-11-07 08:03:44 -05:00
Robby Findler
5e839664c4 adjust the variables editor so that it does
not do word wrapping.

This avoids the performance problem mentioned
in PR 12633
2012-08-15 13:45:10 -05:00
Robby Findler
fadd1d9714 fix debugger for the case when it decides not to annotate a file
related to PR 12937

This doesn't seem to fix the PR since the debugger is currently ignoring
the TR programs (not annotating them) but at least it does not crash now

Please merge to 5.3
2012-07-24 04:13:10 -05:00
Robby Findler
6e2fc2c138 remove a bunch of unnecessary fields (define => define/private
and lift out some pens and brushes to the module top-level)
2012-07-24 04:13:10 -05: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
John Clements
c01e8c1564 refactored to reduce stepper dependencies 2012-06-19 23:51:59 -07:00
Robby Findler
232188e736 adjust the check for multiple-file debugging so that it happens
earlier and thus actually catches multiple files.

Also, Rackety and change a let/cc into a let/ec.
2012-06-02 13:44:27 -05:00
Eli Barzilay
17090fca4f A bunch of fprintf' -> eprintf' conversions (and a few related things). 2012-05-06 12:06:00 -04:00
Matthew Flatt
a984f68a46 gui-debugger: update for submodules
Closes PR 12668
2012-04-04 07:50:41 -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
Asumu Takikawa
f092a96333 gui-debugger: closing the debugger should break 2012-02-23 19:52:29 -05:00
Asumu Takikawa
8170da3d10 gui-debugger: Racketize 2012-02-23 19:52:29 -05:00
Asumu Takikawa
41f60ac95f gui-debugger: update icons using Neil's icon set. 2012-02-23 19:52:29 -05:00
Asumu Takikawa
4f982fddfd gui-debugger: add a close button 2012-02-23 19:52:29 -05:00
Neil Toronto
4d1cedc913 Removed accidental dependence of images/icons/stickman on racket/gui
Began scribble docs

Added `compiled-bitmap' and `compiled-bitmap-list', which embed bitmaps
computed at expansion time into compiled files (safe 3D values)

Please merge into release
2012-01-12 21:48:41 -07:00
Neil Toronto
1a00d2d51f Last icon rewrite!
This removes all the SVG sources, parsing, and marked-layer colorizing, the PNG binaries in the distribution, and the dependence of DrRacket on `slideshow/pict'.

Icons are now produced by drawing on a bitmap-dc%, inferring or building a z map, choosing a material, and sending these to a two-pass ray tracer. This is for the most part hidden behind an API consisting of functions from colors and optional sizes and materials to `bitmap%'s.

Contracts and documentation forthcoming.
2012-01-07 16:18:11 -07:00
Neil Toronto
4012373a8c Started icon reorganization
- SVG icon sources
 - Playback-style icons, logos, stop signs, magnifying glasses, etc., in diffuse and shiny styles
 - Program to pre-render SVG files (icons/private/svg/render-png.rkt)
 - Pre-rendered icons (PNGs in power-of-2 sizes)
 - Made `icons' a module, with functions to conveniently load icons and convert to/from picts
 - Scribble docs for `icons'
 - Used new icons in DrRacket toolbar
2011-11-28 22:09:15 -08:00
Robby Findler
5adc74fdf0 fix a bug in the case that the character with a breakpoint or a
stack highlight triangle is on the left edge of a line

closes PR 12379
2011-11-26 18:30:25 -06:00
Robby Findler
951de8cc51 add get-default-percentages to panel:dragable and then add a dragable panel
to the debugger
2011-10-02 14:34:28 -05: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
Matthew Flatt
d3c56c9f13 generalized `begin-for-syntax' 2011-09-08 14:06:00 -06:00
Robby Findler
fb4ae5d83d add some ellipses to the debugger value truncation 2011-08-31 19:05:07 -05:00
John Griffin
bdee3509b7 adjust debugger to print smaller version of values to improve performance 2011-08-31 19:05:05 -05:00
Matthew Flatt
9bee07b7c0 fix debugger for syntax taints 2011-07-07 13:38:14 -06:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Robby Findler
69b5daa9e6 remove docs tests that no one was interested in 2011-07-01 11:38:09 +08:00
Matthew Flatt
1160d3df62 remove syntax certificates; add syntax taints 2011-06-29 19:15:48 -06:00
Robby Findler
507b1cd8fd moved the docs-complete library into rackunit
to avoid having a separate, new manual for the
  one library
2011-05-05 16:10:42 -05:00
Robby Findler
fcfb422294 weeded out some more of the test-docs-complete.rkt files 2011-04-25 21:20:52 -05:00
Robby Findler
e7d0029aea added lots of new tests that our documentation is complete 2011-04-25 13:24:43 -05:00
Greg Cooper
992de7fb10 fixes to deal with the debugger freezing drracket. 2010-09-03 20:53:18 -05:00
Eli Barzilay
8e0f8dd39c More "~n" -> "\n" changes 2010-08-26 12:11:00 -04:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Matthew Flatt
c95a398754 move most of the 'scheme' collection to the 'racket' collection 2010-04-20 15:24:48 -06:00
Robby Findler
bf9ae0f731 added support for opt-out buttons and then took advantage of it to do a better job with the check syntax, macro stepper, and debugger buttons
svn: r18785
2010-04-11 03:14:02 +00:00
Matthew Flatt
fb237a13ae debugger annotation accept #%variable-reference
svn: r14297
2009-03-26 19:18:22 +00:00
Ryan Culpepper
ff9ebbde05 fix PR 9398: debugger and macro stepper buttons get out of sync wrt tabs
move enable/disable-evaluation extensions from tab mixin to unit-frame mixin

svn: r14118
2009-03-16 04:40:30 +00:00
Greg Cooper
cea8e15d2e try to make the debug-button properly centered
svn: r12556
2008-11-21 01:33:23 +00:00
Greg Cooper
4d38b45205 fix rendering in debugger when number of return values is not 1
svn: r12367
2008-11-09 17:51:04 +00:00
Matthew Flatt
b6b0d96bb8 don't match plain-module-begin in module, since its phase is potentially different
svn: r11580
2008-09-09 00:16:03 +00:00
Greg Cooper
37d54316a2 make the Run button hide the debugger controls again
svn: r11510
2008-09-01 19:44:21 +00:00
Greg Cooper
cdcf8881eb fix a bug in the debugger (PR 9710 & 9717)
svn: r11509
2008-09-01 19:15:57 +00:00
Matthew Flatt
9af00fcfb4 v4.0.2.4: logging
svn: r10818
2008-07-17 15:20:17 +00:00
Robby Findler
f65e0ffeb1 added a separate debugger callback, instead of overriding execute-callback
svn: r10695
2008-07-09 11:30:26 +00:00
Eli Barzilay
7d50e61c7f * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689
2008-07-09 07:18:06 +00:00
Matthew Flatt
44c5a75739 fix some phase problems in program-processing programs
svn: r10503
2008-06-29 15:11:20 +00:00
Greg Cooper
db2624b9e3 create namespace for expansion of require'd modules (to fix multi-file debugging problem)
svn: r10277
2008-06-15 21:45:40 +00:00