Commit Graph

32256 Commits

Author SHA1 Message Date
Matthew Flatt
389aa9fcd8 fix compiler to not move allocation across continuation capture
Note that even the movement of operations like `unsafe-fl+` is
constrained, since the operation can allocate. For example, a
continuation captured in

    (let ([a (unsafe-fl+ x y)])
      (call-with-composable-continuation ....)
      a)

should return an `eq?` result. The compiler must not only refrain from
moving the `unsafe-fl+` call, it must not mark `a` as a flonum
binding, because that would cause the JIT to delay allocation of `a`
until the return site.
2014-03-11 13:59:28 -06:00
Burke Fetscher
30959e86aa redex: add 'ordered' to benchmark plots
Also fix '-o' option
2014-03-11 14:47:09 -05:00
Matthew Flatt
f340625333 fix syntax checking for #%declare 2014-03-11 08:21:03 -06:00
Matthew Flatt
df857e1c76 distro-build: refine client--server split 2014-03-11 08:10:35 -06:00
Matthew Flatt
1260dd6b2e Makefile: refine support for building an installer from a site 2014-03-11 08:10:35 -06:00
Matthew Flatt
99f124e82d raco pkg: preserve/adjust timestamps when extracting/creating packages
Perserve and adjust timestamps in a way that helps make re-packing an
installed-from-built package produce an archive with the same checksum
as the original.
2014-03-11 08:10:35 -06:00
Matthew Flatt
ce6b8b8d5c file/zip, file/tar: add #:get-timestamp argument
Allows the recorded timestamp to be adjusted in a general way.
2014-03-11 08:10:35 -06:00
Matthew Flatt
ff6b4efb17 file/unzip: support preserving timestamps 2014-03-11 08:10:35 -06:00
Eric Dobson
edc8bbf6b4 Make TR tests work with contracts enabled. 2014-03-10 21:09:36 -07:00
Asumu Takikawa
b205c99560 Fix TR tests for new error messages
Related to commit fa81fb35f7
2014-03-10 17:02:31 -04:00
Burke Fetscher
0c56f6e637 redex: add in-order enumeration to the benchmark
Also, add support for running a single file in parallel.
2014-03-10 15:57:07 -05:00
Asumu Takikawa
31c60b2893 Fix doc contract for syntax-local-phase-level
The description does not mention the function ever returning #f
and if you look at the implementation in the C code, it always
returns the result of `scheme_make_integer`.

Also add an example for the entry.
2014-03-10 14:59:42 -04:00
Asumu Takikawa
fa81fb35f7 Update several application type error messages 2014-03-10 14:59:42 -04:00
Matthias Felleisen
925921dd64 changed introductory paragraph, used active voice in news, we need exact date 2014-03-10 08:57:19 -04:00
Matthew Flatt
5deac9ef2b subprocess: allocate for environment variables before fork
I'm running into stuck processes via `subprocess`, where the stuck
process is in malloc() for environment variables. I'm not really sure
of the problem, but moving that work before the fork() could
avoid problems related to pages or signal handlers.
2014-03-09 21:00:37 -06:00
Matthew Flatt
4476e36705 configure: propagate CPP, LD, CPPFLAGS, LDFLAGS for --enable-sdk build 2014-03-09 17:18:43 -06:00
Matthew Flatt
a98582b823 distro-build: split server and client parts 2014-03-09 15:57:40 -06:00
Matthew Flatt
8253994434 create-embedding-executable: fix namespace and module-declaration problem 2014-03-09 08:44:53 -06:00
Matthew Flatt
252e4ce590 r{5,6}rs: fix c[ad][ad]r on wrong number of arguments
Closes PR 14388
2014-03-09 07:24:14 -06:00
Matthew Flatt
c27930f939 meta/new-web: avoid "paradigms" 2014-03-08 21:50:14 -07:00
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