Commit Graph

354 Commits

Author SHA1 Message Date
Matthew Flatt
e7090b8365 work around problem with ".ico" file handling 2013-09-13 21:17:43 -06:00
Ryan Culpepper
c596ec604f sync thread dynamic-place contract with builtin 2013-09-13 18:48:36 -04:00
David Vanderson
fb66c419de fix up error message 2013-09-13 18:21:11 -04:00
David Vanderson
fd68db2c7b make 'hex-string->bytes' public 2013-09-13 18:21:10 -04:00
Ryan Culpepper
23f77a6054 fix sqlite lib runtime-path 2013-09-13 13:54:07 -04:00
Ryan Culpepper
5258ffd8ca raco distribute should include sqlite dll on Windows 2013-09-13 13:07:58 -04:00
Robby Findler
e74b26fdbc adjust the planet resolver to explicitly ask for no
compression so that it gets a Content-Length field that
it can use back from the server

this may or may not be the right long-term fix but
for now it at least gets things working again
2013-09-13 10:38:47 -05:00
Matthew Flatt
160e5d3579 remove unused field 2013-09-11 08:34:27 -06:00
Kalimehtar
88d8a2a9f8 Added to _bitmask auto increment bit numbers
Now (_bitmask '(a b)) == (_bitmask '((a 1) b)) == (_bitmask '((a 1) (b 2))

Or (_bitmask '((a 8) b)) == (_bitmask '((a 8) (b 16)))
2013-09-10 08:25:22 -06:00
Matthew Flatt
24fc16674b repair for uri-decode
Certain inputs could cause `uri-decode` to go into a loop.

Patch and supplied by Doug Williams.

Closes PR 14010
2013-09-10 07:51:31 -06:00
Matthew Flatt
df2e2d76c7 JIT: fix slow path branch patch for structure-field assignment
The broken branch patch caused the slow path to be taken on
PPC.
2013-09-09 20:45:29 -06:00
Matthew Flatt
fc9b23e550 JIT: fix slow path for inlined structure-field assignment 2013-09-09 20:45:29 -06:00
Matthew Flatt
cb612245c7 raco pkg install: report useful error when GitHub checksum is "" 2013-09-09 20:45:29 -06:00
Matthew Flatt
41477ab7eb ARM JIT: make calls & returns visible for branch prediction
This improvement makes `inflate` about 5% faster on
one test platform (with no change on a much older one).
2013-09-06 20:02:06 -06:00
Matthew Flatt
fb80ac7385 minor JIT instruction improvement 2013-09-06 20:02:06 -06:00
Matthew Flatt
300e81cb65 fix some variable-initialization problems/warnings 2013-09-06 20:02:05 -06:00
Matthew Flatt
7969eea3a2 raco pkg install: drop redundant "COPYING.txt" and "COPYING_LESSER.txt"
When adding a package installation-wide, drop redundant "COPYING.txt"
and "COPYING_LESSER.txt" files (i.e., ones that are the same as the
ones the "share" directory of a Racket installation).

This rule is ad hoc, but it avoids almost 150 copies of the file in
the main distribution.
2013-09-06 20:02:05 -06:00
Matthew Flatt
e2ee051adc raco setup: avoid duplicate "scribble.css" files, improve style customization
Arrange for documentation added through an installation-wide package to
use the installation's "scribble.css", etc., files. Also, add "doc-site.css"
and "doc-site.js" files (both empty) to allow installation-specific customization
that will not get overwritten by document installs or builds.
2013-09-06 20:02:05 -06:00
Stephen Chang
6ba7834169 syntax/for-transform -> syntax/unsafe/for-transform 2013-09-06 19:01:19 -04:00
Sam Tobin-Hochstadt
23814ec5b3 Reimplement in-directory to not use call/cc.
`in-directory` definition by mflatt.
See mailing list thread at http://lists.racket-lang.org/dev/archive/2013-September/013277.html
for more details. Also includes sequence syntax version.
2013-09-06 18:14:42 -04:00
Stephen Chang
a84cf6b61d add syntax/for-transform
- provides expand-clause (as expand-for-clause) from racket/private/for.rkt
2013-09-06 16:46:41 -04:00
Jay McCarthy
54a75a4031 Print a summary of auto installs/updates rather than as we go 2013-09-05 08:51:05 -06:00
Jay McCarthy
5a7ce6d60a Support gzip encoded HTTP responses 2013-09-04 09:05:09 -06:00
Matthew Flatt
b5fe0203e2 remove bad return 2013-09-04 08:44:49 -06:00
Matthew Flatt
c38d1fabf9 raco pkg {install,update,migrate}: add --all-platforms
The `--all-platforms` flag causes the package manager to follow all
package dependencies, even for dependencies that are specific to
platforms other than the current one.
2013-09-04 08:44:49 -06:00
Matthew Flatt
16c0b385de raco setup: add install-platform to "info.rkt"
The `install-platform` value determines whether files are
copied to "lib" and "share" directories.
2013-09-04 08:44:49 -06:00
Matthew Flatt
6391fe4ed0 raco pkg create: extend --from-install mode so it can unmove files
This adjustment to packing allows a native-library package to
be converted back from installed to installable.
2013-09-04 08:44:49 -06:00
Robby Findler
85770c3cf2 add immutable hash constructors and selectors to #lang info 2013-09-03 15:59:14 -05:00
Sam Tobin-Hochstadt
b69e909f13 Use case instead of cond 2013-09-03 13:53:16 -04:00
Sam Tobin-Hochstadt
101d441fe2 This file is only needed for file/gif. 2013-09-03 13:53:16 -04:00
Vincent St-Amour
01c846ee5e Error message typo. 2013-09-03 11:31:35 -04:00
Matthew Flatt
62f7731c36 paco pkg: allow a commit id to be used in a GitHub reference
Allow a commit id in place of a branch or tag.
2013-09-02 10:10:31 -06:00
Matthew Flatt
61e6279c49 raco pkg: work with git tags as well as branches 2013-09-02 10:10:31 -06:00
Matthew Flatt
6530062120 raco pkg {install,update}: add --checksum argument
The `--checksum` argument's main use is that it lets you pick a specific
commit from a GitHub repository. More generally, it lets you simulate
a package-catalog result, which includes a checksum.

Also, adjust checking of downloaded checksums to ensure that they
match the expected checksum, as predicted by a package catalog or
by the `--checksum` argument.
2013-09-02 10:10:31 -06:00
Matthew Flatt
e0385f36c3 raco setup: fix info-domain, first
That way, if you interrupt a `raco setup`, then programs that rely
on a directory of "info.rkt" mappings are more likely to work.
2013-09-02 10:10:31 -06:00
Matthew Flatt
95368d238e raco pkg: handle bad collection strings
Also, add `setup/collection-name`, which provides functions for
checking collection-name syntax.

Closes PR 13886
2013-09-02 10:10:31 -06:00
Matthew Flatt
a30d80a9c4 move stray rackunit module 2013-09-02 10:10:31 -06:00
Robby Findler
864cc28341 add custom writers for a bunch of contracts 2013-09-01 07:57:09 -05:00
Matthew Flatt
0dcaa5e19f net/url: fix problems with new implementation on net/http-client
Various `net/url` operations need to request a close of the
connection after the operation completes, and `het/http-client`
needs to actually close the input-port half of a connection.

Also, add `http-conn-abandon!`.

Also also, add limits on internal pipes, so that data doesn't pile
up in a connection-processing thread, and fix POST/PUT by adding
a needed CRLF after posted data.
2013-08-30 10:37:09 -06:00
Matthew Flatt
701aa9ce0a openssl: allow ssl-abandon-port on input ports
Make `ssl-abandon-port` consistent with the docs and with
`tcp-abandon-port`.
2013-08-30 10:34:56 -06:00
Stephen Chang
6e42423a2c fix use of in-producer outside of for loops
- make-do-sequence was giving producer fn an argument when none was expected

Closes PR 13986
2013-08-29 17:25:18 -04:00
Ryan Culpepper
5c462eee2b remove uses of scheme/* in src
Fixes windows snapshot builds.
2013-08-28 21:48:53 -04:00
Carl Eastlund
ec5a9616e0 Renamed set-immutable? to set?. 2013-08-28 01:33:33 -04:00
Carl Eastlund
6665f42e33 Changed set? to generic-set?. 2013-08-28 00:10:18 -04:00
Carl Eastlund
899d57f687 Fixed define-generics so that predicate definitions follow method definitions.
I'm not sure that #:defaults and #:fast-defaults predicates should ever refer to
methods from the same generic interface, but the behavior should be divergence
rather than an undefined variable error.
2013-08-27 22:26:59 -04:00
Matthew Flatt
49e6a71f72 add "collects/realm/README.txt"
Guide readers of _Realm of Racket_ to the new location of
the "realm" directory.
2013-08-27 18:00:58 -06:00
Matthew Flatt
0b6f24e3b5 ffi/unsafe: unbreak _list-struct
Broken by 0b1f96ab3d (specifically one of my changes to
Tobias's patch).
2013-08-27 17:29:33 -06:00
Matthew Flatt
3d91b6b77f raco pkg: add a missing `close-input-port' on network connection 2013-08-27 15:20:58 -06:00
Matthew Flatt
10e2db7025 move "ffi/examples" from base to "racket-doc" 2013-08-27 15:20:58 -06:00
Matthew Flatt
d175c3949c move "scheme" collection to a "scheme-lib" package
Also, move remaining "srfi" libraries to "srfi-lite-lib".

In principle, "base" should depend on "scheme-lib" and
"srfi-lite-lib", and a new "base2" package would represent the new,
smaller base. But I don't think the window has yet closed on
determining the initial "base" package.

The "srfi" libraries moved to "srfi-lite-lib", instead of "srfi-lib",
to avoid creating many extra dependencies on "srfi-lib" and all of its
dependencies. The SRFIs in "srfi-lite-lib" depend only on "base",
and they are used relatively widely.
2013-08-27 15:19:24 -06:00