Commit Graph

26587 Commits

Author SHA1 Message Date
Sam Tobin-Hochstadt
9e5060ef5b Make Typed Racket integration tests run in parallel.
Parallel speedup of approximately 4x when using 8 workers on a 12-core machine.

Closes PR 12911.
2012-08-20 12:25:50 -04:00
Eric Dobson
09d32d35e0 Add promise support to type->contract.
Closes PR13024.
2012-08-20 10:10:17 -04:00
Eric Dobson
a408d6bfbf Cleanup builtin structs types. 2012-08-20 10:10:17 -04:00
Robby Findler
e38e959145 change the new 'find from selection' menu item so that it uses
cmd-alt-f on the mac (and control-alt-f on windows/unix, I believe)
2012-08-19 18:04:14 -05:00
Robby Findler
40121d2531 improve the menu redundancy test so it reports when there are
multiple menu items with the same shortcut
2012-08-19 17:09:16 -05:00
Robby Findler
1f090fa170 improve the distribution building portion of the docs to point
out that a 'raco planet link' helps with the docs building
2012-08-18 20:45:47 -05:00
Robby Findler
258f267508 remove 'planet' from plt/bin (raco planet does the same thing and
planet conflicted with another package in Debian)
2012-08-18 20:26:50 -05:00
Robby Findler
ec34fc6870 add a note about how to build documentation to the planet documentation building step 2012-08-18 09:04:06 -05:00
Asumu Takikawa
47cb06f842 Fix docs for reencode-input-port & reencode-output-port
Closes PR 10545
2012-08-18 00:34:54 -04:00
Asumu Takikawa
7d20e0cbe2 Fix docs for radio-box%
Closes PR 13005
2012-08-18 00:23:16 -04:00
Asumu Takikawa
6665053dad Fix contracts on several I/O functions
Closes PR 12599
2012-08-18 00:22:21 -04:00
Asumu Takikawa
c20f1ec573 Fix guide section 14.6.2
Closes PR 13039
2012-08-17 23:26:59 -04:00
Robby Findler
b128ce4719 fix bug in commit 52f18ee37 2012-08-17 17:54:26 -05:00
Robby Findler
52f18ee370 adjust the expansion of class so that it tracks identifiers
that it drops from the expansion (like define/public) by
adding them to the origin syntax property (and sometimes
to disappeared-use; see the add-decl-props function
for details on those that aren't in the origin property)

this means that check syntax will now pick them up
so they'll show up in the blue boxes in drracket

Thanks Matthew, for some helpful advice and
comments on an initial version of the commit.
2012-08-17 17:24:03 -05:00
Asumu Takikawa
5a2c235739 Forge non-existent generic functions like write-proc
Closes PR 13014
2012-08-17 12:27:01 -04:00
Asumu Takikawa
087a13c712 racket/draw contracts: racket -> racket/base 2012-08-17 12:27:01 -04:00
Asumu Takikawa
798344d2c6 Additional guide fix by Lee Duhem
Relevant to PR 13034
2012-08-17 01:45:07 -04:00
Robby Findler
01e7edeff1 some performance improvements for the new drracket blueboxes
specifically, it doesn't trigger redrawing of the screen
as aggressively, which seems to make a little difference
under mac os x.

I'd have liked to be more sophisticated in the way redraws
are triggered, but I don't see how (see long comment in this
commit for details)
2012-08-16 19:16:57 -05:00
Robby Findler
25e4115f32 give the f2 keybinding a more useful name
(since it shows up in the keybindigns dialog box)
2012-08-16 19:16:57 -05:00
Robby Findler
afc2faf651 redirect compile-time io during online check syntax into the warning log
closes PR 13036
2012-08-16 19:16:57 -05:00
Robby Findler
a8da7e452f increase the font size and increase the sampling
frequency in the profiler that drracket starts up
via the PLDRPROFILE environment variable
2012-08-16 19:16:57 -05:00
Robby Findler
49eb4ab11c adjust the windows menu so that it doesn't rely on
various callbacks to keep its menu items straight, but
instead uses the on-demand callback to just get them
all right.
2012-08-16 19:16:57 -05:00
Matthew Flatt
1e375bab48 Linux: struct siginfo' -> siginfo_t' 2012-08-16 16:39:40 -06:00
Matthew Flatt
3150b31eb7 bytecode optimizer improvement
Generalize splitting of `(let-values ([(x ...) (values e ...)]) ....)'
to `(let ([x e] ...) ....)' for any `e', since it's always equivalent.
Right?

