Commit Graph

4545 Commits

Author SHA1 Message Date
Robby Findler
8af50844a0 clarify auto scrollbars & on-event interaction (ie, they don't interact)
original commit: f2d244cb1fd24cf4fc99a49f1d8f5d15f6e9fb43
2012-02-12 20:24:17 -06:00
Matthew Flatt
233cfe5643 win32: fix canvas% control border drawing
Use the system-supplied region to intersect with the
window region, so that drawng the border doesn't replace
the window content.

See also Kieron Hardy's post on the users' list, 2/7/12.

original commit: af62391c8cf8204b96299a0906e2e8656b921213
2012-02-11 08:45:32 -07:00
Matthew Flatt
5ee24043d5 racket/gui: fix refresh for right-aligned or centered paragraphs in text%
original commit: 6e01d1586a4b12de7fd0f9fe985a9dbdfa476d35
2012-01-30 11:01:18 -07:00
Matthew Flatt
43bf844f51 racket/gui: correct some casts in GUI bindings
original commit: 01dce002717564df1b0ba9da9e2179be420f7f9d
2012-01-23 11:20:21 -07:00
Matthew Flatt
0836e93973 gtk: fix problem wth window freeze & thaw
Closes PR 12496

Merge to 5.2.1

original commit: 484803a896eb8d1eb3ea46dcb1223fb21af24110
2012-01-19 16:20:45 -07:00
Robby Findler
0fad9040a0 make the tooltips for the drracket toolbar buttons go away when they
get any events (this shouldn't be necessary unless one gets lost
somehow, but apparently that can happen)

original commit: 3b2cf3f7a4bc4949fc5fa3f626f789ff983be64a
2012-01-19 12:14:35 -06:00
Robby Findler
92d21649fb adjust the names of the dot/neato binaries to be platform-specific
original commit: 71595a55e67f4701eae93bd60d52d785d83cef6f
2012-01-17 12:42:42 -06:00
Sam Tobin-Hochstadt
dc8edd7062 Refactor and improve fuzzy searching in completion.
original commit: e3609cdb3281993854f7ea57ae63b89be07f3d43
2012-01-13 14:39:05 -05:00
Robby Findler
57f229d37d fix call to message box to remove incorrect style flag
merge to the release branch, please

original commit: e067a4415a03ec6572135ce584a17050690873ca
2012-01-11 13:16:46 -06:00
Matthew Flatt
b7b8aff107 make draw-mem test more reliable
original commit: 7b4fd9b2758ab623ce278a62a62c4f7ab8107eb8
2012-01-09 16:08:28 -07:00
Robby Findler
bbde125b1e fixed bug in the way aug:keymap extracts the names
now it should return only the canonical names of the keybindings
(instead of potentially returning both the canonical and
non-canonicalized names)

original commit: 95ac3c86f789d6514a3a6c6a2f16d28f7d6f0ea9
2012-01-08 07:07:56 -06:00
Matthew Flatt
c280690be5 clarify docs on is-enabled?' and is-shown?'
original commit: 9389947f6ffbb297455c7532a008ca417a0114a0
2012-01-07 21:17:12 -07:00
Matthew Flatt
d80906a5c7 add on-subwindow-focus' to window<%>'
relevant to PR 12474

original commit: fd019a34787805021f9924bb7c9253966bf58f8e
2012-01-07 21:17:12 -07:00
Robby Findler
1c40749acf fix the not-a-language message so that the styles in the REPL are right
original commit: 950d165133768ac8fe500b7bfea5eb22f8d5286c
2012-01-06 20:59:34 -06:00
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