Matthew Flatt
162edd099d
box-cas!: less JIT-generated work if the boolean result is ignored
2013-09-26 14:21:39 -04:00
Robby Findler
a53c69e725
add #:omit-constructor option to struct form of contract-out
2013-09-20 14:38:35 -05:00
Matthew Flatt
6f1588fcac
fix custodian-limit checking for phantom byte strings
...
Closes PR 14036
2013-09-19 16:56:01 -05:00
Matthew Flatt
5ccc6fb289
raco setup: allow an installer only in bytecode form
2013-09-19 10:51:55 -05:00
Matthew Flatt
68c4b0590d
fix local-expand
on module body with phase-2 binding
2013-09-19 07:27:57 -05:00
Matthew Flatt
10a931d688
fixup for showing dependencies during update
2013-09-17 13:30:21 -06:00
Matthew Flatt
b2f76bd8cc
fixes for binary-package stripping
...
Avoid duplicate `assume-virtual-sources` definitions, add
`assume-virtual-sources` as needed in top-level collections
within a package.
2013-09-17 13:30:21 -06:00
Matthew Flatt
007f7d5992
raco setup: fix several triggers for building a doc index
...
In particular, fix various triggers that affect installing and
uninstalling packages.
2013-09-17 13:30:21 -06:00
Matthew Flatt
7016d3ab58
raco pkg {install,update}: guard against ill-formed arguments
...
Parsing a package source/name for scope inference should
report errors in the source/name syntax.
Closes PR 14026
2013-09-17 13:30:21 -06:00
Juan Francisco Cantero Hurtado
bb5323e448
Fix a crash of racket on OpenBSD systems, when pixman is compiled with SSE support and racket tries to load cairo using libffi.
...
Bug found initially by Juan Francisco Cantero Hurtado. Reported by many.
Mark Kettenis (from the OpenBSD Project) found the real reason of the
crash and created this patch for libffi. Patch taken from OpenBSD Ports.
2013-09-16 10:04:12 -06:00
Ryan Culpepper
ff06f0c8a7
delete unused code
2013-09-15 13:49:35 -04:00
Ryan Culpepper
954d6c764c
move more db modules to db-lib
2013-09-15 13:49:35 -04:00
Ryan Culpepper
adc2ccbbd9
prepare to move more db modules to db-lib pkg
2013-09-15 13:49:35 -04:00
Ryan Culpepper
d2841d1113
add db/private/pre for pre-pkg clients
2013-09-15 13:49:35 -04:00
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