Commit Graph

20837 Commits

Author SHA1 Message Date
Matthew Flatt
87a4132b40 fix zo-marshal' for #f toplevel-map in lam' 2011-05-03 14:43:27 -06:00
Kevin Tew
811154cb08 Indent fix 2011-05-03 14:40:02 -06:00
Eli Barzilay
e2255e3f88 New Racket version 5.1.1.4. 2011-05-03 16:34:50 -04:00
Kevin Tew
46dc051931 Turn places build back on, provide place-break. 2011-05-03 14:01:30 -06:00
Matthew Flatt
3bf438f580 rewrite `ffi-lib' docs with better guidance on versions 2011-05-03 13:16:21 -06:00
Matthew Flatt
4a41196dc2 win32: work around Pango(?) bug in freeing font maps 2011-05-03 10:23:35 -06:00
Matthew Flatt
be524ade36 minor code clean-ups 2011-05-03 10:22:02 -06:00
Matthew Flatt
6f1aa7bc00 adjust Redex example after bytecode-structure change 2011-05-03 08:53:49 -06:00
Matthew Flatt
2ada6d0e89 break link to namespaces from from closures over top-/module-level vars
- the `lam' structure from `compiler/zo-struct' changed to include a
   `toplevel-map' field

 This change helps solve a finalization problem in `racket/draw',
 which in turn sigificantly reduces the peak memory use of `raco setup'
 during the doc-building phase (because some documents load `racket/draw'
 to render images, and multiple copies of `racket/draw' were retained
 before finalization was fixed).

 The change is an extreme way to solve a specific finalization
 problem, but it's a kind of space-safety improvement; space safety
 almost never matters, but when it does, then working around a lack of
 space safety is practically impossible. In this case, it's not clear
 how to otherwise solve the `racket/draw' finalization problem.

 The improvement doesn't change the representation of closures, but it
 requires special cooperation with the GC. All closures in a module
 continue to share the same array of globals (plus syntax objects);
 that is, instead of completely flat closures, Racket uses a two-level
 environment where top-/module-level variables are grouped
 together. The code half of a closure now records which
 top-/module-level variables the body code actually uses, and the mark
 phase of GC consults this information to retain only parts of the
 top-/module-level environment frame that are actually used by some
 closure (or all of the frame if it is accessible through some other
 route).  In other words, the GC supports a kind of "dependent
 reference" to an array that is indexed by positions into the array
 --- except that the code is more in the "Racket" directory instead of
 the "GC" directory, since it's so specific to the closure
 representation.
