Commit Graph

231 Commits

Author SHA1 Message Date
Matthew Flatt
b0115ee360 add 'wheel-left and 'wheel-right events 2011-04-03 09:49:56 -06:00
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
deab2ddede cocoa: fix line height in `list-box%'
Closes PR 11822
2011-03-27 10:23:34 -06:00
Matthew Flatt
7ecf8e6c0b cocoa: fix crashing bug related to canvas sizing 2011-03-15 12:42:04 -06:00
Matthew Flatt
e8cb27c08c add `get-device-scale' to dc<%> 2011-03-15 07:37:42 -06:00
Matthew Flatt
2f907afde6 code clarification 2011-03-15 06:46:36 -06:00
Matthew Flatt
2ba8927ba5 cocoa: flip vertical slider direction 2011-03-11 02:50:06 -06:00
Matthew Flatt
0ec4c3ae8f cocoa: fix initialization of screen bitmaps 2011-03-11 02:50:05 -06:00
Matthew Flatt
ca8c6a8133 cocoa: fix `play-sound'
by expanding paths properly and checking whether playing
 succeeds
2011-03-10 07:35:50 -07:00
Matthew Flatt
a1b79387b9 cocoa: restore "New Folder" button in put-file' and get-directory'
Closes PR 11784
2011-03-08 08:42:03 -06:00
Matthew Flatt
5f797b8f0b cocoa: fix put-file with extension as "" 2011-03-08 08:37:16 -06:00
Matthew Flatt
107b349da0 cocoa: fix `play-sound' handling of async flag 2011-03-03 05:48:43 -07:00
Matthew Flatt
fdef90e482 fix get-column-width' method of list-box%'
by changing the name to match the docs, plus some other
  bug fixes triggered by better testing
 Closes PR 11780
2011-02-28 19:12:34 -07:00
Matthew Flatt
93e1467b8b racket/gui: scrollbar support panels 2011-02-24 13:23:51 -07:00
Matthew Flatt
137d96c089 multi-column support in list-box% 2011-02-21 13:58:57 -07:00
Matthew Flatt
85951bf665 gtk: smoother editor-canvas resize
- call `on-size' on setting the canvas size, like Win32 and Cocoa,
   which mainly shows/hides auto-shown scrollbars more on time
   (e.g., DrRacket doesn't start with horizontal scrollbars that
   immediately disappear)
 - switch mouse tracking to "hint" mode, instead of catching every
   single mouse position
 - when queueing `on-size' methos in response to client-size changes,
   cancel and queued but undelivered calls; in the case of editor
   canvases, this doesn't really have an effect, due to the other
   `on-size' call
 Closes PR 11369, hopefully
2011-02-19 16:10:00 -07:00
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