Commit Graph

34412 Commits

Author SHA1 Message Date
Asumu Takikawa
dc578cdbc0 Greatly reduce size of class static contracts.
This helps generate contracts for GUI classes using less
time and memory.
2014-10-21 10:14:50 -04:00
Asumu Takikawa
608dfcf335 Use a new approach to generating Name contracts
This handles contract generation for recursive or
mutually recursive Name types in the static contract
framework.

Instead of just generating recursive-sc static contracts,
it memoizes the recursive contract within a single
type->contract call by indirecting through a table.

When static contracts are instantiated, the table is
consulted for computing contract kind information and for
generating the actual contracts for the recursive names.
2014-10-21 10:14:50 -04:00
Asumu Takikawa
3d4f7906c8 Add a test for generating GUI contracts for TR 2014-10-21 10:14:49 -04:00
Matthew Flatt
99832efb45 openssl: fix ssl-load-default-verify-sources! for Win64
Closes PR 14784

Merge to v6.1.1
2014-10-21 07:33:11 -05:00
Matthew Flatt
e019583acc Inside Racket: document Windows-specific treatement of "UTF-16" 2014-10-21 07:31:08 -05:00
Matthew Flatt
13f5aa240c pkg manage docs: clairfy in overview that a git repo tag is allowed 2014-10-21 07:31:07 -05:00
Matthew Flatt
c15422b577 correct register-finalizer docs by clarifying prohibitions 2014-10-21 07:31:07 -05:00
Matthew Flatt
3323605fa9 racket/udp: adjust receive into a zero-sized buffer
The OS doesn't necessarily react to a zero-sized buffer the way
that `udp-receive!` is supposed to work, so provide only a
non-zero-sized buffer to the OS.
2014-10-21 07:31:07 -05:00
Matthew Flatt
95b083165c syntax-color/racket-lexer: fix problem with unclosed "| "
... where the whitespace character after "|" is non-ASCII.

This bug was found by random testing in `syntax-color/lexer-contract`.
2014-10-21 07:31:07 -05:00
Matthew Flatt
a1bac35b60 syntax-color/lexer-contract: make random-test failure declare itself
Random tests that are implciitly injected into a program should
declare themselves as such when they fail. Otherwise, random
crashes are really confusing.
2014-10-21 07:31:07 -05:00
Matthew Flatt
66729a4473 raco test: show more of stderr on failure 2014-10-21 07:31:07 -05:00
Matthew Flatt
53cbb8b03a raco test: fix -l 2014-10-21 07:31:07 -05:00
Asumu Takikawa
3b006df29d Fix TR docs on #:implements in Class types
Please merge to v6.1.1
2014-10-21 00:57:46 -04:00
Asumu Takikawa
2bad36a6a1 Fix Guide typo
Please merge to v6.1.1
2014-10-21 00:40:33 -04:00
Asumu Takikawa
c1a27951a3 Fix TR treatment of parent row in class types
This bug manifested in having extraneous class
members in a type for a class whose superclass
expression was a mixin application.
2014-10-20 18:18:39 -04:00
Asumu Takikawa
125d993c64 Fix type for stx->list in typed/syntax/stx
Please merge to v6.1.1
2014-10-20 17:39:17 -04:00
Vincent St-Amour
84dfc60ef6 Add missing parenthese. 2014-10-20 16:07:39 -04:00
Breanndán Ó Nualláin
c420da3c30 Make: Dependency Manager. Documentation fix. 2014-10-20 16:07:39 -04:00
Asumu Takikawa
4a32fa1551 Work around a type alias bug in framework types
The type alias analysis is unable to detect a rare kind
of type dependency and as a result initializes type aliases
in an order that doesn't work. Adding the extra `Class`
boilerplate here accommodates the analysis.

Please merge to v6.1.1
2014-10-20 15:56:23 -04:00
Vincent St-Amour
9030680e31 Fix types for foldl and foldr with 3 lists.
Thanks to Jack Firth for the report.
2014-10-20 15:44:45 -04:00
Matthias Felleisen
538bb75d64 eliminated bug introduced with latest revision
please add to 6.1.1.
2014-10-20 15:31:45 -04:00
Matthias Felleisen
5eb21343b6 fixed warning and tests 2014-10-20 09:07:26 -04:00
Asumu Takikawa
d486fa1839 Typo fixes in docs 2014-10-20 02:54:03 -04:00
Asumu Takikawa
7d241e9214 Add typed/net/git-checkout 2014-10-20 02:53:40 -04:00
Asumu Takikawa
a70588ac4f Fix a bug in typechecking kw function application
Mandatory kw arguments in function types could confuse
the typechecker when the function had the
`syntax-procedure-converted-arguments-property` property
set.
2014-10-20 02:50:24 -04:00
Asumu Takikawa
96310d823e Fix types for init arguments in framework
Please merge to v6.1.1
2014-10-19 21:14:45 -04:00
Asumu Takikawa
ca79eceb60 Remove types for interfaces from TR framework.
We don't yet support types for interface values.

