Commit Graph

47 Commits

Author SHA1 Message Date
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
f059bb7e22 fix dialog modality
original commit: 13da5a79d72db67b50ee94920942dd9a09c4e13d
2011-06-19 08:22:08 -06:00
Matthew Flatt
be21cd76e4 cocoa: fix problems with live-resize
that were created by the queue-sync change

original commit: 8cbc7016717d7f80ff932c64f25d3cd734e29bbb
2011-01-26 12:57:01 -07: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
1145cb94a7 add current-get-interaction-input-port' and adjust racket/gui'
so that GUI events are dispatched while a REPL is blocked on input

original commit: 069a7c2b4871477bf35a120b33ff5d7358e23a7c
2011-01-24 19:47:20 -07:00
Matthew Flatt
a22f20b771 add eventspace-event-evt' to racket/gui/base'
original commit: cf548f197e19a3906ab6595726d73b5754d048cb
2011-01-24 19:47:20 -07:00
Matthew Flatt
63cb0cfad9 get rid of the old barriers around GUI event dispatch
since, on further reflection, it doesn't seem needed, and a simple
 prompt seems to make everything work right

original commit: 36155e913e9f9ab94667e0c4e0abc8038ffda0a6
2011-01-17 09:21:50 -07:00
Matthew Flatt
a6ae74dc8d fix the event dispatch handler
original commit: 0c1ca7a902207691f76feb161743c3f95c0be95d
2011-01-17 09:02:51 -07:00
Matthew Flatt
b20c4281f5 restore `event-dispatch-handler'
original commit: 10ad58a747b2eaec89e101a89e99ed5c913b3f33
2011-01-15 18:28:36 -07:00
Matthew Flatt
8744d5c5b5 modial dialog don't disable mouse motion, enter, and leave events
Closes PR 11599

 This is an API change relative to gr1, but it seems sensible,
 and it makes enter and leave events more reliable and easier
 to implement.

original commit: f1e13a7921d7a8890376773f2705feb02bb165e8
2011-01-10 07:53:03 -07:00
Matthew Flatt
93a64e3ebf fix frame registration on show' when current-eventspace' is weird
(i.e., not the frame's eventspace)
 Closes PR 11573

original commit: ffd4193e32317f730b9dd064aa00df2ebc1cb75b
2010-12-29 07:45:49 -07:00
Matthew Flatt
d5d96c29ff retain eventspaces weakly
original commit: dc926925aa74bd9c564fdeccce88ae5e5c8c2520
2010-12-28 20:06:57 -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
77b082f08f extend `sync/timeout' to allow a tail-position fail thunk for polling
original commit: 2b4f1a69085fe9b9c41b1342bcbffd6bcafc88eb
2010-12-10 18:06:21 -07:00
Matthew Flatt
5ccf03492b don't GC an eventspace with a visible frame, etc.
original commit: 9f9e23f551ad1b45c9d930a89bcec58f422c4b38
2010-11-30 09:32:59 -07:00
Matthew Flatt
5953d2f330 fix eventspace as event
original commit: c81ad90161104a1e02c172cb18753ff93fdfe452
2010-11-30 09:32:59 -07:00
Jon Rafkind
bba9d6f5f3 increase delay value before refresh to 100
original commit: bcef0dbfe24662369ce148ec87d90d5d828ad0be
2010-11-11 13:29:01 -07:00
Matthew Flatt
6482978363 win32: periodic canvas flushing
original commit: 4d316f78510aed0ff5a90dd038994c6da0eaabda
2010-11-05 15:54:55 -06:00
Matthew Flatt
303034be6f gtk: periodic canvas flushing
original commit: 72a19d2ab37e2e96974eb3dcf80fc39f3896a11a
2010-11-05 15:54:54 -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
aee9c4da25 some fixes prompted by the test suite
original commit: 4f2e59e7a654c9724d546f619589ca68cc334d59
2010-11-05 15:54:48 -06:00
Matthew Flatt
b0f4d2f824 improve protection against multiple instantiation
original commit: bcbe42f4ffb06877d01846f7e6bf4d959db07a63
2010-11-05 15:54:44 -06:00
Matthew Flatt
1c7356515d gtk: command line and single-instance support
original commit: 045da06ace116be7a2da466d6565b885cb006be1
2010-11-05 15:54:42 -06:00
Matthew Flatt
2e30a7dc7c gtk: misc fixes
original commit: 16b34c236a143c7fb3065db28e1b52f1c6012ed2
2010-11-05 15:54:41 -06:00
Matthew Flatt
3740a947ad cocoa & gtk: color dialog
original commit: 18c99e52a5315dddbf61ae12de278ba28133f68c
2010-11-05 15:54:39 -06:00
Matthew Flatt
bc8b9d562f win32 basic canvas, key handling, and eventspaces
original commit: ee30013098c51c0b5cc75ac3ca2bf7058cf6dc63
2010-11-05 15:54:31 -06:00
Matthew Flatt
2a3bdeb69b cocoa app file handler
original commit: 4c22197dee2228714d64d79a5312594833df24f4
2010-11-05 15:54:29 -06:00
Matthew Flatt
0b412d18d5 fix queue-callback to default to high priority
original commit: 73d28a3fff66aae7c948aaf5d6f7adee809d4fc2
2010-11-05 15:54:27 -06:00
Matthew Flatt
921d351bf6 toward better refresh for gtk & other bug fixes
original commit: e72cf8517584c9904a5279c2cd7d587d372f67f6
2010-11-05 15:54:23 -06:00
Matthew Flatt
22d6199bc1 cocoa file dialog
original commit: 5117d094731e6fac7fb14d10e65fdcbae8d5f5a3
2010-11-05 15:54:22 -06:00
Matthew Flatt
4e23681799 still again yet another refinement to cocoa refresh
original commit: 748115fe91205e5df2128d8ea4f12b7ec8fa5076
2010-11-05 15:54:22 -06:00
Matthew Flatt
6c367a0dcb new queue level for refresh events
original commit: f1e2db412f45217bbcdf362c2bdc5186089284e7
2010-11-05 15:54:20 -06:00
Matthew Flatt
79d46e5164 concurrency repairs
original commit: 3a99e9e82c30ef0a2693b444441c1fd3d87c0e34
2010-11-05 15:54:18 -06:00
Matthew Flatt
35aaa3a0fb cocoa cursors
original commit: 40c1c2ffef5f5ee4972ac6ef98b050e13cd8ab34
2010-11-05 15:54:16 -06:00
Matthew Flatt
1752204327 more memory management
original commit: c7049058336382b651c82b3a98c8a7feb9311257
2010-11-05 15:54:15 -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
a13829397f switch gtk to new canvas-refresh strategy
original commit: 9f36c96960bd711c5dfee304963fc70ff25fb125
2010-11-05 15:54:12 -06:00
Matthew Flatt
83a6c5076d eventspace shutdown
original commit: 72b671b6659702a9ff38c57b478873f661baffcb
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
992d32134c enforce modality; more on-subwindow- callbacks; Cocoa font tweaks
original commit: e9e180847a72ba91ea817fc3b5fc1a457e676747
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
24ce75f30c fix racket/gui/dynamic and add multi-instance checks
original commit: fa3d9cdf28bdba2643c54025fee1fcc7dab84376
2010-11-05 15:54:02 -06:00
Matthew Flatt
652a133070 misc repairs
original commit: 4bfed6d7976d8ba10bc00a00aa7155b401b6ea4f
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