Robby Findler
60a035889f
make tooltips go away if the drracket window isn't
...
the top-level window (and make them not appear in
that case, too)
closes PR 13139
2012-09-28 23:09:16 -05:00
Robby Findler
e958c33739
make a bunch of unmutated private fields bound to procedures into private methods
...
(the usual (define f ...) in a class confusion)
2012-09-28 22:44:27 -05:00
Robby Findler
c3a454aebf
Add a missing check for when arrow-records might be #f
...
closes PR 13133
2012-09-21 16:20:07 -05:00
Robby Findler
ae87169d7e
eliminate some dead code (showuld have been removed in an earlier commit)
2012-09-19 06:08:03 -05:00
Robby Findler
51d41c6cfe
adjust check syntax so that it doesn't take over the right-click
...
menu, but instead cooperates with the existing protocol
(using keymap:add-to-right-button-menu)
2012-09-19 05:19:03 -05:00
Robby Findler
8a4567f5aa
adjust the tooltip position so it goes to the end of the line where the arrowhead sits
2012-08-27 20:13:49 -05:00
Robby Findler
9934f202c9
avoid allocating a bunch of boxes (instead use ones already lying around)
2012-08-27 20:13:49 -05:00
Robby Findler
0d92608367
rename contract-gui.rkt to blueboxes-gui.rkt
2012-08-23 21:42:07 -05:00
Robby Findler
25e4115f32
give the f2 keybinding a more useful name
...
(since it shows up in the keybindigns dialog box)
2012-08-16 19:16:57 -05:00
Robby Findler
0c6734f782
Add the contents of the "blue boxes" in the docs to the upper-right
...
corner of the definitions window, based on the information that check
syntax computes
This commit contains two separate changes to make this work:
- adding a new renderer, based on the text renderer, that
pulls out the contents of the blue boxes and saves them
in the doc/ directories (specifically in the files named
contract-blueboxes.rktd)
- extend check syntax to use and display the information
build by the new renderer
2012-08-12 08:41:46 -05:00
Robby Findler
1a619bd047
add tooltips at the start and end of arrows indicating how many references
...
there are and how many definition sites there are (in check syntax)
also: Rackety
2012-07-30 21:46:22 -05:00
Robby Findler
a66c735b82
removed the check syntax mode support
2012-07-17 13:07:41 -05: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
914f9feebc
lighten some check syntax arrow colors in white-on-black mode
...
closes PR 12594
2012-02-22 16:41:46 -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
188f868a28
Remove the position-location cache that check syntax used to maintain for
...
the purpose of drawing arrows.
The computation to fill in the cache seems to actually be pretty quick and
the work to clear the cache when it is out of date (via a call to on-change)
can be substantial on big files, so just not maintaining the cache seems better.
(there are 7254 arrows in drracket/private/unit.rkt, stored in an interval map,
and iterating over the interval-map in a for loop seems to be time consuming)
Also, DrRacket could get into a state where switching tabs would trigger a
call to on-change, which means that switching tabs would take a few seconds.
2011-12-23 16:15:26 -06: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
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
25271be3e8
set the current-load-relative-directory to #f (initially) in drracket
2011-11-28 13:57:11 -06:00
Robby Findler
153dd73f6b
adjust drracket to clean up the code that sets the initial value of
...
current-directory and current-load-relative-directory and to make
current-directory's initial value be the user's home directory
2011-11-28 13:29:55 -06:00
Neil Toronto
59691aab83
Arrows disappear immediately upon scroll; reduce scroll delay
2011-11-25 18:40:19 -07:00
Neil Toronto
d65b85ac55
Only try to build the Syntax Check popup menu if there is Syntax Check data
2011-11-20 22:23:38 -08:00
Neil Toronto
2d0fa3a60b
UI fixes and improvements to Check Syntax
...
- Delays drawing arrows until mouse hovers for a very short time
- Delays drawing arrows when scrolling
- Tooltips appear in the correct pane when the editor is split
- Fixes infinite event queue with scrolling a split editor while a tooltip is displayed
2011-11-17 19:25:24 -07:00
Robby Findler
41b8b8142a
adjust the colors of the little dot for online check syntax so it
...
is more informative (one more stage) and it turns green when online
check syntax is finished (instead of being blank in that case)
2011-10-25 16:16:22 -05:00
Robby Findler
5db48b3e73
avoid calling the show method for tooltips unless the frame is shown.
...
please include in 5.2
2011-10-08 16:50:21 -05:00
Robby Findler
e7197c4129
fix tooltip placement in online check syntax (only affects mac os x)
2011-10-07 11:48:24 -05:00
Robby Findler
721cdba2c1
adjst check syntax so that it only clears out style changes when clicking 'Run'
...
(style changes are not applied when running online check syntax)
2011-10-02 10:18:36 -05:00
Robby Findler
e1d332a693
make the (non-online) check syntax error report window be resizable
...
closes PR 8161
closes PR 10177
2011-09-27 21:23:54 -05:00
Robby Findler
086ff122f9
clean up the way check syntax handles the various callbacks that tell it
...
that things have changed and it needs to show different stuff in the editor.
(hopefully tooltips now come and go properly)
2011-09-27 16:20:47 -05:00
Robby Findler
75be15700e
clear out any old check syntax information before replaying information
...
gotten from online check syntax. closes PR 12154
also fix a bug where one piece of check syntax information could be dropped
from large files
2011-09-24 08:00:32 -05:00
Robby Findler
a553cd7a4b
be more agressive about setting the current directory during check syntax
...
also, minor Rackety
2011-09-23 16:37:17 -05:00
Robby Findler
469bc6ec00
change the online check syntax so it doesn't require any preferences to be
...
set up in the separate place
2011-09-22 10:51:46 -05:00
Robby Findler
d399e094ed
make tooltips and arrows come and go when scrolling (without moving the
...
mouse)
2011-09-21 22:53:00 -05:00
Robby Findler
d654d3e09b
add the place creation memory use to the memory-log test
...
(this required rearranging a bunch of local-member-names)
2011-09-20 17:15:02 -05:00
Robby Findler
0be51fefa5
don't show multiple (identical) tooltips at the same place
...
also fixes a bug that prevented tooltips from disappearing in some cases
closes PR 12190
2011-09-09 14:43:03 -05:00
Robby Findler
2f9f780727
add tooltips for the module level imports in check syntax
...
this also gets rid of the module-level imports as annotations in the bar
along the buttom of a drracket window, which eliminates the use of the
'drracket:check-syntax:mouse-over status line and thus:
closes PR 12186
2011-09-08 14:44:06 -05:00
Robby Findler
c30122d1fc
more adjustments to try to get the drracket test suites running in drdr
2011-09-05 20:19:17 -05:00
Robby Findler
a67f509f90
add frame:focus-table-mixin & related things to be able to make drracket
...
test suites that don't depend on the OS giving any focus messages
2011-09-05 08:30:49 -05:00
Robby Findler
8c7846fff4
fix bug that inhibited certain menus from appearing. Also Rackety
...
closes PR 12155
2011-09-01 18:04:09 -05:00
Robby Findler
216aee244f
adjust drracket so that it copies the definitions text before evaluating it
...
this means that various things that try to color and otherwise show info by
changing the way the editor looks no longer need to worry about whether it
is locked and delay things in some complicated way. also, this means that
users can edit while drracket is running the program which is hopefully
less confusing.
2011-08-31 22:17:34 -05:00
Robby Findler
3f987d76b7
improve the way check syntax draws arrows
...
(a little bit thicker line and some alpha)
2011-08-13 15:03:26 -05: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
c5f8add9ea
avoid eval-compile-time-part-of-top-level when in the module language
...
Thanks to Ryan for spotting this call!
Closes PR 11908
2011-05-10 14:10:28 -05:00
Robby Findler
57b9bcfe38
fix check syntax's stdout so that it can handle specials
...
related to PR 11854
merge to release, please
2011-04-19 10:31:37 -05:00
Robby Findler
cc091bd25c
fix an ordering problem in check syntax's error message display
...
closes PR 11845
2011-04-16 07:38:23 -05:00
Robby Findler
06ed61c0d2
remove unused string-constant
2011-04-14 15:27:23 -05:00
Robby Findler
1cf98d3033
fix when check syntax is clearing out its error message editor
...
closes PR 11751
2011-02-17 13:53:15 -06:00
Robby Findler
3f9c2ca968
be less conservative about refreshing the screen in check syntax when erasing the annotations
2011-01-23 18:03:03 -06:00
Robby Findler
45a635339e
refactored to make testing check syntax renaming possible
...
made sure to remove duplicates from the list before doing renaming
closes PR 11659
2011-01-21 22:27:18 -06:00
Robby Findler
9698d03955
adjust check syntax so that it uses a copy of the definitions text as the source of the program
...
this seems to improve the responsiveness of check syntax a fair amount
on a fast machine, copying drracket/private/rep.rkt takes .5 seconds, tho.
2011-01-10 13:04:36 -06:00