Matthew Flatt
594447ae7e
gtk: make list-box% min size non-zero for content
2011-09-03 10:44:37 -06:00
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
f5e534fd87
win32: fix canvas refresh
...
Refresh was wrong in the case that a canvas had been "reset"
in certain ways, such as showing and hiding, and the canvas is
drawn on before a Win32-level refresh event was processed. In
that case `on-paint' wasn't called, and it should have been.
Closes PR 12152
2011-09-02 08:27:49 -06:00
Matthew Flatt
d857385797
cocoa: fix switch-to-gui-app for 64-bit
2011-09-02 06:27:56 -06:00
Matthew Flatt
459d2422e3
gtk: fix menu-item shortcut updating
2011-09-01 07:14:06 -06:00
Matthew Flatt
9d5f45a9d1
gtk: fix border (when requested) for canvas% with scrollbars
2011-09-01 07:14:05 -06:00
Matthew Flatt
3f11ef9b11
report some errors instead of potentially ignoring them
2011-09-01 07:14:05 -06:00
Matthew Flatt
8264e77585
gtk: fix frame for text-field%' and other
canvas%'es
2011-08-16 08:12:31 -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
941dacd966
gtk: set app name on startup
...
Closes PR 11896
Closes PR 11408
2011-08-04 09:27:05 -06:00
Matthew Flatt
1bc8978ce8
cocoa: fix list-box scrolling
...
Closes PR 11948
2011-08-04 07:38:10 -06:00
Matthew Flatt
cdf2085703
gtk: fix frame position tracking
...
Closes PR 11931
2011-08-04 06:45:18 -06:00
Matthew Flatt
37c43c23d6
gtk: fix refresh freeze/thaw and reparent interaction
...
Closes PR 11947
2011-08-02 20:00:56 -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
8711aa6c5d
work around win64 drawing problem
...
Merge to 5.1.2
2011-07-22 07:51:01 -06:00
Sam Tobin-Hochstadt
f67d46cd2f
Pass the correct number of arguments to `display-size'. Closes PR 12062.
2011-07-19 17:04:51 -04:00
Matthew Flatt
255549c8c8
win32: fix is-maximized' in
frame%'
...
Merge to 5.1.2
2011-07-19 08:55:33 -06: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
b096fb7503
gtk: `get-display-size' reports main monitor only
...
and the same for `get-display-left-top-inset'
2011-07-18 19:59:05 -06:00
Matthew Flatt
5edc0c70af
change GDK_POINTER_MOTION_HINT_MASK back to GDK_POINTER_MOTION_MASK
...
because HINT doesn't works as expected, and the problem it
seemed to solve at one time (slow resize in DrRacket) seems
to have been fixed some other way. GDK_MOUSE_MOTION_MASK
isn't needed, since GDK_POINTER_MOTION_MASK covers it.
Merge to 5.1.2
2011-07-16 14:30:08 -06:00
Matthew Flatt
ff49859c80
git: fix "&" and "_" handling in labels
2011-07-06 09:54:57 -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
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04:00
Matthew Flatt
59731368fc
add ffi/winapi; use it in mzlib/os
...
Closes PR 12007
2011-07-01 10:42:17 -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
b4e3e065ac
gtk: fix menu-bar height handling to work right with Ubuntu's patch to support out-of-frame menu bars in Unity
2011-06-20 14:46:14 -06:00
Matthew Flatt
da2b3f94fb
fix initial panel size
...
so that it doesn't force an enclosing frame to grow
2011-06-20 10:28:56 -06:00
Matthew Flatt
13da5a79d7
fix dialog modality
2011-06-19 08:22:08 -06: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
Matthew Flatt
6f42c6ed5e
win32: fix checkable menu item to toggle on selection
...
Closes PR 11985
2011-06-17 16:02:49 -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
Eli Barzilay
42fe92cd25
Split the glob patterns on ";", and add them all to the gtk dialog.
2011-06-02 09:33:53 -04:00
Matthew Flatt
c0811dc220
cocoa: fix get-y' in
frame%'
2011-05-26 07:29:09 -06:00
Matthew Flatt
5c5e6039df
gtk: fix self X-selection handling
2011-05-24 13:22:01 -06:00
Robby Findler
df6be6e7f1
Adjust the menubar sizing code to explicitly take
...
into account the size of the dummy menu item that
was added.
related to PR 11926
related to PR 11893
related to PR 11623
related to PR 11917
2011-05-17 11:02:26 -05: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
546faf8b34
fix gl canvas created after parent is shown
...
Merge to 5.1.1
2011-04-16 13:24:58 -06:00
Matthew Flatt
49903be78f
gtk: fix button enable when mouse is over button
2011-04-15 16:54:49 -06:00
Matthew Flatt
cae005a6a2
win32: fix window-enabling problems
...
Closes PR 11769
2011-04-14 14:50:44 -06:00
Matthew Flatt
aabd5f7bd2
gtk: fix over-eager attempt at alt- menu activation
...
Closes PR 11843
2011-04-11 07:39:40 -06:00
Matthew Flatt
71df6ddc05
gtk, cocoa: fix auto-sizing of text `message%'s
2011-04-08 14:22:17 -06:00
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
Matthew Flatt
127d563bd8
gtk: fix reparent problem with parent-relative location is unchanged
2011-01-22 13:10:01 -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