Commit Graph

828 Commits

Author SHA1 Message Date
Matthew Flatt
594447ae7e gtk: make list-box% min size non-zero for content 2011-09-03 10:44:37 -06:00
Matthew Flatt
34eb5ec983 cocoa: fix application about handler
Closes PR 12165
2011-09-03 10:35:55 -06:00
Matthew Flatt
b4ef9a09a9 cocoa: fix menu when two layers of dialogs are dismissed 2011-09-03 10:35:55 -06:00
Matthew Flatt
f5e534fd87 win32: fix canvas refresh
Refresh was wrong in the case that a canvas had been "reset"
in certain ways, such as showing and hiding, and the canvas is
drawn on before a Win32-level refresh event was processed. In
that case `on-paint' wasn't called, and it should have been.

Closes PR 12152
2011-09-02 08:27:49 -06:00
Matthew Flatt
d857385797 cocoa: fix switch-to-gui-app for 64-bit 2011-09-02 06:27:56 -06:00
Matthew Flatt
459d2422e3 gtk: fix menu-item shortcut updating 2011-09-01 07:14:06 -06:00
Matthew Flatt
9d5f45a9d1 gtk: fix border (when requested) for canvas% with scrollbars 2011-09-01 07:14:05 -06:00
Matthew Flatt
3f11ef9b11 report some errors instead of potentially ignoring them 2011-09-01 07:14:05 -06:00
lvilnis
b0d909bd8f Fixed a bug with delete, undo and clickbacks in DrRacket 2011-08-26 06:07:57 -06:00
Matthew Flatt
8264e77585 gtk: fix frame for text-field%' and other canvas%'es 2011-08-16 08:12:31 -06:00
Matthew Flatt
461af202c5 implement 'border style for `panel%' 2011-08-13 07:00:51 -06:00
Matthew Flatt
456e9befd3 fix refresh' on window<%>'s other than `canvas%'s 2011-08-12 17:03:28 -06:00
Matthew Flatt
3ab067bc33 cocoa: fix sign on `get-display-left-top-inset' x result
Also fix frame placement on screens other than the main screen.
2011-08-10 11:13:58 -06:00
Matthew Flatt
941dacd966 gtk: set app name on startup
Closes PR 11896
Closes PR 11408
2011-08-04 09:27:05 -06:00
Matthew Flatt
71621bfd72 remove unsupported MDI styles and method
Closes PR 12042
2011-08-04 08:02:54 -06:00
Matthew Flatt
1bc8978ce8 cocoa: fix list-box scrolling
Closes PR 11948
2011-08-04 07:38:10 -06:00
Matthew Flatt
cdf2085703 gtk: fix frame position tracking
Closes PR 11931
2011-08-04 06:45:18 -06:00
Matthew Flatt
37c43c23d6 gtk: fix refresh freeze/thaw and reparent interaction
Closes PR 11947
2011-08-02 20:00:56 -06:00
Matthew Flatt
f13a669d05 add 'no-focus style to `editor-canvas%' 2011-07-25 11:30:23 -04:00
Matthew Flatt
69f7e912d2 cocoa: fix problems with sheets and focus
Avoids a problem with the file dialog when a sheet is the
current "main window" (Cocoa terminology); when the file
dialog is closed, both the sheet owner and the sheet
become the main window (in that order), so that when the
sheet goes away, the sheet owner doesn't become the main
window as it should. It seems like a Cocoa problem. The
workaround is to hook into the callback that says a
sheet went away.

Closes PR 12073
2011-07-25 11:30:22 -04:00
Matthew Flatt
8711aa6c5d work around win64 drawing problem
Merge to 5.1.2
2011-07-22 07:51:01 -06:00
Sam Tobin-Hochstadt
f67d46cd2f Pass the correct number of arguments to `display-size'. Closes PR 12062. 2011-07-19 17:04:51 -04:00
Matthew Flatt
255549c8c8 win32: fix is-maximized' in frame%'
Merge to 5.1.2
2011-07-19 08:55:33 -06:00
Matthew Flatt
c8b3763359 cocoa: fix image paste
Closes PR 12028

 Merge to 5.1.2
2011-07-19 08:12:39 -06:00
Matthew Flatt
23a2a075ea add get-display-count' and #:screen argument to get-display-size'
and to `get-display-left-top-inset'

 add -M <monitor> option to Slideshow