Please merge to v6.1.1
2014-10-19 21:14:38 -04:00
Matthias Felleisen
dede06f2a0 bring htdp/*sl languages up-to-date with #true, #false, '() 2014-10-19 17:24:57 -04:00
Robby Findler
bbd9c432b6 adjust docs for drracket/check-syntax so the example
doesn't include paths directly into the plt tree

please include on the release branch.
2014-10-19 14:27:08 -05:00
Robby Findler
0005e1d8ab fix some threading issues in set-language-level!
also, minor rackety
2014-10-19 07:39:29 -05:00
Robby Findler
dd12f79b07 update history for true, false, empty change 2014-10-18 22:03:50 -05:00
Robby Findler
12bba1489c adjust the teaching languages to use #true, #false, and '() instead of true false and empty 2014-10-18 21:59:30 -05:00
AlexKnauth
92f5b37ae2 add types for Stx-Null, Stx-Pairof, and Stx-Listof 2014-10-18 12:25:28 -04:00
AlexKnauth
3d88e7c663 add comments about (Syntaxof Syntax-E) 2014-10-18 12:25:28 -04:00
AlexKnauth
4c22029f06 test types for typed/syntax/stx 2014-10-18 12:25:27 -04:00
AlexKnauth
56faac79c4 fix types of stx->list, stx-car, etc. 2014-10-18 12:25:27 -04:00
Robby Findler
b19f5a34ee update Redex HISTORY.txt
please include in the 6.1.1 release
2014-10-18 11:12:58 -05:00
Robby Findler
b3110feabd update history for 6.1.1
please include in the release
2014-10-18 11:12:58 -05:00
Robby Findler
496230db12 guard object=? test properly 2014-10-18 11:12:57 -05:00
Matthew Flatt
fbdfa36594 raco pkg: support "git://..." and "http[s]://[...].git" sources
Use the `net/git-checkout` library to support git repository servers
in general, instead of supporting only GitHub. A HTTP(S) source is
treated as a repository source when it ends with the ".git" suffix.
2014-10-18 09:16:01 -05:00
Matthew Flatt
ce464810d5 file/tar: add #:exists-ok? argument
The new argument is needed to reliably write to a tmp file, for
example, where the existence of the tmp file prevents other processes
from using the same name.
2014-10-18 07:14:50 -05:00
Matthew Flatt
ecc1d5dff2 net/git-checkout: repairs for HTTP(S)
Declare a "git" user agent, and use a secure client context for HTTPS
unless the `GIT_SSL_NO_VERIFY` environment variable is defined.
2014-10-18 07:14:50 -05:00
Matthew Flatt
06803e4da7 net/git-checkout: support ref -> ID mapping without download 2014-10-18 07:14:50 -05:00
Matthew Flatt
bbf154ba36 net/git-checkout: support the smart HTTP(S) transport
Git-based hosting services most commonly support the smart HTTPS
protocol, which carries "git://"-format payload in a fairly straightforward
way. (Supporting the dumb protocol looks much more difficult.)
2014-10-18 07:14:50 -05:00
Matthew Flatt
babd420293 net/git-checkout: checkout a tree via the "git://" protocol
The `net/git-checkout` library implements enough of `git clone` to
extract a tree from a repository that is accessed via the "git://"
protocol. It doesn't preserve a local clone, and it attempts to
download only the slice of the repository that is needed for the
requested tree (depending on how the tree is referenced).
2014-10-18 07:14:50 -05:00
Asumu Takikawa
03855eb532 Support define-namespace-anchor in TR 2014-10-17 15:23:28 -04:00
Matthew Flatt
3a3ffe1efa note v6.1.1 in Racket "HISTORY.txt"
Merge to v6.1.1
2014-10-17 07:19:11 -06:00
Robby Findler
122314ca27 name variable consistently 2014-10-16 19:36:41 -05:00
Vincent St-Amour
66e5a246c4 Update TR history.
Please merge to 6.1.1.
2014-10-16 14:42:43 -04:00
Matthew Butterick
a1360760ef extraneous "false" 2014-10-16 12:02:08 -04:00