Commit Graph

4631 Commits

Author SHA1 Message Date
Robby Findler
218ea84e74 docs bug (as noted by Marijn on racket-dev)
original commit: c9fcde258f4ec413a50c7ab696fadc7646cacb4c
2011-12-27 08:53:35 -06:00
Matthew Flatt
72bbc5bc82 fix `text-outline' test to include a curve
original commit: 3a1df23be6c5da4f12a285a5358c4e732e8349b5
2011-12-26 06:27:22 -06:00
Matthew Flatt
52405d4965 'rshift and 'rcontrol don't interrupt keybindings
Closes PR 12461

original commit: e12bf33f8dcbc72969058960017e229394fcdc2f
2011-12-25 19:39:37 -06:00
Matthew Flatt
9b42ce66e6 for record-dc%', record initial configuration after each erase'
Closes PR 12460

original commit: 1c6378451798d2e230d841d0f8d3afc9b4c078d3
2011-12-25 19:26:39 -06:00
Matthew Flatt
521f398b64 racket/draw: add text-outline' to dc-path%'
original commit: 6c5c17056517da0b85506872299500e600a39cea
2011-12-25 18:20:39 -06:00
Matthew Flatt
0c98aca4c3 fix draw-polygon' on pairs instead of point%'s
Closes PR 12455

original commit: 5bfaea25febcc8d50a75861c692aecfc3cb49876
2011-12-23 07:25:59 -06:00
Matthew Flatt
bf91136639 avoid `racket/gui' tests that can't work on X
original commit: 4fed17704a823fd5a66f8c2b5fe405631d2d452f
2011-12-18 07:27:32 -07:00
Robby Findler
705bdfbc34 when double clicking in a comment, fall back to word-based instead
of sexp-based selection

closes PR 12439

original commit: 48772f2e405a7723f40397ccdbfdf1f646f8f9c6
2011-12-12 14:45:27 -06:00
Matthew Flatt
c3fb9f60da add 'shift, 'control, 'rshift, and 'rcontrol events
original commit: f93c94f6ffb0c45c7ffd8c73d1033c088c20eb6e
2011-12-08 15:05:41 -07:00
Robby Findler
6af85bce99 adjust the double clicking in racket mode so that clicks on the
(instead of sexp-based)

closes PR 12421

