Commit Graph

4366 Commits

Author SHA1 Message Date
Matthew Flatt
c6a9b05793 cocoa: fix menu when two layers of dialogs are dismissed
original commit: b4ef9a09a9d9b76e2736941e8724160afdf6b0a6
2011-09-03 10:35:55 -06:00
Matthew Flatt
7557fb70af 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

original commit: f5e534fd87e1e4e278e835c9237c2efa5ed27bc2
2011-09-02 08:27:49 -06:00
Robby Findler
96db7de80c wrong check for the result of system-type
original commit: 171858add12c3f801b08beba6f32025283d477d7
2011-09-02 08:58:22 -05:00
Matthew Flatt
ea717ae364 cocoa: fix switch-to-gui-app for 64-bit
original commit: d857385797f20271612ad01940e96d0f1d6f7578
2011-09-02 06:27:56 -06:00
Robby Findler
9427dc1b12 adjust the close/close window/close tab menu items to be more like other apps on the various platforms
original commit: 49dbb5d963e7b7a21235b0a9ef3935cb08a980e0
2011-09-01 10:53:09 -05:00
Robby Findler
03c59f6df9 adjust keybindings to free up <menukey>-r for "Run" and <menukey>-t for "New Tab"
original commit: 8f6fb875975eac3782b84e984f416257002aec6d
2011-09-01 10:53:07 -05:00
Matthew Flatt
86767f1454 gtk: fix menu-item shortcut updating
original commit: 459d2422e3ad8383e2a580bef3ddf4c67c65867c
2011-09-01 07:14:06 -06:00
Matthew Flatt
010ea2bf06 gtk: fix border (when requested) for canvas% with scrollbars
original commit: 9d5f45a9d1ff254b2d677801ced48026f9948fa6
2011-09-01 07:14:05 -06:00
Matthew Flatt
afcb8b3e86 report some errors instead of potentially ignoring them
original commit: 3f11ef9b119b2afbd19afa1f35fc90dd2cfce527
2011-09-01 07:14:05 -06:00
Robby Findler
6c30211409 adjust the 'recently opened files' menu item so its contents are contain fewer redundant entries
amusingly I was reminded to do this by Matthew's recent commit message
saying that normal-case-path is usually a bad idea

