Commit Graph

28867 Commits

Author SHA1 Message Date
Matthew Flatt
06c42f0887 equality for `define-cstruct'-generated wrappers
Closes PR 13650

Merge to v5.3.4
2013-04-11 14:48:26 -06:00
Robby Findler
e5ae68a0c2 Add Burke to redex responsibility
(and remove Casey)
2013-04-11 14:06:40 -05:00
Matthew Flatt
98c5209c95 ffi/unsafe: fix doc typo
From Tobias

Closes PR 13684

Merge to v5.3.4
2013-04-11 10:30:00 -06:00
Matthew Flatt
c1d9b0716e dist-spec fix for `raco setup' extra file 2013-04-11 10:11:58 -06:00
Matthew Flatt
d195e3889b raco pkg: fix `raco setup' sensitivity to package scope
Merge to v5.3.4
2013-04-11 09:54:17 -06:00
Matthew Flatt
ff324f9270 raco setup: remove any extra documentation dirs in installation
After uninstalling a package in installation scope, its documentation
should be removed. A new `raco setup' step takes care of that.

Merge to v5.3.4
2013-04-11 09:54:17 -06:00
Matthew Flatt
0b2c9af57c move handin-client' and handin-server' to `handin' package 2013-04-11 09:54:17 -06:00
Matthew Flatt
ef6639f4c7 pkg docs: add a tag for the "how to develop" section
Merge to v5.3.4
2013-04-11 09:54:17 -06:00
Jay McCarthy
f29a071774 Normalize max-waiting contracts 2013-04-11 08:33:29 -06:00
Jay McCarthy
1bdf6e67dd Adding max-waiting to serve/servlet, re dyoo 2013-04-11 08:33:29 -06:00
Jay McCarthy
f340939677 Changing default max-waiting to 511 re Apache 2013-04-11 08:33:29 -06:00
Jay McCarthy
7dd9cc9568 Adding link 2013-04-11 08:33:29 -06:00
Jay McCarthy
5c4952ba03 Fixing PR13683 2013-04-11 08:33:29 -06:00
Matthew Flatt
fd614991e6 code tweaks 2013-04-11 06:50:13 -06:00
Matthew Flatt
a9a20e9aa7 fix the name of `environment-variables-ref'
Also, fix use of unsetenv() to work with platforms where it returns
void.
2013-04-11 06:42:54 -06:00
Matthew Flatt
661a1dd5e2 GC tweaks
In a minor collection, old-generation pages can be ignored for
the fixup pass. Also, the "moved" bit implies the "marked" bit.

Also, move the mark bits to low and the hash bits to high,
which leads to slightly better generated code for the GC.
2013-04-11 06:42:54 -06:00
Eli Barzilay
f7ca24d1b3 New Racket version 5.3.4.3. 2013-04-11 03:30:16 -04:00
Eli Barzilay
91aa7f3527 Make configure install the docs in the standard place.
Closes #315 (on github)
2013-04-10 23:46:05 -04:00
Robby Findler
d710550f0a make opt/c use a more comprehensive list of known-to-be-good
predicate contracts

also make it just evaporate when the contract is unknown
(instead of leaving a wrapper behind around the contract)
2013-04-10 18:32:25 -05:00
Matthew Flatt
d4fa2766c2 performance tweaks for `for/{fx,fl,extfl}vector'
Also, provide a better error message when the body produces a
non-{fix,flo,extflo}num.
2013-04-10 17:26:38 -06:00
Matthew Flatt
37c55967b0 sconfig adjustment to accomodate PPA build
The build process expects the definition of
SCHEME_PLATFORM_LIBRARY_SUBPATH to make sense as a shell
expression, or something like that.
2013-04-10 17:26:38 -06:00
Burke Fetscher
3feb6cf039 add a consistency check on the final environment
Specifically, check that fully instantiated terms
with cstrs on them satisfy those cstrs.
2013-04-10 16:13:45 -05:00
Matthew Flatt
e49956e3ea fix hole in validator
The validator was not as smart as the compiler in determining
that a `let' expression could be relied on to produce a
constant-shaped function (without side effect or error) in the case
that a right-hand side expression is a call to a known structure
constructor or predicate.

Closes PR 13679

Merge to v5.3.4
2013-04-10 15:06:13 -06:00
Matthew Flatt
6ea9a2b3e3 add `make-environment-variables'
Swap order of argument for `environment-variables-get'
and `environment-variables-set!', so that the environment
variables come first --- which follows the usual order.
This change means that the parameter isn't used to get
the default environment variables, but that seems ok; the
convenient interface is `getenv' and `putenv'.

On Windows, case-normalized environment variable names.

