Robby Findler
a799985951
fix the gradient example code in the docs.
...
Things wrong:
- indentation
- the dc callback didn't reset the dc state
(this is okay if you only use the pict
in the interactions window in drracket,
because drracket protects itself, but it
is not okay if you use them in slideshow
or something)
- the dc callback didn't use the 'dx' and 'dy'
arguments properly
(you could see this going wrong if you put
two of the picts together in an hc-append
and looked at the compound pict in the
interactions window)
2012-08-10 12:15:37 -05:00
Matthew Flatt
9d6cb8e50e
setup/pack: fix internal and contract errors
...
Part of the contract-error fix is an implementation change, and part
is a documentation change.
Closes PR 12904
2012-08-10 07:49:17 -06:00
Vincent St-Amour
a190ecfb7b
Fic generics docs.
...
Closes PR 12988.
2012-08-08 17:26:55 -04:00
Vincent St-Amour
452d83069b
Fix typo in the raco make docs.
...
Closes PR 12986.
2012-08-08 17:26:55 -04:00
Vincent St-Amour
e3ffd5f85c
Document zsh completion along with bash completion.
2012-08-07 16:31:52 -04:00
Robby Findler
b16843a908
add a find-from-selection menu item that grabs the selection and puts
...
it directly into the find window
related to PR 12978
2012-08-06 18:00:57 -05:00
Matthew Flatt
13d7a37eb6
re-align expt' and
flexpt' to match C99 pow() spec
...
Also, improve precision of some complex results to avoid
excessive `+nan.0's.
Closes PR 12935
2012-08-06 13:00:36 -06:00
Eric Dobson
b95dba9f19
Fix documentation on integer-sqrt/remainder. Closes PR 12971
2012-08-06 12:31:07 -04:00
Robby Findler
8a0b6549a5
adjust the contract error messages to follow the error message
...
conventions in 9.2.1 of the reference (altho the messages do
not yet do the extra level of indenting when a field is too
long, nor are there any field names ending in ...)
Also, fix the docs for the #:stronger argument to
make-contract, make-chaperone-contract, and make-flat-contract
2012-08-05 20:09:09 -05:00
Matthew Flatt
7c9e6d7193
improve port progress-evt guarantees; fix for `read-bytes-evt' et al.
...
A progress evt from a close input port must be initially ready,
and the primitive `peek-bytes-avail!' checks a progress evt
before checking whether the port is closed.
These changes resolve a race in `read-bytes-evt' and related evt
constructors.
2012-08-04 10:19:55 -06:00
Matthew Flatt
f64408fe60
racket/draw: doc clarifications related to `color%'
...
Commit 18883681a2
reordered the methods. Although the convention in
the `racket/draw' manual is to order methods alphabetically,
alphabetical does look strange for `color%', and I've refined the
non-alphabetical order to one I like even more.
2012-08-04 10:19:55 -06:00
Matthew Flatt
f11450d601
scribble/base: generalize `itemlist' to splice/coerce some arguments
...
Also, add a `spliceof' contract constructor to `scribble/decode'.
2012-08-03 13:43:23 -06:00
Matthew Flatt
38ce4997a9
ffi/com: fix potential interaction of finalization and custodians
...
Includes new `#:manage?' optional argument to `make-com-object'
and better management of internally created objects.
Merge to v5.3
2012-08-02 16:29:03 -06:00
Matthew Flatt
1f3f180805
ffi/unsafe/atomic: doc repair
2012-08-02 16:29:02 -06:00
Matthew Flatt
7df91a6148
racket/gui: clarify graphical min size in docs for `text-field%'
...
Closes PR 12959
2012-08-01 09:34:12 -06:00
Vincent St-Amour
800a328fe6
Fix documentation for packages and mutable lists.
...
As suggested by Matthew.
2012-07-31 17:12:30 -04:00
Kevin Tew
6b48d34867
[Distributed Places] added #:thunk and #:named keyword arguments to distributed place creation functions
2012-07-31 11:51:55 -06:00
Matthew Flatt
aa5b1e192c
scribble/sigplan: add guidance for `category', etc.
...
Include the URL to ACM's explanation of how to use categories,
and add some other formatting guidance that is otherwise
difficult to track down.
2012-07-31 07:50:46 -06:00
Robby Findler
b520696d6f
typos
2012-07-30 21:46:22 -05:00
Ryan Culpepper
d19137c998
fix name of function in docs
...
Closes PR 12950
2012-07-28 16:41:08 -04:00
Vincent St-Amour
68260a6c86
Add deprecation notice to the scheme language.
2012-07-27 16:49:05 -04:00
Vincent St-Amour
52439d528b
Move mutable list functions to the compatibility collect.
...
Mutable pair functions from racket/base are not moved.
2012-07-27 16:49:05 -04:00
Vincent St-Amour
ab2226a19e
Add a `compatibility' collect for compatibility with other languages.
...
It includes `defmacro' and Chez-style modules (packages).
2012-07-27 16:49:05 -04:00
Asumu Takikawa
2dcf060774
Move engines from mzlib/thread to racket/engine
...
(they were previously called "coroutines" but
the term "engine" is less ambiguous)
2012-07-26 14:47:29 -04:00
Matthew Flatt
4c3dd00d49
fix `port-commit-peeked' and mid-stream EOFs
2012-07-26 06:14:35 -06:00
Matthew Flatt
11be722a0f
typo
2012-07-25 21:58:18 -06:00
Matthew Flatt
d1048406b5
typo
2012-07-25 21:32:33 -06:00
Matthew Flatt
7d894bfb63
Note require' of a
main' submodule for -t',
-l', and `-p'
...
In the output of `racket -h' and in the command-line docs.
Merge to v5.3
2012-07-25 20:07:23 -06:00
Vincent St-Amour
4933913cd6
Remove documentation for non-existent methods.
2012-07-24 17:22:43 -04:00
Matthew Flatt
5a1bc5ad40
normalize module rename info to vector in ".zo" format
...
This is related to the receent repairs for submodules and
`variable-reference->namespace'.
Merge to v5.3
2012-07-24 07:22:57 -05:00
Asumu Takikawa
2b173612e6
Fix guide description of when
...
Closes PR 12445
Merge to v5.3
2012-07-23 16:00:29 -04:00
Asumu Takikawa
ea1636d4f1
Doc fixes reported by Gary Baumgartner
...
The typo on 'redex.racket-lang.org' still remains.
Relevant to PR 12680
Merge to v5.3
2012-07-23 13:10:05 -04:00
Asumu Takikawa
e0e5f7dd28
Fix GUI doc typo reported by Kieron Hardy
...
Closes PR 12830
Merge to v5.3
2012-07-23 12:53:33 -04:00
James Swaine
f0aaca0dde
Change future visualizer trace collection slightly to be more composable
2012-07-22 20:03:22 -05:00
James Swaine
df54f8460b
Fix future visualizer trace collection when running inside DrRacket
2012-07-22 20:03:21 -05:00
Eli Barzilay
476c270a66
Use a new evaluaor in "for.scrbl", have it require `racket/base' for syntax.
...
Also explicitly close the evaluator used in "block.scrbl".
Closes PR 12931.
2012-07-22 13:38:38 -04:00
Eli Barzilay
18883681a2
Convert all uses of (integer-in 0 255) to `byte?'.
2012-07-22 13:00:05 -04:00
Eli Barzilay
a6b20f01da
Use string-no-nuls?' and
bytes-no-nuls?' in more docs & error messages.
...
Also use `byte?' instead of (integer-in 0 255).
(This commit will most likely require some proof-reading.)
2012-07-22 13:00:05 -04:00
Matthew Flatt
d95ec4d454
fixes for submodules and `variable-reference->namespace'
...
Closes PR 12925
Merge to 5.3
2012-07-22 11:54:46 -05:00
Eli Barzilay
c2fe7c4e35
Quick typo fix.
2012-07-22 10:11:37 -04:00
Robby Findler
df4508573a
adjust the interface reference in drracket for the new view menu
2012-07-21 11:34:13 -05:00
Matthias Felleisen
30cb1ce4f3
fixed minor typo
2012-07-21 11:07:32 -04:00
Asumu Takikawa
3582b57bcc
Move mzlib/defmacro => racket/defmacro
...
With both @bold and @italics warning against its use.
No @blink though.
2012-07-20 16:00:47 -04:00
Matthias Felleisen
6768136144
docs for revised system error message completed
2012-07-20 12:30:30 -04:00
Asumu Takikawa
e14c5d61e9
Allow guards for impersonatable struct type properties
2012-07-19 22:46:14 -04:00
Eli Barzilay
6565538b09
Disable the #:before-first' and
#:after-last' functionality in `add-between'.
...
Leave it working in splicing mode. I prefer doing that over always
splicing them, since that would make a less uniform interface, so I
rather keep all options open. There is no longer a `#:nothing' keyword,
which is the main point of this downgrade.
(See mailing list discussion on "no-argument" for the reason.)
2012-07-18 22:28:41 -04:00
Matthew Flatt
a3b316c02f
typo
2012-07-18 03:52:20 -06:00
Robby Findler
70fac182c6
Add support to the show menu item to make ordering the items
...
simpler.
Use that support to adjust the Show menu to have a better
ordering for the built-in DrRacket items.
2012-07-17 13:07:41 -05:00
Robby Findler
488cfed53a
typo
2012-07-17 13:07:40 -05:00
Matthew Flatt
3ded3934ee
doc fixups for struct' variants in
scheme/unit', etc.
2012-07-17 11:00:46 -06:00