2011-05-03 06:57:49 -06:00
Matthew Flatt
1b14c6a38e fix mistakes uncovered by optimizer warnings 2011-05-03 06:57:48 -06:00
Sam Tobin-Hochstadt
045fd7a77c Document utility predicates. 2011-05-03 08:15:37 -04:00
Eric Dobson
613e121783 Struct types now generate flat contracts when appropriate.
Closes PR 11686.
2011-05-03 08:15:37 -04:00
Ryan Culpepper
1bf95392d2 syntax/parse: added litset extension 2011-05-03 01:25:41 -06:00
Ryan Culpepper
e5e12ab01a syntax/parse: added define-syntax-class/specialize 2011-05-02 21:02:11 -06:00
Ryan Culpepper
0a048b67bb syntax/parse: refactored some parsing/checking code 2011-05-02 20:28:51 -06:00
Casey Klein
fd401ce98e Adds docs test to the test script 2011-05-02 06:02:50 -05:00
Casey Klein
b592017d05 Documents or deletes all Redex exports 2011-05-02 06:02:50 -05:00
Casey Klein
4e68a5019f Moved rewriters documentation into typesetting section 2011-05-02 06:02:49 -05:00
Casey Klein
775d31d04a Sets up the right modpaths for Redex exports 2011-05-02 06:02:49 -05:00
Robby Findler
2230605301 add a #:use-sources keyword to deinprogramm docs to get scribble to know about more of the docs 2011-05-02 05:52:59 -05:00
Robby Findler
bc9c44a5af graphics/turtles: fixed up for an 'xor-less world
(and generally brought this code into the current millenium)
2011-05-01 18:27:40 -05:00
Robby Findler
2bba4e101f fixed up the graphics/ collection's docs 2011-05-01 16:57:10 -05:00
Robby Findler
d6ef130fd2 cleaned up framework docs 2011-05-01 14:16:04 -05:00
Robby Findler
551c6866d1 add in the supported ->i forms 2011-05-01 14:15:57 -05:00
Mike Sperber
d582dd55dd Fix bug in vector signatures. 2011-05-01 11:18:10 +02:00
Robby Findler
c8d476c76e adjust scribble's racketblock renderer so that #true and #false
don't turn into #t and #f.
2011-04-30 20:35:16 -05:00
Carl Eastlund
4990029922 Added documentation for define-renaming. 2011-04-30 20:06:59 -04:00
Carl Eastlund
723d389d59 Singular version of define-renamings. 2011-04-30 20:06:59 -04:00
Carl Eastlund
01f1add1cb Made define-syntax-block less restrictive about source of bindings. 2011-04-30 20:06:59 -04:00
Sam Tobin-Hochstadt
31aa47f136 Fix a couple typos found by mflatt and the optimzer. 2011-04-30 19:49:00 -04:00
Sam Tobin-Hochstadt
db5d59a217 new version of sigplanconf.cls 2011-04-30 19:48:59 -04:00
Matthew Flatt
6c1ec25016 win32: fix page counting in memory manager 2011-04-30 14:02:20 -06:00
Matthew Flatt
68d235378f places: trigger GC after many message pages adopted 2011-04-30 14:01:55 -06:00
Jay McCarthy
8708268992 Fixing problems with %is discovered by Casey 2011-04-30 12:02:41 -06:00
Matthew Flatt
4377d88e86 win32: increase stack size to 8 MB
and double safety margin for Win64
2011-04-30 11:12:04 -06:00
Matthew Flatt
ddbb3b02a1 win32 places: make break-signal semaphore place-local 2011-04-30 07:42:17 -06:00
Eli Barzilay
1f7ac35d8e v5.1.1 stuff 2011-04-30 02:57:12 -04:00
Robby Findler
a22d370818 fix copy and paste bug (and re-indent a mis-indented line) 2011-04-29 21:11:23 -05:00
Asumu Takikawa
7eb26c5d26 Added test for get-pos/text method result. 2011-04-29 18:56:36 -04:00
Vincent St-Amour
4d24cbee60 Promote more literals at compile-time. 2011-04-29 17:16:39 -04:00
Vincent St-Amour
d9451ef4ab Run optimizer tests in a throw-away namespace to reduce memory usage. 2011-04-29 15:28:30 -04:00
Vincent St-Amour
32a8da58cb More indentation of TR keywords. 2011-04-29 15:28:30 -04:00
Asumu Takikawa
8ea0e5916d Fix horizontal-panel-mixin to use correct interface. 2011-04-29 14:11:22 -04:00
Asumu Takikawa
4b575c315b Fixed inconsistent return values for get-pos/text. 2011-04-29 14:11:21 -04:00
Sam Tobin-Hochstadt
551ad63f4e Document many more numeric types, and fix documentation for `typed/scheme' etc. 2011-04-29 13:27:38 -04:00
Sam Tobin-Hochstadt
e8f07c1dc3 Add more examples for remove', remq', `remv'. 2011-04-29 13:27:38 -04:00
Matthew Flatt
b5f86a26e6 fixes for kFreeBSD 2011-04-29 01:24:38 -06:00
Robby Findler
37c7ad81ed fixed redex.scrbl bugs 2011-04-29 08:12:51 -05:00
Stephen Bloch
0417e6b1d3 Took private files out of test-docs-complete. 2011-04-29 07:45:08 -04:00
Robby Findler
8fbefb0b6d added typesetting support for relations 2011-04-28 22:20:14 -05:00