Eric Dobson
ac493a6f44
Replaced infer-dummy with lazy-require.
2012-08-14 16:04:51 -04:00
Sam Tobin-Hochstadt
ade36c36c6
Don't special-case applications with instantiations.
...
Closes PR 13006.
2012-08-14 15:45:47 -04:00
Eric Dobson
3b6168de7d
Fix substitute and add test case.
2012-08-14 14:44:55 -04:00
Eric Dobson
2e3965e777
Make simple substitution happen all at once.
...
Closes pr12920.
2012-08-14 14:44:55 -04:00
Vincent St-Amour
af8fc1f26a
Fix types of magnitude and angle.
...
Closes PR13025.
2012-08-14 14:37:18 -04:00
Eric Dobson
cac47c0427
Make TR debug printer work again.
2012-08-14 09:45:01 -04:00
Matthew Flatt
23bca99ba1
adjust `local-expand' to add 'submodule property
2012-08-13 17:11:20 -06:00
Matthew Flatt
b043da6ea6
SIGHUP and SIGTERM -> exn:break:hang-up' and
exn:break:terminate'
...
The default uncaught-exception handler calls `exit' when it receives
one of the new exceptions.
2012-08-13 17:11:20 -06:00
Sam Tobin-Hochstadt
6ae2a9d884
Fix internal require of typed submodules.
2012-08-13 17:20:20 -04:00
Robby Findler
e6fc56a8b8
adjust the leak test so that it first runs with online
...
compilation disabled and then runs with it enabled
2012-08-13 10:31:54 -05:00
Matthew Flatt
bb3545ddf7
ffi/unsafe/custodian: #:atexit?' ->
#:at-exit?'
2012-08-12 20:25:47 -06:00
Matthew Flatt
1800680c6b
racket/gui: fix access of scrollbar values for canvas without a scrollbar
2012-08-12 20:17:29 -06:00
Matthew Flatt
42ef79c2ad
add `ffi/unsafe/custodian'
2012-08-12 20:17:29 -06:00
Robby Findler
6588449aed
enable online check syntax (change the default for
...
the preferences and use a new preferences symbol, so
everyone gets the new default)
2012-08-12 16:20:21 -05:00
James Swaine
3cd4efe201
Fix process id sorting in future visualizer
2012-08-11 09:21:29 -05:00
James Swaine
6271556e1d
Add GC display to future visualizer
2012-08-11 01:00:51 -05:00
Matthew Flatt
b5f0c97762
fix arity error message for keyword-accepting methods
...
Internally, there's a `prop:method-arity-error' property that is
used for keyword-accepting methods. The same thing could be
accomplished with `procedure->method', but the new property avoids
a wrapper. It might be nice to expose the property from `racket/base',
but that creates trouble for generating arity errors for keyword-
requiring procedures (i.e., when such a procedure is wrapped), so
keep it provate for now.
Closes PR 12982
2012-08-10 12:59:36 -06:00
Eric Dobson
3876dfa841
Make generated flat contracts actually flat.
2012-08-10 10:39:44 -04:00
Matthew Flatt
4345045b52
fix parsing of complex numbers with special single flonums
...
Closes PR 12839
2012-08-10 07:49:17 -06:00
Matthew Flatt
9d6cb8e50e
setup/pack: fix internal and contract errors
...
Part of the contract-error fix is an implementation change, and part
is a documentation change.
Closes PR 12904
2012-08-10 07:49:17 -06:00
Matthew Flatt
5f120373f1
atan: fix result for two inexact-zero arguments
...
Closes PR 12936
2012-08-10 07:49:16 -06:00
James Swaine
a3a55de00a
Don't wait for future log messages if futures are disabled (future-visualizer)
2012-08-08 12:01:58 -05:00
Eric Dobson
21598297a7
Removed *Un from abbrev.rkt, replaced it with Un from union.rkt.
2012-08-07 15:50:50 -04:00
Eric Dobson
9ed360bb5e
Removed convenience.rkt from typed racket.
2012-08-07 15:50:50 -04:00
Eric Dobson
56fd9e6321
Rearange type code, so that abbrev.rkt can depend on union.rkt.
...
Split out base-abbrev.rkt so that subtype is not dependent on abbrev.rkt.
Remove unused code in numeric-tower.rkt so that it is now a dependent of
abbrev.rkt, which allows the body of convenience.rkt to be merged back in.
Remove special casing for union.rkt and extraneous subtyping checks.
Remove union-maker.
2012-08-07 15:50:50 -04:00
Robby Findler
4a19ab40e8
add check for adjacent separators into tests
2012-08-07 12:51:52 -05:00
Matthew Flatt
d194fa6245
fix `regexp-match' variants given a long string and an output port
2012-08-07 05:21:33 -06:00
Matthew Flatt
0bd53a3549
compiler/zo-marshal: repair mashaling of import info in syntax
2012-08-06 15:32:27 -06:00
Matthew Flatt
02318ebcb3
fix test to work with relative executable path
2012-08-06 14:27:29 -06:00
Matthew Flatt
13d7a37eb6
re-align expt' and
flexpt' to match C99 pow() spec
...
Also, improve precision of some complex results to avoid
excessive `+nan.0's.
Closes PR 12935
2012-08-06 13:00:36 -06:00
Vincent St-Amour
7494fccc4c
Control number of attempts for TR random testing from the command line.
2012-08-06 12:48:41 -04:00
Eric Dobson
e6d4fb2ee2
Fill hole in recursive type soundness. Fixes PR 11372.
2012-08-06 12:31:07 -04:00
Robby Findler
8a0b6549a5
adjust the contract error messages to follow the error message
...
conventions in 9.2.1 of the reference (altho the messages do
not yet do the extra level of indenting when a field is too
long, nor are there any field names ending in ...)
Also, fix the docs for the #:stronger argument to
make-contract, make-chaperone-contract, and make-flat-contract
2012-08-05 20:09:09 -05:00
Robby Findler
34618708a6
give up on a (small) part of the repl test.
...
Specifically, it seems like about 20% of the time (in drdr),
running the program
(let l()(l))
in DrRacket and then clicking the break button results in a state
where DrRacket's focus is not in the definitions window. I can't seem
to make this happen on my own machine and I'm not sure if this a
race-condition in the test suite or a real bug in DrRacket but it
seems minor enough (given all of the other focus-based testing that is
happening in this (and related) test suites) that I'm just going to
give up on this particular test.
2012-08-05 08:14:58 -05:00
Matthew Flatt
7c9e6d7193
improve port progress-evt guarantees; fix for `read-bytes-evt' et al.
...
A progress evt from a close input port must be initially ready,
and the primitive `peek-bytes-avail!' checks a progress evt
before checking whether the port is closed.
These changes resolve a race in `read-bytes-evt' and related evt
constructors.
2012-08-04 10:19:55 -06:00
Matthew Flatt
f28e8a02d0
fix 'disappeared-use prperty added by `syntax'
...
Effectively preserve `syntax-original?' of added identifiers.
2012-08-04 10:19:55 -06:00
Vincent St-Amour
aba046a92d
Swap unsafe and chaperone-unsafe vector ops in the TR optimizer.
...
Closes PR12969.
2012-08-04 10:32:21 -04:00
Ryan Culpepper
1a77f4ee0e
added recontract-out
2012-08-03 20:52:35 -04:00
Matthew Flatt
f11450d601
scribble/base: generalize `itemlist' to splice/coerce some arguments
...
Also, add a `spliceof' contract constructor to `scribble/decode'.
2012-08-03 13:43:23 -06:00
Vincent St-Amour
79c265ef89
Fix NaN handling of flexpt to be consistent with expt.
2012-08-03 14:21:44 -04:00
Vincent St-Amour
a6d5a98b61
Include NaN in all floating-point types.
...
Makes more closure properties hold, but weakens occurrence typing for
some comparisons involving flonums.
2012-08-03 14:21:44 -04:00
Kevin Tew
38e90b52c4
Fixes parallel raco make of relative paths including subdirectories
...
closes PR 12953
2012-08-03 09:15:22 -06:00
Robby Findler
2032aaf341
add a test case for check-expect expressions where the first position has an error
...
test case for commit 87a8f70148
related to PR 12943
2012-07-31 22:25:34 -05:00
Ryan Culpepper
6eb8da1f40
removed (unused) reference to not-break-exn?
2012-07-31 19:15:21 -04:00
Vincent St-Amour
800a328fe6
Fix documentation for packages and mutable lists.
...
As suggested by Matthew.
2012-07-31 17:12:30 -04:00
Kevin Tew
04839b39f8
[Distributed Places] fix failing drdr tests
2012-07-31 13:56:38 -06:00
Robby Findler
1a619bd047
add tooltips at the start and end of arrows indicating how many references
...
there are and how many definition sites there are (in check syntax)
also: Rackety
2012-07-30 21:46:22 -05:00
Matthew Flatt
b0f81b5365
racket/draw: use Cairo in a single-threaded way
...
This is a follow-up to commit ec6f3fd610
. We're still
seeing crashes while rendering the "plot" documentation, and this
change seems to make things work on my machine.
2012-07-30 08:07:49 -06:00
Matthew Flatt
9b1db14328
ffi/com: fix clean-up of type descriptors
...
Merge to v5.3
2012-07-29 09:46:30 -06:00
Robby Findler
6e2fb2ac5e
make the code that does the mixin checks work with define-local-member-name
...
closes PR 11279
closes PR 12397
2012-07-29 09:43:37 -05:00