Vincent St-Amour
034d7245a4
Filters for comparisons with inifinity.
2013-02-21 10:49:57 -05:00
Vincent St-Amour
12aaa229a3
Fix subtyping for Negative-Single-Flonum.
2013-02-21 10:49:57 -05:00
Eric Dobson
18d90115e7
Make naturals be a sequence type.
2013-02-20 21:25:02 -08:00
Eric Dobson
4f9f00680e
Make (Set a) a subtype of (Sequenceof a).
...
Closes PR13485.
Closes PR12615.
2013-02-20 21:25:02 -08:00
Eric Dobson
a7bc758505
Fix subtyping of invariant data structures.
...
Closes PR13521.
2013-02-20 21:25:02 -08:00
Eric Dobson
ddb8e7f807
Add subtyping for Parameters.
...
Closes PR11992.
This required moving more stuff in to base-abbrev so that it could be
used in subtype.
2013-02-20 21:25:02 -08:00
Eric Dobson
0b87c999b3
Make struct types overlap with procedures.
...
Closes PR11971.
2013-02-20 21:25:02 -08:00
Robby Findler
5eddac7482
fix the use of impersonator-ephemerons in the framework preferences library
2013-02-20 21:13:02 -06:00
Stephen Chang
9e26cd0b7a
one more integer-set test
2013-02-20 18:34:58 -05:00
Stephen Chang
aeff5922b7
add test for integer-set:
...
- check that taking the rest of an integer-set results in a proper integer-set
2013-02-20 18:32:01 -05:00
Matthew Flatt
0afcda2a5a
fix error checking for flreal-part' and
flimag-part'
2013-02-19 16:47:39 -07:00
Matthew Flatt
ca951294d4
JIT: inline char->integer' and
integer->char'
2013-02-19 08:43:50 -07:00
Matthew Flatt
dbdfd4236f
racket/snip: fix style-list%'
notify-on-change' and contracts
...
The method uses the new `impersonator-ephemeron' function to
retain a callback as long any value that it impersonates
is reachable.
2013-02-18 17:01:11 -07:00
Matthew Flatt
79c4af4e45
racket/base: add `impersonator-ephemeron'
2013-02-18 17:01:11 -07:00
Robby Findler
85f9fbbaee
interactivity fix for online check syntax
...
commit e503850f21
broke drracket's
interactivity (for some files it could take 2 seconds to do
that one line)
This changes the bindings-table so that it maps to sets instead of
lists. Now, instead of mutating all entries in the table right after
collecting everything, just leave them as sets until we need the info
and just sort a single entry, when it is needed
2013-02-18 16:33:50 -06:00
Matthew Flatt
fdd8dc9376
JIT: fix bug in checking certain values before unboxing
...
The check was incomplete in the case that both arguments to a binary
[ext]flonum function need to be checked and the second one was not an
[ext]flonum and also not a fixnum.
2013-02-18 11:07:45 -07:00
Matthew Flatt
4271d987cd
ffi/unsafe: fix a bug in conversion to UTF-16
...
Characters outside of the BMP were translated incorrectly.
2013-02-18 10:28:58 -07:00
Eric Dobson
13b205aa0a
Fixes *-filter types and filter of zero?.
...
Closes PR13275.
2013-02-18 11:56:59 -05:00
Eric Dobson
36cc3220ea
Improve type of make-immutable-hash.
...
Closes PR13297.
2013-02-18 11:56:58 -05:00
Eric Dobson
7d6888f229
Improve types for exit and in-naturals.
2013-02-18 11:56:57 -05:00
Eric Dobson
7e88895bd0
Add testcases for many already fixed bugs.
...
Closes PR11901.
Closes PR11972.
Closes PR12022.
Closes PR12224.
Closes PR12506.
Closes PR12533.
Closes PR12596.
Closes PR13198.
Closes PR13418.
Already fixed bugs, with existing testcases.
Closes PR12529.
Closes PR12631.
Closes PR13127.
Closes PR13128.
Closes PR12970.
2013-02-18 11:56:55 -05:00
Robby Findler
dbb1d8f360
adjust scribble lexer so its failures print to stderr, not stdout
2013-02-16 19:55:18 -06:00
Robby Findler
5c109946c2
add support to struct/dc to name the selector directly
...
and use that in struct/c
closes PR 13054
closes PR 13461
related to PR 13050
2013-02-16 17:24:11 -06:00
Ryan Culpepper
44e26d493d
try to make tmp file path shorter (for drdr)
2013-02-16 15:18:55 -05:00
Matthew Flatt
9b04aef0f8
fix a problem with `syntax-local-lift-require' at top level
...
The problem was exposed by improved error checking
in the expander to detect references to exports of a module that
is not yet visited, and as triggered by the documentation for
`2htdp/planetcute'.
2013-02-16 09:29:16 -07:00
Matthew Flatt
72c39ca7ff
test fixups
2013-02-16 08:56:21 -07:00
Robby Findler
fbeecdc1aa
add gc log following info to the drr performance monitor
2013-02-16 07:39:33 -06:00
Robby Findler
1ee765c7e3
fix bad test
2013-02-16 00:09:25 -06:00
Matthew Flatt
0c37849f81
racket/gui: fix contract of set-value' in
gauge%'
2013-02-15 16:02:53 -07:00
Asumu Takikawa
9ef9330d4e
Informative error message for raco pkg remove
...
When a user tries to remove a package installed in a
different scope, notify them.
2013-02-15 15:44:31 -05:00
Michael Filonenko
840fc9c657
full unboxing for extflonums, plus `ffi/unsafe' support
...
Includes a repair for floating-point `min' and `max' that affects all
x86 builds that use SSE arithmetic, leaving the (otherwise unused)
floating-point stack in a bad state, which might have affected
x87-using C/foreign libraries running alongside Racket.
2013-02-15 12:15:34 -07:00
Robby Findler
93bf0cd663
fix 2d lexer for the case when the #2d expression
...
isn't in the leftmost column
2013-02-15 10:29:34 -06:00
Matthew Flatt
d5c1a75e38
racket/gui cocoa: fix over-eager refresh for 'gl canvas%
2013-02-14 19:47:40 -07:00
Robby Findler
30ca1f0baf
add syntax coloring for 2d syntax
2013-02-14 19:51:08 -06:00
chrdimo
26726ba26f
tests for option contracts
2013-02-14 19:55:10 -05:00
Matthew Flatt
ccabbaa36e
fix `current-subprocess-custodian-mode' for a #f argument
2013-02-14 17:30:10 -07:00
Eric Dobson
5ed26e806b
Make lists with minimum lengths be a subtype of sequences.
2013-02-14 18:24:52 -05:00
Eric Dobson
b4beabc977
Make tc-let do unions correctly.
2013-02-14 18:24:52 -05:00
Vincent St-Amour
60959467cf
Fix optimization of unary complex - and /.
2013-02-14 18:24:52 -05:00
Vincent St-Amour
29a181175f
Improve a number of numeric function types.
...
Closes PR13468.
2013-02-14 18:24:52 -05:00
Matthew Flatt
3cd4ee1c0d
ffi/unsafe: allow multiple values for a `(_fun ... -> _racket)' result
...
Closes PR 13496
2013-02-14 15:45:26 -07:00
Matthew Flatt
421cb24138
add `port-counts-lines?'
2013-02-14 15:45:26 -07:00
Tobias Hammer
7e2b443fa9
Support for multiple value return from wrap-evt and handle-evt
...
wrap/handle-evt that receives multiple values must have a handler function with adequate arity.
struct.c:
change contract for wrap/handle-evt from (any/c -> any) to procedure?
thread.c:
adjust sync processing
sync.rktl:
add test for handle-evt, wrap-evt and prop:evt
2013-02-14 15:45:26 -07:00
Ryan Culpepper
b3afbdd485
added unstable/socket
2013-02-14 17:19:08 -05:00
Ryan Culpepper
7a0b100ce0
tests for unstable/macro-testing
2013-02-14 17:19:08 -05:00
Matthew Flatt
294bed209e
macro expander fix
...
Repair 73e07f576b
added an item to a list without incrementing a
counter for the list length, which cause a different element of
the list to be dropped, which could mess up binding resolution in
arbitrarily bad ways.
(Ths bug falls into the "how did this not get exposed earlier?" bin,
although part of the answer is that it requires a combination of
module re-expansion and simplification of syntax objects in the
residual program.)
Closes PR 13428
2013-02-14 07:11:16 -07:00
Ryan Culpepper
fbee1ed9c7
change stxparse tests to use unstable/macro-testing
2013-02-13 16:14:49 -05:00
Matthew Flatt
c6eb82524b
fix `syntax-local-module-exports' for submodules in expand mode
2013-02-13 08:28:23 -07:00
Matthew Flatt
8c2c84f74f
fix context for `#%module-begin' form in a submodule
2013-02-13 08:28:22 -07:00
Matthew Flatt
4a0adb6a74
fix syntax-local-submodules' in
expand' mode
2013-02-13 08:28:22 -07:00