Commit Graph

771 Commits

Author SHA1 Message Date
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
Matthew Flatt
3d9c68105e another Gtk frame-size repair 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
86f0db41bc fix alpha plus draw-bitmap 2010-11-05 15:54:05 -06:00
Matthew Flatt
e0bbe944aa windows fixes 2010-11-05 15:54:05 -06:00
Matthew Flatt
b027bc3bc3 fix gtk canvas reset 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
1c4b543fb5 fix gtk callback on first radio button in a box 2010-11-05 15:54:04 -06:00
Matthew Flatt
4628ab4db8 radio-box and transparent canvas repairs 2010-11-05 15:54:04 -06:00
Matthew Flatt
7de0f66b97 fix Gtk global<->local 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
fa3d9cdf28 fix racket/gui/dynamic and add multi-instance checks 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
1aab1c78a3 fix canvas% refresh for Gtk 2010-11-05 15:54:00 -06:00
Matthew Flatt
0709870ef9 Windows build and config repairs 2010-11-05 15:53:59 -06:00
Matthew Flatt
aabc1cf5a7 fixes for Windows 2010-11-05 15:53:56 -06:00
Matthew Flatt
5baba1d81a gracket2 wx re-implementation start 2010-11-05 15:53:55 -06:00
Matthew Flatt
bcb075543c adjust mred/private/syntax for gracket2 2010-11-05 15:53:54 -06:00
Robby Findler
822895fd68 fix minor bug in 'display-end functionality in invalidate-bitmap-cache 2010-10-29 15:06:48 -05:00
Robby Findler
3e9858b001 added an argument to open-input-text-editor so that it can lock (and unlock) the editor when editing would not be allowed. 2010-10-13 15:55:17 -05:00
Matthew Flatt
f67bb10c19 fix bug introduced with 'display-end change 2010-09-20 12:29:52 -06:00
Matthew Flatt
aac7e0b58a extend invalidate-bitmap-cache' in editor<%>' with 'display-end option
which the framework's background-rectangle implementation can use
 to queue refreshes for changing rectangles, instead of requiring a
 full-canvas refresh
2010-09-19 19:22:22 -06:00
Eli Barzilay
8e0f8dd39c More "~n" -> "\n" changes 2010-08-26 12:11:00 -04:00
Matthew Flatt
c8762ae877 add methods to text-field% to control the background color 2010-08-03 12:34:16 -06:00
Matthew Flatt
dc98077ca4 add 'handles-all-mouse-events snip% flag 2010-06-26 13:53:31 -06:00
Matthew Flatt
1712dfb7f5 fix make-gui-namespace from scheme/gui/base and racket/gui/base
so that the namespace starts with scheme/base or racket/base
 respectively
