Matthew Flatt
9e9a3ef814
fix `regexp-match-exact?' to work on paths, drop ports from docs
...
Closes PR 11213
2011-01-08 10:29:32 -07:00
Matthew Flatt
f624ebdf20
doc repair
...
Closes PR 11215
2011-01-08 10:29:31 -07:00
Matthew Flatt
e6fd878e14
doc `Secref'
...
Closes PR 11309
2011-01-08 10:29:31 -07:00
Matthew Flatt
8d15718188
fix typo
...
Closes PR 11061
2011-01-08 10:29:31 -07:00
Matthew Flatt
9417beb7bd
gtk: get-file' and
put-file' replace "*.*" filter with "*"
...
Closes PR 11593
2011-01-08 10:29:31 -07:00
Stevie Strickland
9ffb204682
Rename instanceof' to
instanceof/c'.
2011-01-08 11:24:25 -05:00
Matthew Flatt
d4e3d42d19
make `message-box' and variants work when called for a non-handler thread
...
This could be done to many other dialogs, but it seems especially
worthwhile for `message-box'.
Closes PR 11601.
2011-01-07 17:59:26 -07:00
Stevie Strickland
92775c5e4e
Add instanceof.
...
The instanceof contract combinator takes a class contract. The resulting
contract protects objects using the external field and method contracts
in the class contract.
2011-01-07 18:22:24 -05:00
Matthew Flatt
d6fc7da750
add refresh-now' to
canvas%'
...
--- this method doesn't have to be built in, but it
encapsulates a common and not-too-obvious pattern
2011-01-07 14:19:35 -07:00
Matthew Flatt
a5660f38eb
document weak reference by `notify-on-change'
2011-01-07 13:02:11 -07:00
Matthew Flatt
be6ba896e0
repairs for line numbers in DrRacket
2011-01-07 11:57:50 -07:00
Matthew Flatt
551a43d759
use scribble/manual for easier PDF rendering
2011-01-07 09:48:04 -07:00
Matthew Flatt
21d324a169
Scribble soft-hyphen support for Latex rendering; ?-' in
scribble/base'
2011-01-07 09:48:03 -07:00
Matthew Flatt
315fdf071a
better Scribble support for disabling line breaks
...
- make 'no-break element style work consistently
- document 'no-break
- add `nonbreaking' to `scribble/base'
2011-01-07 09:48:03 -07:00
Matthew Flatt
8f23d9dc1a
fix reference hyphen and some abbreviations
2011-01-07 09:48:03 -07:00
Matthew Flatt
163d10cab3
Scribble LaTeX rendering of non-breaking hyphen; add ~' and
-~-'
2011-01-07 09:48:03 -07:00
Matthew Flatt
5998c0ac95
add ._' and
.__' to `scribble/base' for abbrev- and setence-ending periods
2011-01-07 09:48:03 -07:00
Matthew Flatt
5b3865f3e6
doc repairs
2011-01-07 09:48:03 -07:00
Matthew Flatt
99d39ff3cf
fix docs for recent shared' and
struct' changes
2011-01-06 12:53:17 -07:00
Matthew Flatt
dce2ffc05c
add missing doc
2011-01-06 12:53:17 -07:00
Matthew Flatt
4f56618c6d
improve canvas-drawing docs
2011-01-06 07:43:26 -07:00
Robby Findler
92d9ce38d3
added an observer for the colorer
2011-01-05 20:39:31 -06:00
Matthew Flatt
655f6045a2
fix shared' for
#:auto' fields and constructors without `make-'
...
Closes PR 11588
Closes PR 11591
2011-01-05 13:52:11 -07:00
Matthew Flatt
81cbf1ae1f
add get-client-handle' to
window<%>'
2011-01-05 12:15:37 -07:00
Matthew Flatt
b0d95708bf
fix docs on get-handle' from
window<%>'
2011-01-05 08:50:21 -07:00
Matthew Flatt
b0095111d4
restore and document scrolling behavior
...
Closes PR 11583, and
everts the previous fix for PR 10853 and fixes
it in a different way
2011-01-05 07:02:00 -07:00
Matthew Flatt
5eb2739bdf
typo
2011-01-05 07:02:00 -07:00
Matthew Flatt
577755630a
disable brush gradient when the target is monochrome
2011-01-05 07:02:00 -07:00
Kevin Tew
c0ec320be0
Gradient doc fixes
2011-01-04 14:45:18 -07:00
Robby Findler
51ad306af2
changed real-in to be an alias for between/c
2011-01-04 15:40:32 -06:00
Kevin Tew
e35603988a
gradients get picture examples
2011-01-04 13:51:30 -07:00
Matthew Flatt
553723627c
gradients: refine checking and docs to fit various conventions
2011-01-04 12:44:36 -07:00
Kevin Tew
b88ff89837
racket/draw gradient support
2011-01-04 11:37:06 -07:00
Asumu Takikawa
ed114c0750
Fix documentation to match editor<%>, text%, and pasteboard% changes.
2011-01-04 13:04:28 -05:00
Matthew Flatt
3bb120545f
fix ~300 typos reported by Vladimir Nesterovich (a.k.a. Gwyth)
...
--- but Gwyth's amazingly helpful review of chapters 1-11
pointed out a few problems that are more difficult to fix
and are still pending
2011-01-04 09:53:31 -07:00
Matthew Flatt
6a34dce36d
style guide: use v' for "any value" (as opposed to
x')
2011-01-04 09:52:14 -07:00
Matthew Flatt
241bb79cb0
allow a button% to have both a string and a bitmap for its label
2011-01-01 13:54:45 -07:00
John Clements
c7f1211c99
argmin/argmax empty list comment
2011-01-01 08:19:46 -08:00
Matthew Flatt
856df5e113
doc correction
2010-12-31 14:41:37 -07:00
Matthew Flatt
55693e090f
add port-try-file-lock?' and
port-file-unlock'
2010-12-31 14:40:27 -07:00
Matthew Flatt
1e3b2ee9ee
doc typo
...
Closes PR 11582
2010-12-31 14:40:27 -07:00
Eli Barzilay
1f49e35b21
2010 -> 2011
2010-12-31 15:59:39 -05:00
Matthew Flatt
aa4a0faab4
doc typo
2010-12-31 09:41:30 -07:00
Robby Findler
b3a1d7860a
added default value for alpha in color%
2010-12-31 09:58:50 -06:00
Matthew Flatt
b0e07bde60
doc correction related to embedding in 64-bit Windows
2010-12-31 07:42:41 -07:00
Matthew Flatt
eddae6749d
clean up handling of not-ok?',
bitmap-dc%'-selected, and mutated bitmaps
2010-12-30 08:35:56 -07:00
Matthew Flatt
8c7f829205
add make-font' to
racket/draw'
2010-12-30 07:05:25 -07:00
Matthew Flatt
a974dad8bf
add alpha value to `color%'
2010-12-30 07:05:25 -07:00
Matthew Flatt
d3fd1ba013
add `set-padding' to text%
2010-12-29 13:42:58 -07:00
Matthew Flatt
8ac21c745f
add show-without-yield' to
dialog%'
2010-12-28 10:52:17 -07:00
Robby Findler
0a3c70db91
added note committing teaching language metadata to always being three lines
2010-12-25 15:52:46 -06:00
Robby Findler
519eb580b2
typo
2010-12-24 13:36:31 -06:00
Robby Findler
7ac268e4da
Rackety
2010-12-24 06:34:45 -06:00
Robby Findler
2f009ca529
changed the way equal<%> and snip% interact. Specifically:
...
- snip% now implements equal<%>
its equal-to? delegates to other-equal-to?.
- snip%'s other-equal-to and equal-hash-code and
equal-secondary-hash-code all just amount to using eq?. The
setup is here just to make snip% be the one that declares
that it implements equal<%> so that various snips can adjust
other-equal-to? (and the hash code methods)
- image-snip% no longer implements equal<%>
(but it extends snip% and it overrides other-equal-to?
and the hash-code methods to do what they always did)
2010-12-24 06:34:42 -06:00
Matthew Flatt
93b2046b75
fix doc typo
2010-12-22 21:00:08 -06:00
Matthew Flatt
43b96fe47c
adjust racket/snip docs
2010-12-20 08:04:11 -07:00
Robby Findler
bf53fd5c38
adjust the auto-text behavior of DrRacket so that it doesn't require the
...
queue-callback / execute callback dance; also, change the behavior
a little bit so that it works a little bit more like the rest of the
DrRacket languages; in particular, the initialization of the REPL
now only happens when a window is first opened or a new tab is first
created, but not at other times (ie not when the language changes;
when the language changes, we just keep the REPL state the same and
show a warning like before)
This change also required a change to the way the repl is initialized
and a slight change to the behavior of the first-opened method. Specifically,
it is now called in a slightly better context so that errors that
happen look like errors in the user's program. The only other use of
the first-opened method in the tree was to initialize the teachpacks
in the teaching languages and this new behavior is also an improvement
there.
2010-12-20 08:43:34 -06:00
Robby Findler
dfe6e37ffd
removed mention of PLTDRTEST (it was already gone from the implementation)
2010-12-20 08:43:26 -06:00
Sam Tobin-Hochstadt
491eeaa759
Move mred/private/wxme/style to racket/snip/private/style.
...
`racket/snip' now exports the style classes and the add,mult-color interfaces.
2010-12-19 22:56:15 -05:00
Sam Tobin-Hochstadt
f4571cb39a
Reorganize editor and snip documentation to break out `racket/snip'
2010-12-17 12:32:27 -05:00
Sam Tobin-Hochstadt
de63b79300
Document new methods of `snip-admin%'.
2010-12-17 12:32:27 -05:00
Sam Tobin-Hochstadt
bb7307883a
Fix doc typo.
2010-12-17 12:32:26 -05:00
Matthew Flatt
f700a15d85
specially record transparent-canvas drawing for a small number of drawing ops
...
which enables background-sensitive smoothing of text
2010-12-17 09:27:10 -07:00
Matthew Flatt
8681e73278
set `dc-for-text-size' default to a bitmap DC (instead of #f)
2010-12-17 07:16:54 -07:00
Matthew Flatt
d2fb0b8f7d
further `draw-bitmap' doc improvements
2010-12-16 21:20:13 -07:00
Matthew Flatt
6f114b318b
correct draw-bitmap docs
2010-12-16 20:41:54 -07:00
Matthew Flatt
37682242e5
docs: clarify effect of mask-bitmap alphas channel in dc<%> draw-bitmap
2010-12-16 19:36:13 -07:00
Robby Findler
ede60de584
Make it so that DrRacket deletes .zo files when the corresponding source file isn't present anymore
...
(when in the DrRAcket-compiles-my-zo-files mode)
2010-12-16 16:12:54 -06:00
Matthew Flatt
234a57506f
document some modules that are referenced in other documentation
2010-12-15 13:41:59 -07:00
Matthew Flatt
cad500d802
fix problems with image-snip%, masks or alpha channels, and saving
...
and also generalize image-snip% to accept input port instead
of filenames, and avoid temporary files for loading and saving images
2010-12-14 21:11:10 -07:00
Robby Findler
4881bc33f4
open-input-text-editor: beef up the protection that the lock-while-reading? argument provides
2010-12-14 19:14:26 -06:00
Matthew Flatt
7f5ac2b7f9
restore Win64 fix to FFI
...
that I had improperly added to "foreign.c" instead of the source
2010-12-14 07:53:19 -07:00
Matthew Flatt
78b54a7324
more Scribble "---" doc fixes
2010-12-14 07:45:15 -07:00
Matthew Flatt
0b1b3772f5
change Scribble HTML renderer to typeset em dashes with &8212;
...
Closes PR 11049
Closes PR 11539
2010-12-14 06:48:25 -07:00
Sam Tobin-Hochstadt
dae1543255
Fix local file reference to water.png image.
2010-12-13 14:37:08 -05:00
Noel Welsh
8040100eff
Merge branch 'master' of pltgit:plt into in-vector
2010-12-13 13:43:05 +00:00
Noel Welsh
cfa7b727f4
Fix some errors with in-vector and derived forms:
...
- Range checking was inconsistent between the sequence and macro forms
- The macro form could crash due to unsafe vector refs
Fixes involved refactoring the range checks so they are shared between both versions, and changing the contract slightly so start and stop are checked before the sequence runs. This allows unsafe vector refs and earlier error notifications at the cost making some valid programs (e.g. those using some condition to stop a comprehension hitting an invalid index) now be invalid. Only crazy people would rely on the old behaviour, so it isn't a problem in practice.
2010-12-13 13:38:35 +00:00
Robby Findler
8101c03d30
added a note about how label-string? is used.
2010-12-12 15:26:54 -06:00
Eli Barzilay
c65a2ba9ab
Add a noise flag indicator to `enter!'.
2010-12-12 13:10:07 -05:00
Matthew Flatt
2b4f1a6908
extend `sync/timeout' to allow a tail-position fail thunk for polling
2010-12-10 18:06:21 -07:00
Matthew Flatt
948dfe9cf0
`sync/timeout' doc clarification
2010-12-10 13:41:05 -07:00
Matthew Flatt
f6f6facd9e
clarify effective-constant nature of `list?'
...
Closes PR 11525
2010-12-10 13:41:05 -07:00
Robby Findler
9a485dd492
added set-orientation method to panel:dragable (lets the panels
...
change from being vertically aligned to horizontally aligned, even
after they have been created)
2010-12-09 15:50:08 -06:00
Vincent St-Amour
0365755b3d
Fix cond doc typo.
...
Closes PR 11517.
2010-12-08 18:17:07 -05:00
Stevie Strickland
37349ca053
Allow uses of recursive-contract to specify the type of contract to create.
2010-12-07 18:30:20 -05:00
Stevie Strickland
5b8e5d6380
Extend struct/c to allow impersonator contracts for mutable fields.
...
Also, flat contracts for immutable fields are only evaluated at contract
wrapping time.
2010-12-07 14:29:07 -05:00
Jon Rafkind
a02d73e530
add examples for in-hash and friends
2010-12-07 11:54:12 -07:00
Stevie Strickland
10eb818f95
Conversion of struct/c to chaperones when appropriate.
2010-12-07 04:11:26 -05:00
Matthew Flatt
b328655a01
doc typo
2010-12-05 13:15:42 -07:00
Casey Klein
54e46f78bb
Closes PR 11493
2010-12-05 08:55:43 -06:00
Matthew Flatt
116d88577e
restore old behavior of _fixint' and
_ufixint'
...
Closes PR 11492
2010-12-03 14:20:38 -07:00
Matthew Flatt
8b8dd77ad6
change nearly all long's to
intptr_t'
...
and also changed vector, string, and byte string counts to
`intptr_t' instead of `int'.
Except for the vector count, etc. change, this is not really a
change for any currently supported platform, where `intptr_t'
is the same as `long'. It's a step to suporting Win64, though,
where `long' is the same as `int' instead of `intptr_t'.
2010-12-03 08:48:33 -07:00
Noel Welsh
3b234010a0
Merge branch 'master' of pltgit:plt into in-vector
2010-12-03 14:36:48 +00:00
Noel Welsh
f7d5dc1941
Fix typo is documentation
2010-12-03 14:35:40 +00:00
Robby Findler
65cd861c6f
adjust docs building so that it doesn't assume that the getinfo procs are there
...
closes PR 11484
2010-12-03 06:30:58 -06:00
Robby Findler
f867c024b5
added docs for find-relevant-directory-records
2010-12-03 06:30:58 -06:00
Noel Welsh
319ea7ea00
Change in-fXvector (for flvector and fxvector) to allow start, stop, and end args. Tests segfault in repeatable but apparently unrelated places
2010-12-03 12:15:59 +00:00
Matthew Flatt
42dc83bbcd
fix docs for `get-panel-background'
2010-12-01 15:57:54 -07:00
Matthew Flatt
93126d1546
dc, pen, and brush doc corrections related to v5.1 changes
2010-12-01 15:48:55 -07:00
Matthew Flatt
dedb207a86
fix draw-bitmap result to match docs
2010-12-01 15:48:55 -07:00
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