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
9f4be33c93
fix support for a string result from get-data' of
clipboard-client%'
...
and properly report an error when the result from `get-data' is not
allowed
Closes PR 11821
original commit: d77c92d0878384024a3b00f6bfaa7fe3214493f6
2011-03-27 10:51:46 -06:00
Matthew Flatt
aaf5c41566
multi-column support in list-box%
...
original commit: 137d96c08917ad5dd636a26d2d32c746f5c7e7b0
2011-02-21 13:58:57 -07: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
0f4c788da1
fix another problem with `erase' in a canvas dc
...
Closes PR 11625
original commit: b10ad75d11d106897334ee1f57a8652ff001e668
2011-01-14 15:50:33 -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
7d68b521f1
add show-without-yield' to
dialog%'
...
original commit: 8ac21c745fb183ec35077b5870c1e11464f81bef
2010-12-28 10:52:17 -07:00
Matthew Flatt
3165708bd0
prevent dc<%> state contamination among transparent canvases
...
original commit: 719df98d8368b17cb4a2a2e2a3ac03622e806e7c
2010-12-27 17:43:36 -07:00
Matthew Flatt
bbc7568e39
fix problems with canvas refresh, especially win32
...
original commit: b07f57fc730666042d895e44d56f7e1b2a80c62f
2010-12-17 14:43:14 -07:00
Matthew Flatt
c04212f538
specially record transparent-canvas drawing for a small number of drawing ops
...
which enables background-sensitive smoothing of text
original commit: f700a15d854b9154bba5518a5c3e1c2367508b52
2010-12-17 09:27:10 -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
27c6805b43
gtk: fix clipboard problems on 64-bit mode; provide more text formats
...
original commit: 7a37b07e263a72ba40b7aed9c759a2ed84b4bb08
2010-12-02 06:17:40 -07:00
Matthew Flatt
467341591e
fix {get,set}-event-type on mouse-event%
...
Closes PR 11474
original commit: 8f9a8daa27dee721545915970eaa56b0c7ec4c30
2010-11-30 09:32:59 -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
Matthew Flatt
95048b2dca
win32: canvas refresh repair
...
original commit: d2fe39da339c06c3f7edfe57ea53e5543101957b
2010-11-13 09:54:47 -07:00
Matthew Flatt
624863e760
adjust canvas refresh strategy yet again
...
- there seems to be no need to auto-resume flushes on a canvas,
which can create flicker if the auto-resume timeout turns out
to be too short
original commit: 1c6f745ac162c91532c75e2bb0a0922c4b3fefab
2010-11-12 20:39:58 -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
5dff07f3ef
destroy windows via finalization outside of the event loop
...
original commit: af6cad49138a4acd5812202b1e0d26e44114b53d
2010-11-05 15:54:52 -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
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
daac40cc62
cocoa: fix startup -psn_ and file handling
...
original commit: a7426c1c2744dc71a8738e3c20bafcc8c0b2d115
2010-11-05 15:54:46 -06:00
Matthew Flatt
b0f4d2f824
improve protection against multiple instantiation
...
original commit: bcbe42f4ffb06877d01846f7e6bf4d959db07a63
2010-11-05 15:54:44 -06:00
Matthew Flatt
d8abd252d3
cocoa: bitmap from clipboard
...
original commit: 56f311d204948031a4b67f8bb33ddae2213c037f
2010-11-05 15:54:43 -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
08544f18b2
win32: canvas gl, almost
...
original commit: b9e6ffe18c651d58bd32c8fc50f171edd5acf878
2010-11-05 15:54:38 -06:00
Matthew Flatt
5c3ee6847e
move collecting-blit helper to common code
...
original commit: 5dd568050b8ea693302f71561406d7be5e3bdfec
2010-11-05 15:54:35 -06:00
Matthew Flatt
b7e73d0935
move gtk+cocoa canvas autoscroll support to common mixin
...
original commit: 682355def4fe957d1fedfbd22c8453fde1d489bd
2010-11-05 15:54:34 -06:00
Matthew Flatt
13098d303a
switch cocoa dialog% to common mixin
...
original commit: ba581819fbc5bd3b0ca581d66295ac0b42a59da5
2010-11-05 15:54:33 -06:00
Matthew Flatt
428cf1577e
win32: more menus and controls
...
original commit: 912a2d515170698d61137dc9eecb25712065ff5e
2010-11-05 15:54:32 -06:00
Matthew Flatt
8ea36a72f5
win32 widgets, mouse events, and cursors
...
original commit: 604afc180302a54105fbd333850f611e17d9ceba
2010-11-05 15:54:32 -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