Commit Graph

944 Commits

Author SHA1 Message Date
Matthew Flatt
5754269ae1 win32: fix some key events
Closes PR 11757
2011-02-19 08:36:17 -07:00
Matthew Flatt
ce82c74b75 win32: fix ALT-space to pop up system menu
Closes PR 11754
2011-02-19 06:39:33 -07:00
Matthew Flatt
aea79be7a4 cocoa: FFI type corrections 2011-02-14 06:10:56 -07:00
Matthew Flatt
6b1112a9ad win32: fix parent HWND of canvas%
Merge to 5.1
2011-02-09 12:26:50 -07:00
Matthew Flatt
f4a881f0e3 fix `set-icon' in frame% to make mask argument optional
Merge to 5.1
2011-02-09 09:01:34 -07:00
Matthew Flatt
f21f0bdba2 gtk: fix X selection for older Gtk versions
Merge to 5.1
2011-02-09 07:41:57 -07:00
Matthew Flatt
5eeec97878 adjust racket/gui/base' to re-export file/resource'
Merge to 5.1 along with b4ce4bb, 3375005, 18eb7c8, 3c4807f
2011-02-05 14:05:08 -07:00
David Van Horn
760a58b65d Fixes more spelling errors. 2011-02-04 19:44:13 -07:00
Matthew Flatt
845ca2d586 cocoa: yet another hack around weird cocoa behavior
Closes PR 11712
 Merge to 5.1
2011-02-04 19:43:59 -07:00
Matthew Flatt
8f404a4618 win32: fix horizontal `radio-box%'
Merge to 5.1
2011-02-04 09:20:49 -07:00
Matthew Flatt
e1303dc400 cocoa: change `radio-box%' implementation of no selected buttons
(not sure how I missed the `setAllowsEmptySelection' method before,
  but maybe there was some reason to avoid it that I've forgotten
  --- so *don't* merge to 5.1)
2011-02-04 09:20:47 -07:00
Matthew Flatt
5d1b78384d cocoa: fix problems with `radio-box%' in no-selection mode
Closes PR 11708
 Merge to 5.1
2011-02-04 07:26:45 -07:00
Eli Barzilay
c4661de049 Bump version numbers of mzscheme and mred.
(These things should not be used anymore.)
2011-02-04 04:30:12 -05:00
David Van Horn
c9519fd113 Fixed various spelling errors. 2011-02-03 17:42:33 -05:00
Matthew Flatt
0eed4e9462 gtk: map left-tab key to #\tab
Closes PR 11697
 Merge to 5.1
2011-02-02 06:46:03 -07:00
Matthew Flatt
2d01241f7a gtk: fix drag-and-drop URI decoding
Closes PR 11695
 Merge to 5.1
2011-02-02 06:32:51 -07:00
Matthew Flatt
7291d944c3 gtk: force display of images in button labels
Merge to 5.1
2011-02-02 06:05:03 -07:00
Matthew Flatt
152c636e1c cocoa: fix problem with dispatching key-up events
Closes PR 11635
 Merge to 5.1
2011-01-31 12:40:37 -07:00
Matthew Flatt
bbb12848d1 cocoa: create window to show composition via an input method
Merge to 5.1
2011-01-30 17:33:12 -06:00
Matthew Flatt
e2c43bf3ec avoid `on-size' problems
Merge to 5.1
2011-01-30 17:33:11 -06:00
Matthew Flatt
b485d375b0 cocoa: event-dispatch repairs, especially when no frame is shown
Relevant to PR 11672
2011-01-28 12:43:51 -06:00
Matthew Flatt
5467f89a23 remove non-working get-font' method of control<%>'
Closes PR 9938
2011-01-28 05:55:41 -07:00
Matthew Flatt
2ab0d36738 cocoa: fix first-responder tracking when a frame is hidden 2011-01-27 19:20:13 -07:00
Matthew Flatt
45999143a4 gtk: fix float frames to not appear in WM's window list 2011-01-27 12:25:53 -07:00
Matthew Flatt
08bf77deeb gtk: list-box dclick 2011-01-27 12:26:23 -07:00
Matthew Flatt
d34deeba91 win32: fix printing bug related to clipping 2011-01-27 12:26:23 -07:00
Matthew Flatt
8cbc701671 cocoa: fix problems with live-resize
that were created by the queue-sync change
2011-01-26 12:57:01 -07:00
Matthew Flatt
630dee7227 cocoa: better sync between Cocoa and Racket event queues
to reduce inversion where a low-priority callback runs
 when a GUI event is available
