Commit Graph

944 Commits

Author SHA1 Message Date
Matthew Flatt
bfa2a57b01 win32: get roots on demand for file dialog 2010-12-30 09:30:27 -07:00
Matthew Flatt
eddae6749d clean up handling of not-ok?', bitmap-dc%'-selected, and mutated bitmaps 2010-12-30 08:35:56 -07:00
Matthew Flatt
d3fd1ba013 add `set-padding' to text% 2010-12-29 13:42:58 -07:00
Matthew Flatt
ffd4193e32 fix frame registration on show' when current-eventspace' is weird
(i.e., not the frame's eventspace)
 Closes PR 11573
2010-12-29 07:45:49 -07:00
Matthew Flatt
80e5c6cec3 clean up 2010-12-28 20:15:30 -07:00
Matthew Flatt
dc926925aa retain eventspaces weakly 2010-12-28 20:06:57 -07:00
Robby Findler
5eec85a5a2 change the way scrolling works so that canvases that are 'primary-owner's are respected when calling scroll-to on an admin
This change may also affect other attempts to scroll, however, so watch for strange scrollings when multiple editor-canvaess are displaying the same text% object.
  closes PR 10853
2010-12-28 16:37:13 -06:00
Matthew Flatt
5ea0c93e0f gtk: combo-field% fixes
Closes PR 11569
2010-12-28 14:58:22 -07:00
Matthew Flatt
8ac21c745f add show-without-yield' to dialog%' 2010-12-28 10:52:17 -07:00
Matthew Flatt
2e8f771661 adjust password dots again 2010-12-28 10:52:17 -07:00
Matthew Flatt
b701d309f1 win32: fix EndPaint to avoid GDI leak 2010-12-28 06:21:58 -07:00
Matthew Flatt
7b5d948d33 win32: fix `focus' return value 2010-12-28 05:30:58 -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
719df98d83 prevent dc<%> state contamination among transparent canvases 2010-12-27 17:43:36 -07:00
Matthew Flatt
958c141508 improve password-mode dots for text-field% 2010-12-27 15:22:53 -07:00
Matthew Flatt
0ef5a01c9b win32: minor repair to single-instance check 2010-12-26 09:35:22 -07:00
Matthew Flatt
a3adf07fd2 clean up pre-drawing of canvases for a frame to show 2010-12-24 20:09:16 -06:00
Matthew Flatt
bb96973c4a cocoa: don't disable flushes on a window that isn't shown
because that doesn't seem to work
 Closes PR 11565
