Commit Graph

67 Commits

Author SHA1 Message Date
Robby Findler
5301646baf fix a bug in recently added display-changed method 2013-01-21 13:47:43 -06:00
Robby Findler
3f9e60a908 add display-changed method 2012-12-21 19:22:59 -06:00
Matthew Flatt
3a9f8eea4f racket/gui cocoa: fix internal ObjC class names
"My" -> "Racket". The "My" prefix was from initial experiments,
of course, and I just never got around to changing it before.
I think these names go into a global namespace, though, at the
ObjC level, so they need to have a distinct and Racket-specific
prefix.
2012-05-16 09:43:23 -06:00
Matthew Flatt
b0409dd232 racket/gui cocoa: fix floating-window event handling
Closes PR 12754
2012-05-16 08:00:50 -06:00
Matthew Flatt
d5b17210e3 racket/gui cocoa: fix 'no-sheet style for `dialog%' 2012-05-16 07:34:44 -06:00
Eli Barzilay
2b76d9e5b0 A bunch of scheme' -> racket' conversions.
I think that there are no user-visible changes from these changes.
2012-04-19 16:02:03 -04:00
Matthew Flatt
bf3f09a3c1 cocoa: fix `show #f' on already unshown frame shows it briefly
Merge to 5.2
2011-10-08 16:47:19 -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
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
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
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
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
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
0bc987e66b fix default dialog% position (centered)
Closes PR 11637
2011-01-20 16:42:45 -07:00
Matthew Flatt
f59e8e0eb9 cocoa: fix problems with floating windows 2011-01-08 11:41:11 -07:00
Matthew Flatt
ae5093a134 more consistent on-size' and on-move' 2011-01-05 10:00:07 -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
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
262531e231 cocoa: fix enable & disable of windows 2010-11-28 08:01:06 -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
Matthew Flatt
347869fc9e fix some racket/gui tests and fix cocoa frame centering 2010-11-25 08:03:33 -07:00
Matthew Flatt
820e832853 add 'close-button style to dialog%; fix cocoa default frame placement 2010-11-25 08:03:33 -07:00
Matthew Flatt
370c97165a cocoa: fix problem with frame focus 2010-11-24 12:03:17 -07:00
Matthew Flatt
e2072d5afb cocoa: repair location fixup on screen change 2010-11-24 10:38:41 -07:00
Matthew Flatt
14a72b5a08 cocoa: fix problems with frame-list management 2010-11-24 07:12:02 -07:00
Matthew Flatt
510c3f8a33 cocoa: try to fix problem with drifting gc-blit window 2010-11-23 10:02:45 -07:00
Matthew Flatt
d7369f819c cocoa: set button control size when font is small
Closes PR 11404
2010-11-10 17:54:07 -07:00
Matthew Flatt
50caefcb38 cocoa: convince dock to not resurrect a closed frame 2010-11-05 15:54:53 -06:00
Matthew Flatt
d7f1d12ea1 clean up 2010-11-05 15:54:49 -06:00
Matthew Flatt
bffff78aad misc fixes, especially cocoa 2010-11-05 15:54:48 -06:00
Matthew Flatt
4f2e59e7a6 some fixes prompted by the test suite 2010-11-05 15:54:48 -06:00
Matthew Flatt
27f18efa88 gtk: make gl support optional and also clean up some unneeded unimplementeds 2010-11-05 15:54:41 -06:00
Matthew Flatt
18c99e52a5 cocoa & gtk: color dialog 2010-11-05 15:54:39 -06:00
Matthew Flatt
e32475fbbf fix frame size enforcement and gtk/cocoa positioning 2010-11-05 15:54:35 -06:00
Matthew Flatt
ba581819fb switch cocoa dialog% to common mixin 2010-11-05 15:54:33 -06:00
Matthew Flatt
7e8a08cdd8 cocoa toolbar button and some unimplemented clean-up 2010-11-05 15:54:30 -06:00
Matthew Flatt
b3613e999f display size and menu fixes 2010-11-05 15:54:29 -06:00
Matthew Flatt
83a00c66ec cocoa on-drop-files 2010-11-05 15:54:28 -06:00
Matthew Flatt
f40e7edae8 unify cocoa & gtk canvas-painting implementation 2010-11-05 15:54:27 -06:00
Matthew Flatt
af499e3039 fix focus and frame-modified problems 2010-11-05 15:54:25 -06:00
Matthew Flatt
0691f0491e collecting-blit for cocoa 2010-11-05 15:54:23 -06:00
Matthew Flatt
5117d09473 cocoa file dialog 2010-11-05 15:54:22 -06:00
Matthew Flatt
c3fa1f01e8 cocoa mouse event and cursor fixes 2010-11-05 15:54:22 -06:00
Matthew Flatt
f13b569b75 more attempts to avoid flicker 2010-11-05 15:54:21 -06:00
Matthew Flatt
8ed2fba67d fix various cocoa problems 2010-11-05 15:54:20 -06:00
Matthew Flatt
2a4ea2ef98 fix focus problems and implement send-message-to-window in cocoa 2010-11-05 15:54:20 -06:00