Matthew Flatt
7efcf80856
typo
2010-11-30 15:08:16 -07:00
Matthew Flatt
64979a5480
further refinments to the ephemeron description
2010-11-30 09:32:58 -07:00
Jon Rafkind
cf3b9680ba
remove 0 arg set-union. add workaround to docs
2010-11-29 00:34:57 -07:00
Robby Findler
62f3d7e254
tried to clarify the ephemeron docs by setting the stage for the precise definition that was already there a little bit.
2010-11-28 16:06:09 -06:00
Matthew Flatt
f88735ef20
fix typo
2010-11-28 08:01:06 -07:00
Matthew Flatt
68391fe2ea
reorganize racket/gui docs and expand canvas-drawing overview
2010-11-27 20:05:20 -07:00
Matthew Flatt
e20b411712
explain gracket a bit better in the Guide
2010-11-27 18:54:32 -07:00
Matthew Flatt
57f0fe8414
fix reference description of GRacket
2010-11-27 18:47:49 -07:00
Matthew Flatt
5c89df2f7f
Revise places docs to fit the reference-manual style
2010-11-27 18:34:33 -07:00
Matthew Flatt
af318c4501
move racket/draw overview back to the racket/draw manual
...
but keep expanded roadmap of drawing and GUI libraries
2010-11-27 17:48:09 -07:00
Matthew Flatt
c92a6b0e3d
fix long line
2010-11-27 16:39:25 -07:00
Matthew Flatt
8b3165d55b
move racket/draw overview to the Guide and expand it
...
--- plus some minor collateral API improvements
2010-11-27 16:34:32 -07:00
Matthew Flatt
430d45b471
doc correction
...
Closes PR 11465
2010-11-27 08:28:57 -07:00
Matthew Flatt
e97414b7bf
bitmap% convertible to 'png-bytes; more Scribble Latex; pict in Slideshow docs
2010-11-27 07:36:12 -07:00
Matthew Flatt
cb3a48ab2b
convert "quick" document to mostly use picts directly in examples
2010-11-26 20:40:43 -07:00
Matthew Flatt
0f86dc15af
scribble: render `pict' content directly
...
--- actually, any value that is convertible to PNG/PDF
2010-11-26 20:40:43 -07:00
Matthew Flatt
abcaa1775c
add width' and
height' arguments to post-script-dc% and pdf-dc%
...
and document the change that the PS bounding box is no longer
inferred from drawing operations
2010-11-26 20:40:43 -07:00
Matthew Flatt
1b56d84155
have the pict datatype support conversion to PNG, EPS, or PDF bytes
2010-11-26 11:50:07 -07:00
Matthew Flatt
7cb15899ae
add `output' argument to post-script-dc% and pdf-dc% for a byte string
...
insteda of writing to a file
2010-11-26 11:47:24 -07:00
Matthew Flatt
f73e8c31e8
doc contract fix
2010-11-26 11:31:38 -07:00
Matthew Flatt
2edadd6113
add pdf-dc%; make slideshow/pict depend on racket/draw, not racket/gui
2010-11-26 10:35:05 -07:00
Matthew Flatt
8e8844641c
fix `draw-bitmap-section-smooth' method of bitmap-dc<%>
2010-11-25 11:00:32 -07:00
Matthew Flatt
e9562a8ddc
Revert "Fixing use and documentation of draw-bitmap-section-smooth"
...
because the implementation is wrong, not the documented contract
This reverts commit 68051f845a
.
2010-11-25 10:40:06 -07:00
Jay McCarthy
68051f845a
Fixing use and documentation of draw-bitmap-section-smooth
2010-11-25 11:47:02 -05:00
Matthew Flatt
820e832853
add 'close-button style to dialog%; fix cocoa default frame placement
2010-11-25 08:03:33 -07:00
Matthew Flatt
bd28f2ab54
make `equal?' equate C pointers that refer to the same address
2010-11-24 13:41:11 -07:00
Matthew Flatt
2f4c782434
doc typos
2010-11-24 12:02:46 -07:00
Matthew Flatt
f245b6ca29
fix bitmap% load-file' method and remove
{get,set}-gl-config'
...
Closes PR 11460
2010-11-24 06:08:44 -07:00
Vincent St-Amour
e64f8be932
Fix open-input-output-file doc. Closes PR 11371.
2010-11-23 14:15:04 -05:00
Robby Findler
860de6358c
brought the preferences dialog description up to date with reality.
...
closes PR 11453
2010-11-21 07:39:12 -06:00
Robby Findler
747c735eb3
adjusted scribble's sigplan setup so that the times.sty and qcourier.sty packages can be disabled.
2010-11-19 17:57:13 -06:00
John Clements
b2edac3179
edited async-apply description
2010-11-16 17:56:13 -08:00
Eli Barzilay
b8bbed6eb4
Throw an error when translating an unknown enum integer to a symbol.
...
Also, add a keyword argument that can be used to get the old behavior
back.
Also, improve the way the `_enum' and `_bitmask' functions are wrapped.
2010-11-16 15:19:38 -05:00
Eli Barzilay
d2b1bf73e0
A little better prose style
2010-11-16 14:58:52 -05:00
Eli Barzilay
7cf81b5668
Clarify that `current-memory-use' gets a result calculated by the last
...
GC, and will return 0 if no GCs happened.
2010-11-16 14:47:01 -05:00
Eli Barzilay
afa8e6c86b
Add `get-user-custodian' to the sandbox.
2010-11-16 14:47:01 -05:00
Sam Tobin-Hochstadt
82437faa18
Fix docs.
2010-11-16 14:02:47 -05:00
Sam Tobin-Hochstadt
2dbbd1b58e
Add @onecolumn option to scribble/sigplan
2010-11-16 12:38:48 -05:00
Matthew Flatt
a8b318da7a
fix ffi issue with pointer vs. gcpointer
...
- don't put a non-gcpointer into a pointer array during ffi call setup
- fix GCness of pointers to structs inside of structs
2010-11-14 15:54:17 -07:00
Matthew Flatt
0ac5ff9be0
fix doc typo
2010-11-12 15:28:57 -07:00
Eli Barzilay
5c1bd77b9e
Add shuffle' to
racket/list'.
2010-11-12 17:21:11 -05:00
Eli Barzilay
c1e1c70dcf
Allow optional arguments with default in `cmdline', updated docs.
2010-11-12 17:21:11 -05:00
Jon Rafkind
86d7fd5d0c
microseconds not nano
2010-11-11 15:46:45 -07:00
Jon Rafkind
c17cf8db71
note about milliseconds and nanoseconds
2010-11-11 15:28:04 -07:00
Robby Findler
5a9c469b0f
added forall to go along with exists contracts
2010-11-11 14:39:43 -06:00
Matthew Flatt
8d1827222c
improve docs in 'interior allocation mode and improve 'interior-atomic
2010-11-10 09:18:31 -07:00
Eli Barzilay
8e0c7477f6
drop "www." from "racket-lang.org" urls.
2010-11-09 20:11:14 -05:00
Matthew Flatt
90ac279096
add 'can-impersonate option to `make-struct-type-property'
2010-11-08 14:00:59 -07:00
Matthew Flatt
7f67b6569c
v5.0.99.2: proxy' ->
impersonator'
2010-11-08 06:23:16 -07:00
Matthew Flatt
3b470fe47b
small doc improvements on internal definitions
2010-11-07 19:21:03 -07:00
Robby Findler
c192a1e1f8
fixed bugs in the racket/trace docs (added docs for two exported parameters and fixed a contract)
2010-11-07 15:31:18 -06:00
Robby Findler
a63bbf82ab
added current-trace-results
2010-11-07 15:31:18 -06:00
Matthew Flatt
fe208c63bd
add some missing bitmap% and dc<%> docs
2010-11-07 07:14:59 -07:00
Matthew Flatt
e402d68efc
fix `find-graphical-system-path'
2010-11-07 07:08:33 -07:00
Matthew Flatt
ba2ea79f12
fix and document failure handling of image reading in bitmap%
2010-11-07 06:50:52 -07:00
Matthew Flatt
cccfdbe2c4
misc clean-up related to build changes
2010-11-06 22:08:15 -06:00
Matthias Felleisen
28fc8a3eef
fixed the documentation of contracts-first-extended, added code examples
2010-11-06 10:19:24 -04:00
Matthias Felleisen
c83cf15695
fixed some typos, and in the process rewrote some prose
2010-11-06 10:19:24 -04:00
Matthew Flatt
694745e998
first cut at splitting draw and gui docs
2010-11-05 21:57:13 -06:00
Matthew Flatt
601b411671
fix release-note link and version
2010-11-05 15:54:57 -06:00
Matthew Flatt
263000a7b8
v5.0.99.1
2010-11-05 15:54:56 -06:00
Matthew Flatt
39596efef5
cocoa and gtk: fix combo% `on-popup' method
2010-11-05 15:54:56 -06:00
Matthew Flatt
b9f3957a76
gtk and cocoa: add flush method to canvas% and fix periodic flush
2010-11-05 15:54:55 -06:00
Matthew Flatt
0b96d7b326
link porting notes from release-notes doc page
2010-11-05 15:54:51 -06:00
Matthew Flatt
05cfffdf9e
v5.4.99.1, executable-yield-handler', and
make-bitmap' etc.
2010-11-05 15:54:50 -06:00
Matthew Flatt
d7f1d12ea1
clean up
2010-11-05 15:54:49 -06:00
Matthew Flatt
40a65a46d2
overhaul GC finalization
2010-11-05 15:54:47 -06:00
Matthew Flatt
dee93e6259
define-runtime-module-path-index and racket/gui/dynamic fixes
2010-11-05 15:54:46 -06:00
Matthew Flatt
a7426c1c27
cocoa: fix startup -psn_ and file handling
2010-11-05 15:54:46 -06:00
Matthew Flatt
75a6bfe119
improve runtime-path support for building stand-alone gui exes
2010-11-05 15:54:44 -06:00
Matthew Flatt
881c182956
editor insert-image uses alpha by default
2010-11-05 15:54:44 -06:00
Matthew Flatt
674d2e5248
fix save-file and get-argb-pixels for screen bitmaps
2010-11-05 15:54:43 -06:00
Matthew Flatt
16b34c236a
gtk: misc fixes
2010-11-05 15:54:41 -06:00
Matthew Flatt
0a47a81aba
`make-gl-bitmap' for cocoa and maybe gtk
2010-11-05 15:54:38 -06:00
Matthew Flatt
1bddb120f9
cocoa: opengl canvases
2010-11-05 15:54:37 -06:00
Matthew Flatt
1dd3c8accb
gtk: try fullscreen
2010-11-05 15:54:32 -06:00
Matthew Flatt
6b606cb4e2
canvas scroll and gauge range limit to 1000000
2010-11-05 15:54:30 -06:00
Matthew Flatt
5ebfa781bd
screen dc corrections and clarifications
2010-11-05 15:54:27 -06:00
Matthew Flatt
51aacfe949
add make-screen-bitmap and canvas% make-bitmap; specialize for X11
2010-11-05 15:54:26 -06:00
Matthew Flatt
bff39a1832
fix gtk collecting blit to revert immediately when gc ends
2010-11-05 15:54:26 -06:00
Matthew Flatt
4bd84adb3a
add dc<%> copy method; speed text drawing a little and implement but disable editor scrolling with dc<%> copy
2010-11-05 15:54:25 -06:00
Matthew Flatt
79728fad59
update docs for `register-collecting-blit'
2010-11-05 15:54:24 -06:00
Matthew Flatt
8da4bbd52d
fix key-event problem and implement mouse wheel for Cocoa
2010-11-05 15:54:23 -06:00
Matthew Flatt
ae05eddf14
generalize editor selection mechanism to support Windows style
2010-11-05 15:54:19 -06:00
Matthew Flatt
16f15b0cad
postscript-dc% interactive and landscape
2010-11-05 15:54:10 -06:00
Matthew Flatt
c42d95216e
auto-scroll canvases and frame status lines
2010-11-05 15:54:10 -06:00
Matthew Flatt
06a47a3c54
get-transformation, etc. methods on dc<%>
2010-11-05 15:54:09 -06:00
Matthew Flatt
2631853a28
notes and docs
2010-11-05 15:54:09 -06:00
Matthew Flatt
e0a2a66dc8
fix region bounding-box and hit-test; catch up docs
2010-11-05 15:54:08 -06:00
Matthew Flatt
af4ccd2de1
fix bitmap-related docs
2010-11-05 15:54:08 -06:00
Matthew Flatt
4134b06b4c
bitmap and dc docs up to date
2010-11-05 15:54:05 -06:00
Eli Barzilay
9a485064ed
Clarify comment re `fixnum?' non-use at the syntax level, and add a note
...
to the `fixnum?' documentation.
2010-11-05 01:48:23 -04:00
Eli Barzilay
84ec108c32
Make the disabled places comment more prominent.
2010-11-05 01:34:27 -04:00
Jon Rafkind
7f56e677f4
add line number interface documentation
2010-11-03 15:09:04 -06:00
Vincent St-Amour
c990d602b0
Typo in the syntax-model docs.
2010-11-03 12:52:57 -04:00
Casey Klein
bd0ebc7511
Adds auto-completion to LaTeX and TeX inspired keybindings
2010-11-02 22:34:05 -05:00
Jon Rafkind
32bd5c9f5f
document line-numbers-mixin
2010-11-01 22:14:45 -06:00
Eli Barzilay
3160f821a5
Reorganize the POSIX entries in a more logical order, fix [:lower:] and
...
[:print:].
Fixes PR 11333.
2010-11-01 15:16:13 -04:00
Eli Barzilay
3bd84c617a
Describe Unicode categories, move them to a separate table.
...
Also, use litchar on mentions of \-escapes and unicode categories on the LHS.
Closes PR 9424.
2010-11-01 08:25:35 -04:00
Eli Barzilay
aff75b5005
Some racketization and scribble-syntax-ization, general improvements.
...
(No changes in the output page after this commit, except for one bogus
empty line at the beginning of the types table.)
2010-11-01 08:25:35 -04:00
Matthew Flatt
aa7c4b53d9
add `codeblock' to Scribble
2010-10-31 07:09:27 -06:00
Jay McCarthy
17f1230bba
Reenabling demod docs
2010-10-30 13:11:29 -06:00
Blake Johnson
199a63772a
scrbl file and longer command name
2010-10-30 12:49:27 -06:00
Jay McCarthy
83272e88d4
Fixing stupidity until the doc is available
2010-10-29 21:36:34 -06:00
Blake Johnson
783418ce37
only creating zo file
2010-10-29 19:50:12 -06:00
Ryan Culpepper
454673ddcc
Documented set-count
...
Closes PR 11093
2010-10-29 16:00:43 -06:00
John Clements
cbe42caa41
added clarification on protect-out docs
2010-10-29 12:43:52 -07:00
Robby Findler
a021403679
tightened the contract on read-snip
2010-10-28 11:32:14 -05:00
Matthias Felleisen
e7f042f09f
Contracts for more than (simple) types
2010-10-27 18:08:44 -04:00
Jon Rafkind
f21a15aef1
add some examples for port functions
2010-10-27 12:39:21 -06:00
Jon Rafkind
5633895cf0
add notes about reading entire ports
2010-10-27 12:07:36 -06:00
Matthew Flatt
5d8e000d6d
swap vector*-ref' and
vector-ref', etc.
...
Merge to 5.0.2
2010-10-25 11:22:35 -06:00
Matthew Flatt
51d613aab2
doc improvements
2010-10-22 20:15:38 -06:00
Eli Barzilay
9e302a7106
Rename sequence' library to
stream', move from racket/base' to
racket'.
2010-10-21 19:49:39 -04:00
Eli Barzilay
2f5265854a
Rename seqn-*' to
stream-*'.
...
Later this will grow, to include a few kinds of streams in a unified
way, and possibly change the sequence protocol to a point where these
functions are not causing such big runtime penalties.
2010-10-21 19:49:39 -04:00
Eli Barzilay
655b066a93
Reformat, minor tweaks, reorganize part on sequence operations into a
...
new section.
2010-10-21 19:49:39 -04:00
John Clements
bb160fbc04
r/exact-integer?/fixnum/
2010-10-17 21:17:23 -07:00
John Clements
9f7eeee570
exr -> expr
2010-10-17 21:17:22 -07:00
Robby Findler
3e9858b001
added an argument to open-input-text-editor so that it can lock (and unlock) the editor when editing would not be allowed.
2010-10-13 15:55:17 -05:00
Robby Findler
fc22d10b49
fixed typos
2010-10-13 15:55:17 -05:00
Eli Barzilay
615d8f1329
Add _intptr etc; closes PR11311.
2010-10-12 20:58:08 -04:00
Matthew Flatt
99df8e1267
allow internal definitions in when',
unless', cond,
case', `match'
2010-10-12 06:41:49 -06:00
Eli Barzilay
40ecda1a77
Sandboxes make up and remember a reasonable default source to filter
...
uncovered expressions on.
(See http://lists.racket-lang.org/users/archive/2010-October/042008.html
for a detailed description.)
2010-10-11 15:07:28 -04:00
Matthew Flatt
cc79890f71
rephrase `eq-hash-code', etc. docs in terms of fixnums
2010-10-10 20:39:29 -06:00
Matthew Flatt
696360d5f3
document new gc-callback protocols
2010-10-10 20:39:29 -06:00
Matthew Flatt
a0e4eb990d
document racket/fasl
2010-10-09 08:15:26 -06:00
Matthew Flatt
6ac33a62be
set `read-accept-lang' to #t by default, plus related adjustments
...
including adding some uses of `with-module-read-parameterization'
so that `read-accept-lang' is set right anyway; still, so many
many places just set `read-accept-reader' to #t that making
`read-accept-lang' #f by default looks like too big of an
incompatibility
2010-10-08 19:01:33 -06:00
Matthew Flatt
fe301b1ff4
print-boolean-long-form, #true, #false, read-accept-lang, flonum?
2010-10-08 15:13:04 -06:00
Matthew Flatt
281f935503
doc tweak
2010-10-07 17:00:51 -06:00
Matthew Flatt
65ad6aee20
fix `touch' to run a suspended future in the runtime thread
...
if no future thread is running the future; also adjust the
policy for suspending a future so that even synchronized
operations can suspend if there's other work to be done;
also also fix `current-future' for nested `touch'es and when
parallel futures are disabled
2010-10-07 14:58:53 -06:00
John Clements
e94163f37a
it's -> its
2010-10-05 21:09:17 -07:00
Ryan Culpepper
e3eba452b4
updated dict docs
2010-10-04 11:54:03 -06:00
Ryan Culpepper
ee157ae239
commented out incomplete dict/contract docs
2010-10-04 11:54:03 -06:00
Matthew Flatt
4b120e5d86
add `proxy-prop:application-mark'
2010-09-29 12:26:46 -04:00
Matthew Flatt
337ace3847
add u8vector->cpointer for consistency; document ->cpointer, etc.
2010-09-27 06:08:58 -04:00
John Clements
c0e34a7166
minor doc update to ffi/cvector
2010-09-25 17:19:03 -07:00
Matthew Flatt
c1aa594657
add fvectors and unsafe-{s,u}16-{ref,set!}
2010-09-24 16:32:07 -06:00
Robby Findler
7dbb287601
make bugs like that in PR 11241 easier to diagnose / see by turning
...
the hang into a dialog.
2010-09-23 06:25:21 -05:00
Robby Findler
d55932e3df
Adjusted the 'clear error highlight' menu item so it clears the coverage annotations too.
2010-09-21 15:08:12 -05:00
James Swaine
bd799c3db9
Small corrections to the futures documentation.
2010-09-21 11:15:50 -05:00
Eli Barzilay
ee138cf2cb
Some repeated "and and"s and "the the"s, and two more typos.
...
Closes PR 11229.
2010-09-20 15:38:18 -04:00
Matthew Flatt
aac7e0b58a
extend invalidate-bitmap-cache' in
editor<%>' with 'display-end option
...
which the framework's background-rectangle implementation can use
to queue refreshes for changing rectangles, instead of requiring a
full-canvas refresh
2010-09-19 19:22:22 -06:00
Matthew Flatt
fd285baeac
fix documented canvas-scroll limits
2010-09-18 19:52:40 -06:00
Matthew Flatt
3866c3e450
generalize `flvector-copy' to support start and end indices
2010-09-17 13:35:01 -06:00
Will M. Farr
beb2175456
Added flvector-copy (with tests and docs).
2010-09-17 13:35:01 -06:00
Matthew Flatt
232a580e53
add prop:proxy-of'; Fix
chaperone-of' on keyword-accepting procedures
2010-09-17 08:55:46 -06:00
Jay McCarthy
01a41a812e
Closing pr11216. Adding one armed check-error to teaching languages.
...
[It will not bother me if we revert this commit. I liked SK's idea and found it easy to implement. I wonder if others will be worried that it is easy to unintentionally leave off the second argument to check-error. I also wonder if it is problematic to add new string constants, like I've done.]
Here is an example:
(check-error (/ 1 0) "/: division by zero")
(check-error (/ 1 0) "divide by zero")
(check-error (/ 1 0))
(check-error 1)
Here is the output:
Ran 4 tests.
2 of the 4 tests failed.
No signature violations.
Check failures:
check-error encountered the following error instead of the expected divide by zero
:: /: division by zero
in ex.rkt, line 2, column 0
check-error expected an error, but instead received the value 1.
in ex.rkt, line 4, column 0
2010-09-16 21:00:05 -06:00
Stevie Strickland
2c940a7fd0
Alter the documentation for vector contracts to match the new implementations.
2010-09-16 15:04:41 -04:00
Stevie Strickland
c8737d5615
Separate out vector-related contract combinators into a new file.
2010-09-16 15:04:41 -04:00
Blake Johnson
c88eb704c7
removing indirects from zo handling
2010-09-16 12:45:37 -06:00
Stevie Strickland
fce93a2d98
Altering the box/c and box-immutable/c documentation.
2010-09-15 17:17:38 -04:00
Stevie Strickland
b8fb6dae9a
Initially just move the box-related combinators to a new location.
2010-09-15 16:53:18 -04:00
Stevie Strickland
a838fa0606
Fixing the docs for the new hash/c combinator.
2010-09-15 15:04:27 -04:00
Stevie Strickland
f5b62ececd
Separate out hash/c code into a separate module.
2010-09-15 11:22:57 -04:00
Stevie Strickland
a1c188ae74
Add appropriate documentation for the new chaperone contract forms.
2010-09-15 10:11:10 -04:00
Matthew Flatt
a5c7d4f5f8
add scheme_get_place_table()
2010-09-14 09:35:44 -06:00
Matthew Flatt
cb09dfbdd3
add another protocol to scheme_add_gc_callback()
2010-09-14 09:21:57 -06:00
Matthew Flatt
3e5c7fefdd
add scheme_add_gc_callback() hook for gc notification in a way that lets you describe a foreign function to call without allocating or the call; the allowed protocols are contrained and ad hoc, but it will be enough for GRacket2
2010-09-14 09:21:47 -06:00
Jay McCarthy
43d527818e
Fixing pr11196 and fixing bug in hash-eqv serialization
2010-09-13 10:44:21 -06:00
Blake Johnson
3433af0a30
fixing pr11175, added only-rest-arg-not-used flag
2010-09-10 14:46:04 -06:00
Blake Johnson
5ded2b9e5f
fixing pr11130
2010-09-10 14:46:04 -06:00
Blake Johnson
170ab47dc2
fixing pr11036 by adding plain certificates
2010-09-10 14:46:04 -06:00
Blake Johnson
4e2f0f262f
updating docs to include zo supertype
2010-09-10 14:46:04 -06:00
Matthew Flatt
ff9b535dc6
fix hash proxying in the case that proxied key has no value
2010-09-10 12:46:58 -06:00
Matthew Flatt
17cdb9eb3b
move #:alignment option for `define-cstruct' to end
...
to make it consistent with options for `struct' and `define-struct'
2010-09-10 08:06:41 -06:00
Matthew Flatt
6ac15688b2
add alignment option to ffi's cstruct support
2010-09-10 06:59:52 -06:00
Sam Tobin-Hochstadt
dca895c129
Minor edits to `for/vector' docs.
2010-09-09 17:08:09 -04:00
Will M. Farr
81b1ed6e8b
New updates to for/vector, for*/vector, for/flvector and for*/flvector.
...
Now use for/fold to thread the index through the iteration form, so
that all variants can take advantage of the optional #:length
argument. Previously, only the for/vector and for/flvector used the
The behavior when #:length does not match the number of iterations has
changed: iteration stops when either the vector is full, or the
requested number of iterations has been achieved, whichever comes
first. If #:length is larger than the number of iterations performed,
then the remaining slots in the vector are filled with the default
argument of (make-vector ...), which is currently 0.
2010-09-09 16:23:04 -04:00
Will M. Farr
3d016150a3
Updates to for/vector, for/flvector forms and documentation.
...
- Now the faster forms take a #:length keyword to designate the length
of the vector to pre-allocate.
- The for/[fl]vector forms take multiple body expressions and set the
vector component to the value of the last one.
- When given a #:length argument, the for/vector and for/flvector
forms check that the iteration is not exceeding the given length,
raising exn:fail if it does.
- Test cases for the multiple body expressions and the exception for
excessive iterations have been added.
- Doc modifications to bring the docs in line with the new forms.
- Doc modifications to note that the #:length versions of the form
*may* all the computation to be performed more efficiently, and
stating that it "is an error" if the given length-expr does not
produce a valid length for a vector that matches the number of
iterations for the loop.
- Note that no test is made for a number of loop iterations that is
smaller than the given vector length. Also, the for*/[fl]vector
forms do not optimize when given a #:length argument. These are
areas for future improvement.
2010-09-09 16:22:53 -04:00
Robby Findler
2d1c4d1601
adjusted the guide to use ->i instead of ->d
2010-09-09 14:21:35 -05:00
Robby Findler
5e04a5c6d9
When opening a new window where the language is one of the htdp languages (via the
...
language dialog, not the #lang htdp/* variants), teachpacks are put into the
initial REPL (instead of just having the language primitives).
closes PR 11160
2010-09-04 19:37:02 -05:00
Robby Findler
1fa6be75b5
added image->color-list and color-list->bitmap
2010-09-04 13:52:49 -05:00
Robby Findler
d5a3e08131
added docs for the check syntax / contract system interaction
2010-09-04 11:18:39 -05:00
Robby Findler
365a1275ce
minor changes
2010-09-02 17:13:05 -05:00
Kevin Tew
55674e8427
Places: docs fixes
2010-09-02 12:25:27 -06:00
Robby Findler
4c35af2eef
added a note about how the max width is remembered in the splash screen
2010-09-01 14:39:16 -05:00
Robby Findler
70ea262426
duh
2010-09-01 14:27:35 -05:00
Robby Findler
44753bc690
adjusted the splash screen code so that the christmas day easter egg is optional (defaultly off)
2010-09-01 13:23:18 -05:00
Robby Findler
12ab498977
added docs for the splash screen library in the framework
2010-09-01 13:23:18 -05:00
Matthew Flatt
69658697b1
add proxies and rename chaperone properties to proxy properties
...
where a proxy is less constrained in its conversions but more
constrained in where it can be used
2010-08-31 19:15:20 -06:00
Matthew Flatt
76c3c76214
fix yet more ss<->rkt problems that interfered with *SL executables
...
Closes PR 11106
2010-08-30 14:35:18 -06:00
Matthew Flatt
8c2ba47fa5
move style guide up a section (to its own page)
2010-08-30 14:35:18 -06:00
Matthew Flatt
c1bf118cb5
new guidance in the documentation style guide
2010-08-30 14:35:17 -06:00
Matthew Flatt
e13effd07c
adjust 'configure-runtime index entry
2010-08-30 14:35:15 -06:00
Kevin Tew
bc5d1c2011
Places: added shared-flvector and shared-byte string
2010-08-30 08:50:07 -06:00
Robby Findler
9b657ad53a
added an index entry for configure-runtime
2010-08-29 15:10:08 -05:00
John Clements
c636aeb840
added docs for 'type' argument to memset
2010-08-27 16:42:32 -07:00
Robby Findler
7233e07ec5
typos
2010-08-27 14:30:05 -05:00
Eli Barzilay
8e0f8dd39c
More "~n" -> "\n" changes
2010-08-26 12:11:00 -04:00
Eli Barzilay
2853020369
A bunch of typo fixes.
...
Fixes PR11131.
2010-08-26 12:11:00 -04:00
Matthew Flatt
2a387ebba2
try to clarify the async-apply protocol for callbacks
2010-08-25 14:58:27 -06:00
Matthew Flatt
a04403a316
add GMT option to seconds->date
2010-08-25 14:58:27 -06:00
Matthew Flatt
a19899898f
change Scribble's interaction', etc. to use non-default
current-print'
...
to format results, if one is installed in a sandboxed evaluator
2010-08-24 20:50:46 -06:00
Matthew Flatt
68860526e5
doc x-ref clarifications
2010-08-24 05:39:47 -06:00
Matthew Flatt
434236e8c9
doc typo
2010-08-24 05:39:47 -06:00
Jon Rafkind
65c245cdc7
move purpose statements to the info files
2010-08-23 15:13:00 -06:00
Jon Rafkind
bdf98ebbe2
add README files for scribble directories
2010-08-23 10:06:45 -06:00
Robby Findler
46e9a3b79b
improved the image docs slightly
2010-08-21 15:07:43 -05:00
Robby Findler
7c3b8eadf8
adjusted the default code keywords to include racket/base
2010-08-20 09:19:14 -05:00
Will M. Farr
82096abb1b
Added interation forms for/vector, for*/vector, for/flvector, and for*/flvector and for-clause in-flvector.
2010-08-19 18:45:13 -04:00
Matthew Flatt
eb584b4ecd
fix docs for tcp-addresses and udp-addresses
2010-08-19 16:13:50 -06:00
Matthew Flatt
5d584e5d26
doc typo
2010-08-19 13:21:59 -06:00
James Swaine
1a2c0546a6
current-future now returns #f if not inside a future, instead of null. Added documentation for current-future.
2010-08-19 09:36:25 -05:00
Matthew Flatt
dafb9de74c
add #:reflection-name option to struct form
2010-08-18 16:13:58 -06:00
Matthew Flatt
4299b12d5b
fix pretty-print problems, especially related to the custom-write property
2010-08-18 16:13:57 -06:00
Robby Findler
2faca724e3
generalized the #:steps argument to play so different phases on an animation can take different amounts of time
2010-08-18 16:58:58 -05:00
Matthew Flatt
4945851df6
doc clarification
2010-08-17 17:42:11 -06:00
Matthew Flatt
0d9f5016ba
fix bytecode-writing inconsistencies related to syntax objects and paths
...
and improve organization of the docs
2010-08-17 17:18:24 -06:00
Matthew Flatt
9c0c42f24a
fix ffi/unsafe/try-atomic interaction with exns and prompt tags
2010-08-15 11:02:30 -06:00
Matthew Flatt
9dda6f5d6b
doc clarification
2010-08-14 13:52:09 -06:00
Vincent St-Amour
477dc43a9d
Fixed typoes in the slideshow documentation.
2010-08-13 18:48:33 -04:00
Jay McCarthy
58b9c7a6e4
Fixing seqn-count
2010-08-13 15:06:14 -06:00
Robby Findler
a10cd9d14d
improved the ->* docs
2010-08-13 09:54:51 -05:00
Robby Findler
120e6a25ee
added #:pre and #:post to ->*
2010-08-13 07:05:27 -05:00
Jay McCarthy
553648a5a6
Dropping _0
2010-08-12 19:51:05 -06:00
Jay McCarthy
fae0cb2c99
A few fixes to the documentation
2010-08-12 14:10:20 -06:00
Jay McCarthy
8c32de33c6
Adding sequence support for mlists and more sequence xrefs
2010-08-12 14:10:20 -06:00
Jay McCarthy
383465aa06
Removing reference to sequence/c
2010-08-12 14:10:20 -06:00
Jay McCarthy
2751ace762
Adding more sequence operators
2010-08-12 14:10:19 -06:00
Jay McCarthy
3fe91f0fdd
Adding vector-set* and dict-set* exn tests
2010-08-12 14:10:19 -06:00
Jay McCarthy
d047557dc6
Adding dict-has-key? and updating unstable
2010-08-12 14:10:18 -06:00
Jay McCarthy
bdc26b53bb
Adding dict-ref bang
2010-08-12 14:10:18 -06:00
Jay McCarthy
2d1787a309
Add dict-set*
2010-08-12 14:10:18 -06:00
Jay McCarthy
a8fc09b49a
Adding dict-keys,values,->list
2010-08-12 14:10:18 -06:00
Jay McCarthy
f23daa3aea
Rename hash-range and domain to keys and values
2010-08-12 14:10:17 -06:00
Kevin Tew
1ebdb6a90b
Places: remove old code
2010-08-12 13:27:15 -06:00
Jay McCarthy
e06f0e78b2
Adding hash-set* and hash-set*bang
2010-08-11 17:39:48 -06:00
Jay McCarthy
fadfee7849
Normalizing docs a little
2010-08-11 16:49:04 -06:00
Jay McCarthy
58ad011ce9
Adding hash->list
2010-08-11 16:42:46 -06:00
Jay McCarthy
db87add6b7
Adding hash-domain and hash-range to racket/base
2010-08-11 16:37:46 -06:00
Matthew Flatt
2f9431552e
fix typo
2010-08-11 10:29:49 -06:00
Robby Findler
367779fd27
added contract-struct (like define-contract-struct, but with a
...
maker whose name does not begin with 'make-')
2010-08-10 22:20:33 -05:00
Sam Tobin-Hochstadt
02d9418f9a
document match*
2010-08-10 15:56:15 -05:00
Matthew Flatt
6c8a914c80
support for speculatively atomic calls in ffi/unsafe/try-atomic
2010-08-07 20:49:23 -05:00
Matthew Flatt
4d1e97ec8d
change start-atomic and end-atomic to disable breaks
2010-08-07 20:40:32 -05:00
Robby Findler
88aafb52eb
clarified the order of evaluation for contract expressions in ->i
2010-08-07 14:35:07 -05:00
Robby Findler
c1b558e1a3
adjusted the syntax of ->i so that #:post and #:pre get a list of variables now
2010-08-07 14:35:06 -05:00
Robby Findler
64a1ddcda9
adjusted the syntax for ->i so that #:rest is not ambiguous anymore (added extra parens, deviating from ->d a little bit) and updated the test suite
2010-08-07 14:35:05 -05:00
Robby Findler
3c70b9d2ab
improved docs for ->i, added docs for the-unsupplied-arg and exported
...
and added docs for unsupplied-arg?.
2010-08-07 14:35:04 -05:00
Robby Findler
a524595af2
docs for ->i
2010-08-07 14:35:04 -05:00
John Clements
f86edf3c8e
added message about OS behavior on (non-)reload of library
2010-08-06 20:44:14 -04:00
Kevin Tew
35a65f90c2
Places: refactor place-channel use
2010-08-05 11:05:54 -06:00
Blake Johnson
9f571acb2d
documentation for free-id-info and contract changes.
2010-08-03 15:40:41 -06:00
Matthew Flatt
656321dbcb
add optional #:key' argument to
tech' and `techlink'
...
to specify the defined technical term separate from the link content
2010-08-03 12:48:03 -06:00
Matthew Flatt
c8762ae877
add methods to text-field% to control the background color
2010-08-03 12:34:16 -06:00
Blake Johnson
85fc01f693
documentation for zo-parse certificate information
2010-07-30 14:37:17 -06:00
Matthew Flatt
78751b982a
fix doc typo
2010-07-29 06:56:30 -05:00
Matthew Flatt
33e3dac94e
add example to scribble/bnf docs
2010-07-29 06:56:30 -05:00
Robby Findler
f8f3ddbc94
typo. closes pr 11052
2010-07-27 14:38:43 -05:00
Eli Barzilay
f46144d5d3
reader examples typo
2010-07-27 10:15:40 -04:00