Commit Graph

4374 Commits

Author SHA1 Message Date
Robby Findler
eb5f0e41e1 added docs and contract for preferences:get-preference/gui
original commit: db13cddef0bdf05be2552eaaf2ad1dc6391a258b
2011-01-22 07:43:57 -06:00
Matthew Flatt
299e85b30a add reparent' to subwindow<%>'
original commit: b112fd76df4305b178a7e761fe0d29214a37c518
2011-01-21 20:21:21 -07:00
Matthew Flatt
74f7864819 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)

original commit: 8228ce92cfdf09611373a3c4bee7d4438f3b4ed0
2011-01-21 09:09:05 -07:00
Matthew Flatt
fa807f509a gtk: fix `get-focus-window' in frame%
Closes PR 11654

original commit: e331f1bce26b0aa23dd0c89fcec62280fe82dd66
2011-01-21 09:07:46 -07:00
Robby Findler
b8f668ea3a add match to the default indentation and squarebracket preferences
closes PR 11656
  closes PR 11653

original commit: 72b7c262904d30a321139c286fa34b7bec17cfaa
2011-01-21 06:47:28 -06:00
Matthew Flatt
d878626449 win32: fix dialog centering
original commit: 4529fbe5e6d47ff4b067deefbb53f31dac14478e
2011-01-20 16:47:14 -07:00
Matthew Flatt
3787ef2d2f fix default dialog% position (centered)
Closes PR 11637

original commit: 0bc987e66b694050d62a2017348eef6a291f9a3a
2011-01-20 16:42:45 -07:00
Matthew Flatt
984580f291 fix `message-box' to use eventspace of parent, if any
original commit: 128fedaceb505a712fab9fcf0ea24d9e97457de7
2011-01-20 15:47:03 -07:00
Robby Findler
465ba73e39 remove leftover printf and adjust splash screen width default
original commit: b25c9591f62cc2984e14c25c9438fb253616fc2d
2011-01-20 15:40:50 -06:00
Robby Findler
d6dfa2d675 fixed the result contract of message+check-box (it was missing the second value) and then did a bunch of other minor contract tweaks to get rid of false/c and one-of/c
original commit: 0f579711ac044313449669199a67b8359c225cb5
2011-01-20 14:08:34 -06:00
Robby Findler
fa93a8ee44 adjusted the framework preferences system to work better with failures under windows
original commit: cde613218e8b9a64e8495b050f1c9a474ab71afa
2011-01-20 14:07:12 -06:00
Robby Findler
6e4a754a50 Rackety
original commit: b2dfe78fb08156dc6f9b89127c8cf4376662550b
2011-01-20 14:05:59 -06:00
Matthew Flatt
b7aac0d234 win32: printing page size
original commit: 676066f10338723d55c57db4f3e4aee32d502237
2011-01-19 06:32:29 -07:00
Matthew Flatt
6a4c464126 cocoa: fix printing bounds
original commit: 4fc8797df29a4c162c3294c780427b228959e3d8
2011-01-18 18:42:39 -07:00
Matthew Flatt
6655dc982d 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

original commit: 98822cf1f989efd7c22f5d9587a65aeee29f26c0
2011-01-18 17:37:33 -07:00
Matthew Flatt
5ee660453f fix `editor<%>' printing problems
- pagination for `pastebard%'
 - always put everything on a single page for EPS mode
 - add PDF support to mirror PS support

original commit: 183323a2c5712ec851148e804255665ede9fa8e6
2011-01-18 14:16:25 -07:00
Matthew Flatt
f602a0965f gtk: add missing keycode for Insert key
Closes PR 11412

original commit: 5bdc8a58b40e6dd1deaba34344fd9d2cb006ad37
2011-01-18 11:02:47 -07:00
Matthew Flatt
7c2da93eb0 change `text-field%' to treat numpad Enter like normal Enter/Return
Closes PR 7890

original commit: 3ff7ca2d317396d3747b3c6dab35c5e29aac95ea
2011-01-18 11:02:46 -07:00
Robby Findler
f6ab871af9 fix a bug in the indenter relating to {} tabbing
original commit: e95957483c53f2edb64956469da89f010868d76c
2011-01-18 10:54:56 -06:00
Matthew Flatt
25e0080ae3 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

original commit: c12d52f21b14837e760131c31319297cce42a8d8
2011-01-17 20:27:55 -07:00
Matthew Flatt
d6e4425fbb gtk: enable input-method (e.g., Chinese) support
original commit: d8e123753c40fadc6d51513cf1fa5e4eca614bc8
2011-01-17 18:28:31 -07:00
Robby Findler
d9bea8bf42 found another place in the framework test suite where operations weren't happening on the eventspace handler thread
original commit: 70e3074bafbfe95fa90b6651489271551be9a67e
2011-01-17 15:35:35 -06:00
Matthew Flatt
63cb0cfad9 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

original commit: 36155e913e9f9ab94667e0c4e0abc8038ffda0a6
2011-01-17 09:21:50 -07:00
Matthew Flatt
fcf44097a4 document the fact that event callbacks are now delimited by a prompt
using the default continuation prompt tag

original commit: 7545d7d18fd0119e441d36ac516b89dc14693861
2011-01-17 09:03:05 -07:00
Matthew Flatt
a6ae74dc8d fix the event dispatch handler
original commit: 0c1ca7a902207691f76feb161743c3f95c0be95d
2011-01-17 09:02:51 -07:00
Matthew Flatt
b20c4281f5 restore `event-dispatch-handler'
original commit: 10ad58a747b2eaec89e101a89e99ed5c913b3f33
2011-01-15 18:28:36 -07:00
Matthew Flatt
dcdd232176 win32: allow GetCursorPos to fail
in case the current desktop isn't the input desktop

