Commit Graph

23645 Commits

Author SHA1 Message Date
Matthew Flatt
3f447b39e2 refactor some parallel-build code
- simpler and more reliable break protocol
- use logging instead of `eprintf' for non-exception errors
- avoid runtime code duplication in parallel-do macro
- fix some non-tail calls that should be tail calls
- print relevant place in "making" lines
- minor source formatting
2011-08-19 12:56:27 -06:00
Matthew Flatt
1b0abe85c7 trivial doc fix 2011-08-19 12:52:19 -06:00
Matthew Flatt
6073ef5ff5 fix `place-break' on a terminated place 2011-08-19 12:52:19 -06:00
Matthew Flatt
0c7b1925a5 change bad code to an assertion that's never needed 2011-08-19 12:52:08 -06:00
Matthew Flatt
349c54f3c0 fix optimizer test 2011-08-19 12:51:49 -06:00
Robby Findler
2f1cf64b96 adjust timeout 2011-08-19 13:45:18 -05:00
Sam Tobin-Hochstadt
ae55d5afb6 Mark place-chan-rand as random for DrDr. 2011-08-19 14:25:23 -04:00
Jay McCarthy
3cd6be5931 I believe this fixes PR12117. The teaching languages rely on syntax/struct. (I have run the teaching language tests, but do not other uses of syntax/struct.) It appears that syntax/struct has been incorrectly creating this information for some time. The problem is that it would end the static info with a #f if the selectors or setters were omitted, but reading the documentation implies that there should be a final #f in either case. I've therefore changed the boolean to an or over the flags 2011-08-19 11:30:42 -06:00
Sam Tobin-Hochstadt
292feaad43 Useful error message when `with-type' used in a typed module. 2011-08-19 11:34:37 -04:00
James Ian Johnson
7af3d35bb3 Fixed compile failure. 2011-08-19 11:09:24 -04:00
James Ian Johnson
58d84d79db Removed e from fold-pat attributes. 2011-08-19 11:09:24 -04:00
James Ian Johnson
def3834aa2 Fixed a comment inconsistency about double quotation. 2011-08-19 11:09:24 -04:00
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
1d6c3aa4ea avoid pointless digits when printing single-precision floats
Closes PR 12118
2011-08-18 13:21:38 -06: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
69929b7499 configure: make --disable-jit imply --disable-futures 2011-08-18 12:41:36 -06:00
Matthew Flatt
8291fef9de fix optimizer problems with mutability checking, inlining
The inlining adjustment can sometimes trigger different
inlining than before. (One common benchmark wins; one loses.)
2011-08-18 12:32:01 -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
Matthew Flatt
591e08fb10 fix bug in identifier resolution
Commit 311d55b5cf fixed a shallow bug that masked a deeper
bug in the interaction of local bindings and module-level
bindings. This one fixes the deeper problem, which is that
the recursive resolution that ignores module bindings should
start from the beginning of the wraps, not the wrap after
a module renaming.

Closes PR 12116
2011-08-16 20:24:08 -06:00
Matthew Flatt
8f27112c83 slightly safer CPP macros 2011-08-16 20:24:00 -06: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