Commit Graph

4332 Commits

Author SHA1 Message Date
Matthew Flatt
0b74b321d5 cocoa, gtk: enable auto list-box% horizontal scrollbars
Closes PR 12149

Also adjust id on NSTableColumn to be a string, because a Cocoa
warning on Lion told me to.

original commit: ec25a74b97f0ab7a487c5fd8c7c89d2900a84ad5
2011-09-10 11:14:52 -06:00
Matthew Flatt
691b4c33ce better fix for TransformProcessType issue
GRacket registers witht a global table to indicate that
no transform is needed. (This change was intended to address
a 64-bit problem on Lion. It didn't help, but this seems
better than ignoring an error.)

original commit: 9d4fcd8e84e8663526420ff2de4b8b67869442c9
2011-09-10 10:53:42 -06:00
Matthew Flatt
480477cbd4 suppress an error message (related to Mac 10.7)
We could try to figure out the current state of the process,
instead, but it seems like too much work.

original commit: 9c5b78e998c7cf3e6a0bfe9848b7a47f18562ef3
2011-09-09 19:22:42 -06:00
Matthew Flatt
fee465a5a4 racket/gui: add `application-start-empty-handler'
original commit: 735ca7f3c3314df880785264c484b841df87cd16
2011-09-09 17:03:18 -06:00
Matthew Flatt
cf84b6b496 get-diplay-size' and get-display-left-top-inset' use #f for failure
Since the number of monitors can change at any time, reliable
use of these functions requires handling failure in some way.
Handling #f results is easier (and less likely to mask other
problems) than catching exceptions.

original commit: ce4705cedce9dc6f1658e93245d07f739e26a19b
2011-09-09 17:03:17 -06:00
Vincent St-Amour
d1a84ce043 Reduce priority of paren matching highlighting.
original commit: 68aad051e9ee3bd3a516eaa8048c82ec4a980365
2011-09-08 18:01:16 -04:00
Robby Findler
2c7390edb8 add yet another dialog-mixin argument to a standard dialog, this time
get-text-from-user

also, some minor rackety to that function/file

original commit: 57c59d2ed7e1e8a29d492d533a8b3f5673022824
2011-09-05 20:19:16 -05:00
Robby Findler
1f69a824fa wrong super interface
original commit: 67d17645c425509f99d57da752c08f68fbcafe99
2011-09-05 12:33:53 -05:00
Robby Findler
b16c4e9076 add forgotten file
original commit: 8a30ed73b7e569faf809ca4cd4fa76b61bbd66c6
2011-09-05 09:41:49 -05:00
Robby Findler
b25c7cf3b1 add frame:focus-table-mixin & related things to be able to make drracket
test suites that don't depend on the OS giving any focus messages

original commit: a67f509f90359203463c943e4de90eb5e8a91656
2011-09-05 08:30:49 -05:00
Robby Findler
d1798aa1c1 break lines better
original commit: e4ddd0718ac0f0bf02c8d079a6c940d2fdb7f979
2011-09-05 08:30:46 -05:00
Robby Findler
8d75df199f added a #:dialog-mixin argument to message-box and related functions
Also minor rackety (just enough to get keyword arguments)

original commit: 92537076211b5b2c111ad8f8482c8354a8335029
2011-09-05 08:30:45 -05:00
Robby Findler
30dc7eaf8c added a #:dialog-mixin argument to get-file, put-file, get-file-list, and get-directory
Also, Rackety

original commit: 415868f914bb1c58b7c8645311d2ade8eae2a58b
2011-09-05 08:30:44 -05:00
Matthew Flatt
744dea6dae doc fixes
Closes PR 12157

original commit: 3f09b2ea6491d7641002ea348b1981b12e921488
2011-09-03 13:31:52 -06:00
Matthew Flatt
a3b41a2b44 gtk: make list-box% min size non-zero for content
original commit: 594447ae7ef0b0e1a171bd5897482153f0c4a4f4
2011-09-03 10:44:37 -06:00
Matthew Flatt
a08a642aa5 cocoa: fix application about handler
Closes PR 12165

original commit: 34eb5ec9832660fdc2960e4aba00f2c407fddf5e
2011-09-03 10:35:55 -06:00
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