Robby Findler
3aac6ec715
add the name of the function to the message string in the gui-event logger
2012-11-16 07:26:38 -06:00
Robby Findler
33eba697a0
adjust the fields of the gui-event struct
2012-10-29 06:45:13 -05:00
Robby Findler
7e8ac872fe
add logging to mred's event callback mechanism to record
...
how long event processing takes
2012-10-26 21:49:44 -05:00
Matthew Flatt
9d563c786a
racket/gui, win32: fix problem with modal dialogs
...
Although most events in other frames were blocked, it was
possible to bring other frames to the front and to select
menu items in other frames.
2012-04-05 06:58:53 -06:00
Matthew Flatt
967372c23d
make an eventspace thread survive a break exception
...
When an eventspace is created, its thread implicitly calls
`yield'. It now effectively loops with `yield' and while
catching continuation aborts.
Closes PR 12566
2012-02-13 16:28:10 -07:00
Matthew Flatt
735ca7f3c3
racket/gui: add `application-start-empty-handler'
2011-09-09 17:03:18 -06:00
Matthew Flatt
34eb5ec983
cocoa: fix application about handler
...
Closes PR 12165
2011-09-03 10:35:55 -06:00
Matthew Flatt
13da5a79d7
fix dialog modality
2011-06-19 08:22:08 -06: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
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
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
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
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
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
4f2e59e7a6
some fixes prompted by the test suite
2010-11-05 15:54:48 -06:00
Matthew Flatt
bcbe42f4ff
improve protection against multiple instantiation
2010-11-05 15:54:44 -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
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
Matthew Flatt
73d28a3fff
fix queue-callback to default to high priority
2010-11-05 15:54:27 -06:00
Matthew Flatt
e72cf85175
toward better refresh for gtk & other bug fixes
2010-11-05 15:54:23 -06:00
Matthew Flatt
5117d09473
cocoa file dialog
2010-11-05 15:54:22 -06:00
Matthew Flatt
748115fe91
still again yet another refinement to cocoa refresh
2010-11-05 15:54:22 -06:00
Matthew Flatt
f1e2db412f
new queue level for refresh events
2010-11-05 15:54:20 -06:00
Matthew Flatt
3a99e9e82c
concurrency repairs
2010-11-05 15:54:18 -06:00
Matthew Flatt
40c1c2ffef
cocoa cursors
2010-11-05 15:54:16 -06:00
Matthew Flatt
c704905833
more memory management
2010-11-05 15:54:15 -06:00
Matthew Flatt
8ad33f15ab
consolidate lock implementation and fix custodian problem
2010-11-05 15:54:13 -06:00
Matthew Flatt
9f36c96960
switch gtk to new canvas-refresh strategy
2010-11-05 15:54:12 -06:00
Matthew Flatt
72b671b665
eventspace shutdown
2010-11-05 15:54:12 -06:00
Matthew Flatt
dedba7a441
fix cocoa pref menu
2010-11-05 15:54:11 -06:00
Matthew Flatt
e9e180847a
enforce modality; more on-subwindow- callbacks; Cocoa font tweaks
2010-11-05 15:54:11 -06:00
Matthew Flatt
202e18ef85
dialog show & button width fixes
2010-11-05 15:54:08 -06:00
Matthew Flatt
fa3d9cdf28
fix racket/gui/dynamic and add multi-instance checks
2010-11-05 15:54:02 -06:00
Matthew Flatt
4bfed6d797
misc repairs
2010-11-05 15:54:01 -06:00