Commit Graph

29497 Commits

Author SHA1 Message Date
Eric Dobson
8483d0cd6f Minor cleanup in subtype.rkt
(cherry picked from commit b9c4582746)
2013-07-08 10:34:09 -04:00
Vincent St-Amour
bc34a73cd6 Fix type of tanh.
Found using random testing.
(cherry picked from commit 89f9b860cd)
2013-07-08 10:34:08 -04:00
Asumu Takikawa
07fca0974d Fix printing of tc-any-results in type errors.
In the long run, these error messages should get
simplified so that this printing is not necessary.

Closes PR 13577 and PR 13526
(cherry picked from commit e53b0858c3)
2013-07-08 10:34:08 -04:00
Asumu Takikawa
def0ec7c01 Fix docs for Opaque
Closes PR 13531
(cherry picked from commit 7c96321cd4)
2013-07-08 10:34:08 -04:00
Asumu Takikawa
f38129c741 Clean up struct: and disallow unsupported options
Related to PR 13562
(cherry picked from commit c3b80bee41)
2013-07-08 10:34:08 -04:00
Eric Dobson
a9868eece1 Fix require/untyped-contract to generate better names in contracts.
Related to PR 13716.
(cherry picked from commit 9c71dafb63)
2013-07-08 10:34:08 -04:00
Eric Dobson
a901650bab Fix contract generation for mutable structures.
(cherry picked from commit de96643fbe)
2013-07-08 10:34:08 -04:00
Eric Dobson
64d66d3b9a Make structs initialize to constant instead of covariant.
(cherry picked from commit 7735aa5799)
2013-07-08 10:34:08 -04:00
Eric Dobson
aa025b9c56 Cleanup names-of-struct
(cherry picked from commit 154ab046fe)
2013-07-08 10:34:08 -04:00
Vincent St-Amour
d9b680dbf5 Document VectorTop and HashTableTop.
(cherry picked from commit 457ca0982f)
2013-07-08 10:34:08 -04:00
Vincent St-Amour
b89aedb992 Allow read-only hash operations to accept HashTop.
Closes PR13710.
(cherry picked from commit e6ff57f3bd)
2013-07-08 10:34:07 -04:00
Eric Dobson
8d78a2a152 Make type->contract correctly respect variance.
Track whether we are protecting values from the typed side and/or the
untyped side.

