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
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