original commit: 1d03e5f711c26fb06e3110c2124ef2d13a793979
2011-12-05 21:01:28 -06:00
Matthew Flatt
3d08118a1d fix another way that `racket/gui' instances can leak
original commit: 745c4b64703cf5fb47e44781b1aac6af41e04fd8
2011-12-02 15:48:29 -07:00
Sam Tobin-Hochstadt
13219382f5 Fix doc mistake.
Close PR 9508.

original commit: 04b89625423e69d99fbab2350d8080ef759a4216
2011-12-01 16:54:52 -05:00
Robby Findler
95edc28dd8 improve the double-click-on-word behavior for scribble (generally when
double clicking inside a string) and when clicking on close
parentheses (specifically, only special case close parens that are
actually parentheses according to the colorer, rather than special
casing all close parens).

original commit: 082978effea79f2689b9377f1e8d7da795c1b8ee
2011-11-30 16:55:54 -06:00
Robby Findler
ff6fa2736c some long overdue Rackety: renaming the 'scheme:' exports of the framework to 'racket:'
original commit: 458e2c2282adca43aabe3d1e62957389d2fbe798
2011-11-30 06:45:50 -06:00
Robby Findler
c865a34f8a use an aug-keymap instead of a keymap for the scheme mode keymap container
original commit: dd4f307a4707712693927b8e8fd859e2fd85b733
2011-11-29 14:27:51 -06:00
Robby Findler
ade72045be adjust the handling of the scheme mode keymap so that it can go
before the plain text-mode keymap.

Add a doubleleftclick binding to the scheme mode keymap so that
we can have sexp-sensitive double clicking in the drracket editor

original commit: 1c2f9cd721588affa82b0a5497c3580e846a0892
2011-11-29 13:46:23 -06:00
Robby Findler
2eb9dede6a change the framework & drracket so that they still use the colorer
methods (paren matching, mostly) when the colorer is frozen
(but continue to avoid using them when the colrer is stopped)

closes PR 12374

original commit: e935b1fa8e987a2867bb5ddb881d78cbdb23b98d
2011-11-29 13:46:23 -06:00
Robby Findler
e526d30337 fix a bug in the module lexer; it was returning the wrong length for the tokens
it creates when the #lang line isn't well-formed (eg "#lang racke").

closes PR 12399

original commit: 11994bd4f8ea60b5a19ae1f1129bc5c072f3311f
2011-11-28 21:16:31 -06:00
Robby Findler
d3dc21e2d3 change file-creator-and-type so that it raises exn:fail:filesystem?
exceptions instead of exn:fail exceptions for errors having to do
with the actual attempt to change/retrieve the creator and type
(but leaving alone the type errors)

closes PR 12400

original commit: b40cc23f60239b4af50c5c9fad66dfdf8c48c9f4
2011-11-28 15:35:42 -06:00
Robby Findler
221e28c123 adjust the autosave error code to print the stacktrace
related to PR 12400

original commit: d580518e66573692e6258c04d94b25e23f3bbf93
2011-11-28 15:34:30 -06:00
Robby Findler
f25948153a add the ability to pass a bitmap directly for the splash screen
original commit: d381c7b40b58c6ea4d9fa7bf1d507a661ed91358
2011-11-28 14:35:44 -06:00
Robby Findler
c0ffac2972 adjust the completions box so that it doesn't raise the error mentioned in 12396 anymore
closes PR 12396

original commit: 081dc6c9a1f67862af6a8ae2d7dfcafb21afe686
2011-11-26 18:30:25 -06:00
Robby Findler
49d4593939 add another printf for drdr's consumption
original commit: e942bb1c3a8ede379ff8ea5032a5cc5855f279c1
2011-11-25 17:54:56 -06:00
Robby Findler
f028cff805 add some debugging to see if I get more useful info for the module language test intermeittent failure
original commit: ca457b00520ada0aba50a83588440b4d9f532960
2011-11-25 15:13:11 -06:00
Matthew Flatt
d11a50bd6d cocoa: make sure app wakes up on file event
original commit: bc0c2075fd5999188773fc19994731f6e60c23a2
2011-11-25 13:19:42 -07:00
Matthew Flatt
5c61b1f216 fix treatment of caps lock in keymap%
Somewhere along the way --- probably in porting the editor
classes to Racket --- the caps-lock specification in a keymap
string was treated the same as other modifiers, but it is
supposed to be neutral when the key string starts with ":".

Closes PR 5486, 10347, 10993, 12184

original commit: d3cbea068ad6e64453b5ddd4f12b461aeef54844
2011-11-25 13:19:42 -07:00
Robby Findler
2916ffce08 adjust number-snip% so that it subscribes to the file/convertible
protocol for 'png-bytes and 'text

original commit: 6ea6483221a6a9f4aad2db7a391043e61718757c
2011-11-20 16:38:17 -06:00
Robby Findler
ab717a2380 fix the interaction between the automatic insertion of matching parens
and the magic fixup of opening parentheses.

This commit moves the automatic insertion of matching parens to the
scheme mode keymap, so it will now take affect in Racket mode editing,
only. Also, Rackety.

original commit: b726209dc540dfa779fb464510ae68848c4db1e7
2011-11-16 19:36:18 -06:00
Robby Findler
ff239b6f3d Make the 'Show Replace' menu item be always enabled. Also, make it
set the keyboard focus to the replace editor.

It used to be disabled when the searching bar is hidden. In that case, it now
makes the searching bar visible.

original commit: 3345415d71591f60285786cee19a63704effc2ad
2011-11-16 16:23:11 -06:00
Matthew Flatt
90eacd7d08 win32: get default frame icon from application
Also, clean up icon- and cursor-loading code

original commit: 63f3a51ae619f85b1b7cd0826cce851bcb0717be
2011-11-16 14:45:32 -07:00
Matthew Flatt
89dfbe44e1 win32: enable live resize of frames
original commit: 7ad81e7560da525cd5016477554e1e9eee0f87ec
2011-11-15 12:44:26 -07:00
Sam Tobin-Hochstadt
8206ecb470 Make autocompletion fuzzier, similar to the doc search.
For example, autocomplete of `cur-dir' will produce the same list of results as the documentation search, with `current-directory' first, instead of producing no results.

original commit: 0754e6b702063efd4153848386d4467c13587fb1
2011-11-13 16:33:17 -05:00
Matthew Flatt
db9ae63828 fix leak in `racket/draw' instantiation
original commit: 75dd61ebc36ecca41d591c81c290b0e776cef36b
2011-11-11 16:32:16 -07:00
Matthew Flatt
fcd3a38c65 win32: avoid line-wrap in `meesage%' display
Also, adjust text measuring to ensure that it is as close
as possible to measurements for a control.