2011-01-26 12:19:48 -07:00
Matthew Flatt
069a7c2b48 add current-get-interaction-input-port' and adjust racket/gui'
so that GUI events are dispatched while a REPL is blocked on input
2011-01-24 19:47:20 -07:00
Matthew Flatt
cf548f197e add eventspace-event-evt' to racket/gui/base' 2011-01-24 19:47:20 -07:00
Matthew Flatt
cef9f90c27 gtk: remove debugging printf 2011-01-22 13:30:05 -07:00
Matthew Flatt
127d563bd8 gtk: fix reparent problem with parent-relative location is unchanged 2011-01-22 13:10:01 -07:00
Matthew Flatt
69859850f3 finish implementing display of menu shortcuts
that involve non-chars shortcuts and alternate prefixes
2011-01-22 10:15:14 -07:00
Matthew Flatt
b112fd76df add reparent' to subwindow<%>' 2011-01-21 20:21:21 -07:00
Matthew Flatt
8228ce92cf win32: fix canvas-refresh problem when a canvas is shown
and when it has been drawn onto outside of `on-paint';
 also, try to prep the content of all canvases within a
 top-level window before the window is shown (as on other
 platforms)
2011-01-21 09:09:05 -07:00
Matthew Flatt
e331f1bce2 gtk: fix `get-focus-window' in frame%
Closes PR 11654
2011-01-21 09:07:46 -07:00
Matthew Flatt
4529fbe5e6 win32: fix dialog centering 2011-01-20 16:47:14 -07:00
Matthew Flatt
0bc987e66b fix default dialog% position (centered)
Closes PR 11637
2011-01-20 16:42:45 -07:00
Matthew Flatt
128fedaceb fix `message-box' to use eventspace of parent, if any 2011-01-20 15:47:03 -07:00
Matthew Flatt
676066f103 win32: printing page size 2011-01-19 06:32:29 -07:00
Matthew Flatt
4fc8797df2 cocoa: fix printing bounds 2011-01-18 18:42:39 -07:00
Matthew Flatt
98822cf1f9 adjust `racket/gui' and dependencies to survive a locked preference file
- adds a `#:timeout-lock-there' argument to `get-preference'
 - fixes preference looup in `racket/gui'
 - make preference names consistently use `GRacket' and consistently
   fall back on `MrEd' names
 - fix Emacs-style undo mode while we're at it
2011-01-18 17:37:33 -07:00
Matthew Flatt
183323a2c5 fix `editor<%>' printing problems
- pagination for `pastebard%'
 - always put everything on a single page for EPS mode
 - add PDF support to mirror PS support
2011-01-18 14:16:25 -07:00
Matthew Flatt
5bdc8a58b4 gtk: add missing keycode for Insert key
Closes PR 11412
2011-01-18 11:02:47 -07:00
Matthew Flatt
3ff7ca2d31 change `text-field%' to treat numpad Enter like normal Enter/Return
Closes PR 7890
2011-01-18 11:02:46 -07:00
Matthew Flatt
c12d52f21b cocoa: fix problems with some input methods (such as Kotoeri)
but the problem remains that the input state is invisible while
 characters are being composed
2011-01-17 20:27:55 -07:00
Matthew Flatt
d8e123753c gtk: enable input-method (e.g., Chinese) support 2011-01-17 18:28:31 -07:00
Matthew Flatt
36155e913e get rid of the old barriers around GUI event dispatch
since, on further reflection, it doesn't seem needed, and a simple
 prompt seems to make everything work right
2011-01-17 09:21:50 -07:00
Matthew Flatt
0c1ca7a902 fix the event dispatch handler 2011-01-17 09:02:51 -07:00
Matthew Flatt
10ad58a747 restore `event-dispatch-handler' 2011-01-15 18:28:36 -07:00
Matthew Flatt
d1dc1303c2 win32: allow GetCursorPos to fail
in case the current desktop isn't the input desktop
2011-01-15 16:46:35 -07:00
Matthew Flatt
ab86ffa778 refine `sleep/yield' 2011-01-15 16:46:31 -07:00
Matthew Flatt
a9dd80110a restore doc & page checking for `post-script-dc%' et al.
and also fix up wiring of `printer-dc%' in `editor<%>' so
 that `is-a?' tests works as expected
2011-01-14 20:30:51 -07:00
Matthew Flatt
f69e89c023 win32: connect print dialog to given parent (if any)
which causes a different style dialog to be used
2011-01-14 18:54:02 -07:00
Matthew Flatt
06e5d7d6c8 fix problem with mm printer measurements 2011-01-14 15:51:41 -07:00
Matthew Flatt
b10ad75d11 fix another problem with `erase' in a canvas dc
Closes PR 11625
2011-01-14 15:50:33 -07:00
Matthew Flatt
0d36dbefb8 win32: adjust printing-dc% scale to simulate screen DPI
This is questionable; it might be better to set up a printing
 context with 72 DPI and adjust the resolution of the Pango
 font map associated with the DC to be 72 DPI; matching the
 screen is easier, and it provides the benefit that font metrics
 (based on fonts with point sizes rather than pixel sizes) are
 consistent across drawing contexts
