Commit Graph

26020 Commits

Author SHA1 Message Date
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
b95dba9f19 Fix documentation on integer-sqrt/remainder. Closes PR 12971 2012-08-06 12:31:07 -04:00
Eric Dobson
e6d4fb2ee2 Fill hole in recursive type soundness. Fixes PR 11372. 2012-08-06 12:31:07 -04:00
Eric Dobson
9f453676d1 Add support for creating contracts of heterogenous vectors 2012-08-06 12:31:07 -04:00
Eric Dobson
f090698542 Fix type of integer-sqrt and add type for integer-sqrt/remainder. 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
Eli Barzilay
0963d44707 New Racket version 5.3.0.17. 2012-08-05 03:30:15 -04:00
Matthew Flatt
932de7536e use MZ_IS_NAN() instead of non-portable isnan() 2012-08-04 20:49:09 -06:00
Neil Toronto
a70aca3176 Fixed off-by-epsilon error; addresses issue with plateaus in contour-intervals and contour-intervals3d reported by Doug Williams
Please merge into release
2012-08-04 11:25:33 -06:00
Matthew Flatt
579e5d3c87 bump version to reflect accumulated repairs 2012-08-04 10:20:18 -06: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
Matthew Flatt
f64408fe60 racket/draw: doc clarifications related to `color%'
Commit 18883681a2 reordered the methods. Although the convention in
the `racket/draw' manual is to order methods alphabetically,
alphabetical does look strange for `color%', and I've refined the
non-alphabetical order to one I like even more.
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
Robby Findler
3573d61636 fix test for when the "hide big labels" popup menu appears 2012-08-04 08:56:25 -05:00
Ryan Culpepper
1a77f4ee0e added recontract-out 2012-08-03 20:52:35 -04:00
Ryan Culpepper
0ea03360c3 template: improve syntax property support 2012-08-03 18:14:16 -04:00
Matthew Flatt
03605b697d adjust timeout for parallel-plot test 2012-08-03 13:57:00 -06: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
Matthew Flatt
1d8791c7c4 ffi/unsafe: show errors from a finalizer
Previously, an error from a finalizer would disappear and kill
of the finalizer thread. Now the error is logged and the thread
continues.
2012-08-03 13:43:23 -06:00
Vincent St-Amour
ebd2e35600 Remove accidentally added file. 2012-08-03 14:41:21 -04: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
1215fb6cec Remove invalid singleton return types.
NaN doesn't inhabit these types, but can be produced there.
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
Vincent St-Amour
b1fbbafd91 Fix type of rational?. 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
Matthew Flatt
66eaa191e5 ffi/com: fix interaction with `racket/gui'
... and other things that use the Windows message
queue by not providing GCable arguments to
IDispatch::Invoke().

Merge to v5.3
2012-08-02 19:20:36 -06:00
Matthew Flatt
38ce4997a9 ffi/com: fix potential interaction of finalization and custodians
Includes new `#:manage?' optional argument to `make-com-object'
and better management of internally created objects.

Merge to v5.3
2012-08-02 16:29:03 -06:00
Matthew Flatt
572252daec ffi/com: thread safety
Protect internal data structures via atomic mode.

Merge to v5.3
2012-08-02 16:29:02 -06:00
Matthew Flatt
1f3f180805 ffi/unsafe/atomic: doc repair 2012-08-02 16:29:02 -06:00
Matthew Flatt
286efface0 ffi/com: adjust order in object release
Release type descriptors before type infos, and release type
infos before objects. (This reordering shouldn't matter if
referencing counting does its usual job, but maybe it's better
to use the obvious order.)

Merge to v5.3
2012-08-02 08:01:00 -06:00
Robby Findler
9b39fc37f8 adjust the filename filter for the insert-images menu item
closes PR 12963
2012-08-02 07:17:09 -05:00
Robby Findler
44161d73c8 adjust DMdA languages so they do the same error rewriting that the HtDP
languages are doing. This seems to make the error messages in DMdA
behave like they did in 5.2.1 (and so I'm pushing this to see how DrDr
reacts)
2012-08-01 18:20:06 -05:00
Matthew Flatt
dda1ee74de document racket/mpair' and racket/package' 2012-08-01 09:34:12 -06:00
Matthew Flatt
7df91a6148 racket/gui: clarify graphical min size in docs for `text-field%'
Closes PR 12959
2012-08-01 09:34:12 -06:00
Matthew Flatt
38167dd4fa ffi/com: remove stray quote
Merge to v5.3
2012-08-01 09:34:11 -06:00
Burke Fetscher
db437e0ba8 clarify define-extended-language example 2012-08-01 10:09:45 -05: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
9e566a90ac find syntax properties to transfer at compile time 2012-07-31 19:15:21 -04: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
Vincent St-Amour
cc8a9b5ed7 Fix type for dynamic-place. 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
Kevin Tew
6b48d34867 [Distributed Places] added #:thunk and #:named keyword arguments to distributed place creation functions 2012-07-31 11:51:55 -06:00
Matthew Flatt
aa5b1e192c scribble/sigplan: add guidance for `category', etc.
Include the URL to ACM's explanation of how to use categories,
and add some other formatting guidance that is otherwise
difficult to track down.
2012-07-31 07:50:46 -06:00
Matthew Flatt
4a6bfacc27 scriblib/figure: support references to multiple figures at once 2012-07-31 07:50:46 -06:00
Matthew Flatt
5388fac5eb typo in error message 2012-07-31 07:50:46 -06:00