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
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
Matthew Flatt
691b4c33ce
better fix for TransformProcessType issue
...
GRacket registers witht a global table to indicate that
no transform is needed. (This change was intended to address
a 64-bit problem on Lion. It didn't help, but this seems
better than ignoring an error.)
original commit: 9d4fcd8e84e8663526420ff2de4b8b67869442c9
2011-09-10 10:53:42 -06:00
Matthew Flatt
480477cbd4
suppress an error message (related to Mac 10.7)
...
We could try to figure out the current state of the process,
instead, but it seems like too much work.
original commit: 9c5b78e998c7cf3e6a0bfe9848b7a47f18562ef3
2011-09-09 19:22:42 -06:00
Matthew Flatt
fee465a5a4
racket/gui: add `application-start-empty-handler'
...
original commit: 735ca7f3c3314df880785264c484b841df87cd16
2011-09-09 17:03:18 -06:00
Matthew Flatt
a08a642aa5
cocoa: fix application about handler
...
Closes PR 12165
original commit: 34eb5ec9832660fdc2960e4aba00f2c407fddf5e
2011-09-03 10:35:55 -06:00
Matthew Flatt
ea717ae364
cocoa: fix switch-to-gui-app for 64-bit
...
original commit: d857385797f20271612ad01940e96d0f1d6f7578
2011-09-02 06:27:56 -06:00
Matthew Flatt
afcb8b3e86
report some errors instead of potentially ignoring them
...
original commit: 3f11ef9b119b2afbd19afa1f35fc90dd2cfce527
2011-09-01 07:14:05 -06:00
Matthew Flatt
e3d995ee87
place-specific low-level "sleep" function
...
to make racket/gui work right with places (running
in just one of them) on Mac OS X
original commit: 5a5800d51316c98827e47544deec658b8456fb03
2011-06-17 17:03:21 -06:00
Matthew Flatt
e49a922cce
cocoa: FFI type corrections
...
original commit: aea79be7a4b6baf6add8281866773cd6d452dfb7
2011-02-14 06:10:56 -07:00
Matthew Flatt
f8149ed985
cocoa: event-dispatch repairs, especially when no frame is shown
...
Relevant to PR 11672
original commit: b485d375b0c2fee59caa8eb2eeb34d6520c9b4ee
2011-01-28 12:43:51 -06:00
Matthew Flatt
5c15ac736a
cocoa: better sync between Cocoa and Racket event queues
...
to reduce inversion where a low-priority callback runs
when a GUI event is available
original commit: 630dee7227fe437532edfeeda6e5c35f1bf8f7c0
2011-01-26 12:19:48 -07:00
Matthew Flatt
40bf1f8500
fix minor potential GC bugs and add some debugging support
...
original commit: 790a91e5208b50c7a1022a8ad5b03c26a7399b82
2010-12-13 16:31:13 -07:00
Matthew Flatt
0e3f40b8c4
cocoa: hack around NSApplication's handling of command-line arguments
...
original commit: 3479f5fb92a68b8bcdd18c557ca03c17f43cd9e6
2010-12-02 11:53:18 -07:00
Matthew Flatt
0d9d00cb1c
cocoa: finally found the documented API to enable GUI mode
...
original commit: ab070b205ea20b76b76dea5e027d2a35e7de6c73
2010-11-25 08:03:32 -07:00
Matthew Flatt
93b21b51b1
cocoa: try to fix problem with drifting gc-blit window
...
original commit: 510c3f8a3362fe67979e805910b90c5bd440f586
2010-11-23 10:02:45 -07:00
Matthew Flatt
f83d833348
cocoa: avoid 10.6-specific method for menu popup
...
original commit: b6b3298567c4aa566a93ed46f76eb2774d37a0fa
2010-11-10 17:54:07 -07:00
Matthew Flatt
7d3393f07f
gtk and cocoa: add flush method to canvas% and fix periodic flush
...
original commit: b9f3957a767f3530f8a1e27a7be8ca4852e581f9
2010-11-05 15:54:55 -06:00
Matthew Flatt
ae528ecf8b
cocoa: hack around a problem with application hiding
...
original commit: da6397e00657b85e3e6108ac69d5cb06cfaf45e2
2010-11-05 15:54:54 -06:00
Matthew Flatt
d55193a6f2
cocoa: convince dock to not resurrect a closed frame
...
original commit: 50caefcb3853f9b3e55673fb3a869e80225ccd1f
2010-11-05 15:54:53 -06:00
Matthew Flatt
9806913cb2
remove debugging printf
...
original commit: 6fa9ee22a7c8e79585eb6434b20ca6650c0552f1
2010-11-05 15:54:51 -06:00
Matthew Flatt
a3b555d063
cocoa: another screen-change workaround
...
original commit: 4891b87ea138d1ae487bed830b455da5fc38608e
2010-11-05 15:54:50 -06:00
Matthew Flatt
da874c1c04
v5.4.99.1, executable-yield-handler', and
make-bitmap' etc.
...
original commit: 05cfffdf9e13b6868a19384e88bcb9331f9631f1
2010-11-05 15:54:50 -06:00
Matthew Flatt
c14bee176f
clean up
...
original commit: d7f1d12ea1c16d5ed062a8ac8fe2fe47db267f15
2010-11-05 15:54:49 -06:00
Matthew Flatt
5e6bcc8be3
fix mistake cocoa screen notification
...
original commit: 4f55d2270566c57dad2c4d35b558d1cf7cdb5c6e
2010-11-05 15:54:49 -06:00
Matthew Flatt
33dd9054d3
work around cocoa display-change issue
...
original commit: 47c032ff34a102e7bf1e909483a24c29c0399b2f
2010-11-05 15:54:48 -06:00
Matthew Flatt
04623979f5
misc fixes, especially cocoa
...
original commit: bffff78aad36699025d498442f38214f0727ad5b
2010-11-05 15:54:48 -06:00
Matthew Flatt
aee9c4da25
some fixes prompted by the test suite
...
original commit: 4f2e59e7a654c9724d546f619589ca68cc334d59
2010-11-05 15:54:48 -06:00
Matthew Flatt
577095a355
cocoa: don't over-poll for events
...
original commit: 97a52a58bc011e26c72835fb71584fc2cc6f29ef
2010-11-05 15:54:29 -06:00
Matthew Flatt
e5ef099a7c
try to throttle cocoa event dequeue for key & mouse events
...
original commit: 0f2ff1ff5dfd8c7cda603efcbf8b13382f86c581
2010-11-05 15:54:29 -06:00
Matthew Flatt
2a3bdeb69b
cocoa app file handler
...
original commit: 4c22197dee2228714d64d79a5312594833df24f4
2010-11-05 15:54:29 -06:00
Matthew Flatt
8bd418695f
fix slider value display and 'plain option
...
original commit: 5809bc7790249e9cd5debfb29d09097189f9bcea
2010-11-05 15:54:27 -06:00
Matthew Flatt
6c367a0dcb
new queue level for refresh events
...
original commit: f1e2db412f45217bbcdf362c2bdc5186089284e7
2010-11-05 15:54:20 -06:00
Matthew Flatt
b4d34b0b32
generalize editor selection mechanism to support Windows style
...
original commit: ae05eddf1437b8ae465d9bdfe8a605f7db022765
2010-11-05 15:54:19 -06:00
Matthew Flatt
627a12a4f4
small step toward new text hiliting
...
original commit: 67ec13ac1a1f175fae1d25e78beeb7f215676c91
2010-11-05 15:54:19 -06:00
Matthew Flatt
1752204327
more memory management
...
original commit: c7049058336382b651c82b3a98c8a7feb9311257
2010-11-05 15:54:15 -06:00
Matthew Flatt
2197b56aab
clean up cocoa memory management and also fix vertical sliders and guages
...
original commit: 152a8b67039ba64e8945ffa513c91f2dafa8e99d
2010-11-05 15:54:14 -06:00
Matthew Flatt
865a4b4671
clean up lock library and uses
...
original commit: a9ffced9b8537987c584b206d04e824e54ada965
2010-11-05 15:54:14 -06:00
Matthew Flatt
ae649f506b
consolidate lock implementation and fix custodian problem
...
original commit: 8ad33f15ab876d83bdc2e38041870f5e29317266
2010-11-05 15:54:13 -06:00
Matthew Flatt
a4eeceff33
new cocoa canvas-refresh strategy
...
original commit: 7a7658e86d209a9de522e72116ba36c3b9466f2d
2010-11-05 15:54:12 -06:00
Matthew Flatt
afee071c5c
fix cocoa pref menu
...
original commit: dedba7a441ea2b3e71700a149c0b913f91a1af0f
2010-11-05 15:54:11 -06:00
Matthew Flatt
e0406cdeb7
dialog show & button width fixes
...
original commit: 202e18ef85226e08c9a4294ee49ae7f641d0295f
2010-11-05 15:54:08 -06:00
Matthew Flatt
f30792e085
fixes to bitmap%, especially mask vs. alpha mode
...
original commit: 439683af5e938a0662139e5af90f65103d8c53cb
2010-11-05 15:54:07 -06:00
Matthew Flatt
e4ffd5e6c1
default buttons and Cocoa clipboard
...
original commit: 0723c4f647921b3d3342e531d017b414d0f5530e
2010-11-05 15:54:03 -06:00
Matthew Flatt
97fc56d722
more repairs to constrained-reply and menu-bar handling
...
original commit: 238650e3270706715af4abc43639ffa5a98e188e
2010-11-05 15:54:03 -06:00
Matthew Flatt
dc77ede76e
queue and paint repairs
...
original commit: 5af3d96a5d5fc3a1edcc108a0754949c84e0ec7d
2010-11-05 15:54:02 -06:00
Matthew Flatt
8a1032af6c
fix constrained-reply to use delim continuations
...
original commit: 88f75dbc133313c715eb290c1ff4abeb3d42aff5
2010-11-05 15:54:01 -06:00
Matthew Flatt
798232e98a
Cocoa menus, including on-demand tricks
...
original commit: 90b005afed683662ed959572609570c5ad185888
2010-11-05 15:54:00 -06:00
Matthew Flatt
7b32ac2065
gracket2 wx re-implementation start
...
original commit: 5baba1d81ac2fbf109c4c9cafcc845d899f685ee
2010-11-05 15:53:55 -06:00