Commit Graph

227 Commits

Author SHA1 Message Date
Matthew Flatt
60c5ad33e3 cocoa: make grow-box-spacer zero-width for 10.7
original commit: 3941a5d04f71a7d17f9ad341b30e2d6acde098c8
2011-10-04 12:59:18 -06:00
Matthew Flatt
6c3d889b93 fix keyboard navigation (all platforms)
Also, fix `set-selection' in `list-box%' to not invoke the
tab panel's callback function (cocoa & gtk).

original commit: 4535f5d8cc0fe4d0c3c360d7527980b1c3b7e39a
2011-09-30 13:44:24 -06:00
Matthew Flatt
f0ee216da1 add -J/--wm-class argument to set the WM_CLASS class on Unix
original commit: f9dabb89945ec99dfa59c916eb947bddfe15f841
2011-09-26 18:07:18 -06:00
Matthew Flatt
a1a02c65c6 racket/gui: fix excessive on-size' and on-move' callbacks
Especially for gtk, where a client-resize notification was
getting mixed up with a frame-configure notification. On all
platforms, `on-size' and `on-move' for a frame% were queued
at too high a priority.

original commit: 2ecd32b86e0458ae70a403a68ef342f6fdb829a7
2011-09-10 14:37:13 -06:00
Matthew Flatt
0b74b321d5 cocoa, gtk: enable auto list-box% horizontal scrollbars
Closes PR 12149

Also adjust id on NSTableColumn to be a string, because a Cocoa
warning on Lion told me to.

original commit: ec25a74b97f0ab7a487c5fd8c7c89d2900a84ad5
2011-09-10 11:14:52 -06:00
Matthew Flatt
cf84b6b496 get-diplay-size' and get-display-left-top-inset' use #f for failure
Since the number of monitors can change at any time, reliable
use of these functions requires handling failure in some way.
Handling #f results is easier (and less likely to mask other
problems) than catching exceptions.

original commit: ce4705cedce9dc6f1658e93245d07f739e26a19b
2011-09-09 17:03:17 -06:00
Matthew Flatt
a3b41a2b44 gtk: make list-box% min size non-zero for content
original commit: 594447ae7ef0b0e1a171bd5897482153f0c4a4f4
2011-09-03 10:44:37 -06:00
Matthew Flatt
86767f1454 gtk: fix menu-item shortcut updating
original commit: 459d2422e3ad8383e2a580bef3ddf4c67c65867c
2011-09-01 07:14:06 -06:00
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
93e964e2ff gtk: fix frame for text-field%' and other canvas%'es
original commit: 8264e7758539bc2e27385e77839dcfce2ef38948
2011-08-16 08:12:31 -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
81ebd9a26b gtk: set app name on startup
Closes PR 11896
Closes PR 11408

original commit: 941dacd966913ebbeca150e0b5cd193788b5bd90
2011-08-04 09:27:05 -06:00
Matthew Flatt
ec385591fa gtk: fix frame position tracking
Closes PR 11931

original commit: cdf20857039ab5e235629e80c61bc7296f77e5d0
2011-08-04 06:45:18 -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
Sam Tobin-Hochstadt
9a24ed8a3a Pass the correct number of arguments to `display-size'. Closes PR 12062.
original commit: f67d46cd2fee984927344c161f1a91301dbe4454
2011-07-19 17:04:51 -04:00
Matthew Flatt
15bfdb93aa add get-display-count' and #:screen argument to get-display-size'
and to `get-display-left-top-inset'

 add -M <monitor> option to Slideshow

original commit: 23a2a075eaa636b27ec0700a054d49989ae53a0e
2011-07-18 20:15:15 -06:00
Matthew Flatt
bd5f04dc44 gtk: `get-display-size' reports main monitor only
and the same for `get-display-left-top-inset'

original commit: b096fb7503501961f7f42df162750823ea772f3d
2011-07-18 19:59:05 -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
21db4d7457 git: fix "&" and "_" handling in labels
original commit: ff49859c800cff72f662308475aafda098f20950
2011-07-06 09:54:57 -06:00
Eli Barzilay
ef528b7fc5 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)

original commit: 40124a0619da5e187d95aeb1dde237f05d6f9c6b
2011-06-28 02:01:41 -04:00
Matthew Flatt
4ba8900913 gtk: fix menu-bar height handling to work right with Ubuntu's patch to support out-of-frame menu bars in Unity
original commit: b4e3e065ac64afa0c3b79b8031fdcb148e1e0025
2011-06-20 14:46:14 -06:00
Matthew Flatt
df75f1f513 fix initial panel size
so that it doesn't force an enclosing frame to grow

original commit: da2b3f94fb732048b8c4dd013ebe8bb35150f468
2011-06-20 10:28:56 -06:00
Eli Barzilay
4a7d60f87e Split the glob patterns on ";", and add them all to the gtk dialog.
original commit: 42fe92cd257741aa308cf834a0e9d23dfdf5f6f0
2011-06-02 09:33:53 -04:00
Matthew Flatt
0b6c46ab1f gtk: fix self X-selection handling
original commit: 5c5e6039dfeaa178792d6a16dccbd84a39264d2f
2011-05-24 13:22:01 -06:00
Robby Findler
bd143e105d Adjust the menubar sizing code to explicitly take
into account the size of the dummy menu item that
was added.
  related to PR 11926
  related to PR 11893
  related to PR 11623
  related to PR 11917