2011-01-13 20:08:57 -07:00
Matthew Flatt
559f756374 win32: tell Cairo when drawing to a printing context 2011-01-13 20:08:56 -07:00
Matthew Flatt
4f292a95c5 win64: fix PrintDlg alignment 2011-01-13 20:08:55 -07:00
Matthew Flatt
e9a4650f09 win32: don't handle frame non-content mouse events 2011-01-12 07:46:55 -07:00
Asumu Takikawa
60d0e5b886 Add a layer of export redirection in mred/mred.rkt.
Moved mred to private/mred and created a new mred that just re-exports the
definitions from the private module. This change is intended to allow for
contracts to be added later to where the definitions are re-exported.
2011-01-11 21:55:37 -05:00
Matthew Flatt
1ce430faf7 win32: handle control font failure 2011-01-11 19:47:15 -07:00
Matthew Flatt
6defe0ea09 win32: fix screen-glyph reporting for label mode
because XP doesn't substitute fonts in control labels
2011-01-11 19:47:04 -07:00
Matthew Flatt
68e647ae91 win32: no multisample for offscreen gl
because it interferes with multisample setup for
 canvases and seems unlikely to be supported or useful
2011-01-11 14:35:54 -07:00
Matthew Flatt
640fa15d32 win32: support gl multisampling 2011-01-11 13:13:19 -07:00
Matthew Flatt
afdfafa66a win32: let default handlers see WM_MOUSELEAVE
This fixes a problem where mousing over a button
 in Win7 leaves the button blue instead of fading
 back to normal color
2011-01-10 17:16:50 -07:00
Matthew Flatt
6afffb329c add `svg-dc%' 2011-01-10 16:41:16 -07:00
Matthew Flatt
4c05bb48f1 win32: mouse-leave events when mouse leaves the frame 2011-01-10 12:26:23 -07:00
Matthew Flatt
f1e13a7921 modial dialog don't disable mouse motion, enter, and leave events
Closes PR 11599

 This is an API change relative to gr1, but it seems sensible,
 and it makes enter and leave events more reliable and easier
 to implement.
2011-01-10 07:53:03 -07:00
Matthew Flatt
eaa82cc84d gtk: fix floating windows 2011-01-08 11:55:31 -07:00
Matthew Flatt
f59e8e0eb9 cocoa: fix problems with floating windows 2011-01-08 11:41:11 -07:00
Matthew Flatt
8f6acf6aae radio-box% initial selection and #f
Closes PR 11107
2011-01-08 10:29:32 -07:00
Matthew Flatt
f2a11c504d fix `tab-panel%' callback problem
Closes PR 11528
2011-01-08 10:29:31 -07:00
Matthew Flatt
9417beb7bd gtk: get-file' and put-file' replace "*.*" filter with "*"
Closes PR 11593
2011-01-08 10:29:31 -07:00
Matthew Flatt
d4e3d42d19 make `message-box' and variants work when called for a non-handler thread
This could be done to many other dialogs, but it seems especially
 worthwhile for `message-box'.
 Closes PR 11601.
2011-01-07 17:59:26 -07:00
Matthew Flatt
d6fc7da750 add refresh-now' to canvas%'
--- this method doesn't have to be built in, but it
     encapsulates a common and not-too-obvious pattern
2011-01-07 14:19:35 -07:00
Matthew Flatt
5f4ee4f9f8 cocoa: erasing a non-transparent canvas uses white 2011-01-07 14:15:35 -07:00
Matthew Flatt
be6ba896e0 repairs for line numbers in DrRacket 2011-01-07 11:57:50 -07:00
Matthew Flatt
81cbf1ae1f add get-client-handle' to window<%>' 2011-01-05 12:15:37 -07:00
Matthew Flatt
adfa67206d win32: on-size fix 2011-01-05 10:38:06 -07:00
Matthew Flatt
ae5093a134 more consistent on-size' and on-move' 2011-01-05 10:00:07 -07:00
Matthew Flatt
b0095111d4 restore and document scrolling behavior
Closes PR 11583, and
 everts the previous fix for PR 10853 and fixes
  it in a different way
