Commit Graph

295 Commits

Author SHA1 Message Date
Matthew Flatt
83bcdbbd81 cocoa: fix save-file dialog when other extensions should be allowed 2010-11-08 07:12:03 -07:00
Matthew Flatt
3747978c1e cocoa: fix ctl-\ key event 2010-11-08 07:03:51 -07:00
Matthew Flatt
e402d68efc fix `find-graphical-system-path' 2010-11-07 07:08:33 -07:00
Matthew Flatt
53febbeb6c cocoa: fix a double vs. float mismatch in getting scroll positions 2010-11-06 21:22:52 -06:00
Matthew Flatt
39596efef5 cocoa and gtk: fix combo% `on-popup' method 2010-11-05 15:54:56 -06:00
Matthew Flatt
b9f3957a76 gtk and cocoa: add flush method to canvas% and fix periodic flush 2010-11-05 15:54:55 -06:00
Matthew Flatt
72a19d2ab3 gtk: periodic canvas flushing 2010-11-05 15:54:54 -06:00
Matthew Flatt
e033d9edf1 cocoa & gtk: fix some test failures 2010-11-05 15:54:54 -06:00
Matthew Flatt
da6397e006 cocoa: hack around a problem with application hiding 2010-11-05 15:54:54 -06:00
Matthew Flatt
50caefcb38 cocoa: convince dock to not resurrect a closed frame 2010-11-05 15:54:53 -06:00
Matthew Flatt
af6cad4913 destroy windows via finalization outside of the event loop 2010-11-05 15:54:52 -06:00
Matthew Flatt
6fa9ee22a7 remove debugging printf 2010-11-05 15:54:51 -06:00
Matthew Flatt
58e1e37734 fix bug in ffi struct alignment 2010-11-05 15:54:51 -06:00
Matthew Flatt
4891b87ea1 cocoa: another screen-change workaround 2010-11-05 15:54:50 -06:00
Matthew Flatt
05cfffdf9e v5.4.99.1, executable-yield-handler', and make-bitmap' etc. 2010-11-05 15:54:50 -06:00
Matthew Flatt
d7f1d12ea1 clean up 2010-11-05 15:54:49 -06:00
Matthew Flatt
4f55d22705 fix mistake cocoa screen notification 2010-11-05 15:54:49 -06:00
Matthew Flatt
47c032ff34 work around cocoa display-change issue 2010-11-05 15:54:48 -06:00
Matthew Flatt
bffff78aad misc fixes, especially cocoa 2010-11-05 15:54:48 -06:00
Matthew Flatt
99266dcdcf cocoa: fix menu set-label 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
d2275f4179 level-2 finalization from ffi/unsafe and late-weak references 2010-11-05 15:54:47 -06:00
Matthew Flatt
f57961fba4 cocoa ppc repairs 2010-11-05 15:54:46 -06:00
Matthew Flatt
2cebc60eca ppc cocoa 2010-11-05 15:54:45 -06:00
Matthew Flatt
75a6bfe119 improve runtime-path support for building stand-alone gui exes 2010-11-05 15:54:44 -06:00
Matthew Flatt
56f311d204 cocoa: bitmap from clipboard 2010-11-05 15:54:43 -06:00
Matthew Flatt
be5920618d cocoa: avoid 10.6-only clipboard method 2010-11-05 15:54:43 -06:00
Matthew Flatt
ca64c25cf9 cocoa: control fonts 2010-11-05 15:54:43 -06:00
Matthew Flatt
42dc870c10 gtk: use system preference for font 2010-11-05 15:54:43 -06:00
Matthew Flatt
674d2e5248 fix save-file and get-argb-pixels for screen bitmaps 2010-11-05 15:54:43 -06:00
Matthew Flatt
0521f20f26 avoid 10.6-only print-scaling methods 2010-11-05 15:54:42 -06:00
Matthew Flatt
cdecd36359 cocoa: avoid 10.6-specific NSImage method 2010-11-05 15:54:41 -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
46ae5ff086 font-dialog clean up and cocoa: play-sound 2010-11-05 15:54:39 -06:00
Matthew Flatt
18c99e52a5 cocoa & gtk: color dialog 2010-11-05 15:54:39 -06:00
Matthew Flatt
5e1c4ae1f8 gtk: printer-dc% 2010-11-05 15:54:39 -06:00
Matthew Flatt
b4fafc1888 cocoa: printer-dc% 2010-11-05 15:54:38 -06:00
Matthew Flatt
0a47a81aba `make-gl-bitmap' for cocoa and maybe gtk 2010-11-05 15:54:38 -06:00
Matthew Flatt
b9e6ffe18c win32: canvas gl, almost 2010-11-05 15:54:38 -06:00
Matthew Flatt
1bddb120f9 cocoa: opengl canvases 2010-11-05 15:54:37 -06:00
Matthew Flatt
1a2ffacbbe gtk: first cut at gl support 2010-11-05 15:54:37 -06:00
Matthew Flatt
d4f7df6eb8 win32: misc repairs 2010-11-05 15:54:36 -06:00
Matthew Flatt
e32475fbbf fix frame size enforcement and gtk/cocoa positioning 2010-11-05 15:54:35 -06:00
Matthew Flatt
5dd568050b move collecting-blit helper to common code 2010-11-05 15:54:35 -06:00
Matthew Flatt
682355def4 move gtk+cocoa canvas autoscroll support to common mixin 2010-11-05 15:54:34 -06:00
Matthew Flatt
631f0a6e34 cocoa: control-border in canvas% 2010-11-05 15:54:33 -06:00
Matthew Flatt
ba581819fb switch cocoa dialog% to common mixin 2010-11-05 15:54:33 -06:00
Matthew Flatt
604afc1803 win32 widgets, mouse events, and cursors 2010-11-05 15:54:32 -06:00
Matthew Flatt
23f0296cb9 clean up unused 2010-11-05 15:54:31 -06:00
Matthew Flatt
7e8a08cdd8 cocoa toolbar button and some unimplemented clean-up 2010-11-05 15:54:30 -06:00
Matthew Flatt
a1462d0255 fix (different) refresh issues with both Gtk and Cocoa 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
97a52a58bc cocoa: don't over-poll for events 2010-11-05 15:54:29 -06:00
Matthew Flatt
0f2ff1ff5d try to throttle cocoa event dequeue for key & mouse events 2010-11-05 15:54:29 -06:00
Matthew Flatt
158d119b12 cocoa get-display-size: use screen with menu bar 2010-11-05 15:54:29 -06:00
Matthew Flatt
4c22197dee cocoa app file handler 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
6f390ac655 use right color space of cocoa highlight? 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
5809bc7790 fix slider value display and 'plain option 2010-11-05 15:54:27 -06:00
Matthew Flatt
d920342fa1 cocoa cechkable menu repairs 2010-11-05 15:54:26 -06:00
Matthew Flatt
51aacfe949 add make-screen-bitmap and canvas% make-bitmap; specialize for X11 2010-11-05 15:54:26 -06:00
Matthew Flatt
61788d68d5 adjust flush-display 2010-11-05 15:54:26 -06:00
Matthew Flatt
af499e3039 fix focus and frame-modified problems 2010-11-05 15:54:25 -06:00
Matthew Flatt
221c423402 cocoa button fixes 2010-11-05 15:54:25 -06:00
Matthew Flatt
f51345b512 selection and cocoa clipboard fixes 2010-11-05 15:54:25 -06:00
Matthew Flatt
e72cf85175 toward better refresh for gtk & other bug fixes 2010-11-05 15:54:23 -06:00
Matthew Flatt
8da4bbd52d fix key-event problem and implement mouse wheel for Cocoa 2010-11-05 15:54:23 -06:00
Matthew Flatt
0691f0491e collecting-blit for cocoa 2010-11-05 15:54:23 -06:00
Matthew Flatt
227300dc94 cocoa allocation repairs 2010-11-05 15:54:22 -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
3e35c7c273 update for new #:alignment placement 2010-11-05 15:54:22 -06:00
Matthew Flatt
fa446f0187 mac creator and type support 2010-11-05 15:54:22 -06:00
Matthew Flatt
748115fe91 still again yet another refinement to cocoa refresh 2010-11-05 15:54:22 -06:00
Matthew Flatt
6d8bb2cab4 fix yet another refresh problem 2010-11-05 15:54:22 -06:00
Matthew Flatt
0e64be35b7 fix text-drawing performance 2010-11-05 15:54:21 -06:00
Matthew Flatt
909ee0f32d another cocoa refresh repair 2010-11-05 15:54:21 -06:00
Matthew Flatt
f13b569b75 more attempts to avoid flicker 2010-11-05 15:54:21 -06:00
Matthew Flatt
8c9e239798 key release events 2010-11-05 15:54:21 -06:00
Matthew Flatt
f1e2db412f new queue level for refresh events 2010-11-05 15:54:20 -06:00
Matthew Flatt
31e46eb8b3 more cocoa refresh refinements 2010-11-05 15:54:20 -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
Matthew Flatt
ae05eddf14 generalize editor selection mechanism to support Windows style 2010-11-05 15:54:19 -06:00
Matthew Flatt
67ec13ac1a small step toward new text hiliting 2010-11-05 15:54:19 -06:00
Matthew Flatt
a747047145 special-option-key for cocoa 2010-11-05 15:54:19 -06:00
Matthew Flatt
3a99e9e82c concurrency repairs 2010-11-05 15:54:18 -06:00
Matthew Flatt
074ba4e70e [PATCH 123/326] bell 2010-11-05 15:54:17 -06:00
Matthew Flatt
e153b71ba0 repairs that make dragable panels work 2010-11-05 15:54:17 -06:00
Matthew Flatt
cc737fc571 another refinement to cocoa key handling 2010-11-05 15:54:17 -06:00
Matthew Flatt
15a7a2a006 cocoa tab-panel in no-border mode uses PSMTabBarControl 2010-11-05 15:54:17 -06:00
Matthew Flatt
436eb512f8 gtk cursors 2010-11-05 15:54:16 -06:00
Matthew Flatt
40c1c2ffef cocoa cursors 2010-11-05 15:54:16 -06:00
Matthew Flatt
2dba600d59 use Cairo's Quartz back-end for canvas buffering under Mac OS X + makes text rending look much better - makes drawing to a bitmap% different than drawing onscreen 2010-11-05 15:54:16 -06:00
Matthew Flatt
0114b7a4a5 misc repairs 2010-11-05 15:54:15 -06:00
Matthew Flatt
43aeaacd7a finish pinning down gtk allocation 2010-11-05 15:54:15 -06:00
Matthew Flatt
c704905833 more memory management 2010-11-05 15:54:15 -06:00
Matthew Flatt
152a8b6703 clean up cocoa memory management and also fix vertical sliders and guages 2010-11-05 15:54:14 -06:00
Matthew Flatt
a9ffced9b8 clean up lock library and uses 2010-11-05 15:54:14 -06:00
Matthew Flatt
0a9bdc11ad make platform-to-wx links weak 2010-11-05 15:54:14 -06:00
Matthew Flatt
8ad33f15ab consolidate lock implementation and fix custodian problem 2010-11-05 15:54:13 -06:00
Matthew Flatt
cc55bd7e93 restore auto-scroll canvases; fix text-rotation bug 2010-11-05 15:54:12 -06:00
Matthew Flatt
7a7658e86d new cocoa canvas-refresh strategy 2010-11-05 15:54:12 -06:00
Matthew Flatt
72b671b665 eventspace shutdown 2010-11-05 15:54:12 -06:00
Matthew Flatt
f716ae049a yet more cocoa canvas repairs 2010-11-05 15:54:11 -06:00
Matthew Flatt
a4c036b50a fix cocoa menu-bar set menu label 2010-11-05 15:54:11 -06:00
Matthew Flatt
dedba7a441 fix cocoa pref menu 2010-11-05 15:54:11 -06:00
Matthew Flatt
e9e180847a enforce modality; more on-subwindow- callbacks; Cocoa font tweaks 2010-11-05 15:54:11 -06:00
Matthew Flatt
ca29be4eb1 finix initial size of cocoa frame 2010-11-05 15:54:10 -06:00
Matthew Flatt
16f15b0cad postscript-dc% interactive and landscape 2010-11-05 15:54:10 -06:00
Matthew Flatt
b69d4322af fix canvas dc size reporting 2010-11-05 15:54:10 -06:00
Matthew Flatt
c42d95216e auto-scroll canvases and frame status lines 2010-11-05 15:54:10 -06:00
Matthew Flatt
6cb07301c1 canvas scrollbars and borders 2010-11-05 15:54:10 -06:00
Matthew Flatt
cc5cc94510 better dialog support (sheets for Cocoa, centering in gtk) 2010-11-05 15:54:09 -06:00
Matthew Flatt
6ae09fca1c submenus 2010-11-05 15:54:09 -06:00
Matthew Flatt
d10669d34e fix clipping-region issues 2010-11-05 15:54:08 -06:00
Matthew Flatt
202e18ef85 dialog show & button width fixes 2010-11-05 15:54:08 -06:00
Matthew Flatt
439683af5e fixes to bitmap%, especially mask vs. alpha mode 2010-11-05 15:54:07 -06:00
Matthew Flatt
a368362803 better frame sizing in gtk (but still not right) 2010-11-05 15:54:07 -06:00
Matthew Flatt
37d4cfb148 gtk combo boxes 2010-11-05 15:54:07 -06:00
Matthew Flatt
626ceef11b misc repairs 2010-11-05 15:54:06 -06:00
Matthew Flatt
1beecc143d cocoa slider initial value 2010-11-05 15:54:06 -06:00
Matthew Flatt
e0bbe944aa windows fixes 2010-11-05 15:54:05 -06:00
Matthew Flatt
c244a6106a fix mouse-moved events for cocoa 2010-11-05 15:54:05 -06:00
Matthew Flatt
4628ab4db8 radio-box and transparent canvas repairs 2010-11-05 15:54:04 -06:00
Matthew Flatt
bc7d3d7376 popup menus 2010-11-05 15:54:04 -06:00
Matthew Flatt
82c0a1cc29 fix canvases in tab panels 2010-11-05 15:54:04 -06:00
Matthew Flatt
0723c4f647 default buttons and Cocoa clipboard 2010-11-05 15:54:03 -06:00
Matthew Flatt
ac6139345d canvas and frame repairs 2010-11-05 15:54:03 -06:00
Matthew Flatt
238650e327 more repairs to constrained-reply and menu-bar handling 2010-11-05 15:54:03 -06:00
Matthew Flatt
2f2341be6f frame, dialog, and stock-icon repairs 2010-11-05 15:54:03 -06:00
Matthew Flatt
50d10998c0 refresh and menu bar repairs 2010-11-05 15:54:03 -06:00
Matthew Flatt
152526045a fix frame activation and menu bars 2010-11-05 15:54:03 -06:00
Matthew Flatt
5af3d96a5d queue and paint repairs 2010-11-05 15:54:02 -06:00
Matthew Flatt
efb88aef4f focus callbacks 2010-11-05 15:54:02 -06:00
Matthew Flatt
54bee6314e more consistent mouse events 2010-11-05 15:54:02 -06:00
Matthew Flatt
75189fbdee fix mouse position conversion and canvas moving 2010-11-05 15:54:02 -06:00
Matthew Flatt
4bfed6d797 misc repairs 2010-11-05 15:54:01 -06:00
Matthew Flatt
88f75dbc13 fix constrained-reply to use delim continuations 2010-11-05 15:54:01 -06:00
Matthew Flatt
cb69ea3c66 extend C API to abort/capture cont skipping dynamic-winds 2010-11-05 15:54:01 -06:00
Matthew Flatt
90b005afed Cocoa menus, including on-demand tricks 2010-11-05 15:54:00 -06:00
Matthew Flatt
3cb7594793 mostly tab-panel and mnemonic repairs 2010-11-05 15:54:00 -06:00
Matthew Flatt
edd12a64b8 implement labels for radio-box%, etc. 2010-11-05 15:54:00 -06:00
Matthew Flatt
5baba1d81a gracket2 wx re-implementation start 2010-11-05 15:53:55 -06:00