Closes PR 13662.
Closes PR 13663.
Closes PR 13665.
(cherry picked from commit b5b13222c8)
2013-07-08 10:34:07 -04:00
Eric Dobson
67590cade8 Allow requiring functions with filters in contravariant positions.
(cherry picked from commit dbcb1414da)
2013-07-08 10:34:07 -04:00
Eric Dobson
9411b01e3f Switch out? to from-typed? as it has the same meaning.
(cherry picked from commit 03e1ffda3e)
2013-07-08 10:34:07 -04:00
Eric Dobson
52f892a5fd Fix subtyping of (ListDots t 'a) <: (Listof t).
Closes PR 13636.
(cherry picked from commit 6898a7c880)
2013-07-08 10:34:07 -04:00
Eric Dobson
d426867956 Fix expected type when typechecking map
(cherry picked from commit 863ac05332)
2013-07-08 10:34:07 -04:00
Eric Dobson
5345c1f7d3 Don't let map introduce type variables.
Closes PR 13581.
(cherry picked from commit 67dd956b6a)
2013-07-08 10:34:07 -04:00
Eric Dobson
e2f724fcd3 Use information of application site, to reduce possible arities.
Closes PR12905.
(cherry picked from commit 55aba088de)
2013-07-08 10:34:07 -04:00
Eric Dobson
15b1fa5486 Small TR fixes.
(cherry picked from commit a94c449ff1)
2013-07-08 10:34:07 -04:00
Eric Dobson
ffe487e324 Add polydots to all things that support it.
Closes PR 13612.
Closes PR 13584.
(cherry picked from commit 2e2ef0b57a)
2013-07-08 10:34:06 -04:00
Eric Dobson
eff170b33e Correctly protect Procedures in TR.
Closes PR 13664.
(cherry picked from commit fc36c12ce4)
2013-07-08 10:34:06 -04:00
Sam Tobin-Hochstadt
3590b9681e Add #:omit-define-syntaxes to define-type.
(cherry picked from commit ecf02a32b4)
2013-07-08 10:34:06 -04:00
Eric Dobson
5f34da6692 Terminate typechecking on cyclic lists.
Closes PR 13687.
(cherry picked from commit b8ab1334d9)
2013-07-08 10:34:06 -04:00
Matthew Flatt
161986fc56 fix GC bug
GC during allocation of a pair, weak box, ephemeron, or
weak array went wrong if the GC-notification callback
allocated any of those kinds of things.

(Bug found by running tests in GC-stress mode.)
(cherry picked from commit 49fbca5b18)
2013-07-08 10:34:06 -04:00
Ryan Culpepper
ce410d7405 fix unstable/socket loading in windows
closes PR 13743
(cherry picked from commit 26545f29b9)
2013-07-08 10:34:06 -04:00
Robby Findler
a98a3ab7a6 release notes 2013-07-08 10:34:06 -04:00
Robby Findler
8b32934d68 redo square-bracket related bug fixes from master 2013-07-08 10:34:06 -04:00
Ryan Culpepper
760affdbe9 Alpha version number for the v5.3.6 release 2013-07-08 10:33:31 -04:00
Eli Barzilay
722dc826b8 v5.3.5 installers info
(cherry picked from commit 61b509d39e)
2013-06-18 07:00:09 -04:00
Matthias Felleisen
444413ad36 typos in source documentation; thanks Laurent, OEV
(cherry picked from commit 2de0c7270c)
2013-06-17 18:43:13 -04:00
Eli Barzilay
a8f00fef22 Drop todo file.
(cherry picked from commit c37ce33baa)
2013-06-16 22:00:54 -04:00
Eli Barzilay
e6912bd39c Fix inclusion of "keep-dirs.rktd".
The file should be considered as source even though it's in the "doc"
directory.

(cherry picked from commit 0397518539)
2013-06-16 06:17:28 -04:00
Eli Barzilay
3c9428e434 Updated sizes of repackaged source distributions.
(cherry picked from commit 1085045973)
2013-06-15 22:53:10 -04:00
Eli Barzilay
0c354d1735 New Racket version 5.3.5. 2013-06-15 17:11:06 -04:00
Eli Barzilay
649ab261ca Ubuntu machines got upgraded.
(cherry picked from commit ff70e036a2)
2013-06-15 17:08:49 -04:00
Eli Barzilay
f958c262cd Distribute realm.
(cherry picked from commit 0b50080cd1)
2013-06-15 16:42:29 -04:00
Eli Barzilay
0318ad125d Switch build to the new machine.
(cherry picked from commit ed1ebce60a)
2013-06-15 16:42:29 -04:00
Eli Barzilay
46ae2ad04b Version number for the v5.3.5 release 2013-06-15 16:37:29 -04:00
Eli Barzilay
351267cd54 Merge branch 'stable' into release 2013-05-08 12:22:47 -04:00
Eli Barzilay
43d5976bd0 v5.3.4 installers info
(cherry picked from commit e85b9d523f)
2013-05-08 12:19:20 -04:00
Eli Barzilay
cb3fe56005 New Racket version 5.3.4. 2013-05-07 17:25:33 -04:00
Ryan Culpepper
d047c01bfa Update version number for the v5.3.4 release 2013-05-07 16:45:48 -04:00
Eli Barzilay
4c8a6acff0 New Racket version 5.3.3.901. 2013-04-29 23:40:28 -04:00
Ryan Culpepper
2b9c7c5357 fix version number and cstartup.inc for compiler change in prev commit 2013-04-28 14:37:55 -04:00
Matthew Flatt
4b9dfabcb3 fix bytecode compiler safefor-space, tigher bytecode validation
The safe-for-space pass could add clearing operations on "typed"
stack positions, which are known to contain a fixnum, flonum, or
extflonum. Non-clearing references, however, were not annotated to
indicate that clearing references were present, since clearing is
not expected on typed positions.

Along the lines of not expecting clearing, the bytecode validator's
encoding of the stack doesn't accomodate both "has a type" and "claims
never to be cleared", so it couldn't detect the bytecode compiler
bug. (Also, this problem didn't show up in the HOSC paper's model of
the validator, because the model pre-dates type tracking.)

Fix the bytecode compiler's space-safety pass so that it never inserts
clearing operations for typed stack positions. Then, the validator can
simply reject any attempt to clear a typed position.

Also, annotate applications generated by lifting as safe-for-space
tail calls.

Merge to v5.3.4
(cherry picked from commit 7ad1ddab64)

Conflicts:
	src/racket/src/cstartup.inc
	src/racket/src/schvers.h
2013-04-28 14:03:37 -04:00
Matthew Flatt
621abb6031 racket/draw: fix in-region?' method of region%'
Merge to v5.3.4
(cherry picked from commit 917ec51eee)
2013-04-28 13:31:50 -04:00
Matthew Flatt
861ef7f721 raco pkg: GitHub API now requires a User-Agent
Merge to v5.3.4
(cherry picked from commit 9d43fcad3e)
2013-04-28 13:31:45 -04:00
Matthew Flatt
2fea9c36fc raco dist: update ELF section when adjusting data size
Merge to v5.3.4
(cherry picked from commit f450e50354)
2013-04-28 13:31:33 -04:00
Robby Findler
bbb2bec62b fix jump-to-defining-file when a stacktrace window is open
(cherry picked from commit 951538ab90)
2013-04-28 13:31:27 -04:00
Matthias Felleisen
6cf0818faf update for 5.3.4
(cherry picked from commit 0d3ae8b2e3)
2013-04-28 13:31:23 -04:00