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
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