Matthew Flatt
d168e5953d
scribble/html docs: clarify the effect of 'abs un url-roots
2014-03-07 14:32:55 -07:00
Eric Dobson
e34a248451
Changes printer to be more consistent.
...
Also make printer tests part of the unit tests.
2014-03-06 09:54:06 -08:00
Eric Dobson
d2c415f597
Add tests for check-below.
2014-03-06 09:44:09 -08:00
Burke Fetscher
beb3aa7e57
Merge branch 'interleave' of https://github.com/maxsnew/racket
2014-03-05 22:32:37 -06:00
Max New
434c03f317
Redex performance fixes (remove contracts, binary search...)
2014-03-05 19:08:00 -06:00
Max New
a949f7b629
Encode for fair interleaving and better test case
2014-03-05 19:06:59 -06:00
Max New
ccd9b2f2d8
Start fair interleaving for Redex enumeration (decode)
...
Also remove dead code and split disj-sum/e #:append to separate function
2014-03-05 19:06:59 -06:00
Stephen Chang
cd50d00776
add tests for scribble/eval
2014-03-05 16:41:56 -05:00
Stephen Chang
b7360c76d7
fix scribble make-base-eval racket/pretty namespace error
...
closes pr 14066
2014-03-05 16:41:56 -05:00
Matthew Flatt
fb20706213
scribble/render: fix contract on render
to include #:warn-undefined?
2014-03-05 10:33:35 -07:00
Matthew Flatt
38046d5018
plt-web: fix 'abs handling in -l mode
2014-03-05 10:32:44 -07:00
Matthew Flatt
c16028b762
new web pages: fix generated doc-site.css
2014-03-05 10:32:44 -07:00
Matthew Flatt
e01e29d0d4
remove unused module
2014-03-05 10:32:44 -07:00
Asumu Takikawa
994648c556
TR: better error for invalid super-make-object
2014-03-05 01:45:39 -05:00
Asumu Takikawa
b0ba3272cb
Improve TR's check for by-name superclass inits
...
Make sure to check that by-name inits are actually accepted
by the superclass and produce a good error when they aren't.
2014-03-05 01:45:39 -05:00
Asumu Takikawa
a0ce1fa02c
TR: fix error case when superclass is not a class
2014-03-05 01:45:39 -05:00
Asumu Takikawa
0bacba7a68
Rewrite TR pass for class top-level expressions
...
Instead of making separate passes over the expressions,
make a single pass to collect necessary information for
type-checking.
This enables simpler processing of type annotations,
super initialization arguments, and other things.
2014-03-05 01:10:44 -05:00
Asumu Takikawa
9c63978a58
Synthesize types for private fields in classes
...
Allows type annotations to be left out in some cases
2014-03-04 16:37:56 -05:00
Asumu Takikawa
2ed6692428
One more "undefined identifier" change in TR
...
For the top-level undefined/missing annotation case
2014-03-04 14:20:16 -05:00
Asumu Takikawa
d62eedaa47
Change TR's "untyped identifier" error messages
2014-03-04 13:51:31 -05:00
Asumu Takikawa
343ac52607
Let TR typecheck more un-annotated definitions
...
This commit allows definitions without type annotations
to refer to definitions later in a module that do have
type annotations. For example,
(define (f x) (g 0))
(: g (-> Integer Integer))
(define (g x) (add1 x))
Previously, such cases required shuffling type annotations
and/or definitions around to satisfy the type-checker.
Note that typechecking may still depend on ordering when
there are not enough type annotations in the code.
Closes PR 11544
2014-03-04 13:51:31 -05:00
Sam Tobin-Hochstadt
85c9717dee
Always use a monospace font, even on old browsers.
2014-03-03 19:23:14 -05:00
Sam Tobin-Hochstadt
036c3a6e39
Use "explain" on the explanation button for the short front-page examples.
2014-03-03 18:28:17 -05:00
Sam Tobin-Hochstadt
ae049b6141
Use unicode \alpha in front-page example.
...
I tested this using BrowserStack on browsers going back to IE 6 on Windows XP.
It worked everywhere, even though lots of other parts of the (old) web pages didn't.
2014-03-03 18:28:17 -05:00
Asumu Takikawa
5c7046cab3
Allow flvectors/fxvectors in Any contract
...
Closes PR 14374
2014-03-03 13:50:51 -05:00
Matthew Flatt
8b4c5d3deb
plt-web: record directory-to-URL mapping in destination
2014-03-02 20:20:52 -07:00
Matthew Flatt
9e716b0422
add openssl/md5
...
Like `openssl/sha1`, the `openssl/md5` library falls back to the
plain Racket `file/md5` implementation if OpenSSL is not available.
2014-03-02 20:20:52 -07:00
Matthew Flatt
7e57274a64
Revert "file/md5: faster"
...
This reverts commit cbc1637e56295e2769bd3a599831cff670584fd6.
2014-03-02 20:20:52 -07:00
Matthew Flatt
7e546d1a5a
file/md5: faster
...
Use unsafe operations and forced inlining to speed up
MD5 calculation by about x2.25 on 32-bit platforms, and
use all that plus fixnums to speed up by about x7 on
64-bit platforms.
This implementation is still about a factor of 5 off
a C implementation. So, while this was a fun little
experiment, I'll revert this commit and add a binding
to the OpenSSL MD5 implementation, instead.
2014-03-02 20:20:52 -07:00
Sam Tobin-Hochstadt
ad239e7e2d
Fix indentation on sierpinski example.
2014-03-02 17:00:47 -05:00
Asumu Takikawa
60c9a00b47
Remove unused image from new website directory
...
This image was used for part of a previous commit, but
is unused now. For the record, the image attribution
is:
"West Village H" by Brennan Degan, licensed under CC BY ND 2.0
http://www.flickr.com/photos/bdegan/301524841
http://creativecommons.org/licenses/by-nd/2.0/deed.en
2014-03-01 22:41:21 -05:00
Asumu Takikawa
f674fe829c
Add import for evaluator in match docs
...
Closes PR 14377
2014-03-01 22:07:05 -05:00
Matthew Flatt
ed3cf59cb2
new web pages: adjust explanation of GIT_DIR
2014-03-01 19:56:00 -07:00
Matthew Flatt
d9de09e486
new web pages: fix "snapshots" link on main page
2014-03-01 19:56:00 -07:00
Matthew Flatt
17b11a5c79
move revised web pages into package tree
2014-03-01 19:56:00 -07:00
Matthew Flatt
b3c8ab33f0
minor repairs for snapshot page
2014-03-01 19:55:59 -07:00
Ryan Culpepper
65462ced81
description for unix-specific srcs
2014-03-01 19:55:59 -07:00
Ryan Culpepper
85b4e7f17e
v6.0 installers info
2014-03-01 19:55:59 -07:00
Sam Tobin-Hochstadt
c9416fdfe9
Narrower irc page.
2014-03-01 19:55:59 -07:00
Sam Tobin-Hochstadt
65e3a5c389
Format the license page better.
2014-03-01 19:55:59 -07:00
Matthew Flatt
4d8c8007e8
small and suggested adjustments to page content
...
Also, allow navigation links in the right style without whole-page
styles.
2014-03-01 19:55:58 -07:00
Matthew Flatt
d27300f75e
make "pre" page just point to snapshot sites
2014-03-01 19:55:58 -07:00
Matthew Flatt
aed4f6a063
move main URLs to site
definitions instead of built-in configuration
...
Also, change local mode to use absolute "file://" references across
sites (makes "doc-site.js" plus "doc-site.css" work locally) and
add "index.html" to paths a needed, but add a `-r` relative mode for
the old behavior.
2014-03-01 19:55:58 -07:00
Matthew Flatt
cec98c7cea
improve handling of resources for sharing
...
Separate the "generated resources" part of a site from the "rendered
element" part, so that a site that doesn't use full-page formatting
can take share the resources of one that does.
Also, hide the "resources" function in a site to narrow the interface
exported by `plt-web`.
2014-03-01 19:55:58 -07:00
Matthew Flatt
547957fb4d
reduce dependencies for non-page-style mode
2014-03-01 19:55:58 -07:00
Matthew Flatt
8ae703cb24
reorganize into packages: "plt-web" and "plt-new-services"
...
The "plt-new-services" package defines the "meta/new-web"
collection, with the idea that it will be merged into
"plt-services" and later replace "meta/web".
2014-03-01 19:55:58 -07:00
Sam Tobin-Hochstadt
644ae2238b
Mostly done.
2014-03-01 19:55:57 -07:00
Sam Tobin-Hochstadt
ed5a6b1fbf
fix a number of subsidiary pages
2014-03-01 19:55:57 -07:00
Sam Tobin-Hochstadt
e1cefa0c68
improve links
2014-03-01 19:55:57 -07:00
Sam Tobin-Hochstadt
f6c1151ab0
Remove obsolete resources, and make progress on some new pages.
2014-03-01 19:55:57 -07:00