Commit Graph

72 Commits

Author SHA1 Message Date
Matthew Flatt
010ea2bf06 gtk: fix border (when requested) for canvas% with scrollbars
original commit: 9d5f45a9d1ff254b2d677801ced48026f9948fa6
2011-09-01 07:14:05 -06:00
Matthew Flatt
556a322e3c implement 'border style for `panel%'
original commit: 461af202c5cfa17351ff3758ab29f9eda61cf38d
2011-08-13 07:00:51 -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
7bb7496c79 gtk: fix refresh freeze/thaw and reparent interaction
Closes PR 11947

original commit: 37c43c23d62826f7d78fab46ccaa8e9f10bc851d
2011-08-02 20:00:56 -06:00
Matthew Flatt
d71e63c4b8 change GDK_POINTER_MOTION_HINT_MASK back to GDK_POINTER_MOTION_MASK
because HINT doesn't works as expected, and the problem it
 seemed to solve at one time (slow resize in DrRacket) seems
 to have been fixed some other way. GDK_MOUSE_MOTION_MASK
 isn't needed, since GDK_POINTER_MOTION_MASK covers it.

 Merge to 5.1.2

original commit: 5edc0c70afc1e2aeada096f0eb50c92c0f9d8b65
2011-07-16 14:30:08 -06:00
Matthew Flatt
ddfb73600f fix gl canvas created after parent is shown
Merge to 5.1.1

original commit: 546faf8b347e822919773796ae5a8b86a9b39d92
2011-04-16 13:24:58 -06:00
Matthew Flatt
1e6758321e gtk: fix dragging events
Closes PR 11786

original commit: cd4d3e3d95538e902d5d0e0aa98816876e387d93
2011-03-08 07:55:53 -06:00
Matthew Flatt
851c476430 racket/gui: scrollbar support panels
original commit: 93e1467b8bc8a6045233f8f8e79a1fb0ac15a091
2011-02-24 13:23:51 -07:00
Matthew Flatt
e59e323428 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

original commit: 85951bf665207db4539fe97cd86b7f924c83eac5
2011-02-19 16:10:00 -07:00
Matthew Flatt
d6e4425fbb gtk: enable input-method (e.g., Chinese) support
original commit: d8e123753c40fadc6d51513cf1fa5e4eca614bc8
2011-01-17 18:28:31 -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
cc937ffeda gtk: tolerate absence of a minor combo_box function
original commit: 15fa34b09191d05b0bcd79e7939fba12a63beba4
2010-08-12 19:52:37 -04:00
Matthew Flatt
243761a92e gtk: combo-field% fixes
Closes PR 11569

