Commit Graph

4193 Commits

Author SHA1 Message Date
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
Matthew Flatt
fefffbf377 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.

original commit: d4e3d42d1948710b6937b06155ba424fee6af343
2011-01-07 17:59:26 -07:00
Matthew Flatt
cf84d8d410 add refresh-now' to canvas%'
--- this method doesn't have to be built in, but it
     encapsulates a common and not-too-obvious pattern

original commit: d6fc7da7501ff636ebf13639def6909aaa4feb47
2011-01-07 14:19:35 -07:00
Matthew Flatt
4ffe777f3a cocoa: erasing a non-transparent canvas uses white
original commit: 5f4ee4f9f83e2a2db9a9c7cc5f38318f4228e018
2011-01-07 14:15:35 -07:00
Matthew Flatt
e7ecd69f95 line number fixes
- restore some method augments that I shouldn't have deleted
 - handle font change through a style-list callback

original commit: 9d7a7a1520d5be5ccd993dc935f1053e6160e01a
2011-01-07 13:02:33 -07:00
Matthew Flatt
2682ba9403 document weak reference by `notify-on-change'
original commit: a5660f38eb611b4628f3712916666d8e34c79eb5
2011-01-07 13:02:11 -07:00
Matthew Flatt
4ea0968815 repairs for line numbers in DrRacket
original commit: be6ba896e04a7a0744810883774ee88fde9aa041
2011-01-07 11:57:50 -07:00
Robby Findler
b886a67766 clicking on the preference file indicator now gives stats about the preferences file
original commit: d8a3edfc88ebff4e4bca92187b14ccb9038aa07d
2011-01-07 12:33:14 -06:00
Robby Findler
674aa7b304 what happened here?
original commit: bf031be73e97771b8d45fbb257d912f0e54f32ec
2011-01-07 09:23:51 -06:00
Robby Findler
24a195eee2 make the framework test suite only modify gui objects on the eventspace handler thread
original commit: a32adbe7db6e8302bbd2bf0d21b6ad9cb04ad0d1
2011-01-07 06:39:27 -06:00
Robby Findler
0c9aceeb9e added un/cache-image, a function that enables/disables the drawing cache in 2htdp/image images
original commit: 670d58d134eaf2dc5ed6ef4ea60f53d66321acda
2011-01-06 14:24:01 -06:00
Robby Findler
a58b1541a8 remove now useless private field
original commit: 21050c24542a905daa6a29ffa04ebae58ff64228
2011-01-06 10:09:09 -06:00
Robby Findler
1f39495448 ask about normalizing pastes only after pasting has finished (in case there are multiple calls to insert)
closes PR 11449

original commit: c94ad960acee98198775b4d67743a318303a961c
2011-01-06 08:39:32 -06:00
Matthew Flatt
996874cd46 improve canvas-drawing docs
original commit: 4f56618c6d9a36743f97535ad1d75e5fa36d9d5f
2011-01-06 07:43:26 -07:00
Robby Findler
e19ce1d98f use new syntax colorer hooks to provide feedback about syntax coloring in the definitions window in drracket
original commit: 33cb5a8b6fc06c560cd4cb9a41d2e7ab3c0e44c0
2011-01-05 20:39:35 -06:00
Robby Findler
d2e13d3f39 added an observer for the colorer
original commit: 92d9ce38d3d568daf72ba8f98080cdf9110fc1d9
2011-01-05 20:39:31 -06:00
Matthew Flatt
d19d8618ac add get-client-handle' to window<%>'
original commit: 81cbf1ae1fb81bce7eb0aa8637a2656797bdb6f1
2011-01-05 12:15:37 -07:00
Matthew Flatt
b67f557e59 win32: on-size fix
original commit: adfa67206d17aeb9d31d7785809ba81f0835bf25
2011-01-05 10:38:06 -07:00
Matthew Flatt
e576a185ce more consistent on-size' and on-move'
original commit: ae5093a1344091992a373e44c476fc99540f948c
2011-01-05 10:00:07 -07:00
Matthew Flatt
41d92f6891 fix line-number mixin
original commit: c9d2f43398dc4c607ff98278cab93655d3b2af14
2011-01-05 09:57:33 -07:00
Matthew Flatt
5aa88b9e18 fix docs on get-handle' from window<%>'
original commit: b0d95708bfa561d019144dc22a546aadd1fc7cb0
2011-01-05 08:50:21 -07:00
Matthew Flatt
2a0b73842d restore and document scrolling behavior
Closes PR 11583, and
 everts the previous fix for PR 10853 and fixes
  it in a different way

original commit: b0095111d4816043891138c3d36568d220c2db4a
2011-01-05 07:02:00 -07:00
Jon Rafkind
b40699d86f restore dc state after calculating the clipping area
original commit: 6c3feabb52bd1e987b3d24a9c54ca74d431dffea
2011-01-04 22:24:36 -07:00