2010-06-07 20:06:51 -04:00
Eli Barzilay
bba676d90c Update the text message at the top of WXME files, including the URL.
Also, update the message in existing files.  Change the instructions to
use DrRacket or DrScheme version <previous-version>, and for really old
files (pre-v4), just use 4 for the version.  Also just drop the second
paragraph in these files -- "Most likely, it was created by" is not
needed when for these files we know that this is true.
2010-05-17 00:19:26 -04:00
Eli Barzilay
7f6efdc8be A lot of "MrEd" -> "GRacket"s. 2010-05-16 23:46:05 -04:00
Matthew Flatt
92a4106877 text% printer recognizes a line containing only a form-feed character and uses it as a page break; a form-feed character displays as ^L 2010-05-11 09:37:08 -06:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Matthew Flatt
840ea4f4f5 simplify [g]racket startup banner 2010-04-15 22:15:43 -04:00
Matthew Flatt
0f0a59732e create core binaries as 'racket' and 'gracket' 2010-04-15 21:15:57 -04:00
Matthew Flatt
fb37601b55 bug fixes from random testing
svn: r18602
2010-03-23 01:49:08 +00:00
Robby Findler
dbe66de3af fix for a bug discovered via random testing
svn: r18587
2010-03-19 20:36:39 +00:00
Robby Findler
ff10493a0e fix to a bug detected by random testing
svn: r18586
2010-03-19 19:55:02 +00:00
Casey Klein
a004964297 Fixed another bug found with random testing
svn: r18583
2010-03-19 14:08:48 +00:00
Casey Klein
854a902cbd Fixed bugs found with random testing
svn: r18581
2010-03-19 11:39:02 +00:00
Robby Findler
3bcea5bbe0 made another method final
svn: r18482
2010-03-06 12:54:30 +00:00
Robby Findler
7c3025ecde fixed some more bugs found by random testing
svn: r18478
2010-03-06 01:35:19 +00:00
Robby Findler
c2d9b0dc3e set the locked state flags during the initialization of a text% object (this bug found by random test case generation)
svn: r18475
2010-03-05 19:43:50 +00:00
Robby Findler
6d4a546ca8 tightened up the contract in the docs for key-event%s methods so they limit the symbols to just the legal ones
svn: r18466
2010-03-04 17:14:59 +00:00
Robby Findler
71911772c6 fixed a bug found by the random tester
svn: r18445
2010-03-03 16:34:13 +00:00
Matthew Flatt
a2bf0d3d25 fix text% insert bug
svn: r18356
2010-02-26 19:50:05 +00:00
Robby Findler
f39e8ebe0c exported and documented label-string?
svn: r18335
2010-02-25 13:03:38 +00:00
Stevie Strickland
1f10c4e422 Have external field accessors/mutators just redirect to the old object
themselves.  Also, have all objects carry the prop:unwrap property.

svn: r18330
2010-02-24 23:32:44 +00:00
Stevie Strickland
60b6c81f9f Okay, updates to all this crapola. Going to try and see what happens if I
only attach prop:unwrap to wrapped objects.

svn: r18313
2010-02-23 23:56:08 +00:00
Stevie Strickland
e1cd160a40 Now that the C code is back at a compile-ready point, I'll check in.
svn: r18306
2010-02-23 20:57:22 +00:00
Stevie Strickland
aa7062a35e Fix up kernel.ss to include unwrapper, also fix arity check now that it takes
one more.

