Eric Dobson
04fc5498c8
Add Top and Bot to contradictory and complementary checks.
2014-03-16 23:34:06 -07:00
Eric Dobson
3313b820bb
Split opposite? into complementary? and contradictory?
2014-03-16 23:34:06 -07:00
Matthew Flatt
d8d5c9ec3e
scribblings/local-redirect: break xref-key directs into on-demand parts
...
Further reduce the "local-rediretc.js" file size by breaking out
the table of cross-reference keys --- which is only needed for indirect
links, and is therefore used infrequently. Furthermore, break the set of
keys into multiple pieces based on a hash of the key string, and each
piece is loaded independently on demand.
2014-03-16 15:03:27 -06:00
Matthew Flatt
a956918adb
scribble: #:doc-id argument to load-xref
and associated plumbing
...
Keep track of the target document name (i.e., the name of the
directory that will contain the target document) for a cross
reference, when known. This identification enables a simpler dynamic
resolution of a hyperlink in almost all cases, istead of requiring
a search for an arbitrary corss-reference key.
Indirect links still need a mapping of cross-reference keys
to document locations, but the mapping can be pruned to just
section and module-name keys.
This change cuts a generated "local-redirect.js" for the main
distribution to 1/8 of its size.
2014-03-16 12:40:52 -06:00
Matthew Flatt
6182541889
fix handling of code compiled to ignore
...
When the compiler sees `(if #f A B)`, it compiles A in a throwaway
mode, but the throwaway mode need to produce a slightly more plausible
result than it was so that further throwaway transformation is not
confused.
2014-03-16 09:18:40 -06:00
Matthew Flatt
40f3bf1810
setup/dirs: change default doc indirection to a useful URL
2014-03-16 09:18:40 -06:00
Matthew Flatt
c429032d7e
scribble/manual docs: corrections on #:link-target?
and #:indirect
2014-03-16 09:18:40 -06:00
Matthew Flatt
d63fa21507
document details of collection and package installation
...
This information is about internal implementation details, more or
less. Some details can leak out, such as when files get mangled or
browser cookies get stuck. Mostly, though, the intent is to document
how various of pieces fit together to make builds and distributions
work.
2014-03-16 09:18:40 -06:00
Matthew Flatt
f94dc32329
scribble docs: tweak language related to collections and packages
2014-03-16 09:18:40 -06:00
Matthew Flatt
fc1a86fc69
meta/pkg-push: fix for "racket" package
2014-03-16 09:18:40 -06:00
Asumu Takikawa
4b4ff3d00b
Change "Class and units" to "Unsupported features"
...
Also remove classes since they are supported now.
Closes PR 14398
2014-03-15 16:35:41 -04:00
Asumu Takikawa
663e96afd6
Fix type->contract for recursive Name types
...
Certain mutually recursive Name types would generate
contracts that infinite loop when triggered.
2014-03-15 16:35:41 -04:00
Matthew Flatt
d37be5f6c5
meta/new-web: adjust download-site list
2014-03-15 09:27:25 -06:00
Matthew Flatt
8da2692b85
avoid unnecessary embedding of build path in generated doc support
2014-03-15 09:27:25 -06:00
Eric Dobson
9e2787c0cf
Fix implied-atomic to work on -top and -bot.
2014-03-14 18:55:24 -07:00
Eric Dobson
f7536ebfbd
Initial version of filter tests.
2014-03-14 18:55:23 -07:00
Eric Dobson
d9aeabdaec
Make check-below-tests check more things and give more debug info.
2014-03-14 18:22:31 -07:00
Asumu Takikawa
2344a7683d
Adjust error messages for send typechecking
2014-03-14 14:19:06 -04:00
Asumu Takikawa
32c78065a5
Fix class typechecking for Name types
...
Fixed check-class-unit and get-field for the addition
of recursive Name types.
2014-03-14 13:18:59 -04:00
Asumu Takikawa
4439c9df0d
Support rest args for TR class methods
2014-03-14 11:19:01 -04:00
Asumu Takikawa
01ed4fa480
Revise Scribble docs for the new package system
...
Replaced mentions of PLaneT with the new package system
in sec 4.1 of the Scribble docs.
2014-03-14 10:22:12 -04:00
Asumu Takikawa
30b60f8c43
Raise a better message for ctc generation in TR
...
This provides a better explanation of contract generation
failures for module-provided bindings.
2014-03-14 10:05:54 -04:00
Eric Dobson
5600213a5a
Make check-below only accept arguments of the same kind.
2014-03-13 21:15:45 -07:00
Eric Dobson
058b67946d
Make users of check-below call it with same kind arguments.
2014-03-13 18:50:36 -07:00
Robby Findler
e3a85115f5
handle the case where the links file contains an absolute path
...
also try to make fewer assumptions about the content of links files
closes PR 14392
2014-03-13 14:18:32 -05:00
Robby Findler
ba55c935d7
fix contract guide example
2014-03-13 14:18:26 -05:00
Robby Findler
4d94ef91cf
allow 'contract' to use #f for the positive
...
name, but still disallow #f at the blame record
level
closes PR 14387
2014-03-13 14:18:26 -05:00
Matthew Flatt
8cbcba8ed2
racket/gui gtk: fix reference count on widget extracted in choice%
...
Incorrect referencing causes crashes on Kubuntu, for example.
2014-03-13 06:42:38 -06:00
Eric Dobson
88af96f19a
Fix tc-results->values and filter-tc-results to handle polydots.
2014-03-12 19:05:19 -07:00
Eric Dobson
ad6365f34c
Make check-exn/check-not-exn keep the check failure message.
2014-03-12 18:09:39 -07:00
Matthew Flatt
8a5c50485c
Another makefile CFLAGS/CPPFLAGS adjustment
...
Missed another spot in c97184b581
.
2014-03-12 18:45:09 -06:00
Tony Garnock-Jones
139b228f2e
Add TAGS target to toplevel makefile. Adjust clean target to match.
2014-03-12 18:45:09 -06:00
Matthew Flatt
6970a932e3
meta/new-web: fix blog stub
2014-03-12 18:45:08 -06:00
Sam Tobin-Hochstadt
1eb1a555a0
Revise "get started" para.
...
Based on suggestion from Neil Van Dyke.
2014-03-12 18:13:35 -04:00
Sam Tobin-Hochstadt
89a89ba16a
Margin at the bottom.
2014-03-12 17:28:00 -04:00
Sam Tobin-Hochstadt
71cf0dabd7
Add links to the intro paragraph, unobtrusively.
2014-03-12 17:28:00 -04:00
Sam Tobin-Hochstadt
f0f8670778
Fix jerkiness of navbar navigation.
2014-03-12 16:37:43 -04:00
Sam Tobin-Hochstadt
99593d6d0c
Fix switch to small navbar.
...
Fix suggested by cosmez in #racket.
2014-03-12 16:33:07 -04:00
Matthias Felleisen
5f11b06dc4
small improvements to style of examples on front page
2014-03-12 13:36:00 -04:00
Sam Tobin-Hochstadt
cd2b2f83bb
Fix two missing '.'.
...
Reported by Laurent Orseau.
2014-03-12 13:08:57 -04:00
Sam Tobin-Hochstadt
be64527af6
Fix small typo in the "Find Racket files" example.
...
Reported by ajanuary on Hacker News.
2014-03-12 11:58:58 -04:00
Jay McCarthy
abee614423
Fix handling of chunked response headers
2014-03-12 08:52:49 -06:00
Jay McCarthy
2d1859a984
ensure package name is used in all metadata calls
2014-03-12 08:52:49 -06:00
Asumu Takikawa
e2e0ab748f
Change error messages for two TR unit tests
...
I'm not sure why, but these tests seem to emit one of two different
errors depending on the machine it's run on (hence the failure in
DrDr). For the short term, I've set the regular expression to allow
either of them.
2014-03-12 10:01:49 -04:00
Matthew Flatt
5efd997226
meta/new-web: minor repairs and sync script
2014-03-12 06:15:30 -06:00
Matthew Flatt
06682cf234
plt-web: improve index-page support
2014-03-12 05:40:53 -06:00
Asumu Takikawa
36c3861494
Correctly check letrec-values clauses with no vars
...
Should unbreak the build, my apologies to bisecters
2014-03-12 01:18:16 -04:00
Asumu Takikawa
04c3851ebc
Clarify a few comments in TR
...
These are for letrec typechecking and Tarjan's algorithm
2014-03-11 23:48:59 -04:00
Asumu Takikawa
93a2798ec3
Use Tarjan's algorithm for typechecking letrecs
...
This allows us to type-check non-recursive sequences of
letrec-values clauses in the right order. In other words,
we will type-check the clauses in reverse topological
order (the reverse of the dependency order).
Clauses that are recursive go through the usual
type-checking process, injecting Undefined where necessary.
2014-03-11 23:03:39 -04:00
Asumu Takikawa
292a47c3dd
Move TR's Tarjan's algorithm to a separate file
...
Also generalize so that it can be used in other
parts of the codebase.
2014-03-11 23:03:39 -04:00