2011-01-05 07:02:00 -07:00
Matthew Flatt
d2f16ee36e win32: fix canvas flicker 2011-01-04 13:30:30 -07:00
Matthew Flatt
553723627c gradients: refine checking and docs to fit various conventions 2011-01-04 12:44:36 -07:00
Asumu Takikawa
24050a5bc6 Remove do-copy, do-paste, and do-paste-x-selection from editor<%>.
text% and pasteboard% now do not override the methods.
2011-01-04 13:04:28 -05:00
Matthew Flatt
b0ed2f5bc2 fix result of editor<%> `load-file' when the editor is locked
relevant to PR 11590
2011-01-04 06:11:46 -07:00
John Clements
b713e43e1b adopted a two-stage fallback for old pref name, per robby's suggestion 2011-01-03 07:52:48 -08:00
Matthew Flatt
df2351f90f adapt better to available drawing and GUI libraries on Unix variants 2011-01-02 20:18:11 -07:00
John Clements
47e3db06ff change pref name to match docs 2011-01-02 14:45:14 -08:00
Matthew Flatt
19b1df6586 win32: fix bitmap+string labels for XP 2011-01-01 14:17:31 -07:00
Matthew Flatt
18ca91dc97 win32: make bitmap+string label look right in Win7 2011-01-01 13:54:45 -07:00
Matthew Flatt
a6e04695bb win32: bitmap+string button labels 2011-01-01 13:54:45 -07:00
Matthew Flatt
241bb79cb0 allow a button% to have both a string and a bitmap for its label 2011-01-01 13:54:45 -07:00
Matthew Flatt
a916f1af42 win32: fix problem with bitmap labels
related to PR 11566
2011-01-01 11:33:53 -07:00
Matthew Flatt
71223e6175 win32: survive theme-access failure 2011-01-01 08:22:17 -07:00
Matthew Flatt
07c272df4a gtk: fix screen-bitmap depth selection and a spurious tab callback 2010-08-12 23:35:40 -04:00
Matthew Flatt
15fa34b091 gtk: tolerate absence of a minor combo_box function 2010-08-12 19:52:37 -04:00
Matthew Flatt
5809860dd3 fix problem with text% padding 2010-12-31 14:40:27 -07:00
Matthew Flatt
00124220bd fix platform-independent file dialog 2010-12-31 09:41:30 -07:00
Matthew Flatt
c7977441e4 win32: fix problem with focus directly on a frame 2010-12-31 08:31:36 -07:00
Matthew Flatt
bfa2a57b01 win32: get roots on demand for file dialog 2010-12-30 09:30:27 -07:00
Matthew Flatt
eddae6749d clean up handling of not-ok?', bitmap-dc%'-selected, and mutated bitmaps 2010-12-30 08:35:56 -07:00
Matthew Flatt
d3fd1ba013 add `set-padding' to text% 2010-12-29 13:42:58 -07:00
Matthew Flatt
ffd4193e32 fix frame registration on show' when current-eventspace' is weird
(i.e., not the frame's eventspace)
 Closes PR 11573
2010-12-29 07:45:49 -07:00
Matthew Flatt
80e5c6cec3 clean up 2010-12-28 20:15:30 -07:00
Matthew Flatt
dc926925aa retain eventspaces weakly 2010-12-28 20:06:57 -07:00
Robby Findler
5eec85a5a2 change the way scrolling works so that canvases that are 'primary-owner's are respected when calling scroll-to on an admin
This change may also affect other attempts to scroll, however, so watch for strange scrollings when multiple editor-canvaess are displaying the same text% object.
  closes PR 10853
2010-12-28 16:37:13 -06:00
Matthew Flatt
5ea0c93e0f gtk: combo-field% fixes
Closes PR 11569
2010-12-28 14:58:22 -07:00
Matthew Flatt
8ac21c745f add show-without-yield' to dialog%' 2010-12-28 10:52:17 -07:00
Matthew Flatt
2e8f771661 adjust password dots again 2010-12-28 10:52:17 -07:00
Matthew Flatt
b701d309f1 win32: fix EndPaint to avoid GDI leak 2010-12-28 06:21:58 -07:00
Matthew Flatt
7b5d948d33 win32: fix `focus' return value 2010-12-28 05:30:58 -07:00
Matthew Flatt
68e477fd52 implement get-focus-window' and get-edit-target-window' in back end to avoid relying on `on-focus' callback handling 2010-12-28 05:25:26 -07:00
Matthew Flatt
719df98d83 prevent dc<%> state contamination among transparent canvases 2010-12-27 17:43:36 -07:00
Matthew Flatt
958c141508 improve password-mode dots for text-field% 2010-12-27 15:22:53 -07:00
Matthew Flatt
0ef5a01c9b win32: minor repair to single-instance check 2010-12-26 09:35:22 -07:00
Matthew Flatt
a3adf07fd2 clean up pre-drawing of canvases for a frame to show 2010-12-24 20:09:16 -06:00
Matthew Flatt
bb96973c4a cocoa: don't disable flushes on a window that isn't shown
because that doesn't seem to work
 Closes PR 11565
2010-12-24 18:22:59 -06:00
Matthew Flatt
21ca120c8c cocoa: fix problems with no-frame root menu
on-demand callback and original installation
2010-12-24 17:48:13 -06:00
Robby Findler
8903de5a12 inserted a coercion string->path
(there is one on the line above so this is probably the right thing)
closes PR 11563
2010-12-24 15:58:21 -06:00
Matthew Flatt
94e6d8f399 gtk: clipboard fix
Closes PR 11552
2010-12-22 19:40:37 -07:00
Matthew Flatt
78b2e47541 fix more try-atomic problems 2010-12-21 18:45:36 -07:00
Sam Tobin-Hochstadt
abf2215de7 Fix send to the wrong administrator.
Bug found by tests/gracket/wxme-random.
2010-12-19 22:56:15 -05:00
Sam Tobin-Hochstadt
491eeaa759 Move mred/private/wxme/style to racket/snip/private/style.
`racket/snip' now exports the style classes and the add,mult-color interfaces.
2010-12-19 22:56:15 -05:00
Matthew Flatt
975c2400a1 cocoa: fix interaction of combo-field% popup and canvas refresh
and also reduce work on redundant show/hide of canvas
 Closes PR 11557
2010-12-19 18:58:27 -07:00
Matthew Flatt
c259d0839a make editor caret adapt to background color 2010-12-18 07:22:40 -07:00
Sam Tobin-Hochstadt
70955d5540 Split mred/private/wxme/private into two files. 2010-12-18 00:10:26 -05:00
Sam Tobin-Hochstadt
cf3aec6b95 Move load-one to racket/snip.
Create private directory for racket/snip.
Remove snip dependence on events.
2010-12-18 00:10:26 -05:00
Matthew Flatt
b07f57fc73 fix problems with canvas refresh, especially win32 2010-12-17 14:43:14 -07:00
Matthew Flatt
0c4d2e332c fix transparent-canvas detection 2010-12-17 10:46:06 -07:00
Sam Tobin-Hochstadt
f7559b8269 Move readable-snip<%>' to racket/snip'
Reprovide `racket/snip' rather than propagating it in `mred/mred'
2010-12-17 12:32:27 -05:00
Sam Tobin-Hochstadt
fb76a887d8 Refactor to create `racket/snip' collection. 2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
8a8a8dbe4b Separate snip% from the gui 2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
398add4e29 Move symbol predicates to their own file. 2010-12-17 12:32:26 -05:00
Sam Tobin-Hochstadt
13cae20838 Fixes for PNG conversion, and make `image-snip%' convertible. 2010-12-17 12:32:25 -05:00
Matthew Flatt
fc4165ec40 win32: fix transparent-canvas support 2010-12-17 09:33:11 -07:00
Matthew Flatt
f700a15d85 specially record transparent-canvas drawing for a small number of drawing ops
which enables background-sensitive smoothing of text
2010-12-17 09:27:10 -07:00
Matthew Flatt
54d36dc22a don't popup disable combo-field% 2010-12-16 13:43:22 -07:00
Matthew Flatt
7fa0ae3ea6 fix typo 2010-12-16 12:20:39 -07:00
Matthew Flatt
7571579ce5 win32: combo-field% on-popup 2010-12-16 10:48:29 -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
d518084f88 cocoa: fix message% 'app icon 2010-12-16 10:48:26 -07:00
Matthew Flatt
cad500d802 fix problems with image-snip%, masks or alpha channels, and saving
and also generalize image-snip% to accept input port instead
 of filenames, and avoid temporary files for loading and saving images
2010-12-14 21:11:10 -07:00
Robby Findler
4881bc33f4 open-input-text-editor: beef up the protection that the lock-while-reading? argument provides 2010-12-14 19:14:26 -06:00
Matthew Flatt
f557707764 fix tab-panel% callback
Closes PR 11537
2010-12-13 20:38:44 -07:00
Matthew Flatt
790a91e520 fix minor potential GC bugs and add some debugging support 2010-12-13 16:31:13 -07:00
Matthew Flatt
39c6fe02d7 use `assert' around a debugging check 2010-12-13 14:54:07 -07:00
Matthew Flatt
3456ee185a gtk: fix clipboard text request to return "" instead of #f
to match weird old interface
2010-12-13 10:34:59 -07:00
Matthew Flatt
08eff21117 gtk: change clipboard access to keep racket in charge
instead of letting the ... _wait_...() function drive an
 event loop;
 hopefully Closes PR 11534
2010-12-13 10:26:23 -07:00
Matthew Flatt
aa43ba40c7 win64: HIWORD and LOWORD signs 2010-12-12 08:47:38 -07:00
Matthew Flatt
953dd78d76 cocoa: add app badge to caution & stop icons 2010-12-12 08:24:19 -07:00
Matthew Flatt
acdd76b17e win32: show #t brings shown frame to front
Closes PR 11533
2010-12-11 21:23:58 -07:00
Matthew Flatt
c7b4e5f134 win32: fix alternate-key lookup
Closes PR 11527
2010-12-11 07:50:49 -07:00
Matthew Flatt
a5c4863848 win32: avoid continued failure when painting fails 2010-12-11 06:16:40 -07:00
Matthew Flatt
b2444e2105 win32: sync display on event 2010-12-10 18:52:12 -07:00
Matthew Flatt
2b4f1a6908 extend `sync/timeout' to allow a tail-position fail thunk for polling 2010-12-10 18:06:21 -07:00
Matthew Flatt
cadc128994 win32: mouse-wheel events
Closes PR 11520
2010-12-09 21:06:15 -07:00
Matthew Flatt
e929f62d11 win32: fix alt vs. meta; fix alt-<char> menu dropdown 2010-12-09 18:05:51 -07:00
Matthew Flatt
3aad886019 win32: fix key-release events 2010-12-09 17:43:37 -07:00
Matthew Flatt
b16f8fb16a win32: fix delete key
Closes PR 11519
2010-12-09 17:38:41 -07:00
Matthew Flatt
518cff7b63 win32: fix alt-combination handling 2010-12-09 15:18:57 -07:00
Matthew Flatt
355cf25b5f cocoa: allow default handling of Cmd-` for cycling windows
Closes PR 11499
 but it's not clear that this is the right fix for all users
2010-12-08 19:56:02 -07:00
Robby Findler
0a313888c4 added missing require (as suggested by Matthew) so now pasting works. 2010-12-07 07:05:54 -06:00
Robby Findler
39008f2130 on second thought, maybe this is the right last argument 2010-12-06 19:33:46 -06:00
Robby Findler
f818aa56bf patch so that the alt key does not crash drracket (windows) 2010-12-06 19:31:36 -06:00
Matthew Flatt
fd79abcc1f win32: fix setwindowlongptr binding for 32-bit mode 2010-12-06 12:40:10 -07:00
Matthew Flatt
6d1db909c4 win64: fix GetWindowLong to use Ptr variant 2010-12-04 17:38:47 -07:00
Matthew Flatt
a56e547db6 win64: racket/draw and racket/gui 2010-12-04 08:29:34 -07:00
Matthew Flatt
3479f5fb92 cocoa: hack around NSApplication's handling of command-line arguments 2010-12-02 11:53:18 -07:00
Matthew Flatt
b0a746c701 win32: fix font used to size controls 2010-12-02 07:04:38 -07:00
Matthew Flatt
74d858ceed gtk: fix GdkAtom type 2010-12-02 06:20:07 -07:00
Matthew Flatt
7a37b07e26 gtk: fix clipboard problems on 64-bit mode; provide more text formats 2010-12-02 06:17:40 -07:00
Matthew Flatt
82ab45b11d gtk: fix clipboard; implement ye olde X selection 2010-12-01 20:48:23 -07:00
Matthew Flatt
ec122a785a use dots for 'password style text-field% 2010-12-01 15:48:55 -07:00
Matthew Flatt
ed8aa132de improve editor highlighting of selected image-snip% 2010-12-01 15:48:54 -07:00
Matthew Flatt
e9710d08f5 fix autowrap bitmap drawing so it isn't covered up by a selection 2010-12-01 15:48:54 -07:00
Matthew Flatt
e627ccb5ed cocoa: avoid infinite loop on re-dispatch of command keys 2010-11-30 20:17:47 -07:00
Matthew Flatt
72d57d8db8 cocoa: explicitly re-dispatch Cmd- key combinations 2010-11-30 15:39:02 -07:00
Matthew Flatt
8f9a8daa27 fix {get,set}-event-type on mouse-event%
Closes PR 11474
2010-11-30 09:32:59 -07:00
Matthew Flatt
9f9e23f551 don't GC an eventspace with a visible frame, etc. 2010-11-30 09:32:59 -07:00
Matthew Flatt
c81ad90161 fix eventspace as event 2010-11-30 09:32:59 -07:00
Matthew Flatt
37d16cf8f8 cocoa: fix race condition on window enabling 2010-11-30 09:32:58 -07:00
Matthew Flatt
2282cae59a cocoa: fix removal of menu shortcut
Closes PR 11463
2010-11-28 10:44:01 -07:00
Matthew Flatt
d37cc7b3ec cocoa: fix problem with tab panel 2010-11-28 10:41:59 -07:00
Matthew Flatt
f090e732fd cocoa: fix relabel of image checkbox 2010-11-28 08:01:07 -07:00
Matthew Flatt
262531e231 cocoa: fix enable & disable of windows 2010-11-28 08:01:06 -07:00
Matthew Flatt
04a4ad269f cocoa & gtk: fix set-label with bitmap on message%
Closes PR 11462
2010-11-26 11:59:31 -07:00
Matthew Flatt
5aff70029a centralize glib loading as used by racket/draw and Gtk racket/gui 2010-11-26 11:20:15 -07:00
Matthew Flatt
2edadd6113 add pdf-dc%; make slideshow/pict depend on racket/draw, not racket/gui 2010-11-26 10:35:05 -07:00
Matthew Flatt
7da127227a gtk & cocoa: frame iconize repairs
In the "windowing.rktl" tests, for Gtk there are still race conditions
 between the program and the window manager. But for the first
 time ever, all platforms can pass the "windowing.rktl" test.
2010-11-26 08:33:59 -07:00
Matthew Flatt
1f61bbdc51 win32: frame size and iconize fixes 2010-11-26 08:10:58 -07:00
Matthew Flatt
e0bcec0825 cocoa: handle multi-key character input 2010-11-25 10:38:44 -07:00
Matthew Flatt
df9c4c8c69 cocoa: don't treat dead-key events as normal character events
but more work is still needed for multi-key input
2010-11-25 08:41:50 -07:00
Matthew Flatt
347869fc9e fix some racket/gui tests and fix cocoa frame centering 2010-11-25 08:03:33 -07:00
Matthew Flatt
820e832853 add 'close-button style to dialog%; fix cocoa default frame placement 2010-11-25 08:03:33 -07:00
Matthew Flatt
ab070b205e cocoa: finally found the documented API to enable GUI mode 2010-11-25 08:03:32 -07:00
Matthew Flatt
370c97165a cocoa: fix problem with frame focus 2010-11-24 12:03:17 -07:00
Matthew Flatt
e2072d5afb cocoa: repair location fixup on screen change 2010-11-24 10:38:41 -07:00
Matthew Flatt
14a72b5a08 cocoa: fix problems with frame-list management 2010-11-24 07:12:02 -07:00
Matthew Flatt
510c3f8a33 cocoa: try to fix problem with drifting gc-blit window 2010-11-23 10:02:45 -07:00
Matthew Flatt
c94df207a4 cocoa: one more 10.6-only method 2010-11-20 15:45:28 -07:00
Matthew Flatt
bf9b913f33 cocoa: avoid another 10.6-only method
Closes PR 11442
2010-11-20 15:38:17 -07:00
Matthew Flatt
584287483b cocoa: avoid another 10.6-only method
Closes PR 11440
2010-11-16 17:08:41 -07:00
Matthew Flatt
f050f28d2b cocoa: fix put-file extension handling when no extensions are supplied 2010-11-15 19:46:41 -07:00
Matthew Flatt
6c844ec415 cocoa: adjust button shape for large fonts 2010-11-15 12:16:42 -07:00
Matthew Flatt
16b75b1f00 cocoa: avoid explicit NSTabViewDelegate
--- not in pre-10.6, seems to crash in 64-bit mode, and not
     necessary to declare
 Closes PR 11418
2010-11-14 15:54:18 -07:00
Matthew Flatt
279315b582 cocoa: fix ffi-use bug 2010-11-14 15:54:17 -07:00
Matthew Flatt
d2fe39da33 win32: canvas refresh repair 2010-11-13 09:54:47 -07:00
Matthew Flatt
1c6f745ac1 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
2010-11-12 20:39:58 -07:00
Jon Rafkind
bcef0dbfe2 increase delay value before refresh to 100 2010-11-11 13:29:01 -07:00
Matthew Flatt
d7369f819c cocoa: set button control size when font is small
Closes PR 11404
2010-11-10 17:54:07 -07:00
Matthew Flatt
b6b3298567 cocoa: avoid 10.6-specific method for menu popup 2010-11-10 17:54:07 -07:00
Matthew Flatt
168a2c1591 use #x3FFFFFF instead of #x3FFFFFFF for max size of an unbounded frame
because sawfish is unhappy with #x3FFFFFFF
2010-11-09 16:59:01 -07:00
Matthew Flatt
c9b7c98525 cocoa: use alternate key if ctl-combination has no mapping
--- fixes ctl-space, and maybe other combinations
 Closes PR 11403
2010-11-09 06:55:37 -07:00
Eli Barzilay
f29e4c860b Remove erroneous files 2010-11-08 09:48:00 -05:00
Matthew Flatt
83bcdbbd81 cocoa: fix save-file dialog when other extensions should be allowed 2010-11-08 07:12:03 -07:00
Matthew Flatt
3747978c1e cocoa: fix ctl-\ key event 2010-11-08 07:03:51 -07:00
Matthew Flatt
23908c2372 gtk: initialize canvas backing to white 2010-11-07 07:16:12 -07:00
Matthew Flatt
e402d68efc fix `find-graphical-system-path' 2010-11-07 07:08:33 -07:00
Matthew Flatt
53febbeb6c cocoa: fix a double vs. float mismatch in getting scroll positions 2010-11-06 21:22:52 -06:00
Matthew Flatt
694745e998 first cut at splitting draw and gui docs 2010-11-05 21:57:13 -06:00
Matthew Flatt
59bf78b6c8 avoid xor for pasteboard rubberband hiliting 2010-11-05 20:26:24 -06:00
Matthew Flatt
f935266257 win32: fix combo% on-popup 2010-11-05 15:54:56 -06:00
Matthew Flatt
39596efef5 cocoa and gtk: fix combo% `on-popup' method 2010-11-05 15:54:56 -06:00
Matthew Flatt
9f42fa0e6f win32: fix flush duplocate def 2010-11-05 15:54:55 -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
64d9a391cf win32: fix flush and periodic canvas flush 2010-11-05 15:54:55 -06:00
Matthew Flatt
4d316f7851 win32: periodic canvas flushing 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
9fbb7d3a99 win32: fix some test failures 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
f829424783 win32: further deallocation fixes, plus some test fixes 2010-11-05 15:54:54 -06:00
Matthew Flatt
ad9315ba6b win32: further deallocation fixes, plus some test fixes 2010-11-05 15:54:54 -06:00
Matthew Flatt
daf7f6dd17 win32: change HWND allocation and deallocation 2010-11-05 15:54:54 -06:00
Matthew Flatt
da6397e006 cocoa: hack around a problem with application hiding 2010-11-05 15:54:54 -06:00
Matthew Flatt
50caefcb38 cocoa: convince dock to not resurrect a closed frame 2010-11-05 15:54:53 -06:00
Matthew Flatt
af6cad4913 destroy windows via finalization outside of the event loop 2010-11-05 15:54:52 -06:00
Matthew Flatt
9eabda614c no need for libgio reference 2010-11-05 15:54:52 -06:00
Matthew Flatt
6065f8cf12 avoid functions not available in Debian Stable 2010-11-05 15:54:52 -06:00
Matthew Flatt
6fa9ee22a7 remove debugging printf 2010-11-05 15:54:51 -06:00
Matthew Flatt
58e1e37734 fix bug in ffi struct alignment 2010-11-05 15:54:51 -06:00
Matthew Flatt
4891b87ea1 cocoa: another screen-change workaround 2010-11-05 15:54:50 -06:00
Matthew Flatt
05cfffdf9e v5.4.99.1, executable-yield-handler', and make-bitmap' etc. 2010-11-05 15:54:50 -06:00
Matthew Flatt
d7f1d12ea1 clean up 2010-11-05 15:54:49 -06:00
Matthew Flatt
4f55d22705 fix mistake cocoa screen notification 2010-11-05 15:54:49 -06:00
Matthew Flatt
3abecbc95d gtk: enable "really overwrite?" dialog for `put-file' 2010-11-05 15:54:49 -06:00
Matthew Flatt
47c032ff34 work around cocoa display-change issue 2010-11-05 15:54:48 -06:00
Matthew Flatt
bffff78aad misc fixes, especially cocoa 2010-11-05 15:54:48 -06:00
Matthew Flatt
99266dcdcf cocoa: fix menu set-label 2010-11-05 15:54:48 -06:00
Matthew Flatt
2c77565721 gtk: swap alt and meta reporting 2010-11-05 15:54:48 -06:00