Commit Graph

23220 Commits

Author SHA1 Message Date
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
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
Matthew Flatt
311d55b5cf fix bug that affects `free-identifier=?'
This bug is in the "amazing that it lurked for years" category,
as well as the "stupid use of C preprocessor" category.
2011-08-16 10:42:56 -06: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