original commit: 5ea0c93e0f8b26c9febcb49b274d39fd926306e0
2010-12-28 14:58:22 -07:00
Matthew Flatt
9207f225d4 fix transparent-canvas detection
original commit: 0c4d2e332c185da7832ddb394b4bdccd67d57ae2
2010-12-17 10:46:06 -07:00
Matthew Flatt
30d1312fab cocoa and gtk: make combo-field% `on-popup' work better
original commit: c9e778c54137b1fe1468e9ef46a242245572e9e1
2010-12-16 10:48:28 -07:00
Matthew Flatt
5c18c9a5f3 cocoa and gtk: fix combo% `on-popup' method
original commit: 39596efef5a79c81475f3a2a5e78420b924a9a84
2010-11-05 15:54:56 -06:00
Matthew Flatt
7d3393f07f gtk and cocoa: add flush method to canvas% and fix periodic flush
original commit: b9f3957a767f3530f8a1e27a7be8ca4852e581f9
2010-11-05 15:54:55 -06:00
Matthew Flatt
303034be6f gtk: periodic canvas flushing
original commit: 72a19d2ab37e2e96974eb3dcf80fc39f3896a11a
2010-11-05 15:54:54 -06:00
Matthew Flatt
37e47fcdda cocoa & gtk: fix some test failures
original commit: e033d9edf157e015103a9652cea70c803990e3a0
2010-11-05 15:54:54 -06:00
Matthew Flatt
c14bee176f clean up
original commit: d7f1d12ea1c16d5ed062a8ac8fe2fe47db267f15
2010-11-05 15:54:49 -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
8b11d03f69 gtk: fix gl canvas painting
original commit: bc509c86cd1c306bc7ad1520bc634081f862248f
2010-11-05 15:54:38 -06:00
Matthew Flatt
08544f18b2 win32: canvas gl, almost
original commit: b9e6ffe18c651d58bd32c8fc50f171edd5acf878
2010-11-05 15:54:38 -06:00
Matthew Flatt
9875174de8 gtk: more gl
original commit: b2981f05b20b1de40fd21e11e8d088a717d74e40
2010-11-05 15:54:37 -06:00
Matthew Flatt
476e1c33b2 gtk: first cut at gl support
original commit: 1a2ffacbbe811113db305d3cb269fdcb5e6ad024
2010-11-05 15:54:37 -06:00
Matthew Flatt
5c3ee6847e move collecting-blit helper to common code
original commit: 5dd568050b8ea693302f71561406d7be5e3bdfec
2010-11-05 15:54:35 -06:00
Matthew Flatt
2c639351de win32: canvas autoscroll
original commit: b459fcf91cee9470fbe5de9332b09940d0c6b95b
2010-11-05 15:54:34 -06:00
Matthew Flatt
b7e73d0935 move gtk+cocoa canvas autoscroll support to common mixin
original commit: 682355def4fe957d1fedfbd22c8453fde1d489bd
2010-11-05 15:54:34 -06:00
Matthew Flatt
57a851d11e gtk: fix scroll change to not generate callback
original commit: bdc9538244bb8da32ae0ed243318733a2911c280
2010-11-05 15:54:30 -06:00
Matthew Flatt
061d523adf unify cocoa & gtk canvas-painting implementation
original commit: f40e7edae886dc09f8bbb979911fd42f824aaf85
2010-11-05 15:54:27 -06:00
Matthew Flatt
02e931391d screen dc corrections and clarifications
original commit: 5ebfa781bdc4a6ee9bf41f01cef1c76dde36e78c
2010-11-05 15:54:27 -06:00
Matthew Flatt
5c533a1695 add make-screen-bitmap and canvas% make-bitmap; specialize for X11
original commit: 51aacfe949cfd30dea4c37dc5d3c376edcb29ff7
2010-11-05 15:54:26 -06:00
Matthew Flatt
4babb26533 fix gtk collecting blit to revert immediately when gc ends
original commit: bff39a1832548796a06e58d0810827b89a5bc984
2010-11-05 15:54:26 -06:00
Matthew Flatt
4ab3da47a9 fix focus and frame-modified problems
original commit: af499e303930f8ba117f979bb1fa260416c55152
2010-11-05 15:54:25 -06:00
Matthew Flatt
10762db8c3 collecting blit for gtk
original commit: a2f02f6f39ae7cb5158d8e6ba88083dc23225665
2010-11-05 15:54:24 -06:00
Matthew Flatt
921d351bf6 toward better refresh for gtk & other bug fixes
original commit: e72cf8517584c9904a5279c2cd7d587d372f67f6
2010-11-05 15:54:23 -06:00
Matthew Flatt
d93d8e5dfc fix yet another refresh problem
original commit: 6d8bb2cab4d9d0a4ec24cbf885c41e13c9771570
2010-11-05 15:54:22 -06:00
Matthew Flatt
f37b3304f2 fix text-drawing performance
original commit: 0e64be35b7610d3e622f20dd121482b897581b91
2010-11-05 15:54:21 -06:00
Matthew Flatt
8a6417f3e6 more attempts to avoid flicker
original commit: f13b569b751559a2be7ae39c690dff34ebd29fa7
2010-11-05 15:54:21 -06:00
Matthew Flatt
68f291d8f8 key release events
original commit: 8c9e2397986bf7fb51ff1f049b1c2a474a5fb588
2010-11-05 15:54:21 -06:00
Matthew Flatt
6c367a0dcb new queue level for refresh events
original commit: f1e2db412f45217bbcdf362c2bdc5186089284e7
2010-11-05 15:54:20 -06:00
Matthew Flatt
c31c8b9163 more cocoa refresh refinements
original commit: 31e46eb8b3ef9a0a0f4ed3c18580718c9b6520ad
2010-11-05 15:54:20 -06:00
Matthew Flatt
b4d34b0b32 generalize editor selection mechanism to support Windows style
original commit: ae05eddf1437b8ae465d9bdfe8a605f7db022765
2010-11-05 15:54:19 -06:00
Matthew Flatt
f7caa3965b fix problems with gtk canvas client size and with checkable menus
original commit: 6772afbd2eca2c2e145cd81e9d3dadaa6c1412f7
2010-11-05 15:54:18 -06:00
Matthew Flatt
4cc2244c0c streamline gtk widget repositioning
original commit: 7edbdd8a5a13b826977d5531fee4e16e909d2e9e
2010-11-05 15:54:15 -06:00
Matthew Flatt
a4305ae6a2 finish pinning down gtk allocation
original commit: 43aeaacd7a598f834002b75b1ee72f4b7cd04b85
2010-11-05 15:54:15 -06:00
Matthew Flatt
865a4b4671 clean up lock library and uses
original commit: a9ffced9b8537987c584b206d04e824e54ada965
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