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
Jay McCarthy
6ae2c71ed5
Add raco show -d and showing package deps on failed remove
2013-02-13 07:47:59 -07:00
Eric Dobson
67c6d7804d
Add tests for subtyping -poly. Closes PR13510.
2013-02-12 17:07:02 -05:00
Matthew Flatt
7f5b295308
fix problem with the initial continuation prompt
...
(Got it wrong in 2f7d4b5e.)
Closes PR 13494
2013-02-12 14:17:57 -07:00
Robby Findler
8edd010bec
improve ->'s source location tracking
...
closes PR 13514
2013-02-11 20:37:15 -06:00
Vincent St-Amour
0bccf6b0b0
Forbid singleton types for integers whose type is platform-dependent.
...
Closes PR13501.
2013-02-11 14:30:19 -05:00
Jay McCarthy
2e7f4ba54a
Allowing github URLs from PNRs to use illegal package names
2013-02-11 06:10:58 -07:00
Matthew Flatt
2fc7cad446
racket/enter: fix for `enter!' related to submodules
...
The load handler didn't obey the protocol with respect to a second
argument that is a list starting with #f.
Closes PR 13096
2013-02-10 05:57:25 -07:00
Matthew Flatt
dd50ac8652
catch module-not-available mimatches earlier
2013-02-08 22:57:37 -06:00
Matthew Flatt
d73ae88220
test case for `for' repair
...
Provided by Ryan to go with a85a71984d
.
2013-02-08 22:57:37 -06:00
J. Ian Johnson
469a69772c
For/product treated like for/sum for special annotation. Also allowed no annotation to be consistent with the docs.
2013-02-08 11:32:21 -05:00
Eric Dobson
19241c0979
Make overlap more precise.
2013-02-08 11:19:10 -05:00
Eric Dobson
c2b8671169
Fix :print-type. Closes PR13503.
2013-02-08 11:19:09 -05:00