Commit Graph

33155 Commits

Author SHA1 Message Date
Matthew Flatt
f58cfe596a fix test 2014-04-29 12:59:45 -06:00
Matthew Flatt
04a60d713b fix sync on inaccessible place channel
Commit 5ea4c2ab68 broke GCing of a thread that is blocked
via `sync` (as opposed to `place-channel-get`) on a place
channel whose write end is inaccessible.
2014-04-29 12:56:19 -06:00
Matthew Flatt
03a82e21b5 xrepl: fix tests 2014-04-29 09:11:35 -06:00
Matthew Flatt
f6cff4b52c add some extra test cases on equal? and chaperones
The compiler defeated my original attempt to check arguments in
both orders, but now I see the obvious way to (probably) check
both orders.
2014-04-29 06:58:53 -06:00
Matthew Flatt
f2335ae4dc fix performance bug in equal? on vectors 2014-04-29 06:58:36 -06:00
Matthew Flatt
07e390302c raco exe: attempt to fix problem with room made for runtime-paths table 2014-04-29 06:18:55 -06:00
Matthew Flatt
ae14ff70df raco pkg: fix documentation indexing for user-scoped re-link
If a package installed as a link in user scope, then removed, then
linked again, the documentation index database was not updated
correctly. As a result, the user-specific documentation page was
either not updated or had a broken link for the document.
2014-04-28 20:22:49 -06:00
Matthew Flatt
dee331e3b1 raco setup: fix info-domain cleanup of unlinked planet packages 2014-04-28 19:03:39 -06:00
Matthew Flatt
afb75c7cfe linux: close "/proc/self/maps" after finding the stack base 2014-04-28 17:50:50 -06:00
Matthew Flatt
acf250891f fix wrong size for memset
Probably the assignments cover the structure, anyway.
2014-04-28 17:42:17 -06:00
Matthew Flatt
2ff4802a14 configure: for BSDs, enable pthreads by default, but don't force enabled 2014-04-28 13:07:26 -06:00
Matthew Flatt
bc871b904e need CAS only for futures or places 2014-04-28 13:07:26 -06:00
Asumu Takikawa
715d596e47 Remove code that handles #<undefined> in TR
TR no longer needs to handle #<undefined> because the value
no longer leaks out from uninitialized variables. However, uses
of uninitialized variables are not caught by TR (they are treated
like errors from the `error` function).
2014-04-28 14:14:00 -04:00
Robby Findler
d4c60e8608 generalize the random contract generation so that it can exercise
a function to get more interesting values and then use those values
to guarantee it can generate things it couldn't before

For example, it can now generate a function with this contract:

  (-> (-> is-eleven?) is-eleven?)

without knowing what the is-eleven? predicate does -- instead it can
figure out to call the argument thunk and then pipe that result around
2014-04-28 12:22:01 -05:00
Robby Findler
6343159701 I maintain planet 2014-04-28 12:22:00 -05:00
Neil Toronto
2677568b3d Change test to use exact flonums instead of 0.1 2014-04-28 01:14:38 -06:00
Matthew Flatt
9cb652dd0e racket/gui Win32: fix use-before-definition problem for choice%
Closes PR 14475
2014-04-27 20:51:35 -06:00
Matthew Flatt
2b948c6250 win64: fix longdouble DLL 2014-04-27 16:51:23 -06:00
Matthew Flatt
04c4538f44 speed up inexact->exact
Parse IEEE floating-point numbers directly.

Thanks to Neil T.!
2014-04-27 16:51:23 -06:00
Matthew Flatt
d682c940bd repairs to precision of exact->inexact et al.
Thanks to Neil T.!
2014-04-27 16:51:23 -06:00
Matthew Flatt
520f7f839d racket/draw: fix problem with rotated text, font substition, and kerning
Closes PR 14469
2014-04-27 16:51:23 -06:00
Eric Dobson
8372ee9f6d Add tests for new letrec semantics.
Closes existing bugs because the old broken semantics is now right
because of undefined changes.

Closer PR 13303.
Closer PR 13333.
2014-04-27 12:51:03 -07:00
Robby Findler
4131b0c3d1 fix 'planet remove' commandline argument checking 2014-04-27 14:13:44 -05:00
Matthew Flatt
da600ad291 file/zip: recognize string ports as seekable 2014-04-27 10:25:06 -06:00
Matthew Flatt
64bfb58dad racket/base: add string-port? 2014-04-27 10:25:06 -06:00
Matthew Flatt
83dcf446a3 fix clean-up handling for the main thread of a terminated place
This bug might be reposnible for the occassional crashes seen in
DrDr for the easter-egg test.

