Commit Graph

61 Commits

Author SHA1 Message Date
Matthew Flatt
b6e39a74f2 cocoa: fix `show #f' on already unshown frame shows it briefly
Merge to 5.2

original commit: bf3f09a3c18637b8ebf719f235813c2390ac331e
2011-10-08 16:47:19 -06:00
Matthew Flatt
c6a9b05793 cocoa: fix menu when two layers of dialogs are dismissed
original commit: b4ef9a09a9d9b76e2736941e8724160afdf6b0a6
2011-09-03 10:35:55 -06:00
Matthew Flatt
ce6879c013 fix refresh' on window<%>'s other than `canvas%'s
original commit: 456e9befd3959cfab1e74943fb99eb4552c97313
2011-08-12 17:03:28 -06:00
Matthew Flatt
1ff4328f2b cocoa: fix sign on `get-display-left-top-inset' x result
Also fix frame placement on screens other than the main screen.

original commit: 3ab067bc338406848e937f388343fb1e2ffa3074
2011-08-10 11:13:58 -06:00
Matthew Flatt
7556774742 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

original commit: 69f7e912d2bffd638123475ce0041e6188ab5f02
2011-07-25 11:30:22 -04:00
Matthew Flatt
830c42cb1e cocoa: fix get-y' in frame%'
original commit: c0811dc220c847c7132679ca4d3acb9f3fb93754
2011-05-26 07:29:09 -06:00
Matthew Flatt
e54b211a28 cocoa: fix problems using menu-bar height
original commit: 515a4f799158ed60c89c250b9962dbb3c6cba86e
2011-05-10 20:17:47 -06:00
Matthew Flatt
ebaef0c71b fix `set-icon' in frame% to make mask argument optional
Merge to 5.1

original commit: f4a881f0e37f291c604ae40ab52d2e36ca411609
2011-02-09 09:01:34 -07:00
Matthew Flatt
f8149ed985 cocoa: event-dispatch repairs, especially when no frame is shown
Relevant to PR 11672

original commit: b485d375b0c2fee59caa8eb2eeb34d6520c9b4ee
2011-01-28 12:43:51 -06:00
Matthew Flatt
74afb5a416 cocoa: fix first-responder tracking when a frame is hidden
original commit: 2ab0d36738e6c8f51de1d3ad68701e88bb6decea
2011-01-27 19:20:13 -07:00
Matthew Flatt
be21cd76e4 cocoa: fix problems with live-resize
that were created by the queue-sync change

original commit: 8cbc7016717d7f80ff932c64f25d3cd734e29bbb
2011-01-26 12:57:01 -07:00
Matthew Flatt
3787ef2d2f fix default dialog% position (centered)
Closes PR 11637

