Commit Graph

2519 Commits

Author SHA1 Message Date
Carl Eastlund
5582f7591f Replaced an outdated reference to syntax-object->datum with syntax->datum. 2011-06-01 01:47:23 -04:00
Matthew Flatt
fbbb30f7b0 try to clarify intent of #:contracts' in defform' 2011-05-30 08:58:11 -06:00
Matthew Flatt
a7ae3b807e fix docs for `multi-in'
because the previous documentation didn't actually define the form;
 the examples were good, but epecting a reader to infer meaning
 from examples wasn't good enough. The use of a `module-path?' contract
 in the old docs wasn't appropriate; contracts apply to values, while
 grammar productions should be used to document syntax constraints.
 Also, `module-path?' was too permissive (only literal strings and
 identifiers are actually allowed), while the actual syntax allows
 either a single path or a sequence.
2011-05-30 08:49:46 -06:00
Matthew Flatt
bbfeb85440 mak argument to `make-immutable-hash' optional 2011-05-30 07:38:57 -06:00
Matthew Flatt
f3e1cf10aa change `hash-count' to take the lock; fix docs 2011-05-30 07:38:57 -06:00
Eli Barzilay
13b2adc18c Switch the license text from LGPLv2 to LGPLv2.1.
This makes it correspond to the license page we have on downloads that
talks about the "lesser" GPL rather than the "library" one.

Also, change the file name to have a more friendly .txt suffix, and add
some more responsible properties for things in doc/release-notes.
2011-05-27 18:09:55 -04:00
Vincent St-Amour
48b5725b2e Document extension to multi-in. 2011-05-26 11:56:31 -04:00
Vincent St-Amour
c3da0babb7 sub-in -> multi-in 2011-05-26 11:56:31 -04:00
Asumu Takikawa
7f143f03ed Add impersonator-contract? along with docs/tests.
The impersonator-contract? function checks if its argument is
a contract that is neither flat nor a chaperone contract.
2011-05-26 00:37:05 -04:00
Asumu Takikawa
78689098eb Fix docs on editor-snip% init arg 2011-05-25 23:39:38 -04:00
Matthew Flatt
e7d2cb73d9 doc formatting fixes 2011-05-25 07:32:47 -06:00
Vincent St-Amour
2cddccfe7e Improve docs for sub-in. 2011-05-24 16:53:52 -04:00
Tony Garnock-Jones
7615c2a512 Implementation, documentation and tests for adding a failure-result to property accessor procedures. 2011-05-24 16:53:52 -04:00
Tony Garnock-Jones
9ce0f9d29e Minor cleanup of documentation for make-impersonator-property. 2011-05-24 16:53:52 -04:00
Matthew Flatt
f46edbe1ff fix doc typo 2011-05-24 12:58:53 -06:00
Vincent St-Amour
5e87097854 Document the sub-in require syntax. 2011-05-24 12:40:16 -04:00
Vincent St-Amour
c5973bea99 Add note about modules vs REPL in performance docs. 2011-05-24 10:57:47 -04:00
Matthew Flatt
00e17ab51f adjust Guide to warn about performance measurement in DrRacket 2011-05-24 08:02:09 -06:00
Matthew Flatt
22702a70bd typo 2011-05-24 06:28:54 -06:00
Matthew Flatt
23777f291c avoid flock() under Solaris 2011-05-24 06:18:40 -06:00
Matthew Flatt
b6445880e2 add pre-multiplied mode for `{get,set}-argb-pixels' 2011-05-18 16:01:33 -07:00
Matthew Flatt
905eb11651 fix alpha-only mode of `get-argb-pixels'
Closes PR 11927
2011-05-17 16:00:36 -07:00
Robby Findler
71770ee285 one more collection-path => collection-file-path in scribble 2011-05-16 06:51:25 -05:00
Matthew Flatt
66178570b6 scribble: add support for setting a document date
in Latex output, and also document and generalize
 the 'pretitle paragraph style
2011-05-15 19:42:22 -06:00
Matthew Flatt
343568fd84 fix return type of scheme_get_place_table() 2011-05-13 14:06:52 -06:00
Matthew Flatt
a613e81fcd change protocol for extensions with places
- extension gets scheme_initialize() per-place
 - simplify allocation and fix locking for scheme_new_type()
 - better Inside docs on places
2011-05-13 14:06:51 -06:00
Matthew Flatt
49aadc599a ffi: add `#:in-original-place?' to deal with thread-unsafe libs
and use it for Pango, which is not thread-safe at the C level
2011-05-13 08:55:04 -06:00
Matthew Flatt
c5816ab6f9 fix doc typo 2011-05-13 08:55:03 -06:00
Ryan Culpepper
dc0138bcb7 minor doc fix (optional args last) 2011-05-11 15:56:24 -06:00
Jon Rafkind
3b73fa1462 lower -> faster 2011-05-10 21:56:13 -06:00
Matthew Flatt
4671b5f2ba fix `scribble/lncs' docs 2011-05-10 20:34:28 -06:00
Jon Rafkind
c11a177009 add notes about using racket/base instead of racket. closes pr 10992 2011-05-10 18:18:00 -06:00
Robby Findler
1b838cf85a add c:x;t as a keybinding for the latex shortcuts
closes PR 11871
2011-05-10 15:34:47 -05:00
Robby Findler
a1217107b2 added the scribble/lncs language 2011-05-10 14:10:28 -05:00
Matthew Flatt
0011f5957d fix rotation problems and sense of `transform'-like operations
so that they conceptually apply after the current
 transformation, instead of before the current transformation;
 more general rotation problems were related to aligned drawing
 and the calculation of the effective scale for alignment
2011-05-10 09:53:49 -06:00
Matthew Flatt
a4da2a3f4c fix varref' in compiler/zo-structs', etc.
and sync docs better with implementation
2011-05-09 09:43:32 -06:00
Robby Findler
2fe1c3b80d document the help collection's top-level modules 2011-05-06 17:29:03 -05:00
Matthew Flatt
34b8dc249e fix documented contracts for path functions
and make `cleanse-path' work for any platform's paths
  while fixing `resolve-path' checking to disallow paths
  for other platforms
 Closes PR 11891
2011-05-04 11:40:01 -06:00
Matthew Flatt
76484e9ead fix docs
Closes PR 11888
2011-05-03 14:43:27 -06:00
Matthew Flatt
3bf438f580 rewrite `ffi-lib' docs with better guidance on versions 2011-05-03 13:16:21 -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
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
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
Asumu Takikawa
4b575c315b Fixed inconsistent return values for get-pos/text. 2011-04-29 14:11:21 -04:00
Sam Tobin-Hochstadt
e8f07c1dc3 Add more examples for remove', remq', `remv'. 2011-04-29 13:27:38 -04:00
Sam Tobin-Hochstadt
9469835be4 Add deftech for "future". 2011-04-28 18:23:53 -04:00
Matthew Flatt
982503b083 share a timestamp cache across all collections during `raco setup' 2011-04-27 19:02:08 -06:00
Asumu Takikawa
836ac18667 Fix documented contracts in framework/color. 2011-04-27 17:47:30 -04:00
Kevin Tew
7134b95ff1 [Places] place/anon place/thunk 2011-04-27 11:50:44 -06:00