2010-12-24 18:22:59 -06: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
Robby Findler
8903de5a12 inserted a coercion string->path
(there is one on the line above so this is probably the right thing)
closes PR 11563
2010-12-24 15:58:21 -06:00
Matthew Flatt
94e6d8f399 gtk: clipboard fix
Closes PR 11552
2010-12-22 19:40:37 -07:00
Matthew Flatt
78b2e47541 fix more try-atomic problems 2010-12-21 18:45:36 -07:00
Sam Tobin-Hochstadt
abf2215de7 Fix send to the wrong administrator.
Bug found by tests/gracket/wxme-random.
2010-12-19 22:56:15 -05:00
Sam Tobin-Hochstadt
491eeaa759 Move mred/private/wxme/style to racket/snip/private/style.
`racket/snip' now exports the style classes and the add,mult-color interfaces.
2010-12-19 22:56:15 -05:00
Matthew Flatt
975c2400a1 cocoa: fix interaction of combo-field% popup and canvas refresh
and also reduce work on redundant show/hide of canvas
 Closes PR 11557
2010-12-19 18:58:27 -07:00
Matthew Flatt
c259d0839a make editor caret adapt to background color 2010-12-18 07:22:40 -07:00
Sam Tobin-Hochstadt
70955d5540 Split mred/private/wxme/private into two files. 2010-12-18 00:10:26 -05:00
Sam Tobin-Hochstadt
cf3aec6b95 Move load-one to racket/snip.
Create private directory for racket/snip.
Remove snip dependence on events.
2010-12-18 00:10:26 -05:00
Matthew Flatt
b07f57fc73 fix problems with canvas refresh, especially win32 2010-12-17 14:43:14 -07:00
Matthew Flatt
0c4d2e332c fix transparent-canvas detection 2010-12-17 10:46:06 -07:00
Sam Tobin-Hochstadt
f7559b8269 Move readable-snip<%>' to racket/snip'
Reprovide `racket/snip' rather than propagating it in `mred/mred'
2010-12-17 12:32:27 -05:00
Sam Tobin-Hochstadt
fb76a887d8 Refactor to create `racket/snip' collection. 2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
8a8a8dbe4b Separate snip% from the gui 2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
398add4e29 Move symbol predicates to their own file. 2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
13cae20838 Fixes for PNG conversion, and make `image-snip%' convertible. 2010-12-17 12:32:25 -05:00
Matthew Flatt
fc4165ec40 win32: fix transparent-canvas support 2010-12-17 09:33:11 -07:00
Matthew Flatt
f700a15d85 specially record transparent-canvas drawing for a small number of drawing ops
which enables background-sensitive smoothing of text
2010-12-17 09:27:10 -07:00
Matthew Flatt
54d36dc22a don't popup disable combo-field% 2010-12-16 13:43:22 -07:00
Matthew Flatt
7fa0ae3ea6 fix typo 2010-12-16 12:20:39 -07:00
Matthew Flatt
7571579ce5 win32: combo-field% on-popup 2010-12-16 10:48:29 -07:00
Matthew Flatt
c9e778c541 cocoa and gtk: make combo-field% `on-popup' work better 2010-12-16 10:48:28 -07:00
Matthew Flatt
d518084f88 cocoa: fix message% 'app icon 2010-12-16 10:48:26 -07:00
Matthew Flatt
cad500d802 fix problems with image-snip%, masks or alpha channels, and saving
and also generalize image-snip% to accept input port instead
 of filenames, and avoid temporary files for loading and saving images
2010-12-14 21:11:10 -07:00
Robby Findler
4881bc33f4 open-input-text-editor: beef up the protection that the lock-while-reading? argument provides 2010-12-14 19:14:26 -06:00
Matthew Flatt
f557707764 fix tab-panel% callback
Closes PR 11537
2010-12-13 20:38:44 -07:00
Matthew Flatt
790a91e520 fix minor potential GC bugs and add some debugging support 2010-12-13 16:31:13 -07:00
Matthew Flatt
39c6fe02d7 use `assert' around a debugging check 2010-12-13 14:54:07 -07:00
Matthew Flatt
3456ee185a gtk: fix clipboard text request to return "" instead of #f
to match weird old interface
2010-12-13 10:34:59 -07:00
Matthew Flatt
08eff21117 gtk: change clipboard access to keep racket in charge
instead of letting the ... _wait_...() function drive an
 event loop;
 hopefully Closes PR 11534
2010-12-13 10:26:23 -07:00
Matthew Flatt
aa43ba40c7 win64: HIWORD and LOWORD signs 2010-12-12 08:47:38 -07:00
Matthew Flatt
953dd78d76 cocoa: add app badge to caution & stop icons 2010-12-12 08:24:19 -07:00
Matthew Flatt
acdd76b17e win32: show #t brings shown frame to front
Closes PR 11533
2010-12-11 21:23:58 -07:00
Matthew Flatt
c7b4e5f134 win32: fix alternate-key lookup
Closes PR 11527
2010-12-11 07:50:49 -07:00
Matthew Flatt
a5c4863848 win32: avoid continued failure when painting fails 2010-12-11 06:16:40 -07:00
Matthew Flatt
b2444e2105 win32: sync display on event 2010-12-10 18:52:12 -07:00
Matthew Flatt
2b4f1a6908 extend `sync/timeout' to allow a tail-position fail thunk for polling 2010-12-10 18:06:21 -07:00
Matthew Flatt
cadc128994 win32: mouse-wheel events
Closes PR 11520
2010-12-09 21:06:15 -07:00
Matthew Flatt
e929f62d11 win32: fix alt vs. meta; fix alt-<char> menu dropdown 2010-12-09 18:05:51 -07:00
Matthew Flatt
3aad886019 win32: fix key-release events 2010-12-09 17:43:37 -07:00
Matthew Flatt
b16f8fb16a win32: fix delete key
Closes PR 11519
2010-12-09 17:38:41 -07:00
Matthew Flatt
518cff7b63 win32: fix alt-combination handling 2010-12-09 15:18:57 -07:00
Matthew Flatt
355cf25b5f cocoa: allow default handling of Cmd-` for cycling windows
Closes PR 11499
 but it's not clear that this is the right fix for all users