svn: r18300
2010-02-23 15:01:04 +00:00
Eli Barzilay
c88a5a6856 A bunch of additional typos
svn: r17976
2010-02-05 03:21:52 +00:00
Matthew Flatt
09ef762e3f add accept-tab-focus to editor-canvas%
svn: r17929
2010-02-01 19:30:59 +00:00
Matthew Flatt
a5da3f327f use MrEd:default-font-size preference
svn: r17914
2010-01-31 14:55:07 +00:00
Matthew Flatt
5270fcbc6c fix name of Basic style in style-list<%>
svn: r17878
2010-01-29 00:14:06 +00:00
Matthew Flatt
a09e671f34 allow radio-box% to have no selected buttons
svn: r17865
2010-01-28 17:51:30 +00:00
Matthew Flatt
47c66b71eb fix pasteboard% 'remove' (merge to 4.2.3)
svn: r16963
2009-11-22 15:43:15 +00:00
Matthew Flatt
fbf7f79d8c fix get-default-print-size n landscape mode
svn: r16942
2009-11-21 16:17:08 +00:00
Robby Findler
e5d76b0095 improved error message slightly
svn: r16305
2009-10-13 16:00:01 +00:00
Robby Findler
ab894fbe18 slight improvement to the snipclass-not-found error message
svn: r16300
2009-10-12 19:55:43 +00:00
Matthew Flatt
941d8c47c3 restore focus ring on text-field% (by chaining to superclass on-set/kill-fpcus in editor-canvas%)
svn: r15846
2009-09-01 14:31:58 +00:00
Matthew Flatt
a12ec5fd23 improve speed of writing long byte strings with lots of escapes in WXME
svn: r15822
2009-08-28 03:45:38 +00:00
Matthew Flatt
78ad4f9615 editor pasteboard bug fix from Jordan Johnson
svn: r15797
2009-08-25 11:20:03 +00:00
Matthew Flatt
3170f05da2 correctly handle multiple registrations of the same snipclass name
svn: r15692
2009-08-09 13:48:09 +00:00
Matthew Flatt
d1bd8a7a40 fix problems parsing old WXME files
svn: r15684
2009-08-07 12:40:55 +00:00
Matthew Flatt
015e926c04 fix delete-time callback to release caret focus
svn: r15681
2009-08-06 16:37:49 +00:00
Matthew Flatt
757999e8e7 fix scroll-with-bottom-base and allow-scroll-to-last
svn: r15495
2009-07-20 14:50:55 +00:00
Matthew Flatt
6e01e535d9 fix backspace in keymap%
svn: r15408
2009-07-08 21:19:00 +00:00
Matthew Flatt
9c488a73c3 fix argument checking of style-delta% constructor and set-delta
svn: r15386
2009-07-05 12:47:19 +00:00
Eli Barzilay
a70bf64fd9 Newlines at EOFs
svn: r15380
2009-07-04 02:28:31 +00:00
Matthew Flatt
be229c2f5e fix mapping of del in keymap% (PR 10312)
svn: r15250
2009-06-24 12:38:02 +00:00
Eli Barzilay
66c855c2d3 Switch language readers to #lang s-exp
svn: r15188
2009-06-16 17:13:51 +00:00
Matthew Flatt
3f1b1391b8 fix wheel step in editor
svn: r15163
2009-06-13 13:26:52 +00:00
Matthew Flatt
eac11bad65 fix WXME bug related to inserting an empty string
svn: r15126
2009-06-09 21:20:31 +00:00
Matthew Flatt
dcc088305b fix bad uses of quotient in wxme
svn: r15067
2009-06-03 18:48:13 +00:00
Matthew Flatt
f63d3cc8fb fix text% inser method on a sigle snip argument
svn: r15002
2009-05-28 12:28:02 +00:00
Matthew Flatt
0b9730158e fix editor bugs related to line-wrapping, tab insertion, and pasting to the end of an editor that has been line-wrapped in the past (merge to 4.2)
svn: r14921
2009-05-22 16:24:17 +00:00
Robby Findler
d1a88fadde fixed image equality
svn: r14917
2009-05-22 01:55:48 +00:00
Matthew Flatt
2f6b572178 fix problem with tab-snip% width checking
svn: r14912
2009-05-21 22:49:34 +00:00
Matthew Flatt
af94e11d19 fix trampoline fix
svn: r14877
2009-05-19 23:58:50 +00:00
Matthew Flatt
43c8b6cafd restore (compared to old implementation) trampolines needed on some editor-canvas methods
svn: r14876
2009-05-19 23:53:36 +00:00
Matthew Flatt
17a283a28d editor and documentation repairs (merge to 4.2)
svn: r14864
2009-05-19 01:02:41 +00:00
Matthew Flatt
cee5d694ad fix pasteboard rubber-band drawing
svn: r14820
2009-05-14 19:37:08 +00:00
Matthew Flatt
5df29ea906 fix bug with editor-snip% in pasteboard% in editor-canvas% on Windows or X11 (i.e., platforms that use the offscreen bitmap for drawing editors)
svn: r14779
2009-05-12 12:52:55 +00:00
Matthew Flatt
30a3e8ced8 fix undo of delete implied by insert over a selection
svn: r14623
2009-04-27 13:02:49 +00:00
Matthew Flatt
308afeabf4 fix combo-field popdown arrow
svn: r14617
2009-04-26 22:52:58 +00:00
Matthew Flatt
4141389b84 fix some editor lock tracking
svn: r14614
2009-04-26 15:24:50 +00:00
Matthew Flatt
4bc2ddaf9d snip and editor-data class lists need to be eventspace-specific
svn: r14575
2009-04-21 16:37:25 +00:00
Matthew Flatt
82b9ab8a53 fix excessive redraw after changes within an editor
svn: r14549
2009-04-18 01:38:18 +00:00
Matthew Flatt
4b3626c156 fix inverted argument default for editor<%> read-from-file method; better Check Sytax results on packages; added syntax/flatten-begin library
svn: r14548
2009-04-17 22:50:19 +00:00
Matthew Flatt
709ad23400 performance improvements: class local-field access uses accessor with index built in (so the index is checked once); JIT partially inlines struct-field mutation
svn: r14530
2009-04-16 19:01:20 +00:00
Matthew Flatt
119c69e1ad fix some problems and inefficiencies in saving and loading wxme streams
svn: r14526
2009-04-15 22:27:43 +00:00
Matthew Flatt
8001b11c03 under Windows, editor-canvas% needs to set its own focus on mouse clicks
svn: r14516
2009-04-14 23:08:51 +00:00
Matthew Flatt
0f9cb4882d fix problem with keymap chaining and prefix bindings
svn: r14513
2009-04-14 16:38:37 +00:00
Matthew Flatt
6082e6a9c3 fix CDLF conversion when loading a text file into an editor
svn: r14512
2009-04-14 16:21:09 +00:00
Matthew Flatt
09bec206d6 fix cross-canvas-editor-admin call to do-scroll-to
svn: r14500
2009-04-13 23:11:08 +00:00
Matthew Flatt
9371f69eef fix problems with editor stream reading
svn: r14497
2009-04-13 12:37:48 +00:00
Matthew Flatt
d33997c2c7 fix snip% previous method
svn: r14495
2009-04-13 02:18:26 +00:00
Matthew Flatt
767d5dde33 fix tab-paste bug and missing default for read-editor-version
svn: r14493
2009-04-11 22:40:27 +00:00
Matthew Flatt
04a8e21cf2 fix style font-face problem
svn: r14491
2009-04-11 14:48:23 +00:00
Matthew Flatt
ccf5809b45 pasteboard printing fix & editor-canvas chaining fix
svn: r14490
2009-04-11 14:07:39 +00:00
Matthew Flatt
c98e4e0881 pasteboard printing fix
svn: r14489
2009-04-11 13:37:14 +00:00
Matthew Flatt
8fe203ad72 editor-canvas clean-up of internal scroll method
svn: r14481
2009-04-09 23:22:50 +00:00
Matthew Flatt
0657fc52cf another fix from Ryan, plus one that didn't get committed before
svn: r14479
2009-04-09 21:29:51 +00:00
Matthew Flatt
bd9d17c94f more wxme repairs from Ryan
svn: r14478
2009-04-09 16:40:52 +00:00
Ryan Culpepper
b6b917a4b9 mred/private/wxme: fixed some method arities and defaults
svn: r14477
2009-04-09 14:59:19 +00:00
Matthew Flatt
49852a87fc fix forward-word bug for words > 30 characters
svn: r14475
2009-04-09 12:43:10 +00:00
Matthew Flatt
d74cb0735d fix set-bitmap in image-snip% (PR 10188)
svn: r14471
2009-04-08 23:34:41 +00:00
Matthew Flatt
0e7e85269d pasteboard snip-sizing repairs
svn: r14464
2009-04-08 13:16:51 +00:00
Matthew Flatt
406d0774c9 some pasteboard repairs
svn: r14462
2009-04-08 12:42:25 +00:00
Matthew Flatt
28ce21c23b fix bug in case-sens vs. case-insens find-string for text%
svn: r14460
2009-04-08 09:51:38 +00:00
Matthew Flatt
1d26e97a35 Scheme-implemented editor classes; on-demand instantiation of module phases
svn: r14445
2009-04-07 17:12:22 +00:00
Matthew Flatt
a016c8c108 shortcut selection of checkable menu item should toggle checkmark (merge to 4.1.4)
svn: r13220
2009-01-19 12:28:37 +00:00
Matthew Flatt
cf2e98eb92 size-cache-invalid for editor<%>
svn: r13120
2009-01-14 20:29:37 +00:00
Robby Findler
72b7e59851 fixed eps? argument to pasteboard print method
svn: r13060
2009-01-10 23:16:40 +00:00
Matthew Flatt
78ec585827 fix print method of editor<%> classes
svn: r13038
2009-01-08 17:33:44 +00:00
Matthew Flatt
1642a84e69 add equal?/recur; implement equal? for image-snip% via properties
svn: r12950
2008-12-29 22:36:53 +00:00
Matthew Flatt
35599a8955 avoid duplicate subwindow callbacks in a text-field%
svn: r12648
2008-11-30 13:34:12 +00:00
Matthew Flatt
51f5d193dd adjust editor-cavas% refresh to clear border before calling on-paint
svn: r12198
2008-10-31 15:08:21 +00:00
Eli Barzilay
062152e711 fixed PR9806 and PR9807
svn: r11940
2008-10-05 04:42:48 +00:00
Matthew Flatt
afd3cd3729 release mred internal lock during canvas set-editor super call
svn: r11748
2008-09-14 14:48:08 +00:00
Matthew Flatt
54ffac164a reduce right padding of a mac os x message%; add space between a text-field% label and edit box (on all platforms)
svn: r11392
2008-08-22 21:40:10 +00:00
Eli Barzilay
4030ac05a5 avoid full paths to dlls
svn: r11182
2008-08-11 15:00:45 +00:00
Eli Barzilay
790a5ad30d script-installer.ss -> installer.ss
svn: r11181
2008-08-11 12:24:16 +00:00
Eli Barzilay
08d948e60e use single-instance? just in case
svn: r11166
2008-08-09 06:21:51 +00:00
Eli Barzilay
48c9ec302a add a "mred-text" executable
svn: r11164
2008-08-09 06:16:14 +00:00
Matthew Flatt
5aaaa42377 fix OK and Cancel button order in MrEd built-in dialogs
svn: r11143
2008-08-08 11:29:26 +00:00
Matthew Flatt
5ff90cdd42 fix checkable menu delete/restore
svn: r10908
2008-07-25 12:38:43 +00:00
Matthew Flatt
e137994b5c add on-reflow to text% and auto-size to message%
svn: r10890
2008-07-24 01:35:31 +00:00
Matthew Flatt
6c43d23bc4 add editor-scroll-to method of editor<%>
svn: r10860
2008-07-22 13:17:09 +00:00
Matthew Flatt
5dbd83d8c2 rebuild kernel file to add text% position-locations
svn: r10852
2008-07-21 20:39:19 +00:00
Matthew Flatt
9af00fcfb4 v4.0.2.4: logging
svn: r10818
2008-07-17 15:20:17 +00:00
Matthew Flatt
4525e63050 Add %%DocumentFonts to PS output
svn: r10453
2008-06-25 21:10:46 +00:00
Eli Barzilay
c9f5e15ee0 use expand-user-path so "~"s work again
svn: r10262
2008-06-14 03:48:50 +00:00
Matthew Flatt
69f4097020 fix 'gui-dynamic?' more
svn: r9983
2008-05-27 18:34:42 +00:00
Matthew Flatt
c7201b8982 fix 'gui-available?' (PR 9415)
svn: r9976
2008-05-27 12:43:35 +00:00
Danny Yoo
87f8e830b6 Fixing type error in path dialog.
When the directory is bad, we need to send a list of path-labels; the
original code would pass in a path object and would emit a contract
error of the form:

