Ryan Culpepper
7da5063782
db: added variations of concurrency test
2012-08-25 19:02:18 -04:00
Ryan Culpepper
7c395e9c7c
db: updated to new error convention (mostly)
2012-08-25 19:02:18 -04:00
Ryan Culpepper
325293ceea
added tests for racket/syntax
2012-08-24 18:14:40 -04:00
Matthew Flatt
bd8e1e8b1f
fix JIT bug related to bad struct-field mutators
...
We can't disallow the creation of bad mutators without breaking
old code, but we can prevent the JIT from treating them like
good ones.
Closes PR 13062
2012-08-24 15:48:58 -06:00
Robby Findler
0fa2e6d7d5
adjust planet tests to use 'raco planet' command-line tool, not 'planet'
2012-08-24 07:41:05 -05:00
Robby Findler
1ad2c75531
add the ability to specify #:parent to struct/dc (and fix struct/c to use it)
...
closes PR 13049
2012-08-23 18:59:11 -05:00
Matthew Flatt
edd2035f88
racket/draw: fix set-clipping-rect' in
record-dc%'
2012-08-23 09:42:34 -06:00
Asumu Takikawa
07119c371d
Fix stream bug introduced by generics
...
Stream generic operations stopped working for lists
since the operations used only the generic dispatcher
instead of the real generic functions.
(Moral of this story: write more tests)
2012-08-22 18:15:25 -04:00
Sam Tobin-Hochstadt
b7f9c77069
Remove #:transparent
to work around place message limitations.
2012-08-22 16:50:50 -04:00
Sam Tobin-Hochstadt
e207f5c67d
Add -v
option to TR tests.
...
Also, print errors from serialization and place message sending.
2012-08-22 16:50:50 -04:00
Eric Dobson
e9f209977b
Fix typechecking of polymorphic structs with parent types.
...
Closes PR12998.
2012-08-22 16:50:49 -04:00
John Clements
a5ddd73000
removed vestigial mz-testing file
2012-08-22 10:14:13 -07:00
Sam Tobin-Hochstadt
26a57f6420
Use module registry trick to slightly speed up TR tests.
2012-08-22 11:13:07 -04:00
Sam Tobin-Hochstadt
e705d4d450
Parallelize running Typed Racket optimizer tests.
...
No speedup yet, though.
2012-08-21 17:47:30 -04:00
Asumu Takikawa
9a65f9aaf0
Delete trailing whitespace
2012-08-21 16:20:26 -04:00
Asumu Takikawa
965a74453f
Add #:forall, #:∀ to contract-out
2012-08-21 16:20:26 -04:00
Asumu Takikawa
a5d1007696
racket/generic: allow impersonator contracts
...
This enables the use of polymorphic contracts with generic
interfaces and their instances.
2012-08-21 12:43:48 -04:00
Matthew Flatt
5e5e503859
scribble/manual: add #:normalize?' option to
deftech' et al.
2012-08-20 17:37:24 -06:00
Jon Rafkind
5bf68d32d5
[honu] remove context argument
2012-08-20 16:25:38 -06:00
Sam Tobin-Hochstadt
1c275ffcc7
Don't use places for running single tests.
2012-08-20 14:45:50 -04:00
Jon Rafkind
dc3d06c7ae
[honu] change -> to =
2012-08-20 12:28:15 -06:00
Jon Rafkind
62042beb50
[honu] wrap syntax with (semicolon ...) when a ; is present
2012-08-20 12:28:15 -06:00
Eric Dobson
533920480e
Add tests for make-predicate and cast, also add support for the top-level.
...
Closes PR 12939.
Closes PR 12201.
2012-08-20 12:39:41 -04:00
Sam Tobin-Hochstadt
9e5060ef5b
Make Typed Racket integration tests run in parallel.
...
Parallel speedup of approximately 4x when using 8 workers on a 12-core machine.
Closes PR 12911.
2012-08-20 12:25:50 -04:00
Eric Dobson
09d32d35e0
Add promise support to type->contract.
...
Closes PR13024.
2012-08-20 10:10:17 -04:00
Robby Findler
40121d2531
improve the menu redundancy test so it reports when there are
...
multiple menu items with the same shortcut
2012-08-19 17:09:16 -05:00
Robby Findler
52f18ee370
adjust the expansion of class so that it tracks identifiers
...
that it drops from the expansion (like define/public) by
adding them to the origin syntax property (and sometimes
to disappeared-use; see the add-decl-props function
for details on those that aren't in the origin property)
this means that check syntax will now pick them up
so they'll show up in the blue boxes in drracket
Thanks Matthew, for some helpful advice and
comments on an initial version of the commit.
2012-08-17 17:24:03 -05:00
Asumu Takikawa
5a2c235739
Forge non-existent generic functions like write-proc
...
Closes PR 13014
2012-08-17 12:27:01 -04:00
Matthew Flatt
3150b31eb7
bytecode optimizer improvement
...
Generalize splitting of `(let-values ([(x ...) (values e ...)]) ....)'
to `(let ([x e] ...) ....)' for any `e', since it's always equivalent.
Right?
(The old requirements on the `e's seem to be needed only for
`letrec-values' splitting and maybe mutable variables.)
2012-08-16 16:39:21 -06:00
Matthew Flatt
0452bd791d
bytecode optimizer improvement
...
Treat unsafe functional operations (which never raise an
exception) as omitable, which means that simple `let-values'
combinations can be split into `let' bindings, etc.
2012-08-16 13:11:41 -06:00
Matthew Flatt
65588b156b
fix `sqrt' on numbers with negative real and inexact-zero imag
...
Closes PR 13028
2012-08-16 04:46:01 -06:00
Matthew Flatt
b95b1b9366
Revert "Fixing Rackunit tests after alignment"
...
This reverts commit 4497c8ce5e
,
because the tests were correctly reporting a bug that I
introduced.
2012-08-15 09:34:17 -06:00
Matthew Flatt
6e2bb58cce
add a #:fill' clause to
for/vector' et al.
2012-08-15 09:32:55 -06:00
Matthew Flatt
7b811bed1b
for/vector' and
for*/vector' repairs
...
Closes PR 13029, 13030
2012-08-15 07:41:50 -06:00
Jay McCarthy
4497c8ce5e
Fixing Rackunit tests after alignment
2012-08-14 22:21:44 -06:00
Jay McCarthy
3ddaf5e32b
Fixing Racklog cut error found by Erik Dominikus
...
Basically, Racklog (and all versions of schelog) implement ! by
causing the failure continuation of the entire relation being
returned. They did not also cause the unification caused by the
relation to be un-done.
However, it is not easy to separate un-doing the local changes because
the unification just returns a failure continuation too. I had to call
that fail continuation but use state to communicate to its target that
the next clause should not be visited.
I don't know if this is correct. My test suite contains a lot of cut
tests that still pass. Erik's test passes too. But I'm not confident
that this really works.
2012-08-14 21:34:02 -06:00
Eric Dobson
ac493a6f44
Replaced infer-dummy with lazy-require.
2012-08-14 16:04:51 -04:00
Sam Tobin-Hochstadt
ade36c36c6
Don't special-case applications with instantiations.
...
Closes PR 13006.
2012-08-14 15:45:47 -04:00
Eric Dobson
3b6168de7d
Fix substitute and add test case.
2012-08-14 14:44:55 -04:00
Eric Dobson
2e3965e777
Make simple substitution happen all at once.
...
Closes pr12920.
2012-08-14 14:44:55 -04:00
Vincent St-Amour
af8fc1f26a
Fix types of magnitude and angle.
...
Closes PR13025.
2012-08-14 14:37:18 -04:00
Eric Dobson
cac47c0427
Make TR debug printer work again.
2012-08-14 09:45:01 -04:00
Matthew Flatt
23bca99ba1
adjust `local-expand' to add 'submodule property
2012-08-13 17:11:20 -06:00
Matthew Flatt
b043da6ea6
SIGHUP and SIGTERM -> exn:break:hang-up' and
exn:break:terminate'
...
The default uncaught-exception handler calls `exit' when it receives
one of the new exceptions.
2012-08-13 17:11:20 -06:00
Sam Tobin-Hochstadt
6ae2a9d884
Fix internal require of typed submodules.
2012-08-13 17:20:20 -04:00
Robby Findler
e6fc56a8b8
adjust the leak test so that it first runs with online
...
compilation disabled and then runs with it enabled
2012-08-13 10:31:54 -05:00
Matthew Flatt
bb3545ddf7
ffi/unsafe/custodian: #:atexit?' ->
#:at-exit?'
2012-08-12 20:25:47 -06:00
Matthew Flatt
1800680c6b
racket/gui: fix access of scrollbar values for canvas without a scrollbar
2012-08-12 20:17:29 -06:00
Matthew Flatt
42ef79c2ad
add `ffi/unsafe/custodian'
2012-08-12 20:17:29 -06:00
Robby Findler
6588449aed
enable online check syntax (change the default for
...
the preferences and use a new preferences symbol, so
everyone gets the new default)
2012-08-12 16:20:21 -05:00