Commit Graph

32136 Commits

Author SHA1 Message Date
Matthew Flatt
f66f032e85 meta/new-web: try a different style for "explain" and "news" 2014-03-08 21:38:58 -07:00
Matthew Flatt
d5c724d56e meta/new-web: adjust one example to use define instead of let* 2014-03-08 20:42:47 -07:00
Sam Tobin-Hochstadt
38322f7202 Restyle mirror page. 2014-03-08 13:10:13 -05:00
Matthew Flatt
7d0ec8c958 meta/new-web: streamline download sequence
Instead of requiring a trip through a page that lists mirrors, show a
direct link to the main-site download.

Also, make alternate distributions like "Racket Minimal" more
accessible.
2014-03-08 10:19:44 -07:00
Matthew Flatt
0b27d5f3c5 rename "con" to "rcon"
The directory name "con" is not valid on Windows.
2014-03-08 05:24:24 -07:00
Matthew Flatt
ec3d7390bc meta/new-web: remove redirection of URLs for testing 2014-03-07 21:47:12 -07:00
Matthew Flatt
329627d12d meta/new-web: add con.racket-lang.org
Slides from each year are kept elsewhere (much like the installers
for download.racket-lang.org).
2014-03-07 21:42:36 -07:00
Matthew Flatt
1b72aa175a meta/new-web: fill in corners
Use soft links to represent redirections on the web site, where
all redirections needed now are within a site (specifically, the
download site).

Adjust various pages that are essentially for backward
compatibility.
2014-03-07 15:17:58 -07:00
Matthew Flatt
3ec206b78a plt-web: add make-indexes 2014-03-07 14:32:56 -07:00
Matthew Flatt
a79cf163c6 plt-web: change default site mode to 'abs
Using site-relative paths that are absolute within the site
avoids problems with files that are moved or used from multiple
contexts, such as "page-not-found.html".
2014-03-07 14:32:56 -07:00
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