dyoo@kfisler-ra1:~$ set in list-box%: expected argument of type <list of strings (up to 200 characters)>; given ("Bad Directory:" #<path:/home/dyoo/tmp/>)

svn: r9868
2008-05-16 19:08:35 +00:00
Matthew Flatt
31d9a7d885 use-file-text-mode
svn: r9847
2008-05-15 15:29:40 +00:00
Matthew Flatt
d34656a408 floating windows should not become targets for Quit menu, etc.
svn: r9814
2008-05-12 15:47:12 +00:00
Matthew Flatt
5a367ba427 fix mred handling of errors within critical sections
svn: r9710
2008-05-07 00:33:03 +00:00
Robby Findler
ee9fc4a8d7 reworked the buttons along the top of drscheme
svn: r9578
2008-05-01 23:15:06 +00:00
Matthew Flatt
aa1a56c3fd mred -z and textual-read-eval-print-loop
svn: r9285
2008-04-13 17:09:18 +00:00
Matthew Flatt
6c4ab3dad7 don't allow menu access via shortcuts when then entire menu bar is disabled
svn: r9238
2008-04-10 12:58:23 +00:00
Eli Barzilay
b76390a452 revise the way setup-plt crawls over the collection trees
svn: r8860
2008-03-03 22:04:28 +00:00
Eli Barzilay
bb34f747b6 make all files terminate with a newline
svn: r8786
2008-02-24 21:27:36 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +00:00
Eli Barzilay
699c40643d * Changed setup-plt to compile collections if they have an "info.ss"
file.  (That is, it does not require the file to have a `name'
  entry.)

* The name shown when setup works is the directory name, followed by
  the `name' field from the info file when specified.

* This means that many `name's are no longer needed, so I'm removing
  them.  To see if you need a `name' entry, consider that the name
  will be shown like this:
    ... foo (<your name here>)
  This means that if the name is the same as the directory name, then
  there is no point in having it.  I also removed cases where the name
  differed only in its capitalization for collections where the case
  is obvious.

* Also, for subcollections, the name should clarify the name of the
  subcollection in context.  For example "Acknowledgments" explains
  what scribbling/acks is, but there's no need to add the context name
  as in "Scribblings: Acknowledgments".

* There may also be a point in keeping names for other uses.  One such
  example was in games, where the name field was used in the PLT Games
  application.  (This was changed to default on the directory name, so
  it is no longer needed in most games.)  Another example is in planet
  packages.

svn: r8629
2008-02-12 10:33:01 +00:00
Eli Barzilay
3c72e71e24 switched info.ss files to #lang
svn: r8532
2008-02-04 23:00:35 +00:00
Eli Barzilay
59b5f3a727 removed unused doc.txt entries from info.ss files
svn: r8529
2008-02-04 20:31:04 +00:00
Robby Findler
12be0ae53b undid last commit to remove timing printouts
svn: r8425
2008-01-26 14:39:49 +00:00
Robby Findler
288fb78029 made memory limits be on by default and improved 'killed' dialog to turn up the limits
svn: r8424
2008-01-26 14:37:55 +00:00
Eli Barzilay
e0a1433643 update version to 400 for v4
svn: r8212
2008-01-04 22:03:58 +00:00
Robby Findler
13a92b3a3c undid last commit to remove timing printouts
svn: r8197
2008-01-03 19:09:00 +00:00
Robby Findler
3cf6ed4673 mostly finished the contract library changes
svn: r8195
2008-01-03 18:10:43 +00:00
Matthew Flatt
622cd0554d revised mzlib/sandbox in scheme/sandbox
svn: r7965
2007-12-12 13:47:02 +00:00
Matthew Flatt
246c14c833 patch to MrEd menu system from Danny
svn: r7805
2007-11-21 19:59:51 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Mike Sperber
3ab3a7300c Fix a problem with loading and saving files, specifically those with
metadata:

If there is an error opening the file to be saved for write,
`on-save-file' is called, but `after-save-file' isn't.  As
`on-save-file' creates the metadata, and `after-save-file' zaps it
again, corruption results.  To fix, open the file inside the relevant
`dynamic-wind' rather than before.

The analogous problem existed with loading.

svn: r7602
2007-11-01 09:31:59 +00:00