Commit Graph

67 Commits

Author SHA1 Message Date
Matthew Flatt
546faf8b34 fix gl canvas created after parent is shown
Merge to 5.1.1
2011-04-16 13:24:58 -06:00
Matthew Flatt
cd4d3e3d95 gtk: fix dragging events
Closes PR 11786
2011-03-08 07:55:53 -06:00
Matthew Flatt
93e1467b8b racket/gui: scrollbar support panels 2011-02-24 13:23:51 -07:00
Matthew Flatt
85951bf665 gtk: smoother editor-canvas resize
- call `on-size' on setting the canvas size, like Win32 and Cocoa,
   which mainly shows/hides auto-shown scrollbars more on time
   (e.g., DrRacket doesn't start with horizontal scrollbars that
   immediately disappear)
 - switch mouse tracking to "hint" mode, instead of catching every
   single mouse position
 - when queueing `on-size' methos in response to client-size changes,
   cancel and queued but undelivered calls; in the case of editor
   canvases, this doesn't really have an effect, due to the other
   `on-size' call
 Closes PR 11369, hopefully
2011-02-19 16:10:00 -07:00
Matthew Flatt
d8e123753c gtk: enable input-method (e.g., Chinese) support 2011-01-17 18:28:31 -07:00
Matthew Flatt
ae5093a134 more consistent on-size' and on-move' 2011-01-05 10:00:07 -07:00
Matthew Flatt
15fa34b091 gtk: tolerate absence of a minor combo_box function 2010-08-12 19:52:37 -04:00
Matthew Flatt
5ea0c93e0f gtk: combo-field% fixes
Closes PR 11569
2010-12-28 14:58:22 -07:00
Matthew Flatt
0c4d2e332c fix transparent-canvas detection 2010-12-17 10:46:06 -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
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
d7f1d12ea1 clean up 2010-11-05 15:54:49 -06:00
Matthew Flatt
4f2e59e7a6 some fixes prompted by the test suite 2010-11-05 15:54:48 -06:00
Matthew Flatt
27f18efa88 gtk: make gl support optional and also clean up some unneeded unimplementeds 2010-11-05 15:54:41 -06:00
Matthew Flatt
18c99e52a5 cocoa & gtk: color dialog 2010-11-05 15:54:39 -06:00
Matthew Flatt
bc509c86cd gtk: fix gl canvas painting 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
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
5dd568050b move collecting-blit helper to common code 2010-11-05 15:54:35 -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
bdc9538244 gtk: fix scroll change to not generate callback 2010-11-05 15:54:30 -06:00
Matthew Flatt
f40e7edae8 unify cocoa & gtk canvas-painting implementation 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
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
af499e3039 fix focus and frame-modified problems 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
e72cf85175 toward better refresh for gtk & other bug fixes 2010-11-05 15:54:23 -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
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
ae05eddf14 generalize editor selection mechanism to support Windows style 2010-11-05 15:54:19 -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
7edbdd8a5a streamline gtk widget repositioning 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
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
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