Commit Graph

19612 Commits

Author SHA1 Message Date
James Ian Johnson
06edc3153f Adding clarifying comments to rep-utils.rkt 2011-08-19 11:09:24 -04:00
Robby Findler
4d5a3fa971 Rackety (indentation, let->define, mzscheme->racket/base, module -> #lang) 2011-08-19 09:26:37 -05:00
Robby Findler
5455a16f47 fix bugs in the file locking protocol for planet packages
(in particular, support re-entrancy)
2011-08-19 09:26:36 -05:00
Matthew Flatt
d185c2a0df fix optimizer bug
Also fix missing copy-propagation opportunity
2011-08-19 07:35:39 -06:00
Matthew Flatt
7eb2042bd9 fix compiler handling of top-/module-level constants
The JIT and bytecode compiler disagreed on the definition of
"constant". Now there are two levels: "constant" means constant across
all instantiations, and "fixed" means constant for a given instantation.
The JIT uses this distinction to generate direct-primitive calls
or not. (Without the distinction, a direct jump to `reverse' could
be wrong, because `racket/base' might get instantiated with the
JIT disabled or not.)

Also, fixed a bug in the JIT's `vector-set!' code in the case that
the target vector is a top-/module-level reference that is ready,
fixed, or constant.
2011-08-19 06:32:44 -06:00
Matthias Felleisen
e01e72a7ed allow left-aligned figures 2011-08-18 18:26:14 -04:00
Eli Barzilay
18e8b92fa1 `purify-http-port' returns a new port, so make it close the old one. 2011-08-18 18:11:09 -04:00
Eli Barzilay
6091a5d972 Added explicit copyleft page to the website.
...to allow inclusion of text in wikipedia.
2011-08-18 18:11:09 -04:00
Eli Barzilay
38558b5fa7 typo in the description 2011-08-18 18:11:09 -04:00
Matthew Flatt
39edc5a599 `scribble' reports broken cross references by default 2011-08-18 13:05:37 -06:00
Matthew Flatt
ab477b958c fix reader graph-notation equivalence 2011-08-18 12:54:52 -06:00
Matthew Flatt
8eefaba187 fix `regexp-match' performance for short matches on long strings
More specifically, for a string of length N and a match that
only looks at the first M characters, the complexity of
`regexp-match' is now O(M) instead of O(N). This allows
`regexp-split' to be O(N) for a string instead of O(N^2).

Also, fixed a bug in non-greedy matching that could affect
both long strings and input ports.
2011-08-18 09:26:09 -06:00
Matthew Flatt
09b4a55d87 Revert "Fix a scribble test for plural "Examples""
The test was correct, and e4729afdbf fixes the bug.

This reverts commit 4eaab11d14.
2011-08-17 20:43:12 -06:00
Matthew Flatt
e4729afdbf fix plurality of `examples' label 2011-08-17 20:43:06 -06:00
Sam Tobin-Hochstadt
bdcc63b229 Handle apply for functions with no rest arguments. 2011-08-17 18:19:47 -04:00
Vincent St-Amour
cfec4280d3 Fix DrRacket test. 2011-08-17 17:34:55 -04:00
Jon Rafkind
07715da5e9 [honu] dont remove syntaxes that end expressions from the stream so macros can consume them. add a simple cond macro 2011-08-17 13:47:58 -06:00
Jon Rafkind
85110e177b [honu] handle unary operators. add some common functions and binary operators 2011-08-17 13:47:58 -06:00
Casey Klein
53e80f6f38 Adds a syncheck:add-arrow example to the docs 2011-08-17 11:59:43 -05:00
Casey Klein
2eced78000 Fixes indentation 2011-08-17 11:59:43 -05:00
Vincent St-Amour
c8a930550e Fix DrRacket tests. 2011-08-17 12:12:54 -04:00
Vincent St-Amour
83c7abb250 Move the "other editors" section later in the guide. 2011-08-17 11:37:25 -04:00
Sam Tobin-Hochstadt
5979a42448 Use a temporary directory to eliminate DrDr races in running benchmarks. 2011-08-17 11:24:53 -04:00
Eli Barzilay
9608c0f041 When a file is missing the ftp client throws an error, catch it. 2011-08-17 10:00:55 -04:00
Eli Barzilay
cc69dfbd71 Typo in error message. 2011-08-17 10:00:55 -04:00
Eli Barzilay
4eaab11d14 Fix a scribble test for plural "Examples" 2011-08-17 10:00:55 -04:00
Matthew Flatt
dfd58a2cdd adjust sandbox to give S-expression input "original" status 2011-08-17 06:22:27 -06:00
Robby Findler
a221e4bba2 move some helper files into the private/ directory for drracket tests 2011-08-17 06:19:23 -05:00
Robby Findler
9495145ea5 add more info to try to debug planet failure 2011-08-17 06:04:07 -05:00
Stephen Chang
d0175722e8 fix lazy.scrbl so it compiles properly 2011-08-17 02:07:43 -04:00
Stephen Chang
af3e0cea01 updated Lazy Racket to use racket/base
updated Lazy Racket to use racket/base instead of mzscheme
2011-08-17 01:48:58 -04:00
Casey Klein
cee4566ed4 Makes test work when compilation strips source locations 2011-08-16 19:18:18 -05:00
Sam Tobin-Hochstadt
52fb1e3460 Add more elements to the list of things that are events. 2011-08-16 18:10:02 -04:00
Robby Findler
cc4de51fb0 - make the planet module resolver thread safe
- fixed planet to actually use the uninstalled (.plt file) cache

- linkage code was completely broken, so it now stubbed out (see the file to
  resurrect it)

- other minor cleanups
2011-08-16 15:30:55 -05:00
Casey Klein
de732dd538 DrDr-disables the Redex Check Syntax test module
run-tests.rkt runs it itself
2011-08-16 14:32:34 -05:00
Casey Klein
e485e9f348 Tests define-judgment-form and metafunction renaming
Closes PR 11469
2011-08-16 14:32:34 -05:00
Casey Klein
9e2e11e9c4 Tests metafunction Check Syntax arrows 2011-08-16 14:32:33 -05:00
Casey Klein
efa04066c6 Tests define-judgment-form's Check Syntax interaction 2011-08-16 14:32:33 -05:00
Sam Tobin-Hochstadt
5870fec9c9 Simplify definition of (legacy) `typed-scheme' language. 2011-08-16 14:54:46 -04:00
Vincent St-Amour
01bc5b2822 Add ParenFace to the other editors docs. 2011-08-16 14:53:43 -04:00
Vincent St-Amour
d05f138ed2 Add precision to sequence-fold's doc. 2011-08-16 12:09:39 -04:00
Vincent St-Amour
ff0d843a09 Fix handling of impersonated vectors when bounds are fixnums. 2011-08-16 12:09:39 -04:00
Vincent St-Amour
a6e633ae2f Formatting. 2011-08-16 12:09:38 -04:00
Vincent St-Amour
59f5f24736 Make error messages more consistent. 2011-08-16 12:09:38 -04:00
Sam Tobin-Hochstadt
39459ec9c4 Document typed/scheme' versions of require/typed' and `require-typed-struct'. 2011-08-16 12:07:53 -04:00
Matthew Flatt
8264e77585 gtk: fix frame for text-field%' and other canvas%'es 2011-08-16 08:12:31 -06:00
Matthew Flatt
099a0eebed improve codeblock' and racketblock' docs
including an explanation of the advantages and drawbacks of each
2011-08-16 08:02:50 -06:00
Matthew Flatt
4555254380 add code' to scribble/manual' 2011-08-16 07:53:05 -06:00
Matthew Flatt
c7e7d0d8ff make racket' preserve #t' versus `#true' 2011-08-16 07:53:05 -06:00
Matthew Flatt
a1eaecb337 add an #:escape' clause to all schemeblock'-like forms 2011-08-16 07:53:05 -06:00
Sam Tobin-Hochstadt
4c56a94eb1 DrDr repairs. 2011-08-16 08:14:39 -04:00
Eli Barzilay
ae80150a79 v5.1.3 stuff 2011-08-16 03:41:22 -04:00
Sam Tobin-Hochstadt
c54fc6d6d7 Refactor unit tests to handle tests that need base-special-env separately. 2011-08-15 21:39:31 -04:00
Sam Tobin-Hochstadt
8ecc2a4da4 Refactor base-special-env to run at phase 0.
Unfortunately, it can no longer be required normally, and forces changes to test suites.
2011-08-15 21:39:31 -04:00
Sam Tobin-Hochstadt
11167aa214 Better error message when id is unbound in `make-env'. 2011-08-15 21:39:31 -04:00
Sam Tobin-Hochstadt
13ef3849fc Fix type of file->bytes-lines 2011-08-15 21:39:30 -04:00
Sam Tobin-Hochstadt
b25aae230b re-enable type for port->bytes-lines 2011-08-15 21:39:30 -04:00
Casey Klein
72059c908b Fixes check syntax bug 2011-08-15 17:50:11 -05:00
Casey Klein
a0f2db7574 Drops `traces' call to make the file DrDr-friendly 2011-08-15 12:46:14 -05:00
Casey Klein
98eaaebc65 Improves error messages for Redex definition forms 2011-08-15 12:46:14 -05:00
Vincent St-Amour
3b9fcdea92 Formatting. 2011-08-15 12:56:28 -04:00
Vincent St-Amour
93e96fbabb Add samth as responsible for the typed benchmarks. 2011-08-15 12:52:23 -04:00
Vincent St-Amour
8dba93646a Remove redundant logging message. 2011-08-15 12:19:54 -04:00
Vincent St-Amour
2a80582ed9 Fix arity raising for letrec. 2011-08-15 12:19:54 -04:00
Vincent St-Amour
63b5747018 Formatting. 2011-08-15 12:19:54 -04:00
Vincent St-Amour
becaac8c18 Have arity raising play nice with Check Syntax. 2011-08-15 12:19:54 -04:00
Vincent St-Amour
b536445cde Fix visibility of arity-raised bindings. 2011-08-15 12:19:54 -04:00
Jay McCarthy
b8084b94b1 Better error messages for missing relations 2011-08-15 10:06:22 -06:00
Jay McCarthy
89ce37d90c Broke one 2011-08-15 10:06:22 -06:00
Jay McCarthy
cd92964eef Converting away from racket to racket/base 2011-08-15 10:06:21 -06:00
Jay McCarthy
b207f1051a De-unitizing cookies and making the serializable 2011-08-15 10:06:21 -06:00
Jay McCarthy
80192e3c57 Fix crash when committer has new issue but no files of their own 2011-08-15 10:06:21 -06:00
Matthew Flatt
26fe665dd7 fix lncs and jfp class file download 2011-08-15 09:58:21 -06:00
Matthew Flatt
8989e810fb fix over-eager bytecode transformation 2011-08-15 09:36:38 -06:00
Matthew Flatt
a95ce7dc5a remove debugging output 2011-08-15 06:45:42 -06:00
Eli Barzilay
d61eb53686 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).
2011-08-15 07:50:04 -04:00
Eli Barzilay
d3d9514b1c typo 2011-08-15 05:05:29 -04:00
Eli Barzilay
f297c98c1a Heavily revise this test.
- Simplify code
- Remove bogus leftover (tests) in the end
- Resolve deadlock that resulted from using `tcp-abandon-port' in
  `net/ftp'
- Actually there's no need for threads, probably because of small size
  of data, so keep it.
- Use scribble syntax instead of here-strings, and move the text out of
  the way.
2011-08-15 02:37:39 -04:00
Eli Barzilay
d9a55675f7 Typo in env var setting. 2011-08-15 02:37:39 -04:00
Eli Barzilay
16271950a3 Avoid running files that will try to download tex sources. 2011-08-15 02:37:39 -04:00
Eli Barzilay
87b0d35908 Make the "other editors" page be called that, also the source; also comment unused author line. 2011-08-15 02:37:39 -04:00
Matthias Felleisen
6716b9b96a made 23238 stable w/ shared file prefix; Closes PR 12093 again 2011-08-14 22:29:20 -04:00
Robby Findler
00d3f72f21 fix up a few bugs, improve the docs, and start a test suite for the
new check syntax direct-to-traversal api
2011-08-14 14:32:45 -05:00
Sam Tobin-Hochstadt
fdcb22ea32 comment out type that produces strange duplicate error message. 2011-08-14 13:40:42 -04:00
Sam Tobin-Hochstadt
54c044c36a Fix initial type environment for new-style keyword functions. 2011-08-14 13:40:42 -04:00
Sam Tobin-Hochstadt
2d094db270 Fix typechecking of `#%variable-reference' 2011-08-14 13:40:42 -04:00
Sam Tobin-Hochstadt
25084de5a7 Use regular define for `open-input-file' and friends. 2011-08-14 13:40:41 -04:00
Sam Tobin-Hochstadt
5f29dcdc23 Make keyword procedure syntax bindings structs with accessors for higher-order and core implementations. 2011-08-14 13:40:41 -04:00
Robby Findler
3bf9ae25e2 add a note about the disappeared properties
to the check syntax section of the manual
2011-08-14 08:16:14 -05:00
Eli Barzilay
f6fe18a736 Leave the platform colors as is. 2011-08-13 20:38:21 -04:00
Eli Barzilay
891df4919c De-emphasize the platform selection to minimize people getting confused by it. 2011-08-13 20:38:21 -04:00
Robby Findler
1553658369 tweak planet logging so the "PLaneT: " prefix is more consistently there 2011-08-13 15:03:31 -05:00
Robby Findler
b300bae75c added the lang/htdp-langs-save-file-prefix library
to help detect HtDP-lang save files
2011-08-13 15:03:29 -05:00
Robby Findler
3f987d76b7 improve the way check syntax draws arrows
(a little bit thicker line and some alpha)
2011-08-13 15:03:26 -05:00
Matthias Felleisen
6067cab1ef changed convert-file to accommodate drracket generated files; this is brittle 2011-08-13 12:02:59 -04:00
Matthias Felleisen
1c4b8edcad an improved error message for the kind of problem discussed in PR 12093 2011-08-13 12:02:59 -04:00
Matthias Felleisen
631bfeb301 added newline at end 2011-08-13 12:02:59 -04:00
Matthew Flatt
5be429dc99 fix procedure-name inference for keyword procedures
Closes PR 12111
2011-08-13 08:27:20 -06:00
Mike Sperber
e286898f8b Synch German string constants with latest. 2011-08-13 16:25:18 +02:00
Matthew Flatt
f46a0e2519 make compile-omit-paths' apply to scribblings' sources 2011-08-13 07:43:56 -06:00
Matthew Flatt
461af202c5 implement 'border style for `panel%' 2011-08-13 07:00:51 -06:00
Eli Barzilay
093d2304a8 Add an email alert whenever an ok mirror link changed to being omitted. 2011-08-12 19:47:43 -04:00
Eli Barzilay
046817a328 Better randomization of poll dates -- multiply the range by a factor of 1..2. 2011-08-12 19:47:43 -04:00
Matthew Flatt
456e9befd3 fix refresh' on window<%>'s other than `canvas%'s 2011-08-12 17:03:28 -06:00
Jon Rafkind
d374fab4ca [honu] add some examples 2011-08-12 15:16:39 -06:00
Jon Rafkind
0bac61f538 [honu] add flow operator which composes functions from right to left 2011-08-12 15:16:39 -06:00
Jon Rafkind
d4763da563 [honu] add structs and use . to lookup the field names in a struct instance 2011-08-12 15:16:39 -06:00
Jon Rafkind
5157a333bb [honu] use brackets to do list lookup instead of using dot 2011-08-12 15:16:39 -06:00
Sam Tobin-Hochstadt
d948626fac Use syntax-track-origin more pervasively to get the right arrows in check syntax. 2011-08-12 11:09:11 -04:00
Matthew Flatt
ce4286c722 fix bug in keyword-argument calls
Closes PR 12104
2011-08-12 07:24:39 -06:00
Casey Klein
cd1281fa65 Changes example from arithmetic to pairs 2011-08-12 04:33:38 -05:00
Vincent St-Amour
281e1003e3 Add disappeared uses to have optimized code play nice with check-syntax. 2011-08-11 18:25:46 -04:00
Vincent St-Amour
271f696c58 Refactoring. 2011-08-11 18:25:46 -04:00
Vincent St-Amour
cef410f5e2 Rename a parameter to better reflect what it's for. 2011-08-11 18:25:46 -04:00
Matthew Flatt
c81222e4c8 fix `call-with-file-lock/timeout' checking 2011-08-11 13:23:24 -06:00
Matthew Flatt
1c04cf1b02 make `port-try-file-lock?' work for Solaris
Shared locking now allowed only on input port, and exclusive
locking is allowed only on output ports, which allows an implementation
via fcntl(...,F_SETLK,...).
2011-08-11 13:11:26 -06:00
Robby Findler
997813680d change the #:get-lock-file argument of call-with-file-lock/timeout to #:lock-file 2011-08-11 09:29:31 -05:00
Robby Findler
78a999537d clean up the contract checking for call-with-file-lock/timeout 2011-08-11 09:29:30 -05:00
Asumu Takikawa
d12b617292 Added a match expander for objects in unstable. 2011-08-10 20:37:21 -04:00
Robby Findler
71c6483f4f trace the language-position require(s) specially
so as not to turn them red when there is no use
of something exported by them in the program
  closes PR 12100
2011-08-10 19:12:04 -05:00
Jon Rafkind
17f1ac53be [honu] add dot as an operator. parse parenthesized expressions 2011-08-10 17:33:43 -06:00
Jon Rafkind
c8695ddf2e [honu] set associativty for operators 2011-08-10 17:33:43 -06:00
Danny Yoo
91068e4085 adding example to the prose about using (for-syntax (for-syntax ...)) 2011-08-10 16:28:42 -04:00
Danny Yoo
b72977963c small fix to plural 2011-08-10 16:28:42 -04:00
Casey Klein
66be55215a Fixes Redex doc's links to examples 2011-08-10 15:20:13 -05:00
Vincent St-Amour
8bcb7f2636 More TR test failures more easily detectable. 2011-08-10 15:45:54 -04:00
Robby Findler
708ca63c34 Revert "start making planet thread safe" -- didn't mean to push that one. Whoops, sorry.
This reverts commit 5bd969693c.
2011-08-10 12:37:13 -05:00
Casey Klein
4d1651645a Improves error message for premise typos 2011-08-10 12:24:02 -05:00
Casey Klein
a2dc2d9540 Fixes arity checks outside define-judgment-form 2011-08-10 12:24:02 -05:00
Casey Klein
d66c48ecf7 Updates STLC example to use define-judgment-form 2011-08-10 12:24:01 -05:00
Casey Klein
87f3541979 Adds support for ellipsis-repeated premises 2011-08-10 12:24:01 -05:00
Casey Klein
f803f187bd Adds bigger define-judgment-form examples 2011-08-10 12:24:01 -05:00
Casey Klein
31ec46170d Adds STLC example to README 2011-08-10 12:24:01 -05:00
Casey Klein
88cd7cd303 Adds with-compound-rewriters typesetting form 2011-08-10 12:24:00 -05:00
Casey Klein
29ffea3b76 Uses examples' in explanation of judgment form where' clauses 2011-08-10 12:24:00 -05:00
Casey Klein
d2a58bc05f Restores the explanation of define-relation contracts. 2011-08-10 12:24:00 -05:00
Casey Klein
52c50dd67e Adds an alternative syntax for define-judgment-form rules
The conclusion may come last instead of first when a sequence of
dashes precedes it.
2011-08-10 12:24:00 -05:00
Casey Klein
dbfbf59256 Changes syntax for define-judgment-form mode and contract specs 2011-08-10 12:23:59 -05:00
Casey Klein
d58a743b89 Fixes define-judgment-form at the top-level with errortrace enabled 2011-08-10 12:23:59 -05:00
Matthew Flatt
3ab067bc33 cocoa: fix sign on `get-display-left-top-inset' x result
Also fix frame placement on screens other than the main screen.
2011-08-10 11:13:58 -06:00
Robby Findler
dc326c9501 change some prints to fprintfs to make it easier to remove debugging printfs from this file when checking in 2011-08-10 12:02:49 -05:00
Robby Findler
83e70af006 fix the initial frame position code for the multiple monitors case 2011-08-10 12:02:49 -05:00
Robby Findler
5bd969693c start making planet thread safe 2011-08-10 12:02:49 -05:00
Matthew Flatt
1c1d1934f4 ftp: fix data download for some servers 2011-08-10 08:28:13 -06:00
Matthew Flatt
be0260792e fix doc typos 2011-08-10 08:28:13 -06:00
Matthew Flatt
cc78030cd2 download LNCS and JFP class files on demand 2011-08-10 08:28:13 -06:00
Robby Findler
e043297ef8 use the supplied security guard in one more place where compiler/cm needs write permission 2011-08-10 07:45:14 -05:00
Asumu Takikawa
f818405dee Fix typo. 2011-08-10 01:28:34 -04:00
Matthew Flatt
306e091f35 fix a `(with-handlers ([exn? ....]) ....)' 2011-08-09 16:33:18 -06:00
Matthew Flatt
2d06f4247f keyword-function repairs 2011-08-09 16:33:17 -06:00
Matthew Flatt
001cb75bac syntax-taint repairs
for problems exposed by more agressive arming of `lambda'
and `#%app'
2011-08-09 16:33:17 -06:00
Matthew Flatt
f646511ca7 first small step toward cross-module optimization
Mainly propagates constantness for the benefit of keyword
applications, but also propagates simple constants
2011-08-09 16:33:17 -06:00
Matthew Flatt
5352d670c4 generalize #%variable-reference' and add variable-reference-constant?'
Use the new functions to make the expansion of keyword applications
to known procedure work  with mutation.
2011-08-09 16:33:17 -06:00
Matthew Flatt
39a96dd699 add `prop:liberal-define-context' 2011-08-09 16:33:16 -06:00
Matthew Flatt
3b031d6c87 `define' + keyword lambda at top/module level => static checking
When `define' binds a keyword procedure at the top level or module
level, then it actually binds syntax that checks (i.e., warns
if arith or keywords are bad) and optimizes (i.e., avoids checking
keywords or allocating keyword-argument lists) first-order uses of
the procedure.

Checking and conversion are currently only performed for top-
and module-level bindings, because some macros detect the difference
between a variable or syntax definition --- notably `class' and
`unit'. A related problem in `class' is that the expansion
produces multiple definitions (for direct access to the fast
version of the function), which `class' turns into fields instead
of methods.
2011-08-09 16:33:15 -06:00
Jon Rafkind
2f2e1e6a03 [honu] add :: as the infix cons operator 2011-08-09 16:25:28 -06:00
Jon Rafkind
0871117538 [honu] add [] as a list form 2011-08-09 16:25:28 -06:00
Jon Rafkind
ab0a21db99 [honu] add quote and quasiquote 2011-08-09 16:25:27 -06:00
Jon Rafkind
4538335b1c [honu] return a void expression if there is no current expression waiting to be processed 2011-08-09 16:25:27 -06:00
Robby Findler
d3f1bed4ae add missing sentence fragment 2011-08-09 14:07:49 -05:00
Ryan Culpepper
e7a6d757dc change manual name to "DrRacket Plugins" 2011-08-09 12:29:28 -06:00
Ryan Culpepper
707fdadd1b unstable/gui/pict (blur): removed mode arg, true gaussian blur code 2011-08-09 12:29:28 -06:00
Ryan Culpepper
57bb02ef32 unstable/gui/pict (shadow-frame): only blur visible parts of shadow 2011-08-09 12:29:28 -06:00
Ryan Culpepper
78c784ed6f unstable/gui/pict (blur):
fix blur wrt smoothing mode
  refactored code, used macros for inlining
  added #:pre-inset?
2011-08-09 12:29:28 -06:00
Ryan Culpepper
95ce7ec6ed scribble style (capitalize section names) 2011-08-09 12:29:28 -06:00
Ryan Culpepper
6442a2777b unstable/gui/pict: added shadow-frame and arch 2011-08-09 12:29:28 -06:00
Ryan Culpepper
2a0153cadb unstable/gui/pict: added scale-to 2011-08-09 12:29:27 -06:00
Ryan Culpepper
efa8051a57 moved tag-pict, etc from unstable/gui/ppict to unstable/gui/pict 2011-08-09 12:29:27 -06:00
Ryan Culpepper
d1fcbc0a7c merged unstable/gui/blur into unstable/gui/pict 2011-08-09 12:29:27 -06:00
Ryan Culpepper
19ec1fbccd split off unstable/gui/pict module (no racket/gui dependency)
added examples to docs
2011-08-09 12:09:08 -06:00
Jon Rafkind
3bcf99b8f6 [honu] parse brace-enclosed code as an expression 2011-08-09 11:57:52 -06:00
Jon Rafkind
b823df23a7 [honu] handle empty files 2011-08-09 11:57:52 -06:00
Jon Rafkind
182cded2a3 [honu] return the last expression if two atomic expressions occur in sequence. add a simple for loop macro 2011-08-09 11:57:52 -06:00
Jon Rafkind
8a352da71c re-enable test 2011-08-09 11:57:51 -06:00
John Clements
afc01ca2d1 updated expected (cons 1 2) error message 2011-08-09 09:42:23 -04:00
Jay McCarthy
cf5192226e The FrTime docs need to be heavily revised and this won't happen shortly, so turning off these tests 2011-08-09 06:42:09 -06:00
Jay McCarthy
6da3ac36ec Test is sensitive to contract messages 2011-08-09 06:42:09 -06:00
Asumu Takikawa
09e92ec81a Recommend vim-racket plugin instead of .vimrc hacks 2011-08-09 01:37:01 -04:00
Robby Findler
40c68df514 fix the auto-square-bracket thing for with-syntax
closes PR 12096
2011-08-08 19:30:13 -05:00
Matthew Flatt
f34c0329bf scribble/manual: add `current-display-width' parameter 2011-08-08 17:10:54 -06:00
Robby Findler
c908e08dd6 fix the text of the slideshow tutorial to talk about #:bullet instead of item/bullet
closes PR 12095
2011-08-08 16:50:46 -05:00
Jay McCarthy
26ddc5273f Mistake 2011-08-08 12:39:23 -06:00
Jay McCarthy
756e86c9a7 DrDr racket not new enough 2011-08-08 12:39:23 -06:00
Jay McCarthy
fd90ab4c9b Note installation step 2011-08-08 12:39:23 -06:00
Jay McCarthy
24899d05cd Communicating with program 2011-08-08 12:39:23 -06:00
Jay McCarthy
64e41704e8 Splitting messages 2011-08-08 12:39:23 -06:00
Jay McCarthy
6b91638405 Updating help page 2011-08-08 12:39:22 -06:00
Jay McCarthy
a4f70ae598 Fixing PR12085 2011-08-08 12:39:22 -06:00
Jay McCarthy
f0e52b80df Adding generalization of log to serve/servlet 2011-08-08 12:39:21 -06:00
Jay McCarthy
a11734d990 Getting it working after the crash 2011-08-08 12:39:21 -06:00
Jon Rafkind
aac511dfb6 disabled the wrong test. this is the right one 2011-08-08 10:32:08 -06:00
Robby Findler
d1e3765af7 added save-svg-image 2011-08-07 19:35:29 -05:00
Jon Rafkind
3e8ad26b1f need a single expression so the test doesnt fail 2011-08-07 18:24:30 -06:00
Jon Rafkind
513d73068e disable honu test for now 2011-08-07 17:51:29 -06:00
Robby Findler
38596a9b58 manage the state for delegates better (used by the drracket contour window)
closes PR 12094
2011-08-07 18:39:22 -05:00
Eli Barzilay
dae2ac4519 Move the lncs ignore into its own directory. 2011-08-06 21:00:53 -04:00
Eli Barzilay
d952a05ea9 Make mzlib/etc' reprovide identity' from `racket/function'. 2011-08-06 20:59:16 -04:00
Robby Findler
1218cbfef6 improve send error message in the case that there is only one arg
closes PR 12091
2011-08-06 19:27:02 -05:00
Matthew Flatt
2d4e14dca8 fix a kill-safety problem in the module name resolver 2011-08-06 08:25:36 -06:00
Robby Findler
fc50be1caa when moving the insertion point due to a search, use call-as-primary-owner
to scroll the right editor
   closes PR 12080
2011-08-05 23:33:51 -05:00
Robby Findler
eeb79e0e48 add more detail to the hopefully-help-me-debug log messages that drracket reports about the online check syntax bug 2011-08-05 21:39:35 -05:00
Robby Findler
a090a0e903 adjust the tabify and tabify-selection methods so they do nothing when the colorer is frozen or stopped
closes PR 12087
2011-08-05 21:39:31 -05:00
Robby Findler
7a001e3dd2 avoid using paren balancing stuff when the colorer is frozen (when user pushes f1)
closes PR 12088
2011-08-05 21:39:28 -05:00
Vincent St-Amour
6e6d16b6c9 Add documentation about using Racket with popular text editors. 2011-08-05 17:31:13 -04:00
Matthias Felleisen
e3c3418fae i hate git mv and rm 2011-08-05 12:50:49 -04:00
Matthias Felleisen
a61ecf1583 organized tests according to style file 2011-08-05 12:46:26 -04:00
Matthias Felleisen
a51e2494b6 bug fix: when the initial world is a final world, big-bang should use only the final draw handler -- if it exists 2011-08-05 12:46:25 -04:00
Matthias Felleisen
271f1c19ef added directory for tests expected to fail 2011-08-05 12:46:25 -04:00
Matthew Flatt
f7fd274e80 fix `defstruct' to use more long-name layout options 2011-08-05 10:03:38 -06:00
Matthew Flatt
ad7fddf878 add column-attributes' support and use it to fix struct' rendering 2011-08-05 10:03:38 -06:00
Matthew Flatt
b7afb3cf8f Scribble: support for "boxable" blocks in Latex output
For example, if you make a multi-column table with a
`racketblock' in each column, then the columns size
to fit the code --- instead of forcing the table width
to match the page width and forcing each column to take
an equal share width.
2011-08-05 10:03:38 -06:00
Matthew Flatt
4ac85de974 Scribble: style adjustments to deter code wrapping
For HTML, the style used in the output of `racketblock' now
disables line wrapping, and the Rkt text styles inherit
line-wrap behavior. This doesn't solve the general problem
of code overflowing the horizontal space, but it makes the
failure mode usefully better.

A new 'vertical-inset nested-flow style is used by
`defproc', `defform', etc. It has no effect for HTML,
but it introduces suitable vertical space for Latex output
(in case you want to use `defproc' in a SIGPLAN-format
paper, for example).
2011-08-05 10:03:37 -06:00
Matthew Flatt
378ca5ffc2 Scribble Latex: change 'boxed to use a blue vertical bar
... to the left of a definition, instead of a horizontal line
before the definition
2011-08-05 10:03:37 -06:00
Matthew Flatt
a2446dc019 fix `reverse' error message
Closes PR 12090
2011-08-05 10:03:37 -06:00
Robby Findler
c2fdf43189 add a file I shoudl have added in an earlier commit (for the drracket read-language docs) 2011-08-05 09:02:34 -07:00
Casey Klein
576272362b Adds define-judgment-form form 2011-08-05 07:19:23 -05:00
Casey Klein
8887ea2ef3 Refactors meta-function implementation further 2011-08-05 07:19:22 -05:00
Casey Klein
6e38233286 Deletes dead code 2011-08-05 07:19:22 -05:00
Casey Klein
7898018cad Factors out name-consistency check 2011-08-05 07:19:22 -05:00
Casey Klein
24dc005ff4 Removes special case for typesetting recursive calls
This case doesn't appear necessary, since LWs are constructed in an
expansion step that occurs after all of the meta-function names
(including the current one) are bound.
2011-08-05 07:19:21 -05:00
Casey Klein
c1198d0687 Makes tests executable from outside their directory 2011-08-05 07:19:21 -05:00
Casey Klein
3dc677d270 Factors out parsing of relation contracts 2011-08-05 07:19:21 -05:00
Casey Klein
c9c2bb8ad7 Refactors construction of meta-function and relation lws 2011-08-05 07:19:20 -05:00
Eli Barzilay
1a65678924 Add a note to the command-line help text, and describe the functionality
in case someone really wants to use this.
2011-08-05 02:44:57 -04:00
Eli Barzilay
d048954f04 Poll mirrors for the download web pages.
This is triggered by an environment variable that points at a file that
is used to cache polling results.  If the variable is not specified just
use all mirror links as usual.  This way, for random builds when people
try things out there is no problem, while the nightly builds (and my
manual builds when there are changes) do the right thing.

The file holds information about the polls, and verifies that the
download exists -- if not, the link is not shown.  If it is, then it
tries to get the size of the remote file (via HEAD or via FTP), and if
it doesn't match our download information, then drop it too.  If no size
informaion is available, include it, but re-poll after a few days.  Even
if the size matches, a re-poll will be done after a month, so stale
mirrors will not stick.
2011-08-05 02:05:59 -04:00
Eli Barzilay
5a7ddd6611 Add an optional path argument to `ftp-directory-list'. 2011-08-05 01:14:16 -04:00
Eli Barzilay
6a1336e75e Return a file size string when possible.
This takes the advice from
  http://files.stairways.com/other/ftp-list-specs-info.txt
further: search for the date by an explicit occurrence of a known month
name.  This means that we won't see files with bad names (they'd be
filtered out of the result), but the filtered out entries are ones that
would not be usable with `ftp-make-file-seconds'.

When the month is found, and the entry is a file, look for a number
preceding the month, and if found, return it as the file size string.
This is a minor change in the API.  (But it's probably better to either
revise it further, or eventually make it irrelevant by exposing the
interesting functionality via `net/url'.)
2011-08-05 01:14:16 -04:00
Eli Barzilay
4daaa84636 Removed a bunch of bytes->strings conversions since output does that anyway.
Also got rid of `filter-tcp-data', and just use `port->lines' instead.
2011-08-05 01:14:16 -04:00
Eli Barzilay
234015b34d Make `ftp-make-file-seconds' use a correct year instead of 2002.
This function was using 2002 when there's no year...  Updated it to use
the last occurrence of the guessed date, as described at
  http://files.stairways.com/other/ftp-list-specs-info.txt

This function still looks pretty bogus -- the RFC does *not* say
anything about the format of response to `LIST', so it's whatever
semi-random thing the server does.  (The above link looks like an
attempt to fix it, but I didn't see anything more official than that.)
From some looking around, it looks like ftp clients just try a bunch of
patterns against the text.  Add also warnings in the documentation about
this.
2011-08-05 01:14:16 -04:00
Eli Barzilay
99d48abcf3 Remove all mentions of `locale' from the docs.
It's utf-8 now, but that's the default in the docs anyway.
2011-08-05 01:14:16 -04:00
Eli Barzilay
ba48669ead Use UTF-8 and CRLF in the ftp client
RFC 2640 specifies that all transport strings are assumed UTF-8 if they
can be parsed as such.  To make this complete it should really send a
FEAT and check that the result has "UTF8", but it's kind of redundant
since there's not much else to do if it isn't.

Also, switch to a more correct line endings of CRLF when sending
messages to the server.
2011-08-05 01:14:16 -04:00
Eli Barzilay
1be5019978 Switch from the "du -h" output in "installers.txt" to plain byte counts. 2011-08-05 01:14:16 -04:00
Robby Findler
0c6bc11ac3 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
2011-08-04 21:40:29 -07:00
Tony Garnock-Jones
54285e2f92 Correct type on typed variant of module->namespace. 2011-08-04 13:34:14 -04:00
Matthew Flatt
941dacd966 gtk: set app name on startup
Closes PR 11896
Closes PR 11408
2011-08-04 09:27:05 -06:00
Matthew Flatt
71621bfd72 remove unsupported MDI styles and method
Closes PR 12042
2011-08-04 08:02:54 -06:00
Matthew Flatt
1bc8978ce8 cocoa: fix list-box scrolling
Closes PR 11948
2011-08-04 07:38:10 -06:00
Matthew Flatt
cdf2085703 gtk: fix frame position tracking
Closes PR 11931
2011-08-04 06:45:18 -06:00
Robby Findler
78bdcbd071 clear the online expansion error message as soon as the buffer is modified
(instead of waiting for the next attempt to fail/succeed)
2011-08-03 23:40:54 -07:00
Robby Findler
337dbf8540 try to use the given security guard when deleting files, too 2011-08-03 23:40:51 -07:00
Eli Barzilay
a6705c4f07 Typo fix 2011-08-03 22:00:22 -04:00
Vincent St-Amour
5d4e5ed393 Break long lines. 2011-08-03 17:39:16 -04:00
Vincent St-Amour
b124d68f40 Improve error message for calls to 'sort' when inference fails. 2011-08-03 17:39:15 -04:00
Vincent St-Amour
1a661256f8 Abstract printing of function types. 2011-08-03 17:39:14 -04:00
Jon Rafkind
4324a1a33d [honu] add colored lexer so drracket can color honu syntax appropriately 2011-08-03 14:37:26 -06:00
Jon Rafkind
adecdd5603 [honu] return a parse error if the lexer couldnt find any other matching regex 2011-08-03 14:37:26 -06:00
Eli Barzilay
89dfe3dc50 v5.1.2 stuff 2011-08-03 15:23:14 -04:00
Robby Findler
595272d19a use a (dark) red italic font for online check syntax errors 2011-08-03 13:39:58 -05:00
Matthias Felleisen
7de873f431 added syntax property to universe 'disappeared-use so that keywords in world clauses point to origin and have docs 2011-08-03 14:29:33 -04:00
Matthias Felleisen
c938fdf419 added syntax property 'disappeared-use so that keywords in world clauses point to origin and have docs 2011-08-03 14:25:29 -04:00
Matthias Felleisen
ac919568a6 fix doc bug, with 50386760dd this truly; Closes PR 10559 2011-08-03 11:42:11 -04:00
Matthias Felleisen
50386760dd added launch-many-worlds/proc; Closes 10559 2011-08-03 11:20:05 -04:00
Robby Findler
29a843ac37 get rid of a broken attempt to optimize the 20,000-ft overview refreshing
closes PR 12083
2011-08-03 09:58:23 -05:00
Matthew Flatt
113f889592 correct correction 2011-08-03 08:46:33 -06:00
Matthew Flatt
22c8cdec0b another more doc correction
(should have been part of the previous commit)
2011-08-03 08:40:55 -06:00
Matthew Flatt
6634332458 doc repairs
Thanks to Yin Wang
2011-08-03 08:33:04 -06:00
Matthew Flatt
3a51e80751 fix rendering of transparent structures 2011-08-03 08:14:57 -06:00
Matthew Flatt
37c43c23d6 gtk: fix refresh freeze/thaw and reparent interaction
Closes PR 11947
2011-08-02 20:00:56 -06:00
Matthew Flatt
9a14b47ccc doc typo
Closes PR 12006
2011-08-02 17:15:23 -06:00
Matthew Flatt
3ffa731f80 fix docs
Closes PR 12011
2011-08-02 17:07:39 -06:00
Matthew Flatt
3b8d00029e fix `namespace-attach-module{-declaration}' problem
Closes PR 12048
2011-08-02 17:06:12 -06:00
Robby Findler
b972a0940d Added online expansion and compilation of files
being edited in DrRacket (via places)

Added an API to let tools have access to that
  information (and compute more stuff)

Used that to make an online version of Check Syntax
  which led to a separately callable Check Syntax API.
2011-08-02 16:28:16 -05:00
Robby Findler
33cf3a167b add test case for PR 12084, clean up exception predicates in test suite a little 2011-08-02 16:28:13 -05:00
Robby Findler
32becaf860 added a #:security-guard argument to:
managed-compile-zo
  make-caching-managed-compile-zo
  make-compilation-manager-load/use-compiled-handler
that gets used when compiled files, dep files, and compiled/ directories are created.
2011-08-02 16:28:10 -05:00
Eli Barzilay
63af93f1b4 Minor typo in macro, closes PR12084.
(Committed for Robby)
2011-08-02 16:56:02 -04:00
Eli Barzilay
a748b35f35 Updated DrRacket images 2011-08-02 16:56:02 -04:00
Eli Barzilay
1caa28df28 Fix `unstable/time' & xrepl use. 2011-08-02 16:56:02 -04:00
Eli Barzilay
68fce6d9db Revert "Have DrDr keep ignoring the random seeds."
(Since DrDr never ignored that text.)

This reverts commit e972c0c392.
2011-08-02 16:56:02 -04:00
Eli Barzilay
e52e7defae Much improved `wrapped-output'. 2011-08-02 16:56:02 -04:00
Vincent St-Amour
3f40742968 Remove bash completion for commands we don't provide. 2011-08-02 15:14:07 -04:00
Matthew Flatt
fba1777b8a fix contract 2011-08-02 06:48:54 -06:00
Matthias Felleisen
8e176bc275 added documentation for Carl's ... in the student languages; otherwise 2e dots in templates look ugly 2011-08-01 20:13:20 -04:00
Matthew Flatt
7977d1817e expose the scribble' command-line driver as racket/render' 2011-08-01 14:40:49 -06:00
Matthew Flatt
86f4e5912b adjust `scriblib/figure' CSS for more consistent spacing 2011-08-01 13:14:43 -06:00
Matthew Flatt
8d3aa69e9d fix mismatch between make-base-eval' and make-base-eval-factory' 2011-08-01 04:01:40 -06:00
Matthew Flatt
c22c8b0846 remove incorrect comment 2011-07-31 06:28:12 -06:00
Matthew Flatt
2146a020c0 another error-message fix 2011-07-31 05:09:49 -06:00
Matthew Flatt
8a00308ad5 add lib' to setup/infotab' exports
and fix up documentation, which didn't mentioned the allowed
`require' form
2011-07-31 04:43:24 -06:00
Matthew Flatt
920867287b fix for/list' to use the new reverse' 2011-07-31 04:43:24 -06:00
Matthew Flatt
ec27cbfd90 fix problems related to futures and is-list flags on pairs
Although a future thread used an atomic compare-and-swap to
set "is a list" or "not a list" flag on pairs via the
JIT-implemented `list?', the hashing function in the runtime
thread did not; as a result, it might be possible to lose
a hash code due to cache inconsistency (although I'm not
sure it's actually possible, and I couldn't trigger a problem
with a test). Most of the changes are related to using
an atomic compare-and-swap when setting a hash code, as
well as clean-ups to related code. Processor-count tests
avoid using atomic compare-and-swap on uniprocessors, which
might not support the relevant machine instructions.

As significantly, the compare-and-swap operation for the
JIT-implemented `list?' did not actually set flags on
a pair that has a hash code. This could lead to `list?'
tests that were not constant time (but only if the relevant
pair's `eq?' hash code had been used previously).
2011-07-31 04:43:24 -06:00
Eli Barzilay
b644e335d9 Fix the docs for `call-in-sandbox-context'.
Closes PR 12081.
2011-07-30 09:33:24 -04:00
Robby Findler
a672704e5e add support for thread-safe compilation to compiler/cm (and use it in drracket) 2011-07-30 09:01:46 -04:00
Robby Findler
085b497b1c tidy up parallel build api docs 2011-07-30 09:01:44 -04:00
Jon Rafkind
7f3e434cb5 [honu] allow nested block comments 2011-07-29 18:42:55 -06:00
Jon Rafkind
cd5d0ee9a3 [honu] fix escapes in string literals 2011-07-29 16:59:48 -06:00
Jon Rafkind
7532515110 [honu] use regular expressions to lex comments 2011-07-29 16:59:48 -06:00
Jon Rafkind
cd62f1983f show line/column information for parsing errors 2011-07-29 16:59:48 -06:00
Vincent St-Amour
5f4c577d5b Get rid of pseudo-syntax. 2011-07-29 18:31:10 -04:00
Vincent St-Amour
4164b04324 Remove serialization. 2011-07-29 18:23:16 -04:00
Vincent St-Amour
0ff3aafed6 Speed up Performance Report on unsaved files. 2011-07-29 18:23:16 -04:00
Vincent St-Amour
191f7a5f17 Add an early failure case for portname matching. 2011-07-29 18:23:16 -04:00
Vincent St-Amour
30ea1afc58 Fix Performance Report on unsaved files. 2011-07-29 18:23:15 -04:00
Vincent St-Amour
aa235ac959 Use `call-with-sandbox-context'.
This should make it possible to avoid serialization.
2011-07-29 18:23:15 -04:00
Vincent St-Amour
7775779e6a Do expansion inside a sandbox. 2011-07-29 18:23:14 -04:00
Vincent St-Amour
ea1ae29e0f Have log entries carry pseudo-syntax instead of syntax.
Unlike syntax, pseudo-syntax is serializable, and it only carries the
information that Performance Report needs. Serializability is
necessary to be able to expand the program inside a sandbox and get
log entries out.
2011-07-29 18:23:14 -04:00
Vincent St-Amour
0951ad5b1b Add types for #%kernel's memq, memv and member. 2011-07-29 13:43:11 -04:00
Vincent St-Amour
88a3d93e9e Add a type for #%kernel's reverse.
Present in the expansion of for/list.
2011-07-29 12:54:29 -04:00
Vincent St-Amour
968f3b0905 Restore proper error handling. 2011-07-29 12:54:29 -04:00
Vincent St-Amour
d794d33b5e Go back to previous expansion strategy.
The DrRacket expansion functions don't offer anything more than plain
expand + a sandbox, and using them made the code less readable.

This reverts commit 96eee2b317.
This reverts commit 19ce4d44a5.
This reverts commit 58fbd8ba75.
This reverts commit b305ea9c62.
This reverts commit 860feb30ae.
2011-07-29 12:54:29 -04:00
Vincent St-Amour
5b22dfb6b0 Add for*/sum: and for*/product: to TR.
These currently don't play nice with inference, so they only work in
limited cases.
2011-07-29 12:54:29 -04:00
Vincent St-Amour
6a8011854b Add for/sum: and for/product: to TR. 2011-07-29 12:54:29 -04:00
Vincent St-Amour
5521e3ad5e Lock the top-level editor of the popup. 2011-07-29 12:54:28 -04:00
Eli Barzilay
7585edbcb6 xrepl improvments:
* a single function to set up all environment parameters.

* improve `getarg's treatment of default thunk

* Add an error display handler that doesn't show the context and instead
  add a ,bt command to show it.
2011-07-29 07:29:29 -04:00
John Clements
0bcff68226 minor testing changes 2011-07-28 22:51:00 -04:00
John Clements
e178dbc4f2 unimportant tabbing fixup 2011-07-28 22:51:00 -04:00
Robby Findler
a26eb340c8 fix the parent of the 'can close this window?' messages for tabs that aren't the frontmost tab 2011-07-27 07:39:48 -05:00
Matthew Flatt
b78a1a8355 remove abbreviations for for/sum' and for/product' 2011-07-27 07:55:20 +01:00
Matthew Flatt
fae6e273ed lexer tweak to get named procedure 2011-07-27 07:55:18 +01:00
Matthew Flatt
7123996b30 change `eval-jit-enabled' initialization
to reflect whether JIT compilation is supported by the build
(i.e., set it to #f initially when the JIT is not supported)
2011-07-27 07:55:05 +01:00
Matthew Flatt
9ace663021 Racket-implemented reverse', member', memv', memq'
With the JIT, the `reverse' function is significantly faster,
while the `member' variants do not really change; the main
benefit is that the operations play well with futures.

The C implementation is still used when the JIT is unavailable,
since the Racket implementations can be much slower in
interpreted mode.
2011-07-27 05:47:46 +01:00
Matthew Flatt
f1160da419 add for/sum', for/product', etc. 2011-07-27 05:47:46 +01:00
Matthew Flatt
c6f1178be3 fix an error message 2011-07-27 05:47:46 +01:00
Robby Findler
344168690e likely fix for bug on mailing list that Matthias reported
("drracket fails to start up properly" Tue, Jul 26, 2011 at 2:12 PM)

  et fails to start up properly
2011-07-26 21:05:49 -05:00
Jon Rafkind
1e4c9b4ec3 use new reader for #lang honu 2011-07-26 17:41:07 -06:00
Jon Rafkind
ae6a69b8eb make syntax objects 2011-07-26 17:41:07 -06:00
Jon Rafkind
a39cd8773a refactor 2011-07-26 17:41:07 -06:00
Jon Rafkind
df9b8db14a parse sub-trees 2011-07-26 17:41:06 -06:00
Jon Rafkind
1f9b9b4c51 parse tokens into a tree 2011-07-26 17:41:06 -06:00
Jon Rafkind
1978002312 handle end of line comments 2011-07-26 12:31:45 -04:00
Jon Rafkind
f941e56f71 lex identifiers and delimiters 2011-07-26 12:31:45 -04:00
Jon Rafkind
4e8e18463b add lexer for honu 2011-07-26 12:31:44 -04:00
Jay McCarthy
99fd3546be Adding serialization of theories 2011-07-26 08:22:19 -04:00
Eli Barzilay
61f628f2c6 fix error reporting in `reencode-output-port'
Closes PR 12077
2011-07-25 23:46:16 -04:00
Robby Findler
eba9c56d8c adjust the control-s keybinding so that it behaves like the menu shortcut
keep the old keybinding on esc;% (only under linux)
2011-07-25 13:40:15 -04:00
Matthew Flatt
e01ee43300 fix error reporting in `reencode-input-port'
Closes PR 12076
2011-07-25 13:11:05 -04:00
Matthew Flatt
73b16c8578 don't constant-fold an fx operation if the result is non-fx
In fact, the result must be an fx on all platforms, since
compilation should be platform-independent.
2011-07-25 11:30:23 -04:00
Matthew Flatt
f13a669d05 add 'no-focus style to `editor-canvas%' 2011-07-25 11:30:23 -04:00
Matthew Flatt
69f7e912d2 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
2011-07-25 11:30:22 -04:00
Robby Findler
b0ea1efc9e whoops^2 (both this and the previous commit: a refactoring put the wrong default argument in a function's parameter list) 2011-07-25 06:28:00 -04:00
Robby Findler
43a85acc8f oops 2011-07-25 00:08:18 -04:00
Robby Findler
01fe366e8c fix standard-fish when the mouth is to the right 2011-07-24 23:26:14 -04:00
Robby Findler
7d06ae80f4 do a better job putting the right info into the struct id for provide/contract's struct clauses
closes PR 12053
2011-07-24 23:25:39 -04:00
Robby Findler
899b339a16 improved the expansion of struct/c 2011-07-24 23:24:20 -04:00
Stephen Bloch
764f356fdc Added some tests for map-image/extra and build-image/extra. 2011-07-24 21:50:39 -04:00
Stephen Bloch
9a24e66df0 Fixed an off-by-one bug in "myflip", an example for build-image. Now it passes its tests :-) 2011-07-24 21:50:38 -04:00
Stephen Bloch
ab01d563ca Changed error messages in test case to match corrected error messages in
2htdp.
2011-07-24 21:50:38 -04:00
Jay McCarthy
3fca28c68f Adding documentation for servlet testing system 2011-07-24 16:59:00 -04:00
Jay McCarthy
6e59cbf1d7 Adding documentation and tests for xml/path 2011-07-24 16:58:59 -04:00
Jay McCarthy
75631c6f2a Repairing tests 2011-07-24 16:58:59 -04:00
Jay McCarthy
bc5846d40e Small typo in error usage 2011-07-24 16:58:59 -04:00
Jay McCarthy
df0e35b213 Adding the basics of the servlet testing library, but then discovered a weird error, and took a sidetrack to catch it. I'm making a commit to be able see if there were any real problems or if it is just broken tests 2011-07-24 16:58:59 -04:00
Stephen Chang
7e933ee8a4 fix stepper test-engine unclosed input-port (in windows) problem 2011-07-24 12:19:05 -04:00
Stephen Chang
8956364387 change recon-val in stepper to use render-to-sexpr for non-lazy lists 2011-07-24 12:18:09 -04:00
Matthew Flatt
42f41d868a fix compiler/zo-parse for sequence splice
Merge to 5.1.2
2011-07-22 22:19:58 -04:00
Vincent St-Amour
c085f51aa2 Fix for empty case-lambdas. 2011-07-22 17:24:14 -04:00
Vincent St-Amour
df0ae80a7f Display ellipses even if the :print-type message was already displayed. 2011-07-22 17:07:49 -04:00
Vincent St-Amour
93787f6215 Change :print-type message. 2011-07-22 17:05:03 -04:00
Vincent St-Amour
dcff8854fb Only suggest using :print-type once per REPL session. 2011-07-22 17:03:43 -04:00
Vincent St-Amour
3ba93cb165 Add a heuristic for case-lambda type simplification.
Makes simplification _much_ faster for types that have a single most
general case. That includes most numeric functions.
2011-07-22 16:55:21 -04:00
Vincent St-Amour
86490943a3 Remove stale comment. 2011-07-22 16:46:10 -04:00