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
Robby Findler
17f11541b4
adjust various plumbing to get the drracket icon to the startup screen. Only to realize
...
that the startup screen is a dialog% and thus doesn't have set-icon
related to PR 12241
original commit: b95b346a4e3f51dddd5ec88faf126f1b4636125e
2011-09-30 17:08:03 -05:00
Matthew Flatt
6c3d889b93
fix keyboard navigation (all platforms)
...
Also, fix `set-selection' in `list-box%' to not invoke the
tab panel's callback function (cocoa & gtk).
original commit: 4535f5d8cc0fe4d0c3c360d7527980b1c3b7e39a
2011-09-30 13:44:24 -06:00
Eli Barzilay
7fb531ebc6
Improve code generation in the framework collection.
...
Instead of generating a file for code and one for documentation, do both
via a macro instead. Most of the code is the same (modulo reformatting
in a more modern style), and instead of printing the result to a file,
it just returns it as the result of a macro. (Since this is done in a
naive way, the macro is bad -- it is unhygienic since this is basically
what it did before only through a generated file; it should eventually
be improved to avoid these hacks.)
original commit: 093236fea448240740fe22c232a223950c693839
2011-09-30 10:51:28 -04:00
Eli Barzilay
63a464fc93
Don't create a page-setup menu item if `file-menu:create-print?' returns #f.
...
original commit: 656de6963692413b27b5e1682465f4cfd989a318
2011-09-30 10:45:43 -04:00
Eli Barzilay
4f3d062242
Rename "standard-menus.rkt" -> "standard-menus.rktl".
...
Since it's a file that gets included. This is likely to be temporary,
if I get on with turning the whole thing into a macro.
original commit: 01c859072e7dc2a4b3296e06bf10ff5d82f80295
2011-09-30 10:45:43 -04:00
Robby Findler
0683d8a898
add splicing-* to the default indentation preferences setting
...
original commit: 3a3ce656c4ed5736ae5e46e9736fb05c35412c96
2011-09-29 06:55:05 -05:00
Robby Findler
28e11323fc
adjust frame position preferences for the case when a monitor has gone away
...
original commit: bef4ed1fd412e1e7d2cabc6633808e816036d09f
2011-09-28 21:04:56 -05:00
Ryan Culpepper
e049a2892c
revert some (require racket/pretty) to (require scheme/pretty)
...
original commit: afc9210599b6abf3f4c2c62d57249ccda88f80c2
2011-09-28 19:01:27 -06:00
Robby Findler
cd3b42aca3
fix problems with the autosave recovery gui and add a drdr test for it
...
original commit: c8cbe81e51404e0c650bbedc3bdb901fd5636f9e
2011-09-28 17:06:30 -05:00
Robby Findler
83ec42a835
remove debugging printf
...
original commit: abeaebcad06d165fb405017c0220e103b347734b
2011-09-28 17:06:29 -05:00
Matthew Flatt
523c6f9697
cocoa: fix control-refresh bug
...
original commit: b24c8eb4ddf601aa2b8a9b1616bd7d475fe36e5a
2011-09-28 12:38:39 -06:00
Ryan Culpepper
7fb542cbf5
removed useless requires
...
original commit: c7f86d276c68b12e87dc46cef4a8e1b95538f88d
2011-09-27 19:28:44 -06:00
Robby Findler
68dcb92030
try using size-in-pixels for the font primitive in 2htdp/image
...
closes PR 11883
(the earlier commit with this message was just completely bogus)
original commit: 34581b7050e19bb75bdfe456e3b2dd2547ccd463
2011-09-27 16:24:23 -05:00