original commit: df6be6e7f189294c0fa31139549b14f69e1cd427
2011-05-17 11:02:26 -05: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
2273e70c10 gtk: fix button enable when mouse is over button
original commit: 49903be78fb4b0d9ad297b2b792775bf1d9762d9
2011-04-15 16:54:49 -06:00
Matthew Flatt
cc9dc765c3 gtk: fix over-eager attempt at alt- menu activation
Closes PR 11843

original commit: aabd5f7bd2e0b71ad218f9f0475abcd64e4b9afa
2011-04-11 07:39:40 -06:00
Matthew Flatt
ca0ee2dd53 gtk, cocoa: fix auto-sizing of text `message%'s
original commit: 71df6ddc051414540ff4e80503b5b4f7aec78ee9
2011-04-08 14:22:17 -06:00
Matthew Flatt
9722fe9427 add 'wheel-left and 'wheel-right events
original commit: b0115ee3605259d0e79c369e4bc11203e417c32d
2011-04-03 09:49:56 -06:00
Matthew Flatt
9f4be33c93 fix support for a string result from get-data' of clipboard-client%'
and properly report an error when the result from `get-data' is not
  allowed
 Closes PR 11821

original commit: d77c92d0878384024a3b00f6bfaa7fe3214493f6
2011-03-27 10:51:46 -06:00
Matthew Flatt
fad6afd890 add `get-device-scale' to dc<%>
original commit: e8cb27c08c221a16bf0a543a390a0a90d945a918
2011-03-15 07:37:42 -06:00
Matthew Flatt
c7cc6c7e26 gtk: fix slider value display
original commit: 051ec4736dccf5ac86d02c958c830b931d605617
2011-03-11 02:50:06 -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
d8c8812f87 fix get-column-width' method of list-box%'
by changing the name to match the docs, plus some other
  bug fixes triggered by better testing
 Closes PR 11780

original commit: fdef90e482ddd066f8a131343308e856c76df902
2011-02-28 19:12:34 -07:00
Matthew Flatt
851c476430 racket/gui: scrollbar support panels
original commit: 93e1467b8bc8a6045233f8f8e79a1fb0ac15a091
2011-02-24 13:23:51 -07:00
Matthew Flatt
aaf5c41566 multi-column support in list-box%
original commit: 137d96c08917ad5dd636a26d2d32c746f5c7e7b0
2011-02-21 13:58:57 -07:00
Matthew Flatt
225853d5c7 gtk: keep popup menus on the screen
Closes PR 11414

original commit: 97870282c2b70f23dfaea9969106454f6b718166
2011-02-19 19:42:20 -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
ebaef0c71b fix `set-icon' in frame% to make mask argument optional
Merge to 5.1

original commit: f4a881f0e37f291c604ae40ab52d2e36ca411609
2011-02-09 09:01:34 -07:00
Matthew Flatt
13af6a6145 gtk: fix X selection for older Gtk versions
Merge to 5.1

original commit: f21f0bdba2af7282b747e858d81379135a5189a9
2011-02-09 07:41:57 -07:00
David Van Horn
5007d739fc Fixed various spelling errors.
original commit: c9519fd11300b07292df8619e86f48533eff6e4d
2011-02-03 17:42:33 -05:00
Matthew Flatt
c49deb88ce gtk: map left-tab key to #\tab
Closes PR 11697
 Merge to 5.1

original commit: 0eed4e9462a227326b2edd0e1c4b2d6e739043b4
2011-02-02 06:46:03 -07:00
Matthew Flatt
246ad236f0 gtk: fix drag-and-drop URI decoding
Closes PR 11695
 Merge to 5.1

original commit: 2d01241f7ad3c3905a9629c6aa33ad7cd4c7e653
2011-02-02 06:32:51 -07:00
Matthew Flatt
a9a6759f1f gtk: force display of images in button labels
Merge to 5.1

original commit: 7291d944c34b50f958896b4013121777adc4f8e3
2011-02-02 06:05:03 -07:00
Matthew Flatt
3981ea12a7 gtk: fix float frames to not appear in WM's window list
original commit: 45999143a4ad550520404299dd1fb2e38a4ee3d7
2011-01-27 12:25:53 -07:00
Matthew Flatt
b1f7ed6927 gtk: list-box dclick
original commit: 08bf77deeb260e91545a4df83dd4e5a5c3a00a99
2011-01-27 12:26:23 -07:00
Matthew Flatt
bf83ef5244 gtk: remove debugging printf
original commit: cef9f90c27535b11fc6c70022885f8f170620a6d
2011-01-22 13:30:05 -07:00
Matthew Flatt
bddc0747cc gtk: fix reparent problem with parent-relative location is unchanged
original commit: 127d563bd881b4531464d59bd9a27c2a46374865
2011-01-22 13:10:01 -07:00