2010-12-08 19:56:02 -07:00
Robby Findler
0a313888c4 added missing require (as suggested by Matthew) so now pasting works. 2010-12-07 07:05:54 -06:00
Robby Findler
39008f2130 on second thought, maybe this is the right last argument 2010-12-06 19:33:46 -06:00
Robby Findler
f818aa56bf patch so that the alt key does not crash drracket (windows) 2010-12-06 19:31:36 -06:00
Matthew Flatt
fd79abcc1f win32: fix setwindowlongptr binding for 32-bit mode 2010-12-06 12:40:10 -07:00
Matthew Flatt
6d1db909c4 win64: fix GetWindowLong to use Ptr variant 2010-12-04 17:38:47 -07:00
Matthew Flatt
a56e547db6 win64: racket/draw and racket/gui 2010-12-04 08:29:34 -07:00
Matthew Flatt
3479f5fb92 cocoa: hack around NSApplication's handling of command-line arguments 2010-12-02 11:53:18 -07:00
Matthew Flatt
b0a746c701 win32: fix font used to size controls 2010-12-02 07:04:38 -07:00
Matthew Flatt
74d858ceed gtk: fix GdkAtom type 2010-12-02 06:20:07 -07:00
Matthew Flatt
7a37b07e26 gtk: fix clipboard problems on 64-bit mode; provide more text formats 2010-12-02 06:17:40 -07:00
Matthew Flatt
82ab45b11d gtk: fix clipboard; implement ye olde X selection 2010-12-01 20:48:23 -07:00
Matthew Flatt
ec122a785a use dots for 'password style text-field% 2010-12-01 15:48:55 -07:00
Matthew Flatt
ed8aa132de improve editor highlighting of selected image-snip% 2010-12-01 15:48:54 -07:00
Matthew Flatt
e9710d08f5 fix autowrap bitmap drawing so it isn't covered up by a selection 2010-12-01 15:48:54 -07:00
Matthew Flatt
e627ccb5ed cocoa: avoid infinite loop on re-dispatch of command keys 2010-11-30 20:17:47 -07:00
Matthew Flatt
72d57d8db8 cocoa: explicitly re-dispatch Cmd- key combinations 2010-11-30 15:39:02 -07:00
Matthew Flatt
8f9a8daa27 fix {get,set}-event-type on mouse-event%
Closes PR 11474
2010-11-30 09:32:59 -07:00
Matthew Flatt
9f9e23f551 don't GC an eventspace with a visible frame, etc. 2010-11-30 09:32:59 -07:00
Matthew Flatt
c81ad90161 fix eventspace as event 2010-11-30 09:32:59 -07:00
Matthew Flatt
37d16cf8f8 cocoa: fix race condition on window enabling 2010-11-30 09:32:58 -07:00
Matthew Flatt
2282cae59a cocoa: fix removal of menu shortcut
Closes PR 11463
2010-11-28 10:44:01 -07:00
Matthew Flatt
d37cc7b3ec cocoa: fix problem with tab panel 2010-11-28 10:41:59 -07:00
Matthew Flatt
f090e732fd cocoa: fix relabel of image checkbox 2010-11-28 08:01:07 -07:00
Matthew Flatt
262531e231 cocoa: fix enable & disable of windows 2010-11-28 08:01:06 -07:00
Matthew Flatt
04a4ad269f cocoa & gtk: fix set-label with bitmap on message%
Closes PR 11462
2010-11-26 11:59:31 -07:00
Matthew Flatt
5aff70029a centralize glib loading as used by racket/draw and Gtk racket/gui 2010-11-26 11:20:15 -07:00
Matthew Flatt
2edadd6113 add pdf-dc%; make slideshow/pict depend on racket/draw, not racket/gui 2010-11-26 10:35:05 -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
1f61bbdc51 win32: frame size and iconize fixes 2010-11-26 08:10:58 -07:00
Matthew Flatt
e0bcec0825 cocoa: handle multi-key character input 2010-11-25 10:38:44 -07:00
Matthew Flatt
df9c4c8c69 cocoa: don't treat dead-key events as normal character events
but more work is still needed for multi-key input
2010-11-25 08:41:50 -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
ab070b205e cocoa: finally found the documented API to enable GUI mode 2010-11-25 08:03:32 -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
c94df207a4 cocoa: one more 10.6-only method 2010-11-20 15:45:28 -07:00
Matthew Flatt
bf9b913f33 cocoa: avoid another 10.6-only method
Closes PR 11442
2010-11-20 15:38:17 -07:00
Matthew Flatt
584287483b cocoa: avoid another 10.6-only method
Closes PR 11440
2010-11-16 17:08:41 -07:00
Matthew Flatt
f050f28d2b cocoa: fix put-file extension handling when no extensions are supplied 2010-11-15 19:46:41 -07:00
Matthew Flatt
6c844ec415 cocoa: adjust button shape for large fonts 2010-11-15 12:16:42 -07:00
Matthew Flatt
16b75b1f00 cocoa: avoid explicit NSTabViewDelegate
--- not in pre-10.6, seems to crash in 64-bit mode, and not
     necessary to declare
 Closes PR 11418
