Commit Graph

4344 Commits

Author SHA1 Message Date
Robby Findler
b1f73b074c moved the 'send to repl' keystrokes to the manual (and added a test
suite to make sure the example code in the manual doesn't get stale)

original commit: abda2572951d1261c89d474cba9b99409fe38e7f
2011-09-23 16:37:18 -05:00
Robby Findler
63d9d89abb extend and refactor minor stuff in the framework
specifically add an argument to move/copy-to-edit so that it
does copy-only and export a function for trigger a submission
to the input port of a text:ports<%> object programmatically

original commit: 2ec720176a295f147cbb461f6b804e05c78ee57d
2011-09-22 10:51:47 -05:00
Robby Findler
dfb6f53f0e get rid of the "open here" functionality
This is a backwards incompatible change; there is a more complex change
that just stubs this stuff out that may be better that we may need
isntead of this commit.

original commit: 048fa1d7b8b5e17ac58181b068d779806bd5c59a
2011-09-21 22:53:03 -05:00
Robby Findler
4e3cda33e3 adjusted the color for 'is-documented' bindings in online check syntax to be
green so it doesn't look anythign close to how the "yellow" error messages
look

original commit: e2f1611ab4b31f68000bb3124745849a2ea7b9ad
2011-09-21 22:52:59 -05:00
Robby Findler
2659e1049e add missing default arg value to close-icon% docs
original commit: b1ecffe26214c853445a4ad0e2fccba995ddd971
2011-09-20 17:14:58 -05:00
Robby Findler
b250603a14 guard a use of get-root-data in the token tree implementation
closes PR 12072

original commit: 8e5bb730b369b169821695e1b3216d68a8d71d64
2011-09-16 19:04:14 -05:00
Robby Findler
0156ad664b docs for new read-snip-from-port function in the wxme library
original commit: a4336c39976d10974e2e74151e8e7cfd36c92ee2
2011-09-13 20:46:04 -05:00
Robby Findler
bbe4958a59 fix the collapsed snipclass so that it cooperates with the wxme library and
thus saved files with collapsed snips can be required in non-GUI contexts

original commit: 89ef65a7461a4b91cd3f0c28231f74c593f165ee
2011-09-13 14:58:39 -05:00
Robby Findler
995c2935ba Rackety
original commit: 14441264efead613c7f21ce0ec6f486bdc81dc41
2011-09-12 10:49:15 -05:00
Robby Findler
b8738f7215 add a better link from the snip class docs to the relevant section of the
wxme library

original commit: 1ec5aee4a4d1d673cbcf3e29766effd256ff6b24
2011-09-12 10:49:13 -05:00
Matthew Flatt
fd8c7242d1 win32: fix `get-file-list' with a single file result
original commit: 2bd461de50a7eae9bf2d9b2ad523443aae9843ba
2011-09-10 14:56:53 -06:00
Matthew Flatt
a1a02c65c6 racket/gui: fix excessive on-size' and on-move' callbacks
Especially for gtk, where a client-resize notification was
getting mixed up with a frame-configure notification. On all
platforms, `on-size' and `on-move' for a frame% were queued
at too high a priority.

original commit: 2ecd32b86e0458ae70a403a68ef342f6fdb829a7
2011-09-10 14:37:13 -06:00
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