Commit Graph

94 Commits

Author SHA1 Message Date
Matthew Flatt
d77c92d087 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
2011-03-27 10:51:46 -06:00
Matthew Flatt
137d96c089 multi-column support in list-box% 2011-02-21 13:58:57 -07:00
Matthew Flatt
8cbc701671 cocoa: fix problems with live-resize
that were created by the queue-sync change
2011-01-26 12:57:01 -07:00
Matthew Flatt
630dee7227 cocoa: better sync between Cocoa and Racket event queues
to reduce inversion where a low-priority callback runs
 when a GUI event is available
2011-01-26 12:19:48 -07:00
Matthew Flatt
069a7c2b48 add current-get-interaction-input-port' and adjust racket/gui'
so that GUI events are dispatched while a REPL is blocked on input
2011-01-24 19:47:20 -07:00
Matthew Flatt
cf548f197e add eventspace-event-evt' to racket/gui/base' 2011-01-24 19:47:20 -07:00
Matthew Flatt
36155e913e 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
2011-01-17 09:21:50 -07:00
Matthew Flatt
0c1ca7a902 fix the event dispatch handler 2011-01-17 09:02:51 -07:00
Matthew Flatt
10ad58a747 restore `event-dispatch-handler' 2011-01-15 18:28:36 -07:00
Matthew Flatt
a9dd80110a restore doc & page checking for `post-script-dc%' et al.
and also fix up wiring of `printer-dc%' in `editor<%>' so
 that `is-a?' tests works as expected
2011-01-14 20:30:51 -07:00
Matthew Flatt
b10ad75d11 fix another problem with `erase' in a canvas dc
Closes PR 11625
2011-01-14 15:50:33 -07:00
Matthew Flatt
f1e13a7921 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.
2011-01-10 07:53:03 -07:00
Matthew Flatt
ffd4193e32 fix frame registration on show' when current-eventspace' is weird
(i.e., not the frame's eventspace)
 Closes PR 11573
2010-12-29 07:45:49 -07:00
Matthew Flatt
dc926925aa retain eventspaces weakly 2010-12-28 20:06:57 -07:00
Matthew Flatt
8ac21c745f add show-without-yield' to dialog%' 2010-12-28 10:52:17 -07:00
Matthew Flatt
719df98d83 prevent dc<%> state contamination among transparent canvases 2010-12-27 17:43:36 -07:00
Matthew Flatt
b07f57fc73 fix problems with canvas refresh, especially win32 2010-12-17 14:43:14 -07:00
Matthew Flatt
f700a15d85 specially record transparent-canvas drawing for a small number of drawing ops
which enables background-sensitive smoothing of text
2010-12-17 09:27:10 -07:00
Matthew Flatt
790a91e520 fix minor potential GC bugs and add some debugging support 2010-12-13 16:31:13 -07:00
Matthew Flatt
2b4f1a6908 extend `sync/timeout' to allow a tail-position fail thunk for polling 2010-12-10 18:06:21 -07:00
Matthew Flatt
7a37b07e26 gtk: fix clipboard problems on 64-bit mode; provide more text formats 2010-12-02 06:17:40 -07:00
Matthew Flatt
8f9a8daa27 fix {get,set}-event-type on mouse-event%
Closes PR 11474
2010-11-30 09:32:59 -07:00
Matthew Flatt
9f9e23f551 don't GC an eventspace with a visible frame, etc. 2010-11-30 09:32:59 -07:00
Matthew Flatt
c81ad90161 fix eventspace as event 2010-11-30 09:32:59 -07:00
Matthew Flatt
d2fe39da33 win32: canvas refresh repair 2010-11-13 09:54:47 -07:00
Matthew Flatt
1c6f745ac1 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
2010-11-12 20:39:58 -07:00
Jon Rafkind
bcef0dbfe2 increase delay value before refresh to 100 2010-11-11 13:29:01 -07:00
Matthew Flatt
4d316f7851 win32: periodic canvas flushing 2010-11-05 15:54:55 -06:00
Matthew Flatt
72a19d2ab3 gtk: periodic canvas flushing 2010-11-05 15:54:54 -06:00
Matthew Flatt
af6cad4913 destroy windows via finalization outside of the event loop 2010-11-05 15:54:52 -06:00
Matthew Flatt
05cfffdf9e v5.4.99.1, executable-yield-handler', and make-bitmap' etc. 2010-11-05 15:54:50 -06:00
Matthew Flatt
d7f1d12ea1 clean up 2010-11-05 15:54:49 -06:00
Matthew Flatt
bffff78aad misc fixes, especially cocoa 2010-11-05 15:54:48 -06:00
Matthew Flatt
4f2e59e7a6 some fixes prompted by the test suite 2010-11-05 15:54:48 -06:00
Matthew Flatt
a7426c1c27 cocoa: fix startup -psn_ and file handling 2010-11-05 15:54:46 -06:00
Matthew Flatt
bcbe42f4ff improve protection against multiple instantiation 2010-11-05 15:54:44 -06:00
Matthew Flatt
56f311d204 cocoa: bitmap from clipboard 2010-11-05 15:54:43 -06:00
Matthew Flatt
045da06ace gtk: command line and single-instance support 2010-11-05 15:54:42 -06:00
Matthew Flatt
16b34c236a gtk: misc fixes 2010-11-05 15:54:41 -06:00
Matthew Flatt
18c99e52a5 cocoa & gtk: color dialog 2010-11-05 15:54:39 -06:00
Matthew Flatt
b4fafc1888 cocoa: printer-dc% 2010-11-05 15:54:38 -06:00
Matthew Flatt
b9e6ffe18c win32: canvas gl, almost 2010-11-05 15:54:38 -06:00
Matthew Flatt
1a2ffacbbe gtk: first cut at gl support 2010-11-05 15:54:37 -06:00
Matthew Flatt
5dd568050b move collecting-blit helper to common code 2010-11-05 15:54:35 -06:00
Matthew Flatt
682355def4 move gtk+cocoa canvas autoscroll support to common mixin 2010-11-05 15:54:34 -06:00
Matthew Flatt
ba581819fb switch cocoa dialog% to common mixin 2010-11-05 15:54:33 -06:00
Matthew Flatt
912a2d5151 win32: more menus and controls 2010-11-05 15:54:32 -06:00
Matthew Flatt
604afc1803 win32 widgets, mouse events, and cursors 2010-11-05 15:54:32 -06:00
Matthew Flatt
ee30013098 win32 basic canvas, key handling, and eventspaces 2010-11-05 15:54:31 -06:00
Matthew Flatt
4c22197dee cocoa app file handler 2010-11-05 15:54:29 -06:00