Eli Barzilay
0801525931
Merge in the docs test into the rest of the scribble tests.
...
Also fixed it to scan all scrbl files in the docs directory, use
runtime-path, and change the rest to racket to get the quoted printout
right.
2011-02-16 15:26:15 -05:00
James Swaine
c6642de116
Added future semaphores (fsemaphores)
2011-02-15 23:27:03 -06:00
James Swaine
a98553f99b
Merge branch 'master' of pltgit:plt
2011-02-15 22:58:08 -06:00
Robby Findler
8e94ce49e4
lift the restriction that the text:ports mixin
...
cannot do io from the eventspace handler thread
and add a test suite for text:ports
2011-02-15 18:10:02 -06:00
Robby Findler
62c961410c
adjust the framework test suite so that queue-sexp-to-mred catches and propogates exceptions
2011-02-15 18:10:00 -06:00
Robby Findler
d5c753be88
adjusted printfs to make them a little narrower
2011-02-15 18:09:59 -06:00
John Clements
c1f76d418f
bug fixed
2011-02-15 14:10:57 -08:00
Kevin Tew
156153f692
calling sync on a place-channel now returns the channel message just like standard racket channels
2011-02-15 13:53:01 -07:00
James Swaine
f9c12f9e58
Merge branch 'master' of pltgit:plt
2011-02-14 14:02:47 -06:00
Eli Barzilay
b090dde2fb
Add a "BOOM" string to the timeout message, otherwise the failure is
...
hard to find.
2011-02-14 13:35:04 -05:00
Matthew Flatt
1a5f41fd71
Scribble: fix multi-line print output
...
Closes PR 11735
2011-02-14 07:32:21 -07:00
Robby Findler
ae67464670
adjust test suite to work on windows and to the new agreement about reproviding
2011-02-12 11:15:01 -06:00
Robby Findler
731a754e2b
added tests that check on provide/contract when there are multiple files containing modules
...
related to PR 11724
related to PR 11084
2011-02-11 19:49:50 -06:00
Matthew Flatt
0840430b21
clean up `define-syntax-rules'
...
by removing a redundant expression in an error message, adding
tests, and documenting the fact that a syntax-error message can
expose the pattern source to users
2011-02-11 09:59:42 -07:00
James Swaine
22d6ad7d03
Merge branch 'master' of pltgit:plt
2011-02-10 14:38:50 -06:00
Robby Findler
5cef41e08e
adjust and/c so that it mentions the particular predicate (flat contract) that failed in the case that all its arguments are flat contracts
2011-02-10 11:32:40 -06:00
James Swaine
19dbee0405
Added semaphores for futures
2011-02-08 17:58:02 -06:00
James Swaine
0a73a9d5a1
Added semaphores for futures
2011-02-08 17:55:12 -06:00
Matthew Flatt
3c4807f032
fix coverage of `file/resource' tests
2011-02-05 08:33:27 -07:00
Matthew Flatt
18eb7c86b5
get-resource' and
write-resource': support .ini files
2011-02-05 07:39:29 -07:00
Matthew Flatt
da6d4f3fba
futures: fix `future' when given a non-JITted procedure
...
Merge to 5.1
2011-02-05 06:43:09 -07:00
David Van Horn
760a58b65d
Fixes more spelling errors.
2011-02-04 19:44:13 -07:00
Matthew Flatt
337500552c
`file/resource': improve compatibility
...
by generating "failure" results instead of exn:fail:unsupported
2011-02-04 14:25:09 -07:00
Matthew Flatt
b4ce4bbd2c
add `file/resource'
2011-02-04 13:39:49 -07:00
David Van Horn
c9519fd113
Fixed various spelling errors.
2011-02-03 17:42:33 -05:00
Sam Tobin-Hochstadt
6099806a72
codeblock:
...
fix language regexp to accept numbers in #lang
2011-02-03 17:42:33 -05:00
John Clements
e4c4170d31
updated props in test dir
2011-02-03 14:17:18 -08:00
Eli Barzilay
2fe690b29e
Try to kill the test thread after a minute, and exit after another minute.
2011-02-03 15:55:57 -05:00
John Clements
d2771cfb53
added big-bang-test.rkt
2011-02-03 10:27:47 -08:00
Robby Findler
0fce29f552
adjust the wxme reader so that it now creates image-snip%s when it finds image-snips in file
...
it used to create image% objects that were simple containers for the
data in the file; the change _should_ be backwards compatibile;
the only know incompatibility is that the get-filename method
now returns a path instead of bytes (this is to match the
image-snip% class)
closes PR 1168
please merge to the 5.1 release branch
2011-02-02 20:26:52 -06:00
Matthew Flatt
c2c6c79a15
fix `image-snip%' unmarshaling with filename
...
Merge to 5.1
2011-02-02 19:03:20 -07:00
Kevin Tew
2b045b991e
bytes-join
2011-02-02 10:37:57 -07:00
Matthew Flatt
dfa36afa89
change `floating-point-bytes->real' to always produce a flonum
2011-01-31 19:52:50 -07:00
Matthew Flatt
3ef32d915b
make inexacts `eqv?' only when precision is the same
...
plus some other small fixes
2011-01-31 19:16:33 -07:00
Matthew Flatt
1e09a544a6
adjust _float' and
_double' FFI types to accept any inexact real
...
whether single-precision or double-precision
2011-01-31 18:04:05 -07:00
Vincent St-Amour
1b3052748e
Add a case-> type-constructor as a synonym for case-lambda.
2011-01-31 16:39:20 -05:00
Vincent St-Amour
d65438c9ea
Remove some legacy bindings.
2011-01-31 16:39:19 -05:00
Vincent St-Amour
e65b206e6e
Add functions to convert back and forth between floating-point representations.
2011-01-31 16:39:17 -05:00
Vincent St-Amour
03ec1ec501
Add a single-flonum? predicate to test for single-precision floats.
2011-01-31 16:39:17 -05:00
Vincent St-Amour
c997ae139b
Single-precision floats now print differently from their double-precision
...
counterparts.
2011-01-31 16:39:16 -05:00
Vincent St-Amour
d220e0a10b
Add read syntax for single-precision float specials.
2011-01-31 16:39:16 -05:00
Vincent St-Amour
768bb63361
Fix optimizer to work with new types.
2011-01-31 16:39:14 -05:00
Vincent St-Amour
a0a54b231d
Fix TR tests.
2011-01-31 16:39:14 -05:00
Vincent St-Amour
e56663c943
Add a predicate field to base types, which makes checking for
...
subtyping of value types easier.
However, this means that base types can't be marshaled as before,
since these predicates can't be marshaled. Instead, we now marshal
base types as identifiers that refer to their base type object.
2011-01-31 16:39:13 -05:00
Vincent St-Amour
d4c93cc12e
TR's numeric tower is now built from unions of non-overlapping base types.
...
A lot of the work that was done by special-casing number types can now be
done by TR's handling of unions. This makes it easier to add more numeric
types to the tower and should make writing down types for numeric
primitives much less error-prone.
In addition, this commit adds several numeric types that will help get
tighter bounds on integer arithmetic, such as Index types. They will have
to be integrated to the base environment before they can be useful.
2011-01-31 16:39:13 -05:00
Matthew Flatt
dd5f0dfc80
fix `read-language' exn construction in an EOF case
...
Closes PR 11683
Merge to 5.1
2011-01-31 06:49:13 -07:00
Eli Barzilay
6b5e09073a
Reorganize, improve, and extend lazy tests.
2011-01-30 13:52:04 -05:00
Stephen Chang
08d99f4858
add test for lazy take bug fix -- invariant being incorrectly tested on unforced arg
2011-01-30 12:12:55 -05:00
Matthew Flatt
bc5ab1e031
fix problems with `read-language' error reporting
2011-01-30 07:47:46 -06:00
Stephen Chang
9924ac8060
add tests for lazy take
2011-01-27 17:04:58 -05:00