Matthew Flatt
aea79be7a4
cocoa: FFI type corrections
2011-02-14 06:10:56 -07:00
Matthew Flatt
f4a881f0e3
fix `set-icon' in frame% to make mask argument optional
...
Merge to 5.1
2011-02-09 09:01:34 -07:00
David Van Horn
760a58b65d
Fixes more spelling errors.
2011-02-04 19:44:13 -07:00
Matthew Flatt
845ca2d586
cocoa: yet another hack around weird cocoa behavior
...
Closes PR 11712
Merge to 5.1
2011-02-04 19:43:59 -07:00
Matthew Flatt
e1303dc400
cocoa: change `radio-box%' implementation of no selected buttons
...
(not sure how I missed the `setAllowsEmptySelection' method before,
but maybe there was some reason to avoid it that I've forgotten
--- so *don't* merge to 5.1)
2011-02-04 09:20:47 -07:00
Matthew Flatt
5d1b78384d
cocoa: fix problems with `radio-box%' in no-selection mode
...
Closes PR 11708
Merge to 5.1
2011-02-04 07:26:45 -07:00
David Van Horn
c9519fd113
Fixed various spelling errors.
2011-02-03 17:42:33 -05:00
Matthew Flatt
152c636e1c
cocoa: fix problem with dispatching key-up events
...
Closes PR 11635
Merge to 5.1
2011-01-31 12:40:37 -07:00
Matthew Flatt
bbb12848d1
cocoa: create window to show composition via an input method
...
Merge to 5.1
2011-01-30 17:33:12 -06:00
Matthew Flatt
b485d375b0
cocoa: event-dispatch repairs, especially when no frame is shown
...
Relevant to PR 11672
2011-01-28 12:43:51 -06:00
Matthew Flatt
2ab0d36738
cocoa: fix first-responder tracking when a frame is hidden
2011-01-27 19:20:13 -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
69859850f3
finish implementing display of menu shortcuts
...
that involve non-chars shortcuts and alternate prefixes
2011-01-22 10:15:14 -07:00
Matthew Flatt
b112fd76df
add reparent' to
subwindow<%>'
2011-01-21 20:21:21 -07:00
Matthew Flatt
0bc987e66b
fix default dialog% position (centered)
...
Closes PR 11637
2011-01-20 16:42:45 -07:00
Matthew Flatt
4fc8797df2
cocoa: fix printing bounds
2011-01-18 18:42:39 -07:00
Matthew Flatt
c12d52f21b
cocoa: fix problems with some input methods (such as Kotoeri)
...
but the problem remains that the input state is invisible while
characters are being composed
2011-01-17 20:27:55 -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
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
f59e8e0eb9
cocoa: fix problems with floating windows
2011-01-08 11:41:11 -07:00
Matthew Flatt
5f4ee4f9f8
cocoa: erasing a non-transparent canvas uses white
2011-01-07 14:15:35 -07:00
Matthew Flatt
81cbf1ae1f
add get-client-handle' to
window<%>'
2011-01-05 12:15:37 -07:00
Matthew Flatt
ae5093a134
more consistent on-size' and
on-move'
2011-01-05 10:00:07 -07:00
Matthew Flatt
241bb79cb0
allow a button% to have both a string and a bitmap for its label
2011-01-01 13:54:45 -07:00
Matthew Flatt
eddae6749d
clean up handling of not-ok?',
bitmap-dc%'-selected, and mutated bitmaps
2010-12-30 08:35:56 -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
80e5c6cec3
clean up
2010-12-28 20:15:30 -07:00
Matthew Flatt
68e477fd52
implement get-focus-window' and
get-edit-target-window' in back end to avoid relying on `on-focus' callback handling
2010-12-28 05:25:26 -07:00
Matthew Flatt
a3adf07fd2
clean up pre-drawing of canvases for a frame to show
2010-12-24 20:09:16 -06:00
Matthew Flatt
bb96973c4a
cocoa: don't disable flushes on a window that isn't shown
...
because that doesn't seem to work
Closes PR 11565
2010-12-24 18:22:59 -06:00
Matthew Flatt
21ca120c8c
cocoa: fix problems with no-frame root menu
...
on-demand callback and original installation
2010-12-24 17:48:13 -06:00
Matthew Flatt
975c2400a1
cocoa: fix interaction of combo-field% popup and canvas refresh
...
and also reduce work on redundant show/hide of canvas
Closes PR 11557
2010-12-19 18:58:27 -07:00
Matthew Flatt
0c4d2e332c
fix transparent-canvas detection
2010-12-17 10:46:06 -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
c9e778c541
cocoa and gtk: make combo-field% `on-popup' work better
2010-12-16 10:48:28 -07:00
Matthew Flatt
d518084f88
cocoa: fix message% 'app icon
2010-12-16 10:48:26 -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
953dd78d76
cocoa: add app badge to caution & stop icons
2010-12-12 08:24:19 -07:00
Matthew Flatt
355cf25b5f
cocoa: allow default handling of Cmd-` for cycling windows
...
Closes PR 11499
but it's not clear that this is the right fix for all users
2010-12-08 19:56:02 -07:00
Matthew Flatt
3479f5fb92
cocoa: hack around NSApplication's handling of command-line arguments
2010-12-02 11:53:18 -07:00
Matthew Flatt
e627ccb5ed
cocoa: avoid infinite loop on re-dispatch of command keys
2010-11-30 20:17:47 -07:00
Matthew Flatt
72d57d8db8
cocoa: explicitly re-dispatch Cmd- key combinations
2010-11-30 15:39:02 -07:00
Matthew Flatt
37d16cf8f8
cocoa: fix race condition on window enabling
2010-11-30 09:32:58 -07:00
Matthew Flatt
2282cae59a
cocoa: fix removal of menu shortcut
...
Closes PR 11463
2010-11-28 10:44:01 -07:00
Matthew Flatt
d37cc7b3ec
cocoa: fix problem with tab panel
2010-11-28 10:41:59 -07:00
Matthew Flatt
f090e732fd
cocoa: fix relabel of image checkbox
2010-11-28 08:01:07 -07:00
Matthew Flatt
262531e231
cocoa: fix enable & disable of windows
2010-11-28 08:01:06 -07:00
Matthew Flatt
04a4ad269f
cocoa & gtk: fix set-label with bitmap on message%
...
Closes PR 11462
2010-11-26 11:59:31 -07:00
Matthew Flatt
7da127227a
gtk & cocoa: frame iconize repairs
...
In the "windowing.rktl" tests, for Gtk there are still race conditions
between the program and the window manager. But for the first
time ever, all platforms can pass the "windowing.rktl" test.
2010-11-26 08:33:59 -07:00