Commit Graph

25596 Commits

Author SHA1 Message Date
Asumu Takikawa
9f83ba1c6f Fix doc typos 2012-07-03 15:54:25 -04:00
Asumu Takikawa
414ed2597e Reference: fix doc typos 2012-07-03 03:10:04 -04:00
Asumu Takikawa
e8dfd1d8df Improve docs for exn:fail:contract:blame 2012-07-03 02:16:13 -04:00
Robby Findler
119d1ff9d3 fix the append-editor-font-menu-items and
append-editor-operation-menu-items docs

closes PR 12878
2012-07-02 18:59:38 -05:00
Matthew Flatt
e8d9d4e9ca improve error handling for `defproc'
Closes PR 12780
2012-07-02 10:07:52 -06:00
Matthew Flatt
aa68692b37 allow `begin' wrapper on a submodule to re-expand
Closes PR 12835
2012-07-02 10:02:41 -06:00
Matthew Flatt
50ab977c51 doc correction
Closes PR 12872
2012-07-02 09:19:40 -06:00
Matthew Flatt
4ed8a88969 doc correction
Closes PR 12844
2012-07-02 09:08:05 -06:00
Matthew Flatt
b5189c8232 scribble: adjust `subsubsub*section' font size
Closes PR 12868
2012-07-02 09:00:08 -06:00
Matthew Flatt
addc5d4be7 sgl: avoid crashes on Mac OS X when no GL context is current 2012-07-02 08:31:05 -06:00
Matthew Flatt
814c974d01 scribble Latex: add \SNumberOfAuthors{} in output 2012-07-01 10:00:58 -06:00
Matthew Flatt
3662aee60b *SL: fix `check-expect' syntax checking
Bug introduced during error-message conversion.
2012-07-01 09:25:12 -06:00
Matthew Flatt
c69ea5569f `raco decompile' fix 2012-07-01 09:25:12 -06:00
Matthew Flatt
9eb4f0e278 typo 2012-07-01 09:25:12 -06:00
Asumu Takikawa
07d279e3ee racket/class: doc fixes and improvements
- actually fixed the grammar this time
 - examples for most class/object utils
 - consistency with naming conventions
 - interface ctc example
2012-06-30 15:13:53 -04:00
Vincent St-Amour
1d43b5a0db Fix Performance Report on unsaved editors.
Closes PR12808.
2012-06-29 16:27:37 -04:00
Asumu Takikawa
9e97ea4cae Fix class init grammar in docs 2012-06-29 14:40:27 -04:00
Asumu Takikawa
ad8b43e21f Add examples for most class clauses. 2012-06-29 14:40:27 -04:00
Matthias Felleisen
a6e3c01f53 this is not the final word, see todo in provide-and-scribble; Closes PR 10498 2012-06-28 20:57:30 -04:00
Matthias Felleisen
15651fca6c removed debug print; fixed ordering of section display; improved docs in advanced 2012-06-28 20:55:13 -04:00
Matthias Felleisen
f56d6447da typos 2012-06-28 18:22:49 -04:00
Matthias Felleisen
004127bbc7 hashes scribblized, preliminary; SK may wish to add more examples 2012-06-28 18:22:49 -04:00
Matthew Flatt
eeb5f2778a fix for/lists' to use the Racket-implemented reverse' 2012-06-28 14:32:01 -06:00
Matthew Flatt
67cbd52e24 fix benchmark driver for running an old version 2012-06-28 14:32:01 -06:00
Sam Tobin-Hochstadt
20e95f8d8e More refactoring and reduction of runtime dependencies. 2012-06-28 14:34:07 -04:00
Sam Tobin-Hochstadt
f075ecd36e File splitting, dependency reduction. 2012-06-28 14:34:07 -04:00
Matthew Flatt
aa0d21b7dd improve module-path-index sharing for a module declaration
To support module caching, module path indexes must be cloned
for each use of the cached module, so that path resolutions
don't collide. Cloning was previously implemented at the point
of shifting the modidx based on the module instantiation name,
but now its cloned at declaration time. This result in better
sharing of module-path resolutions, which in turn speeds up
compile-time instantiation of modules, which in turn speeds up
interactions & examples in documentation (as much as 10% for the
Guide, for example).

Furthermore, the reverse cache within a modidx may have been
used improperly during cloning, and that's not a problem in
the new implementation.
2012-06-28 11:42:20 -06:00
Matthew Flatt
d181b32192 Guide: recycle sandbox for most regexp examples 2012-06-28 10:05:43 -06:00
Matthew Flatt
20aa70a6ef doc fixups 2012-06-28 09:54:18 -06:00
Matthew Flatt
612c4ff524 scribble HTML render: avoid intermediate XML structure
As pointed out by Danny Yoo to save time during the rendering phase
2012-06-28 09:15:57 -06:00
Matthew Flatt
130618e946 tweaks to Danny's Scribble changes 2012-06-28 08:57:58 -06:00
Danny Yoo
d926f89cbe Correcting content->string so that it does not concatenate strings in quadratic time 2012-06-28 08:39:14 -06:00
Danny Yoo
2f4671235c Changing decode-string so it avoids allocation and interns the individual string components. 2012-06-28 08:39:03 -06:00
Robby Findler
5526efd744 Rackety (Matthew already broke the dependency that this commit was going to do) 2012-06-28 09:02:35 -05:00
Matthew Flatt
6379849755 remove dependency of *SL image functions on `racket/gui/base' 2012-06-28 07:18:17 -06:00
Eli Barzilay
29006f95f4 New Racket version 5.3.0.13. 2012-06-28 03:30:15 -04:00
Stevie Strickland
d16c3f68fa Add empty case for with-contract's clause for free variable contracts.
Also reorder the single and multiple cases to match result-spec's ordering.
2012-06-28 03:28:04 -04:00
Matthias Felleisen
379974fc6e fixed some interactions, added up through hashes 2012-06-27 22:55:07 -04:00
Matthias Felleisen
22f3c6b509 added interactive examples up to I/O 2012-06-27 19:03:42 -04:00
Matthias Felleisen
397cd540ab added interactions to all but one beginner functions to illustrate what they do 2012-06-27 19:03:41 -04:00
Matthew Flatt
f05e6fa9c0 fix and improve some syntax-error messages for `struct' 2012-06-27 13:38:36 -06:00
Matthew Flatt
1d25f698da doc clarifications 2012-06-27 13:20:18 -06:00
Matthew Flatt
ec6f3fd610 racket/draw: avoid callback-based PNG writing
Doc rendering has been occasionally crashing in Pixman/Cairo. It might
have something to do with a non-atomic callback, so let's try avoiding
that, first. (If that doesn't work, the next step is to avoid using
Cairo in a multi-threaded way, for which this is a first step, too.)
2012-06-27 12:29:52 -06:00
Matthew Flatt
5f3f3e8c54 scribble/eval: remove bogus top-level `namespace-require' 2012-06-27 12:28:17 -06:00
Matthew Flatt
0d1056dbed fix potential bad interaction of module caching and JIT assumption
The JIT wants to detect calls to functions bound to module-level
variables that are always instantiated to a procedure of a particular
arity, in which case it can avoid some checks.  The problem is that
bytecode and JITted code can be shared via the module cache across
namespaces that use different modules to implement a particular module
path or that enable the JIT differently.  In particular, starting with
one that has a procedure binding and then using one (in a different
namespace) that has a non-procedure binding could lead to a crash.

Defend against this possibility by never treating imported variables
as constant in that sense. The JIT detects imported variables through
a new import map in the prefix.

This change may slow code. My guess is that it will have no
performance impact in practice, due to cross-module inlining,
although I can construct a microbenchmark that slows by 20%.
2012-06-27 09:57:50 -06:00
Matthew Flatt
e0bf863b21 BSL and BSL+: fix an error message 2012-06-27 09:57:50 -06:00
Matthew Flatt
73a4b1758e avoid a compiler warning 2012-06-27 09:57:50 -06:00
Matthew Flatt
8655a6856e errortrace: hack to recover `with-continuation-mark' optimization 2012-06-27 09:57:50 -06:00
Matthew Flatt
577cf4592e fix problems with references to bindings at higher phases 2012-06-27 09:57:50 -06:00
Matthew Flatt
307ebebcbe misc clean-up 2012-06-27 09:57:50 -06:00