Eli Barzilay
2bc2050c08
Fix when showing the description of a module.
...
Set `current-load-relative-directory' to the path of the module file so
paths that it resolves in the description (in `describe-modeul') are not
bogus.
2011-08-22 07:49:49 -04:00
Matthew Flatt
bdadc453e0
fix `compile-collection-zos'
2011-08-21 11:43:59 -06:00
Matthew Flatt
a587f047d6
test fixes for Windows
2011-08-20 11:08:12 -06:00
Matthew Flatt
345b06838d
FFI: add C arrays and unions
2011-08-20 10:24:32 -06:00
Jon Rafkind
242337286d
[honu] move test to the tests collection
2011-08-19 17:13:22 -06:00
Matthew Flatt
11f5c84493
fix make-lock-file-name'; add
path-element?'
2011-08-19 15:46:44 -06:00
Matthew Flatt
32da8e2b1f
fix same-scaled test
2011-08-19 13:15:36 -06:00
Matthew Flatt
349c54f3c0
fix optimizer test
2011-08-19 12:51:49 -06: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
Matthew Flatt
d185c2a0df
fix optimizer bug
...
Also fix missing copy-propagation opportunity
2011-08-19 07:35:39 -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
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
Vincent St-Amour
c8a930550e
Fix DrRacket tests.
2011-08-17 12:12:54 -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
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
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
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
Sam Tobin-Hochstadt
4c56a94eb1
DrDr repairs.
2011-08-16 08:14:39 -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
Casey Klein
72059c908b
Fixes check syntax bug
2011-08-15 17:50:11 -05:00
Vincent St-Amour
3b9fcdea92
Formatting.
2011-08-15 12:56:28 -04:00
Vincent St-Amour
8dba93646a
Remove redundant logging message.
2011-08-15 12:19:54 -04:00
Matthew Flatt
8989e810fb
fix over-eager bytecode transformation
2011-08-15 09:36:38 -06: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
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
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
Matthew Flatt
5be429dc99
fix procedure-name inference for keyword procedures
...
Closes PR 12111
2011-08-13 08:27:20 -06:00
Jon Rafkind
d374fab4ca
[honu] add some examples
2011-08-12 15:16:39 -06:00
Matthew Flatt
ce4286c722
fix bug in keyword-argument calls
...
Closes PR 12104
2011-08-12 07:24:39 -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
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
Vincent St-Amour
8bcb7f2636
More TR test failures more easily detectable.
2011-08-10 15:45:54 -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
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
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
Jon Rafkind
3bcf99b8f6
[honu] parse brace-enclosed code as an expression
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
6da3ac36ec
Test is sensitive to contract messages
2011-08-09 06:42:09 -06:00
Robby Findler
40c68df514
fix the auto-square-bracket thing for with-syntax
...
closes PR 12096
2011-08-08 19:30:13 -05:00