Robby Findler
07a2ace943
added the #:pre/name and #:post/name keywords to ->i
2011-02-25 13:42:09 -06:00
Robby Findler
4b68377af1
Revert "started adding comments to the #:pre and #:post parts of ->i"
...
This reverts commit a27b7d5c61
.
ack, sorry.
2011-02-25 09:44:34 -06:00
Robby Findler
a27b7d5c61
started adding comments to the #:pre and #:post parts of ->i
2011-02-25 09:42:23 -06:00
Matthew Flatt
93e1467b8b
racket/gui: scrollbar support panels
2011-02-24 13:23:51 -07:00
Matthew Flatt
137d96c089
multi-column support in list-box%
2011-02-21 13:58:57 -07:00
Kathy Gray
4311f3401d
Documentation for how wishes are used within the Beginner language.
2011-02-21 14:27:12 +00:00
Matthew Flatt
b4056373be
generalizations to `subprocess' & company
...
- allow byte strings in more places
- allow stderr spec to be 'stdout to redirect stderr to stdout
Closes PR 11711
2011-02-19 08:30:34 -07:00
Matthew Flatt
9325fe0f25
fix `peek-string-evt' and related docs
...
Closes PR 11748
2011-02-19 06:54:35 -07:00
Matthew Flatt
6041833ac5
fsemaphore cleanup
...
- abstract over JIT inlining of fsemaphore operations
- fix problems with non-parallel fsemaphores
- adjust tests so they don't assume too much concurrency
- clarify fsemaphore vs. semaphore in the docs
2011-02-18 09:55:01 -07:00
Robby Findler
7cc3465486
clarify the style<%>'s get-delta's docs
2011-02-17 12:26:52 -06:00
Eli Barzilay
1be26400cb
Some random tidyings.
2011-02-16 15:26:15 -05:00
Eli Barzilay
8886b87876
Reformat this mess.
2011-02-16 15:26:15 -05:00
James Swaine
a98553f99b
Merge branch 'master' of pltgit:plt
2011-02-15 22:58:08 -06:00
Robby Findler
e3c26a2aa4
improved the setup for the front-end method so that
...
printing to stdout and stderr is safe and to better document
the issues
2011-02-15 18:10:03 -06:00
Robby Findler
8e94ce49e4
lift the restriction that the text:ports mixin
...
cannot do io from the eventspace handler thread
and add a test suite for text:ports
2011-02-15 18:10:02 -06:00
James Swaine
f9c12f9e58
Merge branch 'master' of pltgit:plt
2011-02-14 14:02:47 -06:00
Matthew Flatt
da3fd90256
doc repair
...
for PR 11734 follow-up
2011-02-14 07:11:45 -07:00
Matthew Flatt
0840430b21
clean up `define-syntax-rules'
...
by removing a redundant expression in an error message, adding
tests, and documenting the fact that a syntax-error message can
expose the pattern source to users
2011-02-11 09:59:42 -07:00
Matthew Flatt
9070a4c961
fix doc typos
2011-02-11 06:07:10 -07:00
Matthew Flatt
2d7dfab9b9
fix docs for methods that accept a list of pairs as points
2011-02-11 06:07:09 -07:00
James Swaine
22d6ad7d03
Merge branch 'master' of pltgit:plt
2011-02-10 14:38:50 -06:00
Robby Findler
9f18589c4f
Rackety
2011-02-09 15:20:15 -06:00
Robby Findler
16d96cf91e
minor improvements to peeking-input-port docs
...
- added guarantee about file-position
- add some examples that clarify a confusion I had
2011-02-09 15:19:36 -06:00
Robby Findler
a142492833
tweaks to drracket startup compilation code and added mention of PLTDRPAR to the docs
2011-02-09 15:19:27 -06:00
James Swaine
19dbee0405
Added semaphores for futures
2011-02-08 17:58:02 -06:00
James Swaine
0a73a9d5a1
Added semaphores for futures
2011-02-08 17:55:12 -06:00
Jon Rafkind
7f3f861899
add documentation for the splitter mixin
2011-02-08 14:47:07 -07:00
Robby Findler
e096e4d5a4
moved find-exe to its own top-level file
2011-02-08 15:38:11 -06:00
Matthias Felleisen
9b5ca46da5
minor citation fix
2011-02-08 12:15:37 -05:00
Robby Findler
6a220d7d69
docs fixes for parallel-compile-files
...
also, (lambda args (void)) is the same as just void, so changed that.
2011-02-08 10:02:43 -06:00
Matthew Flatt
e2a0fd02ef
document limitations of on-subwindow-event' and
on-subwindow-char'
...
Merge to 5.1
2011-02-05 16:48:40 -07:00
Matthew Flatt
5eeec97878
adjust racket/gui/base' to re-export
file/resource'
...
Merge to 5.1 along with b4ce4bb
, 3375005
, 18eb7c8
, 3c4807f
2011-02-05 14:05:08 -07:00
David Van Horn
760a58b65d
Fixes more spelling errors.
2011-02-04 19:44:13 -07:00
Robby Findler
74f8b0e2f1
add a little more about quasiquote to the guide
...
Please merge to the 5.1 release branch
2011-02-04 13:08:12 -06:00
Matthew Flatt
ab588eb69a
fix doc bug
...
Closes PR 11690
Merge to 5.1
2011-02-04 07:26:45 -07:00
David Van Horn
c9519fd113
Fixed various spelling errors.
2011-02-03 17:42:33 -05:00
Matthew Flatt
08cc4dffb2
fix guide typos
...
Closes PR 11700
Merge to 5.1
2011-02-03 06:31:17 -07:00
Robby Findler
0fce29f552
adjust the wxme reader so that it now creates image-snip%s when it finds image-snips in file
...
it used to create image% objects that were simple containers for the
data in the file; the change _should_ be backwards compatibile;
the only know incompatibility is that the get-filename method
now returns a path instead of bytes (this is to match the
image-snip% class)
closes PR 1168
please merge to the 5.1 release branch
2011-02-02 20:26:52 -06:00
Matthew Flatt
d704f9565b
fix typo
2011-02-02 16:09:45 -07:00
Vincent St-Amour
2935170eff
Fix more doc typoes.
...
Closes PR 11694.
Merge to 5.1.
2011-02-02 14:19:15 -05:00
Vincent St-Amour
62327c5f50
Fix make-->vector doc typo.
...
Closes PR 11698.
Merge to 5.1.
2011-02-02 14:00:14 -05:00
Kevin Tew
2b045b991e
bytes-join
2011-02-02 10:37:57 -07:00
Kevin Tew
2e1dffbfcc
raco make -j
2011-02-01 08:27:56 -07:00
Matthew Flatt
aed0980f1b
doc clarifications on numbers
2011-02-01 08:01:17 -07:00
Matthew Flatt
dfa36afa89
change `floating-point-bytes->real' to always produce a flonum
2011-01-31 19:52:50 -07:00
Matthew Flatt
ff0a591b7b
change FFI `_float' to coerce to Racket double-precision flonum
2011-01-31 19:33:07 -07:00
Matthew Flatt
3ef32d915b
make inexacts `eqv?' only when precision is the same
...
plus some other small fixes
2011-01-31 19:16:33 -07:00
Vincent St-Amour
e65b206e6e
Add functions to convert back and forth between floating-point representations.
2011-01-31 16:39:17 -05:00
Vincent St-Amour
03ec1ec501
Add a single-flonum? predicate to test for single-precision floats.
2011-01-31 16:39:17 -05:00
Vincent St-Amour
ac76d963b0
Enable single-precision floats by default.
2011-01-31 16:39:17 -05:00
Vincent St-Amour
d220e0a10b
Add read syntax for single-precision float specials.
2011-01-31 16:39:16 -05:00
Matthew Flatt
bc5ab1e031
fix problems with `read-language' error reporting
2011-01-30 07:47:46 -06:00
Robby Findler
4090eabacb
added a color:text method get-token-range and then used that to improve how f1 in drracket works
...
Please include this commit on the release branch
2011-01-29 12:28:26 -06:00
Matthew Flatt
46dc2d6683
Scribble: improve interaction',
examples', etc. for non-text
...
by setting the default output port in the sandbox to support
content as "specials" when `current-print' is changed
2011-01-29 09:55:40 -06:00
Matthew Flatt
dc2bdfcea3
`frame%' style doc corrections
...
to sync with gr2 changes
2011-01-28 11:14:01 -07:00
Matthew Flatt
5467f89a23
remove non-working get-font' method of
control<%>'
...
Closes PR 9938
2011-01-28 05:55:41 -07:00
Matthew Flatt
2c0a034792
doc typo fixes from Eric Hanchrow
2011-01-27 19:20:13 -07:00
Jon Rafkind
7ff1cdde81
use the currently documented function. closes pr11668
2011-01-25 21:25:36 -07:00
Matthew Flatt
b5bc288f67
Windows: fix `path-list-string->path-list' to throw away quotes
...
--- which seems to be what the command shell does with quotes in
PATH, at least; Microsoft isn't in the habit of documenting this
sort of thing
2011-01-25 20:30:33 -07:00
Matthew Flatt
88218036cc
doc clarifications about line counting in ports
2011-01-25 20:01:30 -07:00
Stevie Strickland
a04b8d9899
Change instanceof/c to allow more contracts.
...
Now instanceof/c no longer checks explicitly for a class/c contract, so
or/c or and/c of class/c contracts succeed.
2011-01-25 14:07:30 -05:00
Matthew Flatt
5e3dbbc3f8
change gracket -z' to just use
read-eval-print-loop'
...
instead of `textual-read-eval-print-loop'
2011-01-24 19:47:21 -07:00
Matthew Flatt
069a7c2b48
add current-get-interaction-input-port' and adjust
racket/gui'
...
so that GUI events are dispatched while a REPL is blocked on input
2011-01-24 19:47:20 -07:00
Matthew Flatt
ce2d6030c7
add filter-read-input-port' to
racket/port'
2011-01-24 19:47:20 -07:00
Matthew Flatt
28351c1795
fix typo
2011-01-24 19:47:20 -07:00
Matthew Flatt
cf548f197e
add eventspace-event-evt' to
racket/gui/base'
2011-01-24 19:47:20 -07:00
Vincent St-Amour
903d7c06bb
Ceci n'est pas une grammar mistake.
2011-01-24 17:00:57 -05:00
Matthew Flatt
f36db863bb
refine `char-graphic?' to include all chars in L and N categories
...
Closes PR 11664
2011-01-24 07:08:11 -07:00
Robby Findler
0fe0858ba8
adjustments to the colorer-out-of-sync gizmo
...
(the "()" in the bottom right of the drracket window)
to make sure that it is right when switching tabs
and when a frame is first opened
2011-01-22 16:06:44 -06:00
Matthew Flatt
69859850f3
finish implementing display of menu shortcuts
...
that involve non-chars shortcuts and alternate prefixes
2011-01-22 10:15:14 -07:00
Matthew Flatt
b112fd76df
add reparent' to
subwindow<%>'
2011-01-21 20:21:21 -07:00
Kevin Tew
a42ea71113
Scribble with-compile-output fix
2011-01-20 15:57:39 -07:00
Matthew Flatt
128fedaceb
fix `message-box' to use eventspace of parent, if any
2011-01-20 15:47:03 -07:00
Matthew Flatt
0c193a599a
fix uncaught-exception-handler handling of non-escaping escape handler
...
and change the emergency error display handler to log and error
Closes PR 11630
2011-01-20 14:01:33 -07:00
Kevin Tew
bc580ac125
call-with-file-lock/timeout
2011-01-20 13:33:02 -07:00
Robby Findler
0f579711ac
fixed the result contract of message+check-box (it was missing the second value) and then did a bunch of other minor contract tweaks to get rid of false/c and one-of/c
2011-01-20 14:08:34 -06:00
Robby Findler
939f41670d
docs typos
2011-01-20 14:06:00 -06:00
Matthew Flatt
e94f7e0039
fix doc typos
2011-01-20 07:10:05 -07:00
Kevin Tew
0512aa1e27
Type fix in guide
2011-01-19 12:35:24 -07:00
Matthew Flatt
339ce9c594
clarification on #:timeout-lock-there' arg of
get-preference'
2011-01-18 19:52:04 -07:00
Matthew Flatt
784c3de563
fix port as PostScript/PDF/SVG destination
...
by putting port-calling work in a specific thread
2011-01-18 19:50:50 -07:00
Matthew Flatt
98822cf1f9
adjust `racket/gui' and dependencies to survive a locked preference file
...
- adds a `#:timeout-lock-there' argument to `get-preference'
- fixes preference looup in `racket/gui'
- make preference names consistently use `GRacket' and consistently
fall back on `MrEd' names
- fix Emacs-style undo mode while we're at it
2011-01-18 17:37:33 -07:00
Matthew Flatt
183323a2c5
fix `editor<%>' printing problems
...
- pagination for `pastebard%'
- always put everything on a single page for EPS mode
- add PDF support to mirror PS support
2011-01-18 14:16:25 -07:00
Jon Rafkind
4130c44cf6
note that an error is about to occur. closes pr11576
2011-01-18 11:25:03 -07:00
Matthew Flatt
3ff7ca2d31
change `text-field%' to treat numpad Enter like normal Enter/Return
...
Closes PR 7890
2011-01-18 11:02:46 -07:00
Matthew Flatt
0e0f88be00
Scribble docs: clarify 'hidden v.s 'toc-hidden and "on this page"
...
Closes PR 11554
2011-01-17 16:25:09 -07:00
Matthew Flatt
36155e913e
get rid of the old barriers around GUI event dispatch
...
since, on further reflection, it doesn't seem needed, and a simple
prompt seems to make everything work right
2011-01-17 09:21:50 -07:00
Matthew Flatt
7545d7d18f
document the fact that event callbacks are now delimited by a prompt
...
using the default continuation prompt tag
2011-01-17 09:03:05 -07:00
Matthew Flatt
c8e3d45dae
make `codeblock' work without a #lang line
...
but revise docs to clarify that a #lang line is really expected
Closes PR 11385
2011-01-16 19:12:38 -07:00
Matthew Flatt
21eee45a48
fix `read-language' when input has only comments
2011-01-16 19:01:45 -07:00
Matthew Flatt
113e49aa5b
extend date->seconds' and
find-seconds' to work with UTC
...
Closes PR 6137
2011-01-16 17:53:30 -07:00
Matthew Flatt
841e0b2473
fix doc error
...
as reported by Hong Feng
2011-01-15 16:46:29 -07:00
Matthew Flatt
c2afc03b3b
fix interaction of `continuation-mark-set-first' and prompts
...
including a documentation fix
2011-01-15 08:05:55 -07:00
Matthew Flatt
a9dd80110a
restore doc & page checking for `post-script-dc%' et al.
...
and also fix up wiring of `printer-dc%' in `editor<%>' so
that `is-a?' tests works as expected
2011-01-14 20:30:51 -07:00
Matthew Flatt
3e2af2f39e
change locking of preferences files under Windows
...
to avoid the problem that `rename-file-or-directory' cannot
replace a file that is currently open for reading (unlike Unix)
2011-01-14 08:35:14 -07:00
Robby Findler
255cb84b87
add an example tool (that actually does something) to the docs and make a test suite that sets that tool up and runs it
2011-01-13 20:11:55 -06:00
Robby Findler
422bf5eae7
docs fixes
2011-01-13 20:11:53 -06:00
Matthew Flatt
723b41b3e6
fix `rename-file-or-directory' docs to more accurately report OS behavior
2011-01-13 14:09:12 -07:00
Matthew Flatt
045aac4daf
fix tools doc
...
--- hopefully the switch from `scheme' to `racket' doesn't
change the intended reference of anything in the docs
2011-01-13 13:08:42 -07:00
Robby Findler
1a4ba1d196
Rackety
2011-01-12 17:32:22 -06:00
Kevin Tew
324d1aa440
parallel-lock-client doc fix
2011-01-12 10:36:29 -07:00
Kevin Tew
65460f5739
parallel-lock-client docs
2011-01-12 10:22:52 -07:00
Matthew Flatt
68e60df7db
fix docs for `image-element'
2011-01-10 16:44:10 -07:00
Matthew Flatt
6afffb329c
add `svg-dc%'
2011-01-10 16:41:16 -07:00
Matthew Flatt
b2877336f7
support ".svg" in scribble/base'
image' for HTML output
2011-01-10 16:41:16 -07:00
Matthew Flatt
f1e13a7921
modial dialog don't disable mouse motion, enter, and leave events
...
Closes PR 11599
This is an API change relative to gr1, but it seems sensible,
and it makes enter and leave events more reliable and easier
to implement.
2011-01-10 07:53:03 -07:00
Matthew Flatt
e64c99f7a3
typo
...
Closes PR 11606
2011-01-10 06:43:27 -07:00
Robby Findler
d2cb96bcb3
setup hooks so that the behavior of the home / c:a keybinings delegates to a method to find where to go
...
then, use that to change how it works for the scheme mode (and also another variation for the REPL to
cope with the prompt)
I spent a while trying to make this work at the keymap% level (ie putting different keybindings for "home"
and "c:a" into different keymaps) but this just turned out to be far too confusing and fragile, so went
with this alternative (one keybinding, but that delegates to an overridable method)
closes PR 11446
2011-01-09 16:22:28 -06:00
Robby Findler
cdd099f024
added docs for set/c
...
moved docs for predicates down near the end of the file;
currently it goes: constructors, operations, predicates & contract, iterator stuff
added docs for set-equal?
2011-01-08 14:10:08 -06:00
Robby Findler
422bb10b53
set docs: change the name of the parameter of set-union to avoid shadowing 'set'
...
used the name 'st' following the style guide's suggestion of 'lst' for lists
since it should use the same parameter name everywhere, change this everywhere
also: rackety
2011-01-08 13:48:59 -06:00
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