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
Vincent St-Amour
dd02f5eeda
Fix parametric require/typed in typed/racket/base.
...
Closes PR12951.
Please merge to release.
2012-07-29 09:02:58 -04:00
Ryan Culpepper
e10951024f
syntax/parse: fix bug in specialized code for ellipsis patterns
...
The result of 'stx->list' is not always either a list or #f.
Merge to 5.3.
2012-07-28 17:37:06 -04:00
Eli Barzilay
1afc26c79b
Fix test due to code refactoring, sort export lists in module descriptions.
2012-07-28 12:12:35 -04:00
Eli Barzilay
c2bea19d1b
Adjust for new error mesage style.
...
(This is in part a temporary solution since the ",bt" command is now used
to show a backtrace as well as any "foo...:" hidden fields.)
2012-07-28 05:05:06 -04:00
Vincent St-Amour
52439d528b
Move mutable list functions to the compatibility collect.
...
Mutable pair functions from racket/base are not moved.
2012-07-27 16:49:05 -04:00
Matthew Flatt
9d6f0e96ba
fix for bytecode validator
...
Fix tchecking for a rest argument to a function that
is lifted by closure conversion so that one of its
arguments is a mutable local variable's location.
Also reject bytecode that would pass too many arguments
to a lifted function, since that would trigger an arity
error that might try to use a location as a value.
Merge to v5.3
2012-07-26 16:32:59 -06:00
Matthew Flatt
b208a104ec
COM test updates
2012-07-26 16:32:59 -06:00
Matthew Flatt
100212cd53
another repair to `subprocess' test
...
Merge to v5.3
2012-07-26 10:53:56 -06:00
Matthew Flatt
87d24ece78
more on `port-commit-peeked' and EOFs
...
Continues/fixes commit 4c3dd00d49
.
2012-07-26 10:39:24 -06:00
Matthew Flatt
1efc894ada
toward fixed interaction between positions and peek-commits
...
When a `port-commit-peeked' succeeds, position information should
(appear to) be updated. This patch synchronizes commits and
position information for primitive ports, but synchronizing
them for user ports remains a problem.
2012-07-26 10:39:17 -06:00
Matthew Flatt
8c10dc1579
fix a `subprocess' test
...
Merge to v5.3
2012-07-26 08:47:06 -06:00
Matthew Flatt
70ef4e6e57
racket/port: possible repair for `read-bytes-evt'
...
Also restore and add some tests.
Merge to v5.3
2012-07-26 08:39:58 -06:00
Matthew Flatt
ca3272bd45
racket/port: fix `make-limited-input-port' handling of progress evts
...
Merge to v5.3
2012-07-25 21:37:58 -06:00
Matthew Flatt
71045e255c
fix `for/vector' to really stop at size
...
Avoids an infinite loop for an infinite sequence, for example.
Also, expand via `for/fold/derived' to improve error reporting.
2012-07-25 20:07:23 -06:00
Vincent St-Amour
b1577bd307
Fix type for add-between.
2012-07-24 16:41:52 -04:00
Matthew Flatt
289ae98c8e
add missing `super-new' from class100 conversion
...
Also, move relevant tests to a better place.
Merge to v5.3
2012-07-24 11:16:43 -05:00
Matthew Flatt
f7382b17c7
ad hoc optimization of `hash-ref'
...
Convert
(hash-ref <hash> <key-expr> (lambda () <literal>))
to
(hash-ref <hash> <key-expr> <literal>)
which is useful for making the `case' expansion fit
Typed Racket.
2012-07-23 21:41:49 -05:00
Matthew Flatt
22960b9c75
fix `subprocess' test
...
Merge to v5.3
2012-07-23 21:41:49 -05:00
Matthew Flatt
eb6a6e7136
new test cases for `case'
...
Trigger binary-search and hash-table modes.
2012-07-23 18:56:33 -05:00
Matthew Flatt
05495764ea
errortrace: fix profiling for phase >= 2 code
...
Closes PR 25050
Merge to v5.3
2012-07-23 07:05:40 -05:00
Matthew Flatt
a0ba30d8e7
fix `syntax-local-get-shadower' for submodules
...
Closes PR 12926, 12928
Merge to v5.3
2012-07-22 21:43:20 -05:00
James Swaine
ca360cdaed
Add test to track performance of code inside a future over time
2012-07-22 20:08:51 -05:00
James Swaine
6eed135d02
Fix "dancing flags" issue with timeline ticks in future visualizer
2012-07-22 20:03:36 -05:00
James Swaine
e4f50997ad
Minor changes to future-visualizer/trace tests
2012-07-22 20:03:22 -05:00
James Swaine
5214995967
Add unit tests for future-visualizer/trace
2012-07-22 20:03:22 -05:00
Matthew Flatt
d95ec4d454
fixes for submodules and `variable-reference->namespace'
...
Closes PR 12925
Merge to 5.3
2012-07-22 11:54:46 -05:00
Sam Tobin-Hochstadt
4a90c6c1fe
Ensure that structs don't overlap with simple values.
...
Reported by Ray Racine.
Please merge to release.
2012-07-20 13:01:32 -04:00
Ryan Culpepper
510d3937a7
change id-tables so iterators not invalidated by mutation of existing keys
...
id-table fixes
test for id-table
2012-07-20 10:59:50 -04:00
Asumu Takikawa
e14c5d61e9
Allow guards for impersonatable struct type properties
2012-07-19 22:46:14 -04:00
Matthew Flatt
d3677524b8
macro expander fix
...
Relevant to PR 12863
Merge to v5.3
2012-07-19 20:42:36 -05:00
Matthew Flatt
a45d13b52a
another `namespace-attach-module' repair for submodules
...
Merge to v5.3
2012-07-19 16:50:25 -05:00
Matthew Flatt
d44aa13c15
test case to finish repair for `racket/gui/init' load handler
...
Test case for b111241afe
.
2012-07-19 07:46:50 -05:00