Robby Findler
9767fde76d
improve the performance for dragging around items in mrlib/graph
...
(used by Redex's traces window and the module browser)
original commit: 9d4a3a6e07545cfad5ad38072ddaf2862eb9475a
2012-10-24 23:56:30 -05:00
Matthew Flatt
06e7b26962
racket/draw: fix problems with monochrome PNGs
...
Merge to v5.3.1
original commit: 274d0045464b80116fa83faef4cc21e87f651a7c
2012-10-18 10:01:20 -06:00
Robby Findler
22535c00df
fix group-test
...
merge to release branch, please
original commit: 975426f00c2886c8bd1d933d2f84706744027942
2012-10-17 20:19:15 -05:00
Robby Findler
59e40964d8
add get-token-range to color:text<%> (it was already documented
...
as if it was there)
original commit: 5b3ac50fb94ae28bf975c70e2eac633d07fdea00
2012-10-16 10:51:45 -05:00
Robby Findler
39a8843206
show a dialog box saying that aspell/ispell cannot be
...
found instead of just silently not checking the spelling
also, fix a bug in that case that used to cause drracket
to just crash
original commit: 4787361d7f0598751f962b28739a0cc79b3d0194
2012-10-15 07:41:42 -05:00
Robby Findler
fc583a9210
add preference settings so that the misspelled words color
...
can be configured
original commit: a59df8c7ee19f2c91d41f823d2981854408c50a6
2012-10-14 22:27:50 -05:00
Robby Findler
96d3c88778
adjust spelling code so that it runs in the abortable part
...
of the syntax colorer; adjust the spelling code so that it
uses nack events to communicate, in case things get aborted
original commit: 44a0c8a6c1bd744e139ea9b3a719807bee5708e1
2012-10-14 21:20:36 -05:00
Robby Findler
9bc24e9d44
fix spell checker encoding
...
original commit: c75cc48f5cfba3059fe7f245424a4c00f3eb2366
2012-10-14 18:45:10 -05:00
Robby Findler
c010d0aca7
add capability to spell-check string constants
...
(calls out to ispell or aspell)
original commit: 72fa1d45a18e2e38444db4c11300a1d9f344035c
2012-10-14 17:40:56 -05:00
Matthew Flatt
1332686335
racket/gui win32: fix drag-and-drop onto frame
...
Closes PR 13109
Merge to v5.3.1
original commit: ebe0b64d47be80a78b99635dd8e947807a767d6c
2012-10-09 21:13:34 -06:00
Matthew Flatt
5332e9c927
win32: fix combo-field% click handling
...
Closes PR 13173
Merge to v5.3.1
original commit: 75008f14d7a46d28262e76de2b9603a54e20c896
2012-10-09 20:05:47 -06:00
Matthew Flatt
2eb1a30a2e
racket/gui win32: fix duplicate pre- events for controls
...
original commit: 7ddd99cf52c5476abead64a23bf441a21dd15507
2012-10-02 07:26:25 -06:00
Matthew Flatt
ed25173112
racket/gui: skip some redundant 'enter & 'leave events
...
original commit: a5d78127323ec8959c66426f88459ecf582fc613
2012-10-02 07:26:25 -06:00
Matthew Flatt
4bf6588d14
racket/draw: fix return value of load-file' from
bitmap%'
...
original commit: 64bac4e573c9677b69958e331ee170881bb201a2
2012-10-01 18:14:19 -06:00
Matthew Flatt
7ed282f2a5
win32: fix coordinates of non-client mouse events
...
Closes PR 13141
original commit: efcad101d1ad75e95e261138a2a4145958ce9363
2012-10-01 13:08:24 -06:00
Robby Findler
fa6aa8e1a6
clean up indentation and move arrows to the front, while I'm here
...
original commit: fa891703a8317415cef1408156783012b597ec75
2012-09-27 11:13:26 -05:00
Matthew Flatt
0f37e9e790
fix doc bug for `gauge%'
...
original commit: afeeb56fe8495e043d1b6485eadcde88b1a637b0
2012-09-27 08:12:56 -06:00
Matthew Flatt
3c7fb4808d
win32: fix for clipboard bitmap decoding
...
Closes PR 13119
original commit: c16b696272763194f2fb3731c7bf8309e5d2542e
2012-09-19 09:12:57 -06:00
Matthew Flatt
26e6d12ef9
win32: fix(?) printing page-size calculation when in 100*mm
...
Windows provide page metrics in either 1000ths of inches or
100ths of millimeters. I think Racket's calculation was wrong
in the mm case.
original commit: 4f75350bf3b8e45ebe8c92388ffa83855e56c5aa
2012-09-19 08:40:24 -06:00
Vincent St-Amour
7927d529d4
Move screenshot scripts to the meta collect.
...
original commit: f1f1826bfffe603048709b782bd52af711642300
2012-09-18 14:17:36 -04:00
Vincent St-Amour
157eea0dda
Rackety and minor edits.
...
original commit: a2157b86dc051d46ac438faf198593bfd4bf0cb3
2012-09-18 14:17:36 -04:00
Diogo F. S. Ramos
a5b021f6b0
Add a Widget Gallery to Racket GUI documentation
...
It's very helpful to have a visual aid when dealing with a graphical
interface toolkit.
This patch adds an overview of the widgets available in the library
consisting of screen shots of the main ones and the snippets used to
produce them.
Each widget image link back to the full documentation.
original commit: 54ab1bfbfabb5e5fd8a8fe758a57da87b7bdb994
2012-09-18 14:17:36 -04:00
Robby Findler
1f3c357621
adjust the print-to-ps preference in DrRacket so that you can also
...
choose to print to pdf as well. Also, enable the preference
under linux (ie, make it available to be chosen-- all platforms
still default to printing via the platform-specific mechanism)
original commit: c675cf47f03cd50ff305bc7947c95628da151da5
2012-09-17 10:47:22 -05:00
Matthew Flatt
8542992aeb
racket/gui: fix docs on reparenting (which is now possible)
...
Closes PR 13108
original commit: ff35e7c95b333aa1c3c8e19f21831f2820261f29
2012-09-13 14:17:14 -06:00
Matthew Flatt
2031225b69
improve editor-canvas resizing
...
A recent bug fix involved moving part of an `editor-canvas%' resize
out of atomic mode by queueing a callback (because the resize involves
quesrying the editor for its size, etc.), but then the callback
happens after a canvas is shown, which can cause it to appear with
bogus initial scrollbars. Queue the callback instead as a "refresh"
level callback, which gets a chance to run before a frame is made
visible.
original commit: 11045a0384b2b6f185cd98aec59e27b96b68c5f7
2012-09-13 14:17:14 -06:00
Robby Findler
bab432628c
export and document enabled-shown-button?
...
label-of-enabled/shown-button-in-top-level-window?
and button-in-top-level-focusd-window?
original commit: 9b15450b081d140fe7cd88ac3fbb86bcc66d6586
2012-09-08 15:58:25 -05:00
Matthew Flatt
d296dbde10
racket/gui: new-style error messages
...
original commit: 69d2adce4d7561b3ba4b1c06c3fccba17e11ad05
2012-09-02 16:38:43 -06:00
Matthew Flatt
e098fa417b
racket/gui: make `editor-canvas%' fail more gracefully on too-large content
...
Closes PR 13087
original commit: 64eb4f9389412f544671858c38be15223d3dddd8
2012-09-02 10:08:23 -06:00
Matthew Flatt
8ca7802724
racket/gui: get get-scroll-pos', etc., arguments for
canvas%'
...
original commit: 19b2ee5e90181b7169fa4e5f531beea734adbe2a
2012-09-02 10:08:18 -06:00
Matthew Flatt
83819a23e0
racket/gui win32: atomicity repair
...
original commit: 7291e1a24d832cd93923263938a40c5a2bb9daa9
2012-08-29 17:45:59 -06:00
Robby Findler
5e895a0725
adjust contract for test:button-push so it isn't so ugly
...
original commit: 977fd37913e04d9ae6f7127f037c428c6b86a630
2012-08-29 14:52:56 -05:00
Matthew Flatt
c1dd757d5e
fix editor-canvas%' internal
on-size' handling
...
The `on-size' method is called in atomic mode,
and we can't call into the editor's sizing functions
in atomic mode.
Watch out for refresh and/or window-sizing problems.
original commit: dba3c14746b5c97d4a04e85e352b4161408e6655
2012-08-28 17:21:45 -06:00
Matthew Flatt
19f73d1c74
add ffi/unsafe/nsalloc' and
ffi/unsafe/nsstring'
...
original commit: 088d1dadb407132ad3b2398fc50e480e86a2fab5
2012-08-24 15:48:58 -06:00
Matthew Flatt
ab6afa4e96
racket/draw: fix set-clipping-rect' in
record-dc%'
...
original commit: edd2035f88b571afc9ed85ba0f7c6167332fb5b3
2012-08-23 09:42:34 -06:00
Matthew Flatt
a2aae67945
win32 racket/gui: fix decoding of system font name
...
Closes PR 12997
original commit: d9784aa7eba13626d6397ebc2f8d2d1374dceb94
2012-08-23 08:16:23 -06:00
Matthew Flatt
332daee364
fix internal position adjustment for `pane%'
...
Closes PR 13038
original commit: 30da0f4bf49cfee4e2a107acdbbc8e819f9825ef
2012-08-22 09:07:05 -06:00
Robby Findler
844fe17da2
control-alt for menu selections probably shouldn't be
...
used under windows, so just give a menu shortcut under
macosx and under windows rely on the underscore thingy
original commit: f1a4aeedba431f8ed54767dc045e4d2a5282b5a4
2012-08-21 08:16:39 -05:00
Robby Findler
2473e9094f
change the new 'find from selection' menu item so that it uses
...
cmd-alt-f on the mac (and control-alt-f on windows/unix, I believe)
original commit: e38e959145f800c830a77c3e684f7126b8f40311
2012-08-19 18:04:14 -05:00
Asumu Takikawa
33839b1cc8
Fix docs for radio-box%
...
Closes PR 13005
original commit: 7d20e0cbe260abe26129962ca60c7047b73d78ba
2012-08-18 00:23:16 -04:00
Robby Findler
767564c15a
adjust the windows menu so that it doesn't rely on
...
various callbacks to keep its menu items straight, but
instead uses the on-demand callback to just get them
all right.
original commit: 49eb4ab11cb28ba543b4f5ee9738cd240bec6b8a
2012-08-16 19:16:57 -05:00
Matthew Flatt
a1721aa111
racket/gui: internal cleanup
...
As suggested by Robby.
original commit: 0648556bea202e7f541699d4b6e64a0dfa6be557
2012-08-13 17:11:20 -06:00
Matthew Flatt
0e2b88e51a
racket/gui: fix access of scrollbar values for canvas without a scrollbar
...
original commit: 1800680c6ba0dec0f8b2f7d0495c615906b27b47
2012-08-12 20:17:29 -06:00
Matthew Flatt
7dde3f4f90
win64 racket/gui: another work around for Cairo clipping issues
...
Cairo doesn't seem to deal correctly with an HDC produced
by BeginPaint() that has a clipping region. The problem affects
only Win64. Work around the problem by drawing to a separate
HDC and copying to/from the screen. (To see the problem before
this patch, draw the DrRacket window to the edge of the screen
and back, and observe tha the toolbar doesn't update correctly.)
This change could affect performance, but it should mostly
be limited to refresh when a window moves.
original commit: d5024f0f20e077621e7ecf34a4d498c6bcd59698
2012-08-08 09:56:44 -06:00
Robby Findler
7f70f83094
Rackety
...
original commit: e65cbdecf0ca06b4e3911952bc8a58f7646f7f4b
2012-08-07 13:03:45 -05:00
Robby Findler
22fee824e5
add some highlighting to the line numbers to show where
...
the insertion point currently is
closes PR 12976
original commit: 94a448413ee9b371bc7822f27ac422776cf1ca3a
2012-08-07 12:12:45 -05:00
Robby Findler
6d8cf91696
add some highlighting to the line numbers to show where
...
the insertion point currently is
closes PR 12976
original commit: b5f97513699690a76e54fdea7d884b39032b9e00
2012-08-06 22:24:59 -05:00
Robby Findler
88e9787226
add a find-from-selection menu item that grabs the selection and puts
...
it directly into the find window
related to PR 12978
original commit: b16843a908a740ebfa843c2455921b76e761a063
2012-08-06 18:00:57 -05:00
Robby Findler
6b3b6b77f8
adjust the filename filter for the insert-images menu item
...
closes PR 12963
original commit: 9b39fc37f8559ab2e1f760af754f1b15620e0542
2012-08-02 07:17:09 -05:00
Matthew Flatt
4fa52a1a4b
racket/gui: clarify graphical min size in docs for `text-field%'
...
Closes PR 12959
original commit: 7df91a6148c87c17771a6d7c8ecdecb7266ce240
2012-08-01 09:34:12 -06:00
Robby Findler
1b1a85c730
typos
...
original commit: b520696d6f466ab90212fcb53763cb18b26705c2
2012-07-30 21:46:22 -05:00