original commit: 0bc987e66b694050d62a2017348eef6a291f9a3a
2011-01-20 16:42:45 -07:00
Matthew Flatt
832d4713dd cocoa: fix problems with floating windows
original commit: f59e8e0eb9425e0cb6a9aa50c928b9d8bb2221f4
2011-01-08 11:41:11 -07:00
Matthew Flatt
e576a185ce more consistent on-size' and on-move'
original commit: ae5093a1344091992a373e44c476fc99540f948c
2011-01-05 10:00:07 -07:00
Matthew Flatt
1a4cac221e implement get-focus-window' and get-edit-target-window' in back end to avoid relying on `on-focus' callback handling
original commit: 68e477fd526b7d74413b63c84d6eddfb7bec5ff9
2010-12-28 05:25:26 -07:00
Matthew Flatt
57cb03ba6e cocoa: fix problems with no-frame root menu
on-demand callback and original installation

original commit: 21ca120c8c496f222a71160c499df214efe46001
2010-12-24 17:48:13 -06:00
Matthew Flatt
48abd21d7c cocoa: fix enable & disable of windows
original commit: 262531e23121a4a11b5e683923a961712d003b10
2010-11-28 08:01:06 -07:00
Matthew Flatt
7789fcd827 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.

original commit: 7da127227a3a493214b0878cd26bff6b51631115
2010-11-26 08:33:59 -07:00
Matthew Flatt
4723df4a89 fix some racket/gui tests and fix cocoa frame centering
original commit: 347869fc9e90560493f39654afd7037be7dac690
2010-11-25 08:03:33 -07:00
Matthew Flatt
1779a3853f add 'close-button style to dialog%; fix cocoa default frame placement
original commit: 820e832853058ee2063599ea9ab2bc8cfc23676f
2010-11-25 08:03:33 -07:00
Matthew Flatt
eb01085adf cocoa: fix problem with frame focus
original commit: 370c97165a2efc2b9061c27e31b1cdf0d0a97026
2010-11-24 12:03:17 -07:00
Matthew Flatt
596161d950 cocoa: repair location fixup on screen change
original commit: e2072d5afba7cc3c8f1572bdbdac0d7020c92237
2010-11-24 10:38:41 -07:00
Matthew Flatt
f1833d580a cocoa: fix problems with frame-list management
original commit: 14a72b5a083da74b42bf5a7d54ae16a05d34e325
2010-11-24 07:12:02 -07:00
Matthew Flatt
93b21b51b1 cocoa: try to fix problem with drifting gc-blit window
original commit: 510c3f8a3362fe67979e805910b90c5bd440f586
2010-11-23 10:02:45 -07:00
Matthew Flatt
68fbeb7cde cocoa: set button control size when font is small
Closes PR 11404

original commit: d7369f819c014ab15da4b9dc23c6a4ac7f0f5664
2010-11-10 17:54:07 -07:00
Matthew Flatt
d55193a6f2 cocoa: convince dock to not resurrect a closed frame
original commit: 50caefcb3853f9b3e55673fb3a869e80225ccd1f
2010-11-05 15:54:53 -06:00
Matthew Flatt
c14bee176f clean up
original commit: d7f1d12ea1c16d5ed062a8ac8fe2fe47db267f15
2010-11-05 15:54:49 -06:00
Matthew Flatt
04623979f5 misc fixes, especially cocoa
original commit: bffff78aad36699025d498442f38214f0727ad5b
2010-11-05 15:54:48 -06:00
Matthew Flatt
aee9c4da25 some fixes prompted by the test suite
original commit: 4f2e59e7a654c9724d546f619589ca68cc334d59
2010-11-05 15:54:48 -06:00
Matthew Flatt
30b2c4d867 gtk: make gl support optional and also clean up some unneeded unimplementeds
original commit: 27f18efa881c411614657a3ed93db51c0b2ac357
2010-11-05 15:54:41 -06:00
Matthew Flatt
3740a947ad cocoa & gtk: color dialog
original commit: 18c99e52a5315dddbf61ae12de278ba28133f68c
2010-11-05 15:54:39 -06:00
Matthew Flatt
12e9641d83 fix frame size enforcement and gtk/cocoa positioning
original commit: e32475fbbfcf7d33ec911a6890bb34655cf70c4a
2010-11-05 15:54:35 -06:00
Matthew Flatt
13098d303a switch cocoa dialog% to common mixin
original commit: ba581819fbc5bd3b0ca581d66295ac0b42a59da5
2010-11-05 15:54:33 -06:00
Matthew Flatt
d8206ac1fb cocoa toolbar button and some unimplemented clean-up
original commit: 7e8a08cdd88c7f483cdca35d259e49c1abc6e049
2010-11-05 15:54:30 -06:00
Matthew Flatt
a540b1bf6f display size and menu fixes
original commit: b3613e999f9d9879a46775cf28315c955356689e
2010-11-05 15:54:29 -06:00
Matthew Flatt
f8c7790afb cocoa on-drop-files
original commit: 83a00c66ecc75be7a01a5b4ab8a9619e27985757
2010-11-05 15:54:28 -06:00
Matthew Flatt
061d523adf unify cocoa & gtk canvas-painting implementation
original commit: f40e7edae886dc09f8bbb979911fd42f824aaf85
2010-11-05 15:54:27 -06:00
Matthew Flatt
4ab3da47a9 fix focus and frame-modified problems
original commit: af499e303930f8ba117f979bb1fa260416c55152
2010-11-05 15:54:25 -06:00
Matthew Flatt
1c4ee63662 collecting-blit for cocoa
original commit: 0691f0491e72728cba7769c2b2a9502bbd926d8b
2010-11-05 15:54:23 -06:00
Matthew Flatt
22d6199bc1 cocoa file dialog
original commit: 5117d094731e6fac7fb14d10e65fdcbae8d5f5a3
2010-11-05 15:54:22 -06:00
Matthew Flatt
ba7d6d7cc1 cocoa mouse event and cursor fixes
original commit: c3fa1f01e8babe7355ba3a5a063f96091fcb7c74
2010-11-05 15:54:22 -06:00
Matthew Flatt
8a6417f3e6 more attempts to avoid flicker
original commit: f13b569b751559a2be7ae39c690dff34ebd29fa7
2010-11-05 15:54:21 -06:00
Matthew Flatt
9c68ef1f45 fix various cocoa problems
original commit: 8ed2fba67d2503b31b8caadf30e191e729d46a62
2010-11-05 15:54:20 -06:00
Matthew Flatt
3a0c3853be fix focus problems and implement send-message-to-window in cocoa
original commit: 2a4ea2ef98cd95a31934d28ccb84a698661e26bb
2010-11-05 15:54:20 -06:00
Matthew Flatt
35aaa3a0fb cocoa cursors
original commit: 40c1c2ffef5f5ee4972ac6ef98b050e13cd8ab34
2010-11-05 15:54:16 -06:00
Matthew Flatt
cb571363a9 misc repairs
original commit: 0114b7a4a5966fea451c92c532bbb86bb638266e
2010-11-05 15:54:15 -06:00
Matthew Flatt
2197b56aab clean up cocoa memory management and also fix vertical sliders and guages
original commit: 152a8b67039ba64e8945ffa513c91f2dafa8e99d
2010-11-05 15:54:14 -06:00
Matthew Flatt
91c250cfc5 make platform-to-wx links weak
original commit: 0a9bdc11ad7758d04e1f5dc6eb47e8b02ecc27a4
2010-11-05 15:54:14 -06:00
Matthew Flatt
a4eeceff33 new cocoa canvas-refresh strategy
original commit: 7a7658e86d209a9de522e72116ba36c3b9466f2d
2010-11-05 15:54:12 -06:00
Matthew Flatt
83a6c5076d eventspace shutdown
original commit: 72b671b6659702a9ff38c57b478873f661baffcb
2010-11-05 15:54:12 -06:00