Commit Graph

449 Commits

Author SHA1 Message Date
Matthew Flatt
37f9363b90 win32: another try for horizontal wheel events 2011-04-03 16:09:11 -06:00
Matthew Flatt
342964b10a win32: ignore inapplicable WM_HSCROLL and WM_VSCROLL events 2011-04-03 15:17:10 -06:00
Matthew Flatt
b0115ee360 add 'wheel-left and 'wheel-right events 2011-04-03 09:49:56 -06:00
Matthew Flatt
4e72817688 win32: clipboard fix 2011-03-27 11:22:15 -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
051ec4736d gtk: fix slider value display 2011-03-11 02:50:06 -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
968bf81990 win32: fix `play-sound'
by fixing path handling and preventing non-async
 play from blocking all Racket threads
2011-03-10 07:35:51 -07: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
cd4d3e3d95 gtk: fix dragging events
Closes PR 11786
2011-03-08 07:55:53 -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
97870282c2 gtk: keep popup menus on the screen
Closes PR 11414
2011-02-19 19:42:20 -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
5754269ae1 win32: fix some key events
Closes PR 11757
2011-02-19 08:36:17 -07:00
Matthew Flatt
ce82c74b75 win32: fix ALT-space to pop up system menu
Closes PR 11754
2011-02-19 06:39:33 -07:00
Matthew Flatt
aea79be7a4 cocoa: FFI type corrections 2011-02-14 06:10:56 -07:00
Matthew Flatt
6b1112a9ad win32: fix parent HWND of canvas%
Merge to 5.1
2011-02-09 12:26:50 -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
Matthew Flatt
f21f0bdba2 gtk: fix X selection for older Gtk versions
Merge to 5.1
2011-02-09 07:41:57 -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
8f404a4618 win32: fix horizontal `radio-box%'
Merge to 5.1
2011-02-04 09:20:49 -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
0eed4e9462 gtk: map left-tab key to #\tab
Closes PR 11697
 Merge to 5.1
2011-02-02 06:46:03 -07:00
Matthew Flatt
2d01241f7a gtk: fix drag-and-drop URI decoding
Closes PR 11695
 Merge to 5.1
2011-02-02 06:32:51 -07:00
Matthew Flatt
7291d944c3 gtk: force display of images in button labels
Merge to 5.1
2011-02-02 06:05:03 -07: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
45999143a4 gtk: fix float frames to not appear in WM's window list 2011-01-27 12:25:53 -07:00
Matthew Flatt
08bf77deeb gtk: list-box dclick 2011-01-27 12:26:23 -07:00
Matthew Flatt
d34deeba91 win32: fix printing bug related to clipping 2011-01-27 12:26:23 -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
cef9f90c27 gtk: remove debugging printf 2011-01-22 13:30:05 -07:00