original commit: d1dc1303c296ae86fea307134185e6a8f2e8d47b
2011-01-15 16:46:35 -07:00
Matthew Flatt
489849db56 refine `sleep/yield'
original commit: ab86ffa7783f626a6cff09652876b0b2fef279df
2011-01-15 16:46:31 -07:00
Robby Findler
c9d3f9a823 fixes the way alt-enter in the drracket repl works so that it doesn't insert whitespace into the submitted expression
closes PR 11621

original commit: 7a85e942a2314822352d0a8aeeace56021e019f2
2011-01-15 16:02:23 -06:00
Matthew Flatt
956237b041 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

original commit: a9dd80110a4aa750b60de71bc9432e51f070c6b1
2011-01-14 20:30:51 -07:00
Matthew Flatt
3dd7744f44 win32: connect print dialog to given parent (if any)
which causes a different style dialog to be used

original commit: f69e89c0232af601b9c07296e355d96bd81e68e8
2011-01-14 18:54:02 -07:00
Matthew Flatt
27e115b603 fix problem with mm printer measurements
original commit: 06e5d7d6c85ced44dfc3e7c255adb262aef0e233
2011-01-14 15:51:41 -07:00
Matthew Flatt
0f4c788da1 fix another problem with `erase' in a canvas dc
Closes PR 11625

original commit: b10ad75d11d106897334ee1f57a8652ff001e668
2011-01-14 15:50:33 -07:00
Matthew Flatt
4a5dc5b76b 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

original commit: 0d36dbefb8a5fed1d1b69cabdd1aa039566553c9
2011-01-13 20:08:57 -07:00
Matthew Flatt
bdc443ab33 win32: tell Cairo when drawing to a printing context
original commit: 559f7563749e96842c1e725b346a6e5a8a85d2cc
2011-01-13 20:08:56 -07:00
Matthew Flatt
6c9eea1287 win64: fix PrintDlg alignment
original commit: 4f292a95c5fd8c2d63efb6a541cc84061af8a53c
2011-01-13 20:08:55 -07:00
Robby Findler
b77f73f013 added get-button-label method to switchable-button%
original commit: 65579793afbebb705080267a37580ec0b94e1e97
2011-01-13 20:11:52 -06:00
Robby Findler
6cab7dec39 disable the trace of all of the messages in the framework tests
original commit: b8459737f00ccd9f12229e2058f2d49247f7a4c5
2011-01-12 17:32:26 -06:00
Matthew Flatt
dff79375e6 win32: don't handle frame non-content mouse events
original commit: e9a4650f0904b4bd7f66921a1a33de0fa3341156
2011-01-12 07:46:55 -07:00
Asumu Takikawa
93c33e14a0 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.

original commit: 60d0e5b886c9e249a03251b4af15fc0f5407643b
2011-01-11 21:55:37 -05:00
Matthew Flatt
407d2c5d43 win32: handle control font failure
original commit: 1ce430faf70d2ab5c4dcf8ea991afb74d4684742
2011-01-11 19:47:15 -07:00
Matthew Flatt
53db50dc93 win32: fix screen-glyph reporting for label mode
because XP doesn't substitute fonts in control labels

original commit: 6defe0ea09368b38f6015cd27caed599fdcf875f
2011-01-11 19:47:04 -07:00
Matthew Flatt
bc097d0606 win32: no multisample for offscreen gl
because it interferes with multisample setup for
 canvases and seems unlikely to be supported or useful

original commit: 68e647ae911cc5d34a8b443c9c115bcf0336bd3a
2011-01-11 14:35:54 -07:00
Matthew Flatt
148d98d5a5 win32: support gl multisampling
original commit: 640fa15d32e5b16640355fc84e4366a3c181d142
2011-01-11 13:13:19 -07:00
Matthew Flatt
27fffc48aa 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

original commit: afdfafa66a6b45feb194efcc39964eef16b3058a
2011-01-10 17:16:50 -07:00
Matthew Flatt
3a1b93b05f add `svg-dc%'
original commit: 6afffb329c6d3cc55239f2f1fdf423be9c24765b
2011-01-10 16:41:16 -07:00
Robby Findler
9624a40ecf adjusted how paren matching inside {} works for better tabbing in scribble mode
original commit: 666c55953254fee063331290c4fb3784acbd1fa8
2011-01-10 16:56:45 -06:00
Robby Findler
437ba21fd5 change drracket to print the start & end compiling messages when in PLTDRCM=trace mode
original commit: b823b94cda6114cab845c81af823e83f7cf7e2d9
2011-01-10 16:56:40 -06:00
Matthew Flatt
ad93d76db4 fix some switchable-button tooltip problems
original commit: a28ead9464b30aa7ac9d7a863b10061db21bfc7e
2011-01-10 12:26:24 -07:00
Matthew Flatt
c54649bd9e win32: mouse-leave events when mouse leaves the frame
original commit: 4c05bb48f128c1885c122835eb29755f2a9535b1
2011-01-10 12:26:23 -07:00