Commit Graph

33578 Commits

Author SHA1 Message Date
Robby Findler
9e9b291d4a improve or/c random generation and get rid of old, not-working
generation for the old-style -> contracts
2014-04-27 07:34:44 -05:00
Robby Findler
76c6a1b7b0 improve random contract generation
notably enable the generator to actually use things from the
environment but currently only when they are directly in the
environment so, eg:

   (-> (-> is-eleven?) is-eleven?)

can't be generated (since the contract system doesn't know
about is-eleven? and also doesn't yet know that it can call
the argument thunk)
2014-04-27 07:10:50 -05:00
Matthew Flatt
cdd6bf438a no getprotobyname on Android 2014-04-26 20:10:52 -06:00
Matthew Flatt
ffb0dd52c5 ARM JIT: fix software floating-point
I broke uses of LDRD and STRD when compacting the set of registers
used by the JIT. The LDRD and STRD instructions are given one
register explicitly, but they implicitly use the next regsister, too,
and the specified register must be even-numbered. Lining up a pair of
registers requires a little shuffling before and after the operation.

Also, the LDRDI and STRD encodings were broken, and the inlined
fl->fx conversion was not right.

Closes PR 14470
2014-04-26 20:10:51 -06:00
Matthew Flatt
b88f391c1c configure: add --enable-sysroot
The `--enable-sysroot` flag simplifies an Android cross-compilation,
for example.
2014-04-26 20:10:51 -06:00
Eric Dobson
d38737836e Add a test suite for infer. 2014-04-26 09:48:11 -07:00
Eric Dobson
b42e0d8d68 Fix apply with (Listof A) args.
Closes PR 14465.
2014-04-25 21:34:27 -07:00
Burke Fetscher
a52cf43674 redex: fix _ docs typo 2014-04-25 16:47:40 -05:00
Vincent St-Amour
6341cb3026 Revert edit to expected result. 2014-04-25 16:57:06 -04:00
Burke Fetscher
1e566b57f6 redex: allow named ellipses to be bound as term-ids.
This enables the internal bindings generated by where clauses.

Closes PR 14467
2014-04-25 15:17:57 -05:00
Burke Fetscher
d1ba8c95d7 redex: don't treat _ as a binder in extract-names
Closes PR 14466
2014-04-25 15:17:57 -05:00
Vincent St-Amour
09d294abe1 Proper indentation for syntax-parse in DrRacket. 2014-04-25 14:17:31 -04:00
Vincent St-Amour
ce3033a0c7 Keep dead case-lambda clauses around to avoid changing arity.
Closes PR14468.
2014-04-25 13:44:56 -04:00
Breanndán Ó Nualláin
b40619ffd5 Fix type in docs. 2014-04-25 11:32:27 -04:00
Jay Kominek
70802ce217 Avoid feeding inexact numbers to random while generating contract-satisfying values.
Also fix a minor doc error.
2014-04-24 22:55:15 -06:00
Matthew Flatt
310df9e9cf racket/gui Gtk: choice% and combo% repair for some Gtk variants
Finishes repair started in 8cbcba8ed so that mouse events can be
intercepted for `combo%` and `choice%` objects. DrRacket's
font preference choice relies on intercepting mouse events
to populate the menu, for example.

Reference counting doesn't seem to work, probably because the
relevant widgets are supposed to be private.
2014-04-24 16:46:05 -06:00
Matthias Felleisen
ed9e47a1a6 history update 2014-04-24 16:41:44 -04:00
Jens Axel Søgaard
6b5e4c90e4 Use quotient/remainder in bezout
Use quotient/remainder in bezout. This is much more efficient.
2014-04-24 15:47:38 -04:00
Vincent St-Amour
cc643e4c50 Update RacketCon page. 2014-04-24 14:30:53 -04:00
Neil Toronto
de0b181913 Add check to avoid degenerate planes in BSP tree build
Please merge to release
2014-04-24 10:55:08 -06:00
Matthew Flatt
c442385324 fix doc bug 2014-04-24 10:21:52 -06:00
Matthew Flatt
4d2b24b325 clean-ups to commit 4fde0e9901 2014-04-24 10:21:52 -06:00
Matthew Flatt
fa23a373ac racket/gui Cocoa: fix menu bar after non-GUI startup on 10.9
When a GUI program is run through `racket` instead of `gracket`, an
extra dance is needed on recent Mac OS X version (10.9, maybe also 10.8)
to make the Racket-based application take over the menu bar.
2014-04-24 10:21:52 -06:00
Neil Toronto
bee344f41d Fix Plot for new undefined behavior: #<undefined> is not a truth value
This is a nice example of why having #<undefined> as a language value is
generally a bad idea. Because in Scheme/Racket, everything that isn't
`refresh?` argument entirely - it was as if its value was always #t. Any
GUI change that was not meant to cause a refresh caused one anyway: a
silent performance error.
2014-04-24 10:11:43 -06:00
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