Commit Graph

29727 Commits

Author SHA1 Message Date
Robby Findler
15408f0c7b allow #f as the min-width / min-height init arg to area-containers 2013-05-11 19:47:44 -05:00
Ryan Culpepper
ef3dff1cec db: temporary workaround for SSL one-record-per-write issue 2013-05-11 13:20:35 -04:00
Ryan Culpepper
26545f29b9 fix unstable/socket loading in windows
closes PR 13743
2013-05-11 13:20:35 -04:00
Ryan Culpepper
1c3cbce0af fix typos in example code 2013-05-11 13:20:35 -04:00
Jay McCarthy
551e536f3e bitmap-dc% respective alpha channel in get/set-pixel 2013-05-11 10:36:19 -06:00
Matthew Flatt
a80e04136b racket/gui gtk: catch key events at frame level
In case no subwindow within a frame can accept the keyboard
focus, now the frame itself can accept them (for consumption
by `on-subwindow-char').
2013-05-11 09:11:45 -06:00
Asumu Takikawa
d0043402e8 Doc fixes for ffi/unsafe/atomic 2013-05-10 18:01:59 -04:00
Asumu Takikawa
ec8e126a90 Remove debugging instrumentation 2013-05-10 15:43:11 -04:00
Asumu Takikawa
ae7741fe60 Add tests for commit e53b0858c3 2013-05-10 15:42:41 -04:00
Eli Barzilay
710e59bf13 Make `in-producer' treat any number of values uniformly.
The previous version was broken in its inconsistent treatment of
multiple values, which was motivated by an `in-generator' use
case.  (`in-generator' should be fixed too now.)  The new version is
much simpler since there's no need for three almost-exact copies of the
same code.
2013-05-10 10:33:43 -04:00
Eli Barzilay
609db13fa7 More temporary hacking around the to-be-renamed `permutations' problem. 2013-05-10 10:33:43 -04:00
Robby Findler
9a7af8c840 DrRacket now saves the font size preference on a per-monitor-configuration basis 2013-05-10 08:21:00 -05:00
Robby Findler
20ad11a830 add immutable hashes to printable/c 2013-05-10 08:20:59 -05:00
Jay McCarthy
5c7f89d242 Fix error based on mis-read contract 2013-05-10 06:56:42 -06:00
Jay McCarthy
0488cd6b46 Update links re release 2013-05-10 06:56:42 -06:00
Robby Findler
119eab66d8 delay the unimplemented/unsupported errors until the enumeration is actually used 2013-05-09 17:22:58 -05:00
Max New
b8538ec135 Added Redex enumerators.
Supports names and recursive patterns.
Limited support for repeats and mismatches.
2013-05-09 16:32:53 -05:00
Eli Barzilay
1085045973 Updated sizes of repackaged source distributions. 2013-05-09 12:43:28 -04:00
Eli Barzilay
61b721dd81 Combine the two zo-size tests into one.
Also beautify the output.
2013-05-09 11:11:07 -04:00
Eli Barzilay
0397518539 Fix inclusion of "keep-dirs.rktd".
The file should be considered as source even though it's in the "doc"
directory.
2013-05-09 11:11:07 -04:00
Eli Barzilay
c228b13f9f Make the stop value for `in-producer' optional.
There are many cases where you just want to use some other tool like
`#:break' to stop the iteration, so no need to make up a bogus stop
value and no need to spend time checking it.
2013-05-09 11:11:06 -04:00
Eli Barzilay
2d63564a6d Temporary hack: avoid permutations' clash until its renamed in math'.
(Should undo this when the rename is done.)
2013-05-09 11:11:06 -04:00
Eli Barzilay
c34129928e Add permutations' and in-permutations'. 2013-05-09 10:20:36 -04:00
Eli Barzilay
34fe42d0dd Some style cleanups.
Mainly reogranize the code + exports + docs of the additional list
convenience functions.

Also, add a custom printer to a "running" struct in
`racket/private/promise', so there's a sensible output if the value
happens to leak outside of a promise (eg, when debugging).
2013-05-09 10:20:36 -04:00
Eli Barzilay
aa933891c5 New Racket version 5.3.4.10. 2013-05-09 03:35:18 -04:00
Eric Dobson
2a94ca9030 Cleanup tc-lambda-unit. 2013-05-08 22:59:40 -07:00
Jay McCarthy
f90710156e Forgot to commit example 2013-05-08 16:48:13 -06:00
Robby Findler
0c96d2ca95 tighten up the contract for get-display-size and get-display-left-top-inset 2013-05-08 15:15:32 -05:00
Robby Findler
b9f8d699d3 add missing guard
related to PR 13741
2013-05-08 15:15:32 -05:00
Sam Tobin-Hochstadt
a6f110893f Refactor subtype.rkt not to use exceptions.
Matthew suggests that using exceptions for failure
in the implementation of `subtype` is a performance
problem.  This commit removes all use of exceptions
for failure in subtype.rkt, replacing it with the
standard Racket #f/value option.

Extensive use is made of the `subtype-seq` form,
which is basically do-notation for the subtyping
monad.
2013-05-08 15:25:02 -04:00
Sam Tobin-Hochstadt
da3f8f8ec0 Add contract for seen parameter. 2013-05-08 15:25:02 -04:00
Sam Tobin-Hochstadt
a07cdf39ff Remove contract on unit-exported definition. 2013-05-08 15:25:02 -04:00
Ryan Culpepper
70c06e1e80 fix estimate of order of magnitude for ~r 2013-05-08 12:52:53 -04:00
Ryan Culpepper
aaa9927cbb some random testing for (~r #:notation 'exponential ....) 2013-05-08 12:52:53 -04:00
Ryan Culpepper
2f403859a0 fixed (~r 0 #:notation 'exponential ....) bugs 2013-05-08 12:52:53 -04:00
Jay McCarthy
73232afd99 Adding customization of command-char to web-server/template
This entails adding it to include/text and read-syntax-inside as well.
2013-05-08 10:52:40 -06:00
Matthew Flatt
b3e2d35be9 fix `raco exe' test 2013-05-08 12:31:34 -04:00
Matthew Flatt
eb46eacad9 raco exe: enable on-demand parsing of embedded bytecode
Creating a stand-alone executable could slow down a program,
because bytecode embedded in an executable was not treated
in the same way as bytecode loaded from files. The difference
was in on-demand parsing of bytecode --- and now it's enabled
for embedded bytecode, too.
2013-05-08 12:31:34 -04:00
Eli Barzilay
e85b9d523f v5.3.4 installers info 2013-05-08 12:19:18 -04:00
Matthew Flatt
d5de35af3c fix place-channel test 2013-05-08 11:29:50 -04:00
Matthew Flatt
d44f817865 raco setup: fix subcollection traversal
Closes PR 13740
2013-05-08 11:28:04 -04:00
Matthew Flatt
7946c73c42 avoid a constant folding that can use too much memory
Closes PR 13738
2013-05-08 10:24:16 -04:00
Matthew Flatt
3042258148 raco pkg: "indices" -> "catalogs" in dependency message 2013-05-08 09:54:30 -04:00
Matthew Flatt
9361b1e709 render non-installaction-scoped package docs with an indirection
The indirection uses a "local-redirect.js" script to rewrite
the document links to local links within the browser. This mechanism
is a step towards distributing compiled packages that include
already-built documentation, where paths to other documentation
can be different than in the build environment.

If the links are not rewritten, they are queries to
"pkg-docs.racket-lang.org", with the idea tha such a server will exist
for reading all package documentation online. Also, a package's
documentation that refer to documentation for uninstalled packages,
in which case the corresponding links will not get rewritten and
will continue to point to the server.

Rendering the "local-redirect.js" script spends a lot of time just
converting among different path formats. Various library changes in
this commit are aimed at speed up those conversions, but the big
improvement came from a `path->url-string' that shortcuts conversion
os simple Unix paths.
2013-05-08 09:54:30 -04:00
Matthew Flatt
53efe920b3 Move explode-path' from racket/path' to `racket/base'
The revised `explode-path' runs in time proportional to the
length of the path, instead of quadratic in the number of
path elements. The difference doesn't matter much in my
program, but I'm reluctant to leaving the implementation
as quadratic (which is forced by using `split-path').
2013-05-08 09:54:30 -04:00
Matthew Flatt
2310eb367f remove dead code
The removed line was added due to a misreading of a failure
path as a slow path.

Thanks to Jon Zeppieri.
2013-05-08 09:54:29 -04:00
Robby Findler
5290b4c4b3 share submodules of racket/base and scheme/base
for user code
2013-05-08 07:25:03 -05:00
Eli Barzilay
36e40ed340 New Racket version 5.3.4.9. 2013-05-08 03:30:15 -04:00
Jay McCarthy
f87ad69fd1 Fix cookie test re version 2013-05-07 20:13:43 -06:00
Jay McCarthy
61feb21c42 A kindler, gentler death re: Robby 2013-05-07 20:13:43 -06:00