(The old requirements on the `e's seem to be needed only for
`letrec-values' splitting and maybe mutable variables.)
2012-08-16 16:39:21 -06:00
Jay McCarthy
a1e855a035 adding an optional argument to get-pure-port/headers 2012-08-16 14:47:09 -06:00
Asumu Takikawa
65611c0ebb Fix guide section 7.8.3
Closes PR 13035
2012-08-16 16:02:44 -04:00
Asumu Takikawa
99d63d1f08 Fix guide section 7.4
Closes PR 13034
2012-08-16 16:02:44 -04:00
Asumu Takikawa
02219bda91 Fix guide section 7.3.8
Closes PR 13033
2012-08-16 16:02:43 -04:00
Asumu Takikawa
b977ae339f racket/snip/private/contract: racket -> racket/base 2012-08-16 16:02:43 -04:00
Matthew Flatt
902016265b docs for `for/vector': warn about intreaction with continuations 2012-08-16 13:11:42 -06:00
Matthew Flatt
0452bd791d bytecode optimizer improvement
Treat unsafe functional operations (which never raise an
exception) as omitable, which means that simple `let-values'
combinations can be split into `let' bindings, etc.
2012-08-16 13:11:41 -06:00
Matthew Flatt
65588b156b fix `sqrt' on numbers with negative real and inexact-zero imag
Closes PR 13028
2012-08-16 04:46:01 -06:00
Matthew Flatt
315834f097 fix no-places, no-futures build 2012-08-16 04:36:44 -06:00
Robby Findler
5e839664c4 adjust the variables editor so that it does
not do word wrapping.

This avoids the performance problem mentioned
in PR 12633
2012-08-15 13:45:10 -05:00
Matthew Flatt
b95b1b9366 Revert "Fixing Rackunit tests after alignment"
This reverts commit 4497c8ce5e,
because the tests were correctly reporting a bug that I
introduced.
2012-08-15 09:34:17 -06:00
Matthew Flatt
6e2bb58cce add a #:fill' clause to for/vector' et al. 2012-08-15 09:32:55 -06:00
Matthew Flatt
8a26d83651 adjust `for/vector' et al. to avoid intermediate lists
When a length is not specified, build the result by growing
a temporary vector to hold the results, instead of accumulating
them into a list.
2012-08-15 09:32:55 -06:00
Robby Findler
62fecb1b0b fix mistakes in Guide 6.4
closes PR 13031
2012-08-15 09:24:32 -05:00
Robby Findler
85b326d1e7 guard path->relative-string/library call properly 2012-08-15 09:13:44 -05:00
Matthew Flatt
0c9865cee7 fix broken export-table sources
The Cygwin build, especially, depends on the repaired
files.
2012-08-15 07:41:50 -06:00
Matthew Flatt
7b811bed1b for/vector' and for*/vector' repairs
Closes PR 13029, 13030
2012-08-15 07:41:50 -06:00
Matthew Flatt
02d2b4dd62 fix rackunit formatting
Repairs mistake in 36f519fe64.
2012-08-15 07:41:49 -06:00
Mike Sperber
ae4613271c Synch German string constants with latest. 2012-08-15 14:15:40 +02:00
Jay McCarthy
4497c8ce5e Fixing Rackunit tests after alignment 2012-08-14 22:21:44 -06:00
Jay McCarthy
3ddaf5e32b Fixing Racklog cut error found by Erik Dominikus
Basically, Racklog (and all versions of schelog) implement ! by
causing the failure continuation of the entire relation being
returned. They did not also cause the unification caused by the
relation to be un-done.

However, it is not easy to separate un-doing the local changes because
the unification just returns a failure continuation too. I had to call
that fail continuation but use state to communicate to its target that
the next clause should not be visited.

I don't know if this is correct. My test suite contains a lot of cut
tests that still pass. Erik's test passes too. But I'm not confident
that this really works.
2012-08-14 21:34:02 -06:00
Jay McCarthy
23226b41da Preserve scheme, user, host, and port if the redirection doesn't have them 2012-08-14 21:34:02 -06:00
Jay McCarthy
2741356913 More flavor text 2012-08-14 21:34:02 -06:00
Jay McCarthy
eb2dc6c979 Clarify green buttons 2012-08-14 21:34:02 -06:00
Jay McCarthy
56b2e0754f servlet errors should be code 500 2012-08-14 21:34:02 -06:00
Jay McCarthy
f2e0e0bfeb get-port-port/headers should not remove status line 2012-08-14 21:34:01 -06:00