Merge to v6.0.1
2014-04-27 09:15:18 -06:00
Matthew Flatt
5232b099a2 revise error printed for kernel-/debugger-sent SIGSEGVs 2014-04-27 09:15:17 -06:00
Robby Findler
9e9b291d4a improve or/c random generation and get rid of old, not-working
generation for the old-style -> contracts
2014-04-27 07:34:44 -05:00
Robby Findler
76c6a1b7b0 improve random contract generation
notably enable the generator to actually use things from the
environment but currently only when they are directly in the
environment so, eg:

   (-> (-> is-eleven?) is-eleven?)

can't be generated (since the contract system doesn't know
about is-eleven? and also doesn't yet know that it can call
the argument thunk)
2014-04-27 07:10:50 -05:00
Matthew Flatt
cdd6bf438a no getprotobyname on Android 2014-04-26 20:10:52 -06:00
Matthew Flatt
ffb0dd52c5 ARM JIT: fix software floating-point
I broke uses of LDRD and STRD when compacting the set of registers
used by the JIT. The LDRD and STRD instructions are given one
register explicitly, but they implicitly use the next regsister, too,
and the specified register must be even-numbered. Lining up a pair of
registers requires a little shuffling before and after the operation.

Also, the LDRDI and STRD encodings were broken, and the inlined
fl->fx conversion was not right.

Closes PR 14470
2014-04-26 20:10:51 -06:00
Matthew Flatt
b88f391c1c configure: add --enable-sysroot
The `--enable-sysroot` flag simplifies an Android cross-compilation,
for example.
2014-04-26 20:10:51 -06:00
Eric Dobson
d38737836e Add a test suite for infer. 2014-04-26 09:48:11 -07:00
Eric Dobson
b42e0d8d68 Fix apply with (Listof A) args.
Closes PR 14465.
2014-04-25 21:34:27 -07:00
Burke Fetscher
a52cf43674 redex: fix _ docs typo 2014-04-25 16:47:40 -05:00
Vincent St-Amour
6341cb3026 Revert edit to expected result. 2014-04-25 16:57:06 -04:00
Burke Fetscher
1e566b57f6 redex: allow named ellipses to be bound as term-ids.
This enables the internal bindings generated by where clauses.

Closes PR 14467
2014-04-25 15:17:57 -05:00
Burke Fetscher
d1ba8c95d7 redex: don't treat _ as a binder in extract-names
Closes PR 14466
2014-04-25 15:17:57 -05:00
Vincent St-Amour
09d294abe1 Proper indentation for syntax-parse in DrRacket. 2014-04-25 14:17:31 -04:00
Vincent St-Amour
ce3033a0c7 Keep dead case-lambda clauses around to avoid changing arity.
Closes PR14468.
2014-04-25 13:44:56 -04:00
Breanndán Ó Nualláin
b40619ffd5 Fix type in docs. 2014-04-25 11:32:27 -04:00
Jay Kominek
70802ce217 Avoid feeding inexact numbers to random while generating contract-satisfying values.
Also fix a minor doc error.
2014-04-24 22:55:15 -06:00
Matthew Flatt
310df9e9cf racket/gui Gtk: choice% and combo% repair for some Gtk variants
Finishes repair started in 8cbcba8ed so that mouse events can be
intercepted for `combo%` and `choice%` objects. DrRacket's
font preference choice relies on intercepting mouse events
to populate the menu, for example.

Reference counting doesn't seem to work, probably because the
relevant widgets are supposed to be private.
2014-04-24 16:46:05 -06:00
Matthias Felleisen
ed9e47a1a6 history update 2014-04-24 16:41:44 -04:00
Jens Axel Søgaard
6b5e4c90e4 Use quotient/remainder in bezout
Use quotient/remainder in bezout. This is much more efficient.
2014-04-24 15:47:38 -04:00
Vincent St-Amour
cc643e4c50 Update RacketCon page. 2014-04-24 14:30:53 -04:00
Neil Toronto
de0b181913 Add check to avoid degenerate planes in BSP tree build
Please merge to release
2014-04-24 10:55:08 -06:00
Matthew Flatt
c442385324 fix doc bug 2014-04-24 10:21:52 -06:00
Matthew Flatt
4d2b24b325 clean-ups to commit 4fde0e9901 2014-04-24 10:21:52 -06:00
Matthew Flatt
fa23a373ac racket/gui Cocoa: fix menu bar after non-GUI startup on 10.9
When a GUI program is run through `racket` instead of `gracket`, an
extra dance is needed on recent Mac OS X version (10.9, maybe also 10.8)
to make the Racket-based application take over the menu bar.
2014-04-24 10:21:52 -06:00