Commit Graph

28701 Commits

Author SHA1 Message Date
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
Tony Garnock-Jones
94e36c8193 Tests for UDP multicast primitives 2013-04-08 15:23:01 -06:00
Matthew Flatt
596e573497 add missing license file 2013-04-08 15:23:01 -06:00
Robby Findler
f093131607 adjust pick-a-maze based on Neil's comments
please include in the release
2013-04-08 16:09:55 -05:00
Matthew Flatt
d5ede87ae8 JIT for ARM
Includes switch from LGPL 2.1 to LGPL 3, since the ARM port
of GNU lightining is licensed under LGPL 3.
2013-04-08 14:43:30 -06:00
Matthew Flatt
bc5c89cbf0 fix a non-deterministic test 2013-04-08 14:43:29 -06:00
Burke Fetscher
495e5c94cf redex: bug fix for gerating terms including #f
please include in the release
2013-04-08 15:03:01 -05:00
Vincent St-Amour
aac22e1ce5 Better error message for non-existent generics groups.
Closes PR13671.
2013-04-08 14:43:29 -04:00
Robby Findler
1ebf66252f fix test suite to match earlier fix to obligation info
merge to release branch, please
2013-04-08 13:40:56 -05:00
Robby Findler
d9adb4e6e9 fix improper fraction display
closes PR 13558

please include in the release
2013-04-08 13:40:55 -05:00
Robby Findler
caec6d0711 shortcircuit some of the code involved in drawing the margin highlight
for online expansion errors

This avoids drawing the margin highlight when it isn't inside the
region being repainted and it avoids even figuring anything out about it
when there is currently no error range

NOT for the release branch
2013-04-08 13:40:55 -05:00
Asumu Takikawa
5735d37794 Use any/c for the ip-address-string? domain
Previously, it was `string?` which is needlessly
restrictive and caused premature contract failures.

Please merge into 5.3.4
2013-04-08 11:18:57 -04:00
Ryan Culpepper
6fdef0dcfc Post-release version for the v5.3.4 release 2013-04-08 09:01:57 -04:00
Jay McCarthy
c396d1e435 Adding documentation notes re Eli 2013-04-08 06:41:14 -06:00
Robby Findler
ccda5a84ad fix box/c and vector/c obligations
closes PR 13673
2013-04-07 19:57:41 -05:00
Robby Findler
6f7c938c0b fix ->m for keyword arguments
closes PR 13674
2013-04-07 19:57:41 -05:00
Eli Barzilay
0cb85a85a1 New Racket version 5.3.3.9. 2013-04-07 03:30:16 -04:00