original commit: ce0da835ce0fa2c6295bf9c39565f6dbe77216cd
2011-08-30 16:11:00 -05:00
Robby Findler
34f8a5cf3a adjust drracket to be more accomodating in the presence of hostile filesystems
original commit: 9fcc12b6a03f1a3eacea86b89af1c642fd621fb0
2011-08-27 16:41:35 -05:00
Robby Findler
51b354be90 adjust framework get and put file functions to use simple-form-path instead
of normalize-path (I'm unsure of the ramifications of this change ...)

original commit: 68239410804b13f16dfddc290e7ada4eb95e9b6e
2011-08-27 07:54:11 -05:00
Robby Findler
b4ded33aca adjust the framework get file dialog functions to not call normalize-path unless
they've recently checked to see if the file exists

original commit: 1d13d1399cfd6a1223f9d5b4a2a257d98035b33e
2011-08-27 07:54:10 -05:00
Robby Findler
a106a0e769 adjust include-bitmap so that it does not write to the filesystem
(also, Rackety)

original commit: 913883fd282fb767a3db6d9f22797eb6194da60a
2011-08-27 07:54:08 -05:00
Matthew Flatt
71f4c0632c speed up mult/unmult in `{get,set}-argb-pixels'
Also add test cases to check consistency of the results.

original commit: 71b500b49f2948b7c6902afe2a03938e55eb9423
2011-08-26 09:13:28 -06:00
Matthew Flatt
0b5a860bff add a test for undo-clickback repair
original commit: b0245395b760d73666ad65b25d146a73cb20bba4
2011-08-26 06:07:57 -06:00
lvilnis
3f8d06d3c9 Fixed a bug with delete, undo and clickbacks in DrRacket
original commit: b0d909bd8fc09959beff44f92268db9ee25b0a08
2011-08-26 06:07:57 -06:00
Robby Findler
a8ce7a4346 remove non-existent files from the 'open recent' menu (but only when the file is selected)
original commit: 9817820e4ce55d1e8f07653ec14e6c672c3fbb92
2011-08-25 12:33:33 -05:00
Robby Findler
8471458b26 speed up bitmap rotation (could probably revisit this to
speed up flipping (and also to do all three in one pass)

original commit: 6c91288f2f1f1b18e64f28b147deb6a773d248b0
2011-08-23 18:56:51 -05:00
Robby Findler
eb3c18bb39 fix bug in the loading of non-alpha bitmaps (also: minor Rackety)
original commit: b425ca90d22f2ed84074eedb3da0ed88eda28170
2011-08-23 18:56:50 -05:00
Robby Findler
e5c4471338 add test cases for old file 2htdp/image file formats
(and fix corresponding bugs)

original commit: 034e4f236486d5b246e3384bbce549c7d595c7fb
2011-08-23 07:12:11 -05:00
Robby Findler
eb3bb743f5 2htdp/image
normalize the internal representation of bitmaps so it always uses an alpha
bitmap instead of sometimes using a mask bitmap and sometimes using alpha.
This also fixes a bug where the library would get consfused when it saved
a bitmap to a file, since it didn't record if it was an alpha bitmap or not.

This improves the save files that contain images, cutting the size for bitmaps
in half (bringing the drracket save file down to a mere 25x larger than the
png file format for the example I was using...)

original commit: 1f02106318edba9c011afaf24d6ef34a3081c9ff
2011-08-22 19:09:52 -05:00
Robby Findler
400906e376 use the pre-multiplied alphas when comparing images for 2htdp/image
original commit: 8ccf50b84bf3b25b2c4ddbe4dbd6ef088c6a9cd7
2011-08-22 19:09:50 -05:00
Matthew Flatt
0fb6c62e45 fix same-scaled test
original commit: 32da8e2b1f60e9148e47df7813ae945bc70a7958
2011-08-19 13:15:36 -06:00
Matthew Flatt
93e964e2ff gtk: fix frame for text-field%' and other canvas%'es
original commit: 8264e7758539bc2e27385e77839dcfce2ef38948
2011-08-16 08:12:31 -06:00
Eli Barzilay
6c5aad0685 Lots of documentation formatting.
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).

original commit: d61eb53686f735b979a60dc6f9efd3d2aa9777d9
2011-08-15 07:50:04 -04:00
Matthew Flatt
556a322e3c implement 'border style for `panel%'
original commit: 461af202c5cfa17351ff3758ab29f9eda61cf38d
2011-08-13 07:00:51 -06:00
Matthew Flatt
ce6879c013 fix refresh' on window<%>'s other than `canvas%'s
original commit: 456e9befd3959cfab1e74943fb99eb4552c97313
2011-08-12 17:03:28 -06:00
Matthew Flatt
1ff4328f2b cocoa: fix sign on `get-display-left-top-inset' x result
Also fix frame placement on screens other than the main screen.

original commit: 3ab067bc338406848e937f388343fb1e2ffa3074
2011-08-10 11:13:58 -06:00
Robby Findler
aa28c178f8 change some prints to fprintfs to make it easier to remove debugging printfs from this file when checking in
original commit: dc326c9501de192215a4c81f538a8614a024e632
2011-08-10 12:02:49 -05:00
Robby Findler
15e5457246 fix the initial frame position code for the multiple monitors case
original commit: 83e70af00661a4b42d220bccdfd5e30d6431e53d
2011-08-10 12:02:49 -05:00
Robby Findler
19763add70 fix the auto-square-bracket thing for with-syntax
closes PR 12096

original commit: 40c68df514e54212113db57cdd7855ec7bd51098
2011-08-08 19:30:13 -05:00
Robby Findler
48e71d341a manage the state for delegates better (used by the drracket contour window)
closes PR 12094

original commit: 38596a9b581c06a7bdc8faba26c8e0cfb1b09492
2011-08-07 18:39:22 -05:00
Robby Findler
ce23305a06 when moving the insertion point due to a search, use call-as-primary-owner
to scroll the right editor
   closes PR 12080

original commit: fc50be1caaa47ee315269b7254a742b4717b8350
2011-08-05 23:33:51 -05:00
Robby Findler
59afeb677a adjust the tabify and tabify-selection methods so they do nothing when the colorer is frozen or stopped
closes PR 12087

original commit: a090a0e903eee77890d7355e0861bfdbec9e2750
2011-08-05 21:39:31 -05:00
Robby Findler
a99c233ce7 start a section for documenting the symbols that DrRacket passes to a language's get-info proc
add docs for a few of these, notably the syntax colorer

original commit: 0c6bc11ac3fba7b0c06841b6ae9a587286045a09
2011-08-04 21:40:29 -07:00
Matthew Flatt
81ebd9a26b gtk: set app name on startup
Closes PR 11896
Closes PR 11408

original commit: 941dacd966913ebbeca150e0b5cd193788b5bd90
2011-08-04 09:27:05 -06:00
Matthew Flatt
14aaa67a74 remove unsupported MDI styles and method
Closes PR 12042

original commit: 71621bfd72f6ac86b2952da64243b9c19ca5581a
2011-08-04 08:02:54 -06:00
Matthew Flatt
2b844e66dc cocoa: fix list-box scrolling
Closes PR 11948

original commit: 1bc8978ce84fe0af9ef0d1a889ecdee490dc7a2d
2011-08-04 07:38:10 -06:00
Matthew Flatt
ec385591fa gtk: fix frame position tracking
Closes PR 11931

original commit: cdf20857039ab5e235629e80c61bc7296f77e5d0
2011-08-04 06:45:18 -06:00
Robby Findler
b1c27e35c2 get rid of a broken attempt to optimize the 20,000-ft overview refreshing
closes PR 12083

original commit: 29a843ac379438a6b7540716c68537a09c62ac51
2011-08-03 09:58:23 -05:00
Matthew Flatt
7bb7496c79 gtk: fix refresh freeze/thaw and reparent interaction
Closes PR 11947

original commit: 37c43c23d62826f7d78fab46ccaa8e9f10bc851d
2011-08-02 20:00:56 -06:00
John Clements
bc8fb85de2 unimportant tabbing fixup
original commit: e178dbc4f245cbeed487e8a8efd62fbab13ec8e0
2011-07-28 22:51:00 -04:00
Robby Findler
cd48f8a314 adjust the control-s keybinding so that it behaves like the menu shortcut
keep the old keybinding on esc;% (only under linux)

original commit: eba9c56d8cd7ea14485d9ad0be4586586b4aa36f
2011-07-25 13:40:15 -04:00
Matthew Flatt
63501f5363 add 'no-focus style to `editor-canvas%'
original commit: f13a669d056358ac2b50e6a8a2907e40045593a6
2011-07-25 11:30:23 -04:00
Matthew Flatt
7556774742 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

original commit: 69f7e912d2bffd638123475ce0041e6188ab5f02
2011-07-25 11:30:22 -04:00
Matthew Flatt
26d947d5eb work around win64 drawing problem
Merge to 5.1.2

original commit: 8711aa6c5d819899fce1ff06f5bf60fe01cc10cb
2011-07-22 07:51:01 -06:00
Robby Findler
ad8348a51d fix the png conversion code for 2htdp/image images
closes PR 12061
  please merge to the release branch

original commit: 56b82ba83c5d29afaafbed602c8e14873a14f953
2011-07-22 08:09:17 -05:00
Robby Findler
21ea7fb026 change autowrapping preference default
please merge to release branch

original commit: 2a78ea97237e93e980b8a4ef16563882d8f03822
2011-07-19 16:17:04 -05:00
Robby Findler
3b8bdc5ec1 adjust the size-pref frame mixin to track the position of the frame in a multi-monitor sensitive way
(also fix various issues with that code and unify the framework and drracket way of doing this)

original commit: 3fa2cc0d6775f1793a5068295e0370cadb70cfaf
2011-07-19 16:16:50 -05:00