Matthew Flatt
34eb5ec983
cocoa: fix application about handler
...
Closes PR 12165
2011-09-03 10:35:55 -06:00
Matthew Flatt
b4ef9a09a9
cocoa: fix menu when two layers of dialogs are dismissed
2011-09-03 10:35:55 -06:00
Matthew Flatt
d857385797
cocoa: fix switch-to-gui-app for 64-bit
2011-09-02 06:27:56 -06:00
Matthew Flatt
3f11ef9b11
report some errors instead of potentially ignoring them
2011-09-01 07:14:05 -06:00
Matthew Flatt
461af202c5
implement 'border style for `panel%'
2011-08-13 07:00:51 -06:00
Matthew Flatt
456e9befd3
fix refresh' on
window<%>'s other than `canvas%'s
2011-08-12 17:03:28 -06:00
Matthew Flatt
3ab067bc33
cocoa: fix sign on `get-display-left-top-inset' x result
...
Also fix frame placement on screens other than the main screen.
2011-08-10 11:13:58 -06:00
Matthew Flatt
1bc8978ce8
cocoa: fix list-box scrolling
...
Closes PR 11948
2011-08-04 07:38:10 -06:00
Matthew Flatt
69f7e912d2
cocoa: fix problems with sheets and focus
...
Avoids a problem with the file dialog when a sheet is the
current "main window" (Cocoa terminology); when the file
dialog is closed, both the sheet owner and the sheet
become the main window (in that order), so that when the
sheet goes away, the sheet owner doesn't become the main
window as it should. It seems like a Cocoa problem. The
workaround is to hook into the callback that says a
sheet went away.
Closes PR 12073
2011-07-25 11:30:22 -04:00
Matthew Flatt
c8b3763359
cocoa: fix image paste
...
Closes PR 12028
Merge to 5.1.2
2011-07-19 08:12:39 -06:00
Matthew Flatt
23a2a075ea
add get-display-count' and #:screen argument to
get-display-size'
...
and to `get-display-left-top-inset'
add -M <monitor> option to Slideshow
2011-07-18 20:15:15 -06:00
Matthew Flatt
de54efc84e
cocoa: fix "&" handling in menu-item labels
...
Closes PR 12025
2011-07-06 09:54:41 -06:00
Eli Barzilay
40124a0619
A long overdue scan to eliminate files without terminating newlines.
...
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Matthew Flatt
5a5800d513
place-specific low-level "sleep" function
...
to make racket/gui work right with places (running
in just one of them) on Mac OS X
2011-06-17 17:03:21 -06:00
Eli Barzilay
045369e3b9
cocoa: fix `get-file' when any extension is allowed
2011-06-03 01:38:40 -04:00
Eli Barzilay
e9487fb0c7
Make the cocoa file dialogs deal better with ";"-separated globs.
...
* Note the ugly hack of adding "foo~" for every "foo" suffix.
* Note also that when "*.*" is in the glob list all files should be
available but it looks like this isn't working yet for some reason.
2011-06-03 00:56:21 -04:00
Matthew Flatt
c0811dc220
cocoa: fix get-y' in
frame%'
2011-05-26 07:29:09 -06:00
Matthew Flatt
515a4f7991
cocoa: fix problems using menu-bar height
2011-05-10 20:17:47 -06:00
Matthew Flatt
2e93e0ec14
cocoa: fix frame coordinate system by using initial menu-bar height
2011-05-10 09:53:48 -06:00
Matthew Flatt
71df6ddc05
gtk, cocoa: fix auto-sizing of text `message%'s
2011-04-08 14:22:17 -06:00
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