original commit: 2d70017091831a1cb041f16323ec489eadc078ac
2011-11-08 06:55:40 -07:00
Matthew Flatt
9641cb5e70 add #:fail argument to with-gl-context' in canvas%'
original commit: 0f6c26779876beaaa5463a4f478aa569af79db28
2011-11-03 17:42:36 -06:00
Matthew Flatt
9fdb98c9c2 cocoa: fix some GL problems
original commit: 4bbb2d41aa5a8f933780402e4d7ce939da75213b
2011-11-03 09:12:13 -06:00
Robby Findler
f20ad9a4fe minor docs fix
original commit: 5128f08810ec027fdb6569750d302930e3cd0519
2011-11-01 09:51:28 -05:00
Robby Findler
9b0140909e Rackety (mostly letrec-values => define and minimizing dependencies)
original commit: 0ce6c755916f5cb06b517f43690dd705bac0b334
2011-10-31 09:14:34 -05:00
Matthew Flatt
4a782c4000 fix editor refresh problem when line numbers are shown
More generally, fix horizontal refresh when an editor has left
padding. Otherwise, deleting a character in DrRacket with line
numbers shown seems sluggish, because the update waits for a
refresh event.

original commit: 506aa79d14f2b32cc1028b0e9a8cee5b3ee0a24d
2011-10-28 20:01:19 -06:00
Matthew Flatt
1deb9d8815 gtk: fix problems with on-focus' and on-activate'
original commit: 29c7c28ba576051a62d9e28273fcd73052009a02
2011-10-18 06:35:50 -06:00
Matthew Flatt
71c2b32f80 fix cocoa `get-clipboard-string' to never return #f; fix docs
Merge to 5.2

original commit: 718229387c05daba0c2cce9f68f757e72fe0ad2d
2011-10-18 06:35:38 -06:00
Robby Findler
6cf14004d5 use the focus table mixin for the autosave window so that drdr tests work right
original commit: 4a3997ac1c21282c324e125ffad835f8d8371cbe
2011-10-17 17:32:37 -05:00
Matthew Flatt
3b39083474 gtk: no freeze/thaw before/after unmap
Merge to 5.2

original commit: a09543772a93ca8d7cf58fa2c4e60f3c559f031b
2011-10-17 15:53:07 -06:00
Matthew Flatt
64f8ae1bb4 add missing test for text% tab fix
Merge to 5.2

original commit: 6d608e392c301cfcff4529445a74788745ad79cc
2011-10-13 06:03:10 -06:00
Robby Findler
37e2d019e4 swapped the backwards triangles
original commit: 770c2d14f807dfd5b1426b18cf5275167e2fce97
2011-10-12 20:46:20 -05:00
Matthew Flatt
10137f4760 fix framework doc reference to `set-icon' method
Merge to 5.2

original commit: f2082e6eeb4a41ad6e1c33416fa4ae59430362a2
2011-10-11 17:17:58 -06:00
Robby Findler
711cab5ea9 adjust the autosave gui so that closing the window doesn't cause drracket to
exit (this only happened on non-mac os x platforms)

include in 5.2

original commit: 4d00b13ce0f28e876ea87bc4159673c274247f7b
2011-10-11 10:44:00 -05:00
Robby Findler
209953a20d error message typo
include in 5.2

original commit: 95e29376fd04c54c9e4a4647fc6e95b73d5c0b21
2011-10-11 10:43:37 -05:00
Robby Findler
a8d2828fd8 adjust 2htdp/image library so that it doesn't create arbitrarily large
bitmaps when rendering images

closes PR 12277 (except I didn't fix the make-bitmap contract)

include in 5.2

original commit: 10d19bf8d51d24c83e495e957c2a50af265e23a7
2011-10-11 08:33:50 -05:00
Matthew Flatt
20741c8fc5 third attempt to fix 64-bit Lion hidden-window problem
After all the previous attempts, the problem seems almost trivial:
although Apple documents `NSAnyEventMask' as the constant #xFFFFFFFF,
it's actually NSUIntegerMax (and the difference matters in 64-bit
mode).

Merge to 5.2.

original commit: dc912ee6def7a6e8b4edc13c230b367761c5c722
2011-10-10 15:48:30 -06:00