Commit Graph

62 Commits

Author SHA1 Message Date
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
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
be21cd76e4 cocoa: fix problems with live-resize
that were created by the queue-sync change

original commit: 8cbc7016717d7f80ff932c64f25d3cd734e29bbb
2011-01-26 12:57:01 -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
399739686d clean up pre-drawing of canvases for a frame to show
original commit: a3adf07fd256f765153836a22081f6d1d98a5f8f
2010-12-24 20:09:16 -06:00
Matthew Flatt
ec70e25288 cocoa: fix interaction of combo-field% popup and canvas refresh
and also reduce work on redundant show/hide of canvas
 Closes PR 11557

original commit: 975c2400a1e994f48938b61dd26aa61738dcda37
2010-12-19 18:58:27 -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
eafc586bf3 cocoa: fix race condition on window enabling
original commit: 37d16cf8f81a5b486ca79d5c6b6695de5dc95455
2010-11-30 09:32:58 -07:00
Matthew Flatt
48abd21d7c cocoa: fix enable & disable of windows
original commit: 262531e23121a4a11b5e683923a961712d003b10
2010-11-28 08:01:06 -07:00
Matthew Flatt
93b21b51b1 cocoa: try to fix problem with drifting gc-blit window
original commit: 510c3f8a3362fe67979e805910b90c5bd440f586
2010-11-23 10:02:45 -07:00
Matthew Flatt
624863e760 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

original commit: 1c6f745ac162c91532c75e2bb0a0922c4b3fefab
2010-11-12 20:39:58 -07:00
Matthew Flatt
e107945482 cocoa: fix a double vs. float mismatch in getting scroll positions
original commit: 53febbeb6c37cb671c6a614b699d8bad649bde3a
2010-11-06 21:22:52 -06: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
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
31a364e892 ppc cocoa
original commit: 2cebc60eca44c78a441f89a825dd1eb3d60db7d7
2010-11-05 15:54:45 -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
c0429ba8db `make-gl-bitmap' for cocoa and maybe gtk
original commit: 0a47a81aba1c9e2f88984357b0d665700a360ee1
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
b6651db0ba cocoa: opengl canvases
original commit: 1bddb120f9f460e089d926f3f57f6618b733e6a5
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
b7e73d0935 move gtk+cocoa canvas autoscroll support to common mixin
original commit: 682355def4fe957d1fedfbd22c8453fde1d489bd
2010-11-05 15:54:34 -06:00
Matthew Flatt
6698d00cbb cocoa: control-border in canvas%
original commit: 631f0a6e347974f44a6560ab98e133b28bb89901
2010-11-05 15:54:33 -06:00
Matthew Flatt
061d523adf unify cocoa & gtk canvas-painting implementation
original commit: f40e7edae886dc09f8bbb979911fd42f824aaf85
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
4ab3da47a9 fix focus and frame-modified problems
original commit: af499e303930f8ba117f979bb1fa260416c55152
2010-11-05 15:54:25 -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
1c4ee63662 collecting-blit for cocoa
original commit: 0691f0491e72728cba7769c2b2a9502bbd926d8b
2010-11-05 15:54:23 -06:00
Matthew Flatt
4e23681799 still again yet another refinement to cocoa refresh
original commit: 748115fe91205e5df2128d8ea4f12b7ec8fa5076
2010-11-05 15:54:22 -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
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
9c68ef1f45 fix various cocoa problems
original commit: 8ed2fba67d2503b31b8caadf30e191e729d46a62
2010-11-05 15:54:20 -06:00
Matthew Flatt
e9bea2c193 cocoa tab-panel in no-border mode uses PSMTabBarControl
original commit: 15a7a2a006b3ee501b098a801a6b8bd26f439b24
2010-11-05 15:54:17 -06:00
Matthew Flatt
35aaa3a0fb cocoa cursors
original commit: 40c1c2ffef5f5ee4972ac6ef98b050e13cd8ab34
2010-11-05 15:54:16 -06:00
Matthew Flatt
cb571363a9 misc repairs
original commit: 0114b7a4a5966fea451c92c532bbb86bb638266e
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
Matthew Flatt
ad1eed5071 restore auto-scroll canvases; fix text-rotation bug
original commit: cc55bd7e93a521456d5b4cd17a061df4a447319d
2010-11-05 15:54:12 -06:00
Matthew Flatt
a4eeceff33 new cocoa canvas-refresh strategy
original commit: 7a7658e86d209a9de522e72116ba36c3b9466f2d
2010-11-05 15:54:12 -06:00
Matthew Flatt
f67eea2b7a yet more cocoa canvas repairs
original commit: f716ae049a730cbc9fc17c974087cce78ababcc1
2010-11-05 15:54:11 -06:00
Matthew Flatt
afee071c5c fix cocoa pref menu
original commit: dedba7a441ea2b3e71700a149c0b913f91a1af0f
2010-11-05 15:54:11 -06:00
Matthew Flatt
55f34df7de fix canvas dc size reporting
original commit: b69d4322afd417c9b354ea3ca0ba2150fe113119
2010-11-05 15:54:10 -06:00