Commit Graph

4366 Commits

Author SHA1 Message Date
Matthew Flatt
60c5ad33e3 cocoa: make grow-box-spacer zero-width for 10.7
original commit: 3941a5d04f71a7d17f9ad341b30e2d6acde098c8
2011-10-04 12:59:18 -06:00
Robby Findler
211d1398f8 fixed planet docs; closes PR 12178
original commit: 6fd2e9c1d3e834d8f69ffc0bc18651c04a26763f
2011-10-04 12:56:35 -05:00
Robby Findler
e5011aa5f4 fix my stupidity
original commit: 3bfce02bd6d24f9e15ef8b3360107d93a3e793d3
2011-10-02 18:14:55 -05:00
Robby Findler
6bd97a2bad fixed another path/string bug in the autosave recovery dialog
original commit: c455631eb327ede09ec0f21e1958f9cd043ce72a
2011-10-02 17:19:27 -05:00
Robby Findler
57b74886e6 add get-default-percentages to panel:dragable and then add a dragable panel
to the debugger

original commit: 951de8cc51b446b6041e64bc37356392266a3532
2011-10-02 14:34:28 -05:00
Robby Findler
c4deab2e67 fix crlf mode initialization
original commit: b71e562284168419abb5500e2eaceb9d0488f363
2011-10-01 08:10:25 -05:00
Robby Findler
089022da68 clarify the use-file-text-mode method.
original commit: b52086ecae15a1e159f01969b2e651e3234f514d
2011-09-30 17:08:18 -05:00
Robby Findler
eb943f394e Adjust DrRacket so that it saves files with CRLF
line terminators when:

  a) running under windows, and
  b) the file on the disk (when DrRacket first opens it)
     contains all CRLF line endings.

In all other situations, the file is saved with LF terminators.

Before this commit, DrRacket would always use the platform-specific
convention, regardless of the original content of the file.

closes PR 12242

original commit: 4a2757f2004fa84901cbae7ff9a257616ce7acaa
2011-09-30 17:08:07 -05:00
Robby Findler
17f11541b4 adjust various plumbing to get the drracket icon to the startup screen. Only to realize
that the startup screen is a dialog% and thus doesn't have set-icon

related to PR 12241

original commit: b95b346a4e3f51dddd5ec88faf126f1b4636125e
2011-09-30 17:08:03 -05:00
Matthew Flatt
6c3d889b93 fix keyboard navigation (all platforms)
Also, fix `set-selection' in `list-box%' to not invoke the
tab panel's callback function (cocoa & gtk).

original commit: 4535f5d8cc0fe4d0c3c360d7527980b1c3b7e39a
2011-09-30 13:44:24 -06:00
Eli Barzilay
7fb531ebc6 Improve code generation in the framework collection.
Instead of generating a file for code and one for documentation, do both
via a macro instead.  Most of the code is the same (modulo reformatting
in a more modern style), and instead of printing the result to a file,
it just returns it as the result of a macro.  (Since this is done in a
naive way, the macro is bad -- it is unhygienic since this is basically
what it did before only through a generated file; it should eventually
be improved to avoid these hacks.)

original commit: 093236fea448240740fe22c232a223950c693839
2011-09-30 10:51:28 -04:00
Eli Barzilay
63a464fc93 Don't create a page-setup menu item if `file-menu:create-print?' returns #f.
original commit: 656de6963692413b27b5e1682465f4cfd989a318
2011-09-30 10:45:43 -04:00
Eli Barzilay
4f3d062242 Rename "standard-menus.rkt" -> "standard-menus.rktl".
Since it's a file that gets included.  This is likely to be temporary,
if I get on with turning the whole thing into a macro.

original commit: 01c859072e7dc2a4b3296e06bf10ff5d82f80295
2011-09-30 10:45:43 -04:00
Robby Findler
0683d8a898 add splicing-* to the default indentation preferences setting
original commit: 3a3ce656c4ed5736ae5e46e9736fb05c35412c96
2011-09-29 06:55:05 -05:00
Robby Findler
28e11323fc adjust frame position preferences for the case when a monitor has gone away
original commit: bef4ed1fd412e1e7d2cabc6633808e816036d09f
2011-09-28 21:04:56 -05:00
Ryan Culpepper
e049a2892c revert some (require racket/pretty) to (require scheme/pretty)
original commit: afc9210599b6abf3f4c2c62d57249ccda88f80c2
2011-09-28 19:01:27 -06:00
Robby Findler
cd3b42aca3 fix problems with the autosave recovery gui and add a drdr test for it
original commit: c8cbe81e51404e0c650bbedc3bdb901fd5636f9e
2011-09-28 17:06:30 -05:00
Robby Findler
83ec42a835 remove debugging printf
original commit: abeaebcad06d165fb405017c0220e103b347734b
2011-09-28 17:06:29 -05:00
Matthew Flatt
523c6f9697 cocoa: fix control-refresh bug
original commit: b24c8eb4ddf601aa2b8a9b1616bd7d475fe36e5a
2011-09-28 12:38:39 -06:00
Ryan Culpepper
7fb542cbf5 removed useless requires
original commit: c7f86d276c68b12e87dc46cef4a8e1b95538f88d
2011-09-27 19:28:44 -06:00
Robby Findler
68dcb92030 try using size-in-pixels for the font primitive in 2htdp/image
closes PR 11883

(the earlier commit with this message was just completely bogus)

original commit: 34581b7050e19bb75bdfe456e3b2dd2547ccd463
2011-09-27 16:24:23 -05:00
Matthew Flatt
f0ee216da1 add -J/--wm-class argument to set the WM_CLASS class on Unix
original commit: f9dabb89945ec99dfa59c916eb947bddfe15f841
2011-09-26 18:07:18 -06:00
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