Also, change the implementation to use an immutable hash
internally.
2013-04-10 12:06:29 -06:00
Matthew Flatt
cfe9f447c8 fix sandbox test to avoid influence from other tests 2013-04-10 12:04:52 -06:00
Burke Fetscher
468d2b192e redex: elminate another #f/failure confusion 2013-04-10 12:59:15 -05:00
Asumu Takikawa
3946d7ff78 Fix environment variable doc typos 2013-04-10 12:50:46 -04:00
Matthew Flatt
6e0492dff0 fix a UDP multicast test to make it work on Windows XP 2013-04-10 09:11:28 -06:00
Matthew Flatt
842da32e48 racket/udp: fixed for udp-bind!' and udp-connect!'
Fix ephemeral-port support in `udp-bind!', and
change `udp-bind!' and `udp-connect!' to try address
resolutions in order to find one that works (which is
typically needed to auto-select an IPv4 or IPv6 variant
of an address).
2013-04-10 09:11:14 -06:00
Matthew Flatt
7c0f35e138 reference: simplify some contractcs 2013-04-10 08:29:42 -06:00
Matthew Flatt
7a1ef9b0cc fix `dump-memory-stats' output
PTIdPTR use was wrong.
2013-04-10 07:12:35 -06:00
Matthew Flatt
d5f32b649c racket/sandbox: add sandbox-make-environment-variables
By default, a sandbox gets a fresh environment variable set,
which means that it does not affect environment variables
outside the sandbox (which means that sandboxed code cannot
set the Racket process's OS-level environment variables).

Closes PR 13667
2013-04-10 06:59:33 -06:00
Matthew Flatt
3d1b0bd381 new environment-variable API
The `current-environment-variables' parameter determines the current
mutable "environment variable set". If that set is the initial one for
a Racket process, then using the set corresponds to working with OS
environment variables.  Otherwise, it's really just a hash table that
is packaged up as OS environment variables if a subprocess is created.

The new environment-variable interface works in terms of bytes, instead
of assuming that environment variable names and values fit in a string
encoding.

The string-based `getenv' and `putenv' are still available as
convenience wrappers. The checking on environment-variable names
for those wrappers is a little tighter, preventing any attempt to use a
name that contains "=".
2013-04-10 06:59:33 -06:00
Matthew Flatt
de9b77ad6d plai/{gc2/}mutator: doc fixes
A symptom of mismatched `for-label' imports was that searching for "<="
would show red-underlined links to the `plai/{gc2/}mutator' documentation.

Merge to v5.3.4
2013-04-10 06:59:33 -06:00
Robby Findler
2decc99b26 add forgotten piece to the opt/c -> fix 2013-04-09 22:23:01 -05:00
Robby Findler
4da6b0904e add something that tracks the size of .zo files over time
(this is for our benefit via drdr)
2013-04-09 22:02:49 -05:00
Robby Findler
011f47540d fix opt/c for -> contracts when the function accepts keyword arguments 2013-04-09 22:02:49 -05:00
Robby Findler
b8058b381a adjust mzlib contract test suite for fixed or/c names 2013-04-09 22:02:49 -05:00
Danny Yoo
075212d07c Correct typo. 2013-04-09 15:49:11 -06:00
Matthew Flatt
2295d16074 fix `raco setup -j' for a non-places build
When places are not enabled, then `raco setup' uses multiple
Racket processes that commuincate via pipes. Don't try to send
a place channel over a pipe.

Merge to v5.3.4
2013-04-09 12:20:13 -06:00
Matthew Flatt
8d7c231cd8 doc clarification 2013-04-09 10:55:21 -06:00
Matthew Flatt
97fdd976f3 fix various compiler warnings
Resort to gcc annotations in some cases, but avoid disabling whole
classes of warnings.
2013-04-09 10:55:21 -06:00
Robby Findler
b721565488 add #:error-name argument to opt/c
this makes it easier to stick opt/c implicitly into
various other contract using forms
2013-04-09 09:41:54 -05:00
Robby Findler
caad82f91e remove the code duplication in opt/c
The code duplication was there only to support
constructing the name for the optimized contract;
instead we actually just built the name as we go
(the old version actually built the old contract
 and then used that to get the name)

also:
 - racket/contract/base now requires basic-opters.rkt
   so all of the opters are registered when racket/contract/base
   is loaded, not just the non-basic ones
 - fix the ordering of the names of subcontracts in or/c
 - make opt-contracts print a more meaningful name
2013-04-09 09:41:46 -05:00
Eli Barzilay
436d9f25f9 Distribute all COPYING*.txt files. 2013-04-09 05:41:22 -04:00
Eli Barzilay
f57fbd94a6 Fix old pointers to COPYING.txt that should go to COPYING_LESSER.txt. 2013-04-09 05:41:07 -04:00
Eli Barzilay
bc7230bea2 Add missing responsible. 2013-04-09 05:15:57 -04:00
Eli Barzilay
1bf9e124eb Change doc/.gitignore to make git aware of files with non-generated contents. 2013-04-09 05:15:57 -04:00
Eli Barzilay
127be39816 New Racket version 5.3.4.1. 2013-04-09 03:40:24 -04:00
Matthew Flatt
8b5523bd10 fix `for/flvector', etc. unsafety
Closes PR 13675

Merge to v5.3.4
2013-04-08 17:45:02 -06:00