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
Matthew Flatt
8744d5c5b5
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.
original commit: f1e13a7921d7a8890376773f2705feb02bb165e8
2011-01-10 07:53:03 -07:00
Robby Findler
08dbf9be69
setup hooks so that the behavior of the home / c:a keybinings delegates to a method to find where to go
...
then, use that to change how it works for the scheme mode (and also another variation for the REPL to
cope with the prompt)
I spent a while trying to make this work at the keymap% level (ie putting different keybindings for "home"
and "c:a" into different keymaps) but this just turned out to be far too confusing and fragile, so went
with this alternative (one keybinding, but that delegates to an overridable method)
closes PR 11446
original commit: d2cb96bcb39d93f6dac92906bed9885828663798
2011-01-09 16:22:28 -06:00
Robby Findler
ece9db9125
move the text class creation calls back to the end of the file
...
original commit: ad47d346bad2fdb6f5e4b8f9a5a69dda7e7b4726
2011-01-09 15:38:24 -06:00
Robby Findler
146ff6cc49
improve the drawing of the menu popup when it is yellow and the mouse is over it
...
original commit: 66f6f04c1eae3faf7d8c41f0e42c799148889096
2011-01-08 14:29:36 -06:00
Matthew Flatt
9769ae42e9
gtk: fix floating windows
...
original commit: eaa82cc84d1afbe4530b1316b5c1d18775e6f0b1
2011-01-08 11:55:31 -07:00
Matthew Flatt
832d4713dd
cocoa: fix problems with floating windows
...
original commit: f59e8e0eb9425e0cb6a9aa50c928b9d8bb2221f4
2011-01-08 11:41:11 -07:00
Matthew Flatt
a74d9e8c80
radio-box% initial selection and #f
...
Closes PR 11107
original commit: 8f6acf6aae3b389a85cef3867d27c41393c12f3c
2011-01-08 10:29:32 -07:00
Matthew Flatt
78c90d9910
fix `tab-panel%' callback problem
...
Closes PR 11528
original commit: f2a11c504ddd7f3ecac6d1bd9491e209fd94fec2
2011-01-08 10:29:31 -07:00
Matthew Flatt
6bd8aa4b9b
gtk: get-file' and
put-file' replace "*.*" filter with "*"
...
Closes PR 11593
original commit: 9417beb7bd7c1bb59f180870f3e6d6edf9836faf
2011-01-08 10:29:31 -07:00