Commit Graph

4808 Commits

Author SHA1 Message Date
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
Matthew Flatt
8da2243aeb Revert "another attempt to fix the 64-bit Lion hidden-window problem"
This reverts commit f6e5468dbb85c2ed48178ac43fb25084430413ef.

Merge to 5.2

original commit: 9fd11ac92cec38a0497ae155f472ab82cca97a2b
2011-10-10 15:38:42 -06:00
Matthew Flatt
85af4802de docs and release notes for `set-icon' change
Merge to 5.2

original commit: 8f0fa96d699fd304b32e9cb00db8cc18220f58ee
2011-10-09 09:45:42 -06:00
Sam Tobin-Hochstadt
8f9254d569 Change basic-top-level-window% to support `set-icon', and use to set icon for splash screen.
Closes 12241

Merge to 5.2

original commit: 1b69d742bd7b895ce44c8ed21ffcbaa7caeebf93
2011-10-09 09:43:32 -06:00
Matthew Flatt
b6e39a74f2 cocoa: fix `show #f' on already unshown frame shows it briefly
Merge to 5.2

original commit: bf3f09a3c18637b8ebf719f235813c2390ac331e
2011-10-08 16:47:19 -06:00
Robby Findler
6632c07805 adjust uses of after-load-file to use the success? flag
original commit: fcc720f43e7f92063637af65b8c087327908e2ca
2011-10-08 10:50:27 -05:00
Matthew Flatt
a22c802214 editor<%> doc fixes
original commit: ed38297c971b7e5de07e32b1d82e827ce6a8f58f
2011-10-08 09:12:31 -06:00
Matthew Flatt
aa1ced42cc fix text% `get-paragraph-{start,end}-position' bug and doc bugs
Merge to 5.2

original commit: 379991c5bbd170085d1abfb7d766efa4f63e7a3c
2011-10-08 09:12:30 -06:00
Matthew Flatt
02bf0c08d8 another attempt to fix the 64-bit Lion hidden-window problem
This fix uses the same`run'-vs-`finishLaunch' technique as before,
but patches up the modal-dialog problem by calling `run' again
with a callback to start a modal loop.

Merge to 5.2.

original commit: f6e5468dbb85c2ed48178ac43fb25084430413ef
2011-10-08 06:12:17 -06:00
Matthew Flatt
1d81935cf9 Revert "cocoa: change the way the app is initialied"
This reverts commit 60101618db61c347a3477b0ced4e42e0d50d6fb2.

While this changes fixes a 64-bit Lion problem, it creates a
worse problem of breaking file and print dialogs.

original commit: 9aa93ab5aebed19cd571f18d1580884030f3b9b8
2011-10-07 15:25:31 -06:00
Robby Findler
94cf73432e adjust the calls to paragraph-{start,end}-position to specify the default argument
original commit: 7aa6153da1ef77508de5d8405eba78c013b7f813
2011-10-07 14:02:27 -05:00
Robby Findler
ccaa37de24 add a 'find longest line' menu item to the edit menu
original commit: 93c1d1dd361f7cfe5613894e536223deaefc34e3
2011-10-07 11:48:39 -05:00
Matthew Flatt
466e7130ab cocoa: change the way the app is initialied
Calling NSApplication's `run' works better than calling `finishLaunching'
directly, particularly in 64-bit Lion for some reason.

Relevant to PR 12102
Relevant to PR 12257

original commit: 60101618db61c347a3477b0ced4e42e0d50d6fb2
2011-10-07 08:05:15 -06:00
Neil Toronto
a6fbae1192 Added new plot library and old libfit (which plot still depends on)
original commit: d3b5e21cae5deb672a921a05c3bad15db1545ef1
2011-10-05 10:26:49 -06:00
Robby Findler
6f23742739 Allows selection of the various text objects inside DrRacket's display of
syntax objects

closes PR 6121

original commit: 560dfd5312ae1857064f6cbc95fd1e96482de9ce
2011-10-05 08:43:18 -05:00
Robby Findler
5bf4271e3e make right-click in the space between the definitions and
interactions window pop up a menu to let you change from
vertical to horizontal orientation

original commit: 9b3f2427d7adb6fcfb7e737fdec36b313c8f5b69
2011-10-04 16:47:10 -05:00
Matthew Flatt
60c5ad33e3 cocoa: make grow-box-spacer zero-width for 10.7
original commit: 3941a5d04f71a7d17f9ad341b30e2d6acde098c8
2011-10-04 12:59:18 -06:00
Robby Findler
211d1398f8 fixed planet docs; closes PR 12178
original commit: 6fd2e9c1d3e834d8f69ffc0bc18651c04a26763f
2011-10-04 12:56:35 -05:00
Robby Findler
e5011aa5f4 fix my stupidity
original commit: 3bfce02bd6d24f9e15ef8b3360107d93a3e793d3
2011-10-02 18:14:55 -05:00
Robby Findler
6bd97a2bad fixed another path/string bug in the autosave recovery dialog
original commit: c455631eb327ede09ec0f21e1958f9cd043ce72a
2011-10-02 17:19:27 -05:00
Robby Findler
57b74886e6 add get-default-percentages to panel:dragable and then add a dragable panel
to the debugger

original commit: 951de8cc51b446b6041e64bc37356392266a3532
2011-10-02 14:34:28 -05:00
Robby Findler
c4deab2e67 fix crlf mode initialization
original commit: b71e562284168419abb5500e2eaceb9d0488f363
2011-10-01 08:10:25 -05:00
Robby Findler
089022da68 clarify the use-file-text-mode method.
original commit: b52086ecae15a1e159f01969b2e651e3234f514d
2011-09-30 17:08:18 -05:00
Robby Findler
eb943f394e Adjust DrRacket so that it saves files with CRLF
line terminators when:

  a) running under windows, and
  b) the file on the disk (when DrRacket first opens it)
     contains all CRLF line endings.

In all other situations, the file is saved with LF terminators.

Before this commit, DrRacket would always use the platform-specific
convention, regardless of the original content of the file.

closes PR 12242

original commit: 4a2757f2004fa84901cbae7ff9a257616ce7acaa
2011-09-30 17:08:07 -05:00