2011-07-18 20:15:15 -06:00
Matthew Flatt
b096fb7503 gtk: `get-display-size' reports main monitor only
and the same for `get-display-left-top-inset'
2011-07-18 19:59:05 -06:00
Matthew Flatt
5edc0c70af 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
2011-07-16 14:30:08 -06:00
Matthew Flatt
ff49859c80 git: fix "&" and "_" handling in labels 2011-07-06 09:54:57 -06:00
Matthew Flatt
de54efc84e cocoa: fix "&" handling in menu-item labels
Closes PR 12025
2011-07-06 09:54:41 -06:00
Eli Barzilay
3157955d40 ".ss" -> ".rkt" scan done. 2011-07-02 10:37:53 -04:00
Matthew Flatt
59731368fc add ffi/winapi; use it in mzlib/os
Closes PR 12007
2011-07-01 10:42:17 -06:00
Robby Findler
69b5daa9e6 remove docs tests that no one was interested in 2011-07-01 11:38:09 +08:00
Eli Barzilay
40124a0619 A long overdue scan to eliminate files without terminating newlines.
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Vincent St-Amour
5c77b19416 Fix remove-clickback. 2011-06-24 15:18:31 -04:00
Matthew Flatt
b4e3e065ac gtk: fix menu-bar height handling to work right with Ubuntu's patch to support out-of-frame menu bars in Unity 2011-06-20 14:46:14 -06:00
Matthew Flatt
da2b3f94fb fix initial panel size
so that it doesn't force an enclosing frame to grow
2011-06-20 10:28:56 -06:00
Matthew Flatt
13da5a79d7 fix dialog modality 2011-06-19 08:22:08 -06:00
Matthew Flatt
5a5800d513 place-specific low-level "sleep" function
to make racket/gui work right with places (running
 in just one of them) on Mac OS X
2011-06-17 17:03:21 -06:00
Matthew Flatt
6f42c6ed5e win32: fix checkable menu item to toggle on selection
Closes PR 11985
2011-06-17 16:02:49 -06:00
Eli Barzilay
045369e3b9 cocoa: fix `get-file' when any extension is allowed 2011-06-03 01:38:40 -04:00
Eli Barzilay
e9487fb0c7 Make the cocoa file dialogs deal better with ";"-separated globs.
* Note the ugly hack of adding "foo~" for every "foo" suffix.

* Note also that when "*.*" is in the glob list all files should be
  available but it looks like this isn't working yet for some reason.
2011-06-03 00:56:21 -04:00
Eli Barzilay
42fe92cd25 Split the glob patterns on ";", and add them all to the gtk dialog. 2011-06-02 09:33:53 -04:00
Matthew Flatt
c0811dc220 cocoa: fix get-y' in frame%' 2011-05-26 07:29:09 -06:00
Matthew Flatt
909aaddf3d protect against nested snip deletes in `pasteboard%' 2011-05-25 07:32:47 -06:00
Matthew Flatt
5c5e6039df gtk: fix self X-selection handling 2011-05-24 13:22:01 -06:00
Matthew Flatt
cc647f0ab9 use container sequence to avoid resize flicker for `text-field%' 2011-05-24 12:58:53 -06:00
Robby Findler
df6be6e7f1 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
2011-05-17 11:02:26 -05:00
Matthew Flatt
515a4f7991 cocoa: fix problems using menu-bar height 2011-05-10 20:17:47 -06:00
Matthew Flatt
2e93e0ec14 cocoa: fix frame coordinate system by using initial menu-bar height 2011-05-10 09:53:48 -06:00
Robby Findler
507b1cd8fd moved the docs-complete library into rackunit
to avoid having a separate, new manual for the
  one library
2011-05-05 16:10:42 -05:00