Commit Graph

32704 Commits

Author SHA1 Message Date
Vincent St-Amour
d30546cb7d Avoid precision problems in TR tests. 2014-04-24 10:48:26 -04:00
Vincent St-Amour
842137fc29 Add missing forms to TR docs. 2014-04-24 10:48:26 -04:00
Sam Tobin-Hochstadt
26ac878516 Add pointer to the syntax/modresolve docs. 2014-04-24 10:19:48 -04:00
Robby Findler
4d7ccc60a9 adjust language test for new letrec semantics 2014-04-24 07:59:18 -05:00
Robby Findler
846342db9f get-filename might return #f; check for that properly 2014-04-24 07:59:18 -05:00
Eric Dobson
7a435b154c Fix inference for dotted and starred arr types. 2014-04-23 23:57:11 -07:00
Asumu Takikawa
d731a02fa5 Add remaining racket/list functions to TR base-env 2014-04-23 18:42:12 -04:00
Sam Tobin-Hochstadt
7624356774 Up timeout for tests/racket/link. 2014-04-23 18:08:48 -04:00
Sam Tobin-Hochstadt
cff3c41e01 Add -l flag to raco test.
Behaves similarly to `-l` for plain `racket`.
2014-04-23 17:52:33 -04:00
Vincent St-Amour
4d36910026 Optimize expt on floats. 2014-04-23 12:45:37 -04:00
Vincent St-Amour
2adc374fc6 Be more conservative when reporing potentially exact arithmetic. 2014-04-23 12:45:37 -04:00
Vincent St-Amour
e8e007badf Typo. 2014-04-23 12:45:37 -04:00
Vincent St-Amour
47abc2f00b Fix extflonum tests for line numbers. 2014-04-23 12:45:37 -04:00
Vincent St-Amour
e41e91f551 Add extflvector optimizations. 2014-04-23 12:45:37 -04:00
Vincent St-Amour
e5e5a4547f Export the ExtFlVector type. 2014-04-23 12:45:37 -04:00
Vincent St-Amour
b96776105c Tests for extflonum optimizations. 2014-04-23 12:45:37 -04:00
Vincent St-Amour
0a8b3845dd More extflonum optimizations. 2014-04-23 12:45:36 -04:00
Vincent St-Amour
228687226a Add missing forms to TR docs. 2014-04-23 12:45:36 -04:00
Vincent St-Amour
171d874757 Basic optimizations for extflonums. 2014-04-23 12:45:36 -04:00
Asumu Takikawa
e230456fd7 Re-enable and fix a TR class test
It turns out the test was wrong instead of the implementation.
In particular, it reversed the internal/external name and thus
the error it failed with was correct (though not the intention of
the test).
2014-04-23 12:16:20 -04:00
Asumu Takikawa
92bdd84b07 Remove unnecessary class typechecking code
Also add a test for this part of TR. In particular, it
handles registering syntax definitions that are found in
a class body.
2014-04-23 12:16:12 -04:00
Robby Findler
28e9bdcbab more fixing redex / undefined interactions 2014-04-22 22:14:27 -05:00
Robby Findler
875fa7bf57 fix test cases 2014-04-22 19:38:37 -05:00
Vincent St-Amour
22ff5d1563 Small oversight in random testing. 2014-04-22 17:25:02 -04:00
Vincent St-Amour
4c19f273cd Add single flonums to TR random testing. 2014-04-22 17:24:34 -04:00
Vincent St-Amour
a39b89bb7d Consider underflow in float conversion functions.
Closes PR14462.
2014-04-22 17:16:50 -04:00
Vincent St-Amour
1d50afca0c Reminder to add optimizations for extflonums. 2014-04-22 17:16:50 -04:00
Robby Findler
cfa3d1b733 when selecting the teaching languages radio box,
always pick a teaching language

If one hasn't been chosen before, choose the first one
(if one had been chosen before, the code would already
select that one, and we keep that behavior)

closes PR 14452
2014-04-22 13:27:31 -05:00
Robby Findler
8d46df4ba1 Rackety (mostly to bring down below 102 columns) 2014-04-22 13:27:31 -05:00
Neil Toronto
14bbd662e9 Added flfma/error and flfma 2014-04-22 10:46:19 -06:00
Neil Toronto
85deab7cb8 Added ExtFlonum (and subtypes) and ExtFlVector to the base type environment 2014-04-22 10:45:40 -06:00
Eric Dobson
67805b9f04 Add contract enforcing expected values don't get returned. 2014-04-22 08:57:01 -07:00
Matthew Flatt
494b6f4fa1 ffi documentation: add overview section on places and thread-safety 2014-04-22 09:36:37 -06:00
Matthew Flatt
4fde0e9901 avoid write-barrier memory protection for 'atomic-interior allocation
Split 'atomic-interior allocation to separate pages from other 'interior
allocation, and do not page-protect 'atomic-interior memory. Otherwise,
atomic-interior memory passed from one place to another --- especially
via the `#:in-original-place?` option on foreign functions --- can crash
due to triggering a write barrier in the wrong place.

Commit c18f6e8d6d, which changed some cross-place arguments to Pango and
Cairo to be 'atomic-interior, exposed the problem.

Merge to v6.0.1
2014-04-22 09:36:37 -06:00
Sam Tobin-Hochstadt
d47c85be22 Fix definition of defined?. 2014-04-22 09:57:43 -04:00
Eric Dobson
00e05020d8 Fix case lambda to only check cases with arities that haven't been covered yet.
Closes PR 14459.
2014-04-21 22:54:36 -07:00
Eric Dobson
2613994ca7 Fix broken case in case-lambda. 2014-04-21 22:54:35 -07:00
Eric Dobson
fdbe0d3f27 Fix removed require. 2014-04-21 22:54:35 -07:00
Robby Findler
3f21371379 fix a bug in naive layered and improve docs a little 2014-04-21 21:42:09 -05:00
Robby Findler
c919579e06 Start on a tree layout library 2014-04-21 17:03:19 -05:00
Matthew Flatt
6856e5253f fix incorrect sharing of submodule-declaration tables
Cuts the peak memory use of

 racket -c -l match

from 1.2 GB to 400 MB on a 64-bit machine.
2014-04-21 15:41:59 -06:00
Matthew Flatt
7f8f8c0b59 dump-memory-stats: add mode to return a tag count 2014-04-21 15:41:59 -06:00
Matthew Flatt
0985bcda66 minor allocation speedup for immutable hash tables 2014-04-21 15:41:58 -06:00
Matthew Flatt
d7ad3955a5 in-directory: keep subdirectory content in order
The content produced by `directory-list` was reversed by an
accumulator loop.
2014-04-21 15:41:58 -06:00
Jay McCarthy
015cf1b74f fix pr14460 2014-04-21 15:27:39 -06:00
Matthew Flatt
f6a7be5730 fix props for removed file 2014-04-20 20:20:34 -06:00
Matthew Flatt
c38447c711 racket/unit: fix test for use-before-definition 2014-04-20 20:20:34 -06:00
Matthew Flatt
a03c396691 scribble test: update expected result for struct indentation 2014-04-20 20:20:34 -06:00
Matthew Flatt
cb70a45df3 meta/new-web: omit "sync.rkt" when testing 2014-04-20 20:20:34 -06:00
Matthew Flatt
051fb7f247 plt-web/build: don't run as test 2014-04-20 20:20:34 -06:00