2010-11-14 15:54:18 -07:00
Matthew Flatt
279315b582 cocoa: fix ffi-use bug 2010-11-14 15:54:17 -07:00
Matthew Flatt
d2fe39da33 win32: canvas refresh repair 2010-11-13 09:54:47 -07:00
Matthew Flatt
1c6f745ac1 adjust canvas refresh strategy yet again
- there seems to be no need to auto-resume flushes on a canvas,
   which can create flicker if the auto-resume timeout turns out
   to be too short
2010-11-12 20:39:58 -07:00
Jon Rafkind
bcef0dbfe2 increase delay value before refresh to 100 2010-11-11 13:29:01 -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
b6b3298567 cocoa: avoid 10.6-specific method for menu popup 2010-11-10 17:54:07 -07:00
Matthew Flatt
168a2c1591 use #x3FFFFFF instead of #x3FFFFFFF for max size of an unbounded frame
because sawfish is unhappy with #x3FFFFFFF
2010-11-09 16:59:01 -07:00
Matthew Flatt
c9b7c98525 cocoa: use alternate key if ctl-combination has no mapping
--- fixes ctl-space, and maybe other combinations
 Closes PR 11403
2010-11-09 06:55:37 -07:00
Eli Barzilay
f29e4c860b Remove erroneous files 2010-11-08 09:48:00 -05:00
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
23908c2372 gtk: initialize canvas backing to white 2010-11-07 07:16:12 -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
694745e998 first cut at splitting draw and gui docs 2010-11-05 21:57:13 -06:00
Matthew Flatt
59bf78b6c8 avoid xor for pasteboard rubberband hiliting 2010-11-05 20:26:24 -06:00
Matthew Flatt
f935266257 win32: fix combo% on-popup 2010-11-05 15:54:56 -06:00
Matthew Flatt
39596efef5 cocoa and gtk: fix combo% `on-popup' method 2010-11-05 15:54:56 -06:00
Matthew Flatt
9f42fa0e6f win32: fix flush duplocate def 2010-11-05 15:54:55 -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
64d9a391cf win32: fix flush and periodic canvas flush 2010-11-05 15:54:55 -06:00
Matthew Flatt
4d316f7851 win32: periodic canvas flushing 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
9fbb7d3a99 win32: fix some test failures 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
f829424783 win32: further deallocation fixes, plus some test fixes 2010-11-05 15:54:54 -06:00
Matthew Flatt
ad9315ba6b win32: further deallocation fixes, plus some test fixes 2010-11-05 15:54:54 -06:00
Matthew Flatt
daf7f6dd17 win32: change HWND allocation and deallocation 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
9eabda614c no need for libgio reference 2010-11-05 15:54:52 -06:00
Matthew Flatt
6065f8cf12 avoid functions not available in Debian Stable 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
3abecbc95d gtk: enable "really overwrite?" dialog for `put-file' 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
2c77565721 gtk: swap alt and meta reporting 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
dee93e6259 define-runtime-module-path-index and racket/gui/dynamic fixes 2010-11-05 15:54:46 -06:00
Matthew Flatt
a7426c1c27 cocoa: fix startup -psn_ and file handling 2010-11-05 15:54:46 -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
bcbe42f4ff improve protection against multiple instantiation 2010-11-05 15:54:44 -06:00
Matthew Flatt
881c182956 editor insert-image uses alpha by default 2010-11-05 15:54:44 -06:00
Matthew Flatt
003ba8439a win32: paste bitmap 2010-11-05 15:54:44 -06:00
Matthew Flatt
df94c04823 win32: control font 2010-11-05 15:54:44 -06:00
Matthew Flatt
ad9209f1e9 gtk: image paste 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
93d59f4cf5 gtk: configurable control 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
c4ab7733c1 gtk: on-activate and single-instance fixes 2010-11-05 15:54:42 -06:00
Matthew Flatt
3ae3d15d93 win32: iconize and refresh problems 2010-11-05 15:54:42 -06:00
Matthew Flatt
0521f20f26 avoid 10.6-only print-scaling methods 2010-11-05 15:54:42 -06:00
Matthew Flatt
4360a45fa6 win32: single-instance support 2010-11-05 15:54:42 -06:00
Matthew Flatt
045da06ace gtk: command line and single-instance support 2010-11-05 15:54:42 -06:00
Matthew Flatt
cafc6d697e avoid redundant on-subwindow-X calls due to panels in a frame 2010-11-05 15:54:41 -06:00
Matthew Flatt
3f28042517 gtk: fix memory management for menus 2010-11-05 15:54:41 -06:00
Matthew Flatt
cdecd36359 cocoa: avoid 10.6-specific NSImage method 2010-11-05 15:54:41 -06:00
Matthew Flatt
16b34c236a gtk: misc fixes 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
c57c84721f gtk menu-bar fixes 2010-11-05 15:54:40 -06:00
Matthew Flatt
4d8497b985 minor clean-up 2010-11-05 15:54:40 -06:00
Matthew Flatt
9b19337c97 win32 memory-management repair 2010-11-05 15:54:40 -06:00
Matthew Flatt
090437c4d9 win32 repairs 2010-11-05 15:54:40 -06:00
Matthew Flatt
f4e74a8f43 win32: key and menu fixes, drop-files, location->window 2010-11-05 15:54:40 -06:00
Matthew Flatt
3d73a0bd78 win32: play-sound 2010-11-05 15:54:40 -06:00
Matthew Flatt
46ae5ff086 font-dialog clean up and cocoa: play-sound 2010-11-05 15:54:39 -06:00
Matthew Flatt
6b5c7e88a0 win32: color dialog 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
c996185ea5 win32: printer-dc% 2010-11-05 15:54:39 -06:00
Matthew Flatt
b98ba3e60b win32: gl bitmaps 2010-11-05 15:54:39 -06:00
Matthew Flatt
77399ddaf7 remove accidental objc dependency 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
0433cd0337 gtk: fix gl bitmap 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
bc509c86cd gtk: fix gl canvas painting 2010-11-05 15:54:38 -06:00
Matthew Flatt
3d9f52a4d1 win32: fix gl canvas repaint 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
b2981f05b2 gtk: more gl 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
7ffff49507 win32: file dialog 2010-11-05 15:54:37 -06:00
Matthew Flatt
fbc8d17413 win32: control callback fixes 2010-11-05 15:54:36 -06:00
Matthew Flatt
80ce36d30d win32: set-label with bitmaps 2010-11-05 15:54:36 -06:00
Matthew Flatt
3f3d5f0f21 win32: memory management 2010-11-05 15:54:36 -06:00
Matthew Flatt
905594ced3 gtk: fix get-directory dialog 2010-11-05 15:54:36 -06:00
Matthew Flatt
d4f7df6eb8 win32: misc repairs 2010-11-05 15:54:36 -06:00
Matthew Flatt
b843078284 gtk: fix clipboard string content 2010-11-05 15:54:35 -06:00
Matthew Flatt
9c15da955d gtk: fix delete key 2010-11-05 15:54:35 -06:00
Matthew Flatt
a19a67e515 win32: enforce frame constraints when resizing 2010-11-05 15:54:35 -06:00
Matthew Flatt
e32475fbbf fix frame size enforcement and gtk/cocoa positioning 2010-11-05 15:54:35 -06:00
Matthew Flatt
b444555b6b win32: fix collecting blit 2010-11-05 15:54:35 -06:00
Matthew Flatt
5b7c8dd433 win32: collecting-blit 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
b9b627f294 win32: misc repairs 2010-11-05 15:54:35 -06:00
Matthew Flatt
90a1c3f4e4 win32: clipboard and popup menu 2010-11-05 15:54:34 -06:00
Matthew Flatt
22e7cb437d win32: fix submenus and other menu operations 2010-11-05 15:54:34 -06:00
Matthew Flatt
54fc1e2766 win32: clearing of transparent canvases 2010-11-05 15:54:34 -06:00
Matthew Flatt
b459fcf91c win32: canvas autoscroll 2010-11-05 15:54:34 -06:00
Matthew Flatt
682355def4 move gtk+cocoa canvas autoscroll support to common mixin 2010-11-05 15:54:34 -06:00
Matthew Flatt
0f754f2878 fix platform-dispatch typo 2010-11-05 15:54:34 -06:00
Matthew Flatt
a6d2524728 win32: transparent canvases 2010-11-05 15:54:33 -06:00
Matthew Flatt
736607c280 win32: combo and cursor fixes 2010-11-05 15:54:33 -06:00
Matthew Flatt
631f0a6e34 cocoa: control-border in canvas% 2010-11-05 15:54:33 -06:00
Matthew Flatt
815278fe43 Windows: use PLT_WIN_GTK for gtk; fix manifest embedding 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
70b26a5885 win32: more menus and widgets 2010-11-05 15:54:32 -06:00
Matthew Flatt
912a2d5151 win32: more menus and controls 2010-11-05 15:54:32 -06:00
Matthew Flatt
1dd3c8accb gtk: try fullscreen 2010-11-05 15:54:32 -06:00
Matthew Flatt
604afc1803 win32 widgets, mouse events, and cursors 2010-11-05 15:54:32 -06:00
Matthew Flatt
1402583ad2 win32 dialogs, etc. 2010-11-05 15:54:32 -06:00
Matthew Flatt
f2bad07fb8 win32: several control classes 2010-11-05 15:54:32 -06:00
Matthew Flatt
bc0869f43c win32 menu and button callbacks 2010-11-05 15:54:32 -06:00
Matthew Flatt
dd9a0772b3 win32 scrollbar event handling 2010-11-05 15:54:31 -06:00
Matthew Flatt
ee30013098 win32 basic canvas, key handling, and eventspaces 2010-11-05 15:54:31 -06:00
Matthew Flatt
35703b49b9 win32 theme and basic canvas 2010-11-05 15:54:31 -06:00
Matthew Flatt
aaf0636817 win32 beginnings 2010-11-05 15:54:31 -06:00
Matthew Flatt
abf1805d42 gtk clipboard repair 2010-11-05 15:54:31 -06:00
Matthew Flatt
24b016c8d5 gtk on-drop-file 2010-11-05 15:54:31 -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
ece405106b gtk frame% set-icon 2010-11-05 15:54:30 -06:00
Matthew Flatt
26036ac55e gtk default frame icon 2010-11-05 15:54:30 -06:00
Matthew Flatt
6b606cb4e2 canvas scroll and gauge range limit to 1000000 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
bdc9538244 gtk: fix scroll change to not generate callback 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
60d4eaf227 centralize default-font configuration 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
73d28a3fff fix queue-callback to default to high priority 2010-11-05 15:54:27 -06:00
Matthew Flatt
4d03f3ab3c enable scrolling to extra tabs in a tabl panel 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
5ebfa781bd screen dc corrections and clarifications 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
d094fff51e gtk win32 canvas back-end 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
bff39a1832 fix gtk collecting blit to revert immediately when gc ends 2010-11-05 15:54:26 -06:00
Matthew Flatt
61788d68d5 adjust flush-display 2010-11-05 15:54:26 -06:00
Matthew Flatt
4bd84adb3a add dc<%> copy method; speed text drawing a little and implement but disable editor scrolling with dc<%> copy 2010-11-05 15:54:25 -06:00
Matthew Flatt
ed2c685a73 gtk clipboard fixes 2010-11-05 15:54:25 -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
3a17b284a7 fix flash highlight 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
a2f02f6f39 collecting blit for gtk 2010-11-05 15:54:24 -06:00
Matthew Flatt
85ce22d4f7 fix clipboard eventspace problem 2010-11-05 15:54:24 -06:00
Matthew Flatt
e72cf85175 toward better refresh for gtk & other bug fixes 2010-11-05 15:54:23 -06:00
Matthew Flatt
f41bd0ffc1 wheel events for gtk 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
9d1ac67287 gtk key-handling fixes 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
42610ccecb access foreign libs more consistently under Unix 2010-11-05 15:54:19 -06:00
Matthew Flatt
e97cf6815b fix gtk theme lookup 2010-11-05 15:54:19 -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
93613f906d fix gtk win32 poll 2010-11-05 15:54:18 -06:00
Matthew Flatt
6772afbd2e fix problems with gtk canvas client size and with checkable menus 2010-11-05 15:54:18 -06:00
Matthew Flatt
1270ba437e gtk alternate key interpretetaions 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
f21920c8e9 show gtk menu shortcuts 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
b3f1cc4b41 fix problem related to cursor tracking 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
7a3a005644 fix frame stretchability 2010-11-05 15:54:15 -06:00
Matthew Flatt
7edbdd8a5a streamline gtk widget repositioning 2010-11-05 15:54:15 -06:00
Matthew Flatt
647ce060ab another try at fixing gtk dialog placement 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
fdf38124a5 have container retain shown children 2010-11-05 15:54:14 -06:00
Matthew Flatt
00f2385cd4 more fixes to work with older Gtk version 2010-11-05 15:54:14 -06:00
Matthew Flatt
b6a31a2d7d fix gobj vs. glib imports 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
d34d3969d9 make gtk file dialog place nicely 2010-11-05 15:54:13 -06:00
Matthew Flatt
1b641c3607 patches to make file dialog work 2010-11-05 15:54:13 -06:00
Sam Tobin-Hochstadt
15880ea8e5 Implement GTK-native file selector 2010-11-05 15:54:13 -06:00
Matthew Flatt
e433a8a2e6 fix problem with size initialization of a frame with a menu bar 2010-11-05 15:54:13 -06:00
Matthew Flatt
b020c2f858 fix gtk widget size info for sizing and positioning 2010-11-05 15:54:12 -06:00
Matthew Flatt
cc55bd7e93 restore auto-scroll canvases; fix text-rotation bug 2010-11-05 15:54:12 -06:00
Matthew Flatt
9f36c96960 switch gtk to new canvas-refresh strategy 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
bb68137829 set up backing-dc% 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
f8ba0a65d2 fix on-subwindow- and modal for choice%; suppress other callbacks on set 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
ff57455150 manual font substitution for Mac OS X 2010-11-05 15:54:10 -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
4457c51022 gtk dialog% window hint 2010-11-05 15:54:09 -06:00
Matthew Flatt
03f5e140ea try to connect gtk dialog with parent 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