Ryan Culpepper
eed6016793
scribble/eval: pretty-print results by default
2011-10-16 05:41:58 -06:00
Matthew Flatt
d4f7020cd2
add cross-reference between data and read/print descriptions
...
Closes PR 11096
2011-10-15 07:20:33 -07:00
Matthew Flatt
2a39a098a6
fix docs on reading characters
...
Closes PR 11102
2011-10-15 07:20:33 -07:00
Matthew Flatt
eba0ca2d4d
add cross-ref from reference to guide on places
2011-10-15 07:20:33 -07:00
Matthew Flatt
e55e0a5e4a
reader doc fixes
...
Closes PR 11086
2011-10-15 07:20:33 -07:00
Matthew Flatt
f2082e6eeb
fix framework doc reference to `set-icon' method
...
Merge to 5.2
2011-10-11 17:17:58 -06:00
Matthew Flatt
5c0956d7b1
more memory accounting fixes for places
...
Fix memory accounting to detect when messages pile up in a
place channel and when shared values (such as the result of
`make-shared-bytes') pile up. Also fix problems where a GC
or free-page purge needs to be triggered.
The implementation causes a minor API change, which is that
a place channel sent multiple times as a message generates
values that are `equal?' but no longer eq?'.
Closes PR 12273
[Do not merge to 5.2]
2011-10-11 11:26:11 -06:00
Matthew Flatt
5724aa1d1b
doc clarifications
...
Merge to 5.2
2011-10-10 14:45:53 -06:00
Rodolfo Carvalho
a3890f7e32
Fix typo in Slideshow documentation
2011-10-10 11:49:24 -04:00
Matthew Flatt
8f0fa96d69
docs and release notes for `set-icon' change
...
Merge to 5.2
2011-10-09 09:45:42 -06:00
Matthew Flatt
ed38297c97
editor<%> doc fixes
2011-10-08 09:12:31 -06:00
Matthew Flatt
379991c5bb
fix text% `get-paragraph-{start,end}-position' bug and doc bugs
...
Merge to 5.2
2011-10-08 09:12:30 -06:00
Sam Tobin-Hochstadt
9cc2c441ee
Add note on `match' semantics.
2011-10-06 18:32:05 -04:00
Rodolfo Carvalho
412201796a
Fix typo in the documentation.
...
Affected section:
The Racket Guide > 17 Creating Languages
> 17.3 Defining new #lang Languages > 17.3.2 Using #lang reader
2011-10-06 17:08:22 -04:00
Matthew Flatt
79a6981684
update docs related to embedding and changes due to futures/places
2011-10-06 07:36:17 -06:00
Robby Findler
d5e28ced91
fix documented contract to match actual function
2011-10-05 15:13:54 -05:00
Matthew Flatt
ec380e34ed
remove built-in reader and printing support for Honu
...
This is a backward-incompatible change, but I think it's
unlikely that any code depends on the removed bindings
or reader syntax.
2011-10-05 09:40:27 -06:00
Matthew Flatt
f38e57ff68
add #:get-lib-dirs and #:fail args to `ffi-lib'
...
Not currently used, because an experiment that used the additions
was abandoned, but another use in the future seems likely.
2011-10-05 06:28:30 -06:00
Robby Findler
9b3f2427d7
make right-click in the space between the definitions and
...
interactions window pop up a menu to let you change from
vertical to horizontal orientation
2011-10-04 16:47:10 -05:00
Robby Findler
6fd2e9c1d3
fixed planet docs; closes PR 12178
2011-10-04 12:56:35 -05:00
Robby Findler
951de8cc51
add get-default-percentages to panel:dragable and then add a dragable panel
...
to the debugger
2011-10-02 14:34:28 -05:00
Robby Findler
721cdba2c1
adjst check syntax so that it only clears out style changes when clicking 'Run'
...
(style changes are not applied when running online check syntax)
2011-10-02 10:18:36 -05:00
Robby Findler
533b898277
clarify the role of the #:rest portion of the contract
...
closes PR 12244
2011-10-01 15:58:50 -05:00
John Clements
79fbc970aa
minor doc updates
2011-10-01 11:28:37 -07:00
Kevin Tew
e650764a4c
place-channel? returns #t for place descriptors, doc clarification
2011-09-30 17:15:11 -06:00
Robby Findler
b52086ecae
clarify the use-file-text-mode method.
2011-09-30 17:08:18 -05:00
Robby Findler
4a2757f200
Adjust DrRacket so that it saves files with CRLF
...
line terminators when:
a) running under windows, and
b) the file on the disk (when DrRacket first opens it)
contains all CRLF line endings.
In all other situations, the file is saved with LF terminators.
Before this commit, DrRacket would always use the platform-specific
convention, regardless of the original content of the file.
closes PR 12242
2011-09-30 17:08:07 -05:00
Robby Findler
c63426e92e
add docs for 'enable automatic parentheses' in prefs dialog
2011-09-30 17:08:05 -05:00
Robby Findler
b95b346a4e
adjust various plumbing to get the drracket icon to the startup screen. Only to realize
...
that the startup screen is a dialog% and thus doesn't have set-icon
related to PR 12241
2011-09-30 17:08:03 -05:00
Eli Barzilay
093236fea4
Improve code generation in the framework collection.
...
Instead of generating a file for code and one for documentation, do both
via a macro instead. Most of the code is the same (modulo reformatting
in a more modern style), and instead of printing the result to a file,
it just returns it as the result of a macro. (Since this is done in a
naive way, the macro is bad -- it is unhygienic since this is basically
what it did before only through a generated file; it should eventually
be improved to avoid these hacks.)
2011-09-30 10:51:28 -04:00
Eli Barzilay
656de69636
Don't create a page-setup menu item if `file-menu:create-print?' returns #f.
2011-09-30 10:45:43 -04:00
Matthew Flatt
a0805f9b18
fix docs for `round' et al.
...
They don't return integers for +inf.0, -inf.0, and +nan.0.
2011-09-29 16:54:08 -06:00
Matthew Flatt
73071ad186
improve GC logging (3m)
...
Show process time of start of GC and otherwise adjust to make
the output more compact, and attach a prefab struct to the
logged message to report all available data in Racket form
(including real start and end times, which are not shown in
the output).
2011-09-29 16:54:08 -06:00
Matthew Flatt
ac8990d519
add date*' and
exn:fail:syntax:unbound'
...
The `date*' structure type is an extension of `date' with
`nanosecond' and `time-zone-name' fields.
The `seconds->date' function now accepts a real and returns a
`date*'. The fractional part of its argument goes into the
`nanosecond' field.
2011-09-29 09:22:10 -06:00
Matthew Flatt
58097a12fe
inside: export scheme_alloc_flvector() and scheme_alloc_fxvector()
2011-09-29 09:14:00 -06:00
Vincent St-Amour
2cc0b35ca9
Add a pointer to a vim plugin for scribble.
2011-09-28 11:34:41 -04:00
Matthew Flatt
247a51d5bd
change `get-preference' to treat read errors the same as other bad content
...
That is, return '(), but also now log an error.
2011-09-27 19:23:17 -06:00
Robby Findler
d1007842bb
add another note on keybindings to the docs
2011-09-27 09:00:11 -05:00
Matthew Flatt
c34dff1247
add 'wmclass/".wmclass" aux executable/launcher configuration
2011-09-26 18:07:18 -06:00
Matthew Flatt
f9dabb8994
add -J/--wm-class argument to set the WM_CLASS class on Unix
2011-09-26 18:07:18 -06:00
Matthew Flatt
e226dd7e26
add `contract-out'
2011-09-24 22:30:56 +09:00
Matthew Flatt
9d27b21f91
add provide pre-transformers
2011-09-24 22:30:56 +09:00
Matthew Flatt
1ae6cc0505
change `syntax-local-lift-module-end-declaration' for phase N
...
Lift to the end of the module, instead of the end of the
enclosing `begin-for-syntax'.
Also, fix a bug in phase 2+ visits.
2011-09-24 22:30:56 +09:00
Matthias Felleisen
b90710355f
typos and one change to formulation
2011-09-23 18:40:36 -04:00
Robby Findler
abda257295
moved the 'send to repl' keystrokes to the manual (and added a test
...
suite to make sure the example code in the manual doesn't get stale)
2011-09-23 16:37:18 -05:00
Robby Findler
b1a360be9d
Add the following keybindings in a (hopefully) transparent REPL-friendly way:
...
esc;c:x send-toplevel-form-to-repl
m:c:x send-toplevel-form-to-repl
c:c;c:e send-toplevel-form-to-repl
c:c;c:r send-selection-to-repl
c:c;m:e send-toplevel-form-to-repl-and-go
c:c;m:r send-selection-to-repl-and-go
c:c;c:z move-to-interactions
Took the inspiration for the list from the keybindings
available in Scheme mode in Emacs.
Closes PR 12211 (and probably others)
2011-09-22 10:51:48 -05:00
Robby Findler
2ec720176a
extend and refactor minor stuff in the framework
...
specifically add an argument to move/copy-to-edit so that it
does copy-only and export a function for trigger a submission
to the input port of a text:ports<%> object programmatically
2011-09-22 10:51:47 -05:00
Robby Findler
048fa1d7b8
get rid of the "open here" functionality
...
This is a backwards incompatible change; there is a more complex change
that just stubs this stuff out that may be better that we may need
isntead of this commit.
2011-09-21 22:53:03 -05:00
Eli Barzilay
81e0f3f3d7
Move scribblings/honu' to
honu/scribblings'.
...
Also, use `user-doc' since it's not distributed, yet.
2011-09-21 16:10:48 -04:00
Jon Rafkind
67c9e3e4af
[honu] more doc updates
2011-09-20 18:05:28 -06:00
Jon Rafkind
34689f1711
[honu] checkpoint for docs
2011-09-20 18:05:27 -06:00
Matthew Flatt
0ab6637539
remove obsolete and unused Racket-to-C compiler
...
Removes `raco ctool -e/-c', `mzc -e/-c', `compile-extensions',
`compile-extensions-to-c', `compile-c-extensions', `compiler/cffi',
`compiler/comp-unit', `compiler:inner^', and most options in
`compiler/option'.
2011-09-20 15:26:39 -06:00
Matthew Flatt
0197902309
add var-ref->mod-decl-insp' and switch
cur-code-insp' uses
...
Macros and other tools that need syntax privilege used
`(current-code-inspector)' at the module top-level to try to
capture the right code inspector at load time. It's more
consistent to instead use the enclosing module's declaration-time
inspector, and `var-ref->mod-decl-insp' provides that. The
new function works only on references to anonymous variables,
which limits access to the inspector.
The real function name is longer, of course.
2011-09-20 13:50:36 -06:00
Matthew Flatt
7f887fdf60
fix problems in copy-file'; add
exists-ok?' argument
...
The non-Windows `copy-file' had a race condition, and it could
behave in bad ways if the source of a copy is not a regular
file.
2011-09-19 08:20:22 -06:00
Matthew Flatt
f280fb14b4
places: doc repair, refine error checking, fix a test
2011-09-17 07:29:07 -06:00
Matthew Flatt
376efea754
doc clarifications and tests for some file-locking corners
2011-09-17 07:29:07 -06:00
Matthew Flatt
8e9e8ee48e
doc edits
2011-09-16 17:56:53 -06:00
Eli Barzilay
16cd1ad78d
Make `defproc' throw an error if two arguments have the same name.
...
Related to the already fixed PR 12114 and PR 12133, which motivated the
error, and a few additional typos of the same kind.
(Note that it uses the symbols, but that's how they'll render anyway.)
2011-09-16 11:14:18 -04:00
Eli Barzilay
55a8471838
Quick typo.
2011-09-16 10:48:17 -04:00
Kevin Tew
5a28514553
Doc fixes I forgot to include in previous commit
2011-09-15 17:15:44 -06:00
Kevin Tew
b6972a3b7f
dynamic-place now pipes standard io to standard out and error much like system.
2011-09-15 14:53:58 -06:00
Matthew Flatt
a233697f08
fix errortrace (required API changes), add `syntax-shift-phase-level'
...
Also fix a bug in the `module' expander and streamline lazy
visits.
2011-09-13 21:04:10 -06:00
Robby Findler
a4336c3997
docs for new read-snip-from-port function in the wxme library
2011-09-13 20:46:04 -05:00
Matthew Flatt
51721e9bb5
fix contract in docs
2011-09-12 19:39:45 -06:00
Matthew Flatt
a8c0c1f8b7
simpify an example
2011-09-12 19:39:37 -06:00
Matthew Flatt
c5131d428c
doc clarifications on `eq?'
2011-09-12 19:16:57 -06:00
Matthew Flatt
b7bef3b3aa
add syntax-transforming-module-expression?',
variable-reference->module-base-phase'
2011-09-12 17:08:50 -06:00
Matthew Flatt
c352ef8fce
allow different phases for `free-identifier=?' arguments
2011-09-12 17:08:50 -06:00
Matthias Felleisen
481a92f272
fixed and/or documentation, Closes PR 12197
2011-09-12 17:12:39 -04:00
Robby Findler
1ec5aee4a4
add a better link from the snip class docs to the relevant section of the
...
wxme library
2011-09-12 10:49:13 -05:00
Matthew Flatt
ca0d7b5ef4
add ++aux' flag to
raco exe'
2011-09-09 17:03:18 -06:00
Matthew Flatt
735ca7f3c3
racket/gui: add `application-start-empty-handler'
2011-09-09 17:03:18 -06:00
Matthew Flatt
ce4705cedc
get-diplay-size' and
get-display-left-top-inset' use #f for failure
...
Since the number of monitors can change at any time, reliable
use of these functions requires handling failure in some way.
Handling #f results is easier (and less likely to mask other
problems) than catching exceptions.
2011-09-09 17:03:17 -06:00
Matthew Flatt
d3c56c9f13
generalized `begin-for-syntax'
2011-09-08 14:06:00 -06:00
John Clements
9b91d37032
added entry for cstruct->list converter
2011-09-06 10:05:42 -07:00
Robby Findler
57c59d2ed7
add yet another dialog-mixin argument to a standard dialog, this time
...
get-text-from-user
also, some minor rackety to that function/file
2011-09-05 20:19:16 -05:00
Matthew Flatt
cf772ceebd
Corrections to the guide's places entry
2011-09-05 18:10:00 -06:00
Robby Findler
67d17645c4
wrong super interface
2011-09-05 12:33:53 -05:00
Robby Findler
a67f509f90
add frame:focus-table-mixin & related things to be able to make drracket
...
test suites that don't depend on the OS giving any focus messages
2011-09-05 08:30:49 -05:00
Robby Findler
e4ddd0718a
break lines better
2011-09-05 08:30:46 -05:00
Robby Findler
9253707621
added a #:dialog-mixin argument to message-box and related functions
...
Also minor rackety (just enough to get keyword arguments)
2011-09-05 08:30:45 -05:00
Robby Findler
415868f914
added a #:dialog-mixin argument to get-file, put-file, get-file-list, and get-directory
...
Also, Rackety
2011-09-05 08:30:44 -05:00
Robby Findler
80c9e3c5d5
added a note about the blue dot
2011-09-05 08:28:41 -05:00
Sam Tobin-Hochstadt
d2e1cc02dc
Move typed-scheme to typed-racket collection.
...
Compatibilty typed-scheme collection left.
2011-09-03 20:49:39 -04:00
Matthew Flatt
82116cc3bd
add examples to regexp docs
2011-09-03 15:01:11 -06:00
Matthew Flatt
0b2beace40
add `schemecommentfont'
2011-09-03 14:57:57 -06:00
Matthew Flatt
3f09b2ea64
doc fixes
...
Closes PR 12157
2011-09-03 13:31:52 -06:00
Matthew Flatt
03991c778c
doc contract fix
...
Closes PR 12163
2011-09-03 13:31:27 -06:00
Matthew Flatt
60325da48c
clarify `unsafe-...*' in docs
...
The clarification mostly repeats information in the contract,
and we normally avoid that, but the bindings look undocumented
otherwise.
Closes PR 12162
2011-09-03 13:26:20 -06:00
Matthew Flatt
1c34ce9f19
clarify `define-struct/derived' in docs
2011-09-03 13:21:38 -06:00
Matthew Flatt
4025206bd7
fix `regexp-match' docs
2011-09-03 13:11:33 -06:00
Robby Findler
171858add1
wrong check for the result of system-type
2011-09-02 08:58:22 -05:00
Kevin Tew
6e2487bffa
Guide text for places
2011-09-01 12:02:20 -06:00
Robby Findler
49dbb5d963
adjust the close/close window/close tab menu items to be more like other apps on the various platforms
2011-09-01 10:53:09 -05:00
Robby Findler
8f6fb87597
adjust keybindings to free up <menukey>-r for "Run" and <menukey>-t for "New Tab"
2011-09-01 10:53:07 -05:00
Matthew Flatt
db0db9463e
adjust -X handling to make `raco exe' work on Unix
...
Closes PR 12151
2011-09-01 08:49:26 -06:00
Matthew Flatt
e7ec9f5eb7
document `scribble/pdf-render;
2011-09-01 07:14:03 -06:00
Matthew Flatt
ff140d721c
remove doc for non-existent function
2011-09-01 07:14:02 -06:00
James Ian Johnson
3f23a67d57
Fixed the duplicate identifier bug in match-define-values and changed identifiers to conform to naming conventions.
2011-08-31 22:27:02 -04:00
James Ian Johnson
dc61372f3c
Implemented Sam's suggested changes for new forms, and added a new match/values form.
2011-08-31 21:45:21 -04:00
James Ian Johnson
93e1b634a3
Added let and define forms that generalize let-values, let*-values and define-values
2011-08-31 21:45:21 -04:00
Vincent St-Amour
168291c89d
Use the right Scribble form for flags.
2011-08-31 16:53:29 -04:00
Vincent St-Amour
d028b63a08
Fix flag name in raco exe docs.
2011-08-31 15:53:10 -04:00
Kevin Tew
d5d28d3357
fix [] to {}
2011-08-30 11:27:18 -06:00
Kevin Tew
07c5c076e2
Fix cpointer and cstruct tag text
2011-08-30 09:52:06 -06:00
Robby Findler
61aaf584c5
adjust the threading protocol for compilings files to be kill safe
2011-08-30 07:59:33 -05:00
Eli Barzilay
187110cc2c
Change default temporary format from "mztmp~a" to "rkttmp~a".
2011-08-29 20:53:57 -04:00
Robby Findler
d4f4f754f1
make make-temporary-file use the source location for its template argument
...
(This involves making make-temporary-file be a macro instead of a procedure.)
2011-08-29 19:36:33 -05:00
Eli Barzilay
0e31b37aa4
Documentation typo.
2011-08-29 15:13:01 -04:00
Kevin Tew
a810b30b87
remove underscore from cpointer key
2011-08-29 08:44:32 -06:00
Matthew Flatt
2d1b0172fb
move Reference reader & prnter docs to the model chapel
...
instead of having those sections buried in the I/O chapter
2011-08-28 18:15:43 -06:00
Matthew Flatt
4f83f7f279
allow phase 1+ references to not-yet-defined bindings
...
For example,
(define-for-syntax (f x) (g x))
(define-for-syntax (g y) y)
is now allowed. The unbound-variable check for phase 1
and up is delayed until after the module body is partially expanded.
2011-08-28 10:27:31 -06:00
Matthew Flatt
b628ae8424
remove leftover tmp file during reference build
2011-08-28 07:50:41 -06:00
Robby Findler
8fd388fde1
adjust put-preferences docs to match implementation
2011-08-27 16:41:34 -05:00
Matthew Flatt
bedd7b1671
Guide corrections
2011-08-26 10:04:19 -06:00
Matthew Flatt
85790b6611
improve description of andmap' and
ormap'
...
Based on suggestions from Dan Grossman and Ryan Culpepper
2011-08-26 10:03:53 -06:00
Matthew Flatt
290fe066b6
add optional argument to weak-box-value' and
ephemeron-value'
2011-08-26 06:24:34 -06:00
Matthew Flatt
ecc058de4a
change `raco exe' to disable collection lookup by default
2011-08-25 09:15:30 -06:00
Matthew Flatt
ce7c0d62c3
if only a Unix root is shared, don't make a path relative
2011-08-24 20:08:20 -06:00
Matthew Flatt
ec29a2d85c
add `use-collection-link-paths'
2011-08-24 20:08:19 -06:00
Matthew Flatt
84e3ab2a20
add support for collection roots to the collection links file
2011-08-24 20:08:19 -06:00
Matthew Flatt
71e92bcecf
more `raco link' command-line changes: add -u, adjust -rn
2011-08-24 20:08:19 -06:00
Matthew Flatt
96098e678c
change -s `raco link' flag to -l
2011-08-24 20:08:19 -06:00
Matthew Flatt
2dbaa45e1b
add `raco unpack'
...
Although the ".plt" format is going to be replaced, the format is
currently viable for distributing collections, and I have wanted
a raw `unpack' command for a while. It was useful today to fix
problems with `raco pack' and collection links.
2011-08-24 20:08:18 -06:00
Kevin Tew
5a30aa89eb
Allow TCP sockets and file ports to be communicated across places
2011-08-24 14:33:54 -06:00
Robby Findler
41e22a6e3f
added the ability to tell drracket to run a program and then run something after that
...
used that ability to make the scribble buttons work better
2011-08-24 11:25:26 -05:00
Matthew Flatt
a7855e20a8
add `raco link'
...
includes a rewrite the "Module Basics" section of the Guide
2011-08-24 09:07:14 -06:00
Matthew Flatt
fa82d70cc6
slideshow/pict: add linestyle' and
#:style' argument to `pin-line'
2011-08-24 09:07:13 -06:00
Matthew Flatt
f082919f0b
doc style adjustments; reorg cmdline+editors docs in Guide
2011-08-24 09:07:12 -06:00
Matthew Flatt
a0ba7eb10c
doc clarifications
2011-08-24 09:06:28 -06:00
Asumu Takikawa
36d3cc69db
Typo in docs.
2011-08-24 03:00:41 -04:00
Kevin Tew
f85c73f83d
change evt? to handle-evt?
2011-08-23 14:02:01 -06:00
Kevin Tew
0f595f4882
docs cpointers over place-channels
2011-08-23 14:02:01 -06:00
Robby Findler
f22ec82d96
fix brain fart
...
closes PR 12126
2011-08-22 19:09:51 -05:00
Matthew Flatt
853e47f05e
fix broken-link reporting by `scribble'
2011-08-22 07:58:05 -06:00
Matthew Flatt
fc5fc02e5e
doc `has-alpha-channel?' method
2011-08-22 07:58:04 -06:00
Eli Barzilay
a0baee8ab9
Sandbox fixes
...
* When `accept-lang?' is #t turn the reader flag on, but otherwise don't
change it
* turn on the `read-accept-reader' flag which is needed after all
* two refactoring typos
* some more reformatting
2011-08-20 16:14:01 -04:00
Matthew Flatt
345b06838d
FFI: add C arrays and unions
2011-08-20 10:24:32 -06:00
Eli Barzilay
da3c6c9be2
Set read-accept-lang' to #t when reading a module in
make-module-evaluator'.
...
Also, some reformatting including uses of `define'.
2011-08-20 06:12:55 -04:00
Jon Rafkind
47d613f4ec
add 'exit-code as an available symbol to the status procedure returned by process
2011-08-19 17:12:13 -06:00
Matthew Flatt
2606c59a29
fix `call-with-file-lock/timeout' example
2011-08-19 15:58:05 -06:00
Matthew Flatt
11f5c84493
fix make-lock-file-name'; add
path-element?'
2011-08-19 15:46:44 -06:00
Matthew Flatt
7eb2042bd9
fix compiler handling of top-/module-level constants
...
The JIT and bytecode compiler disagreed on the definition of
"constant". Now there are two levels: "constant" means constant across
all instantiations, and "fixed" means constant for a given instantation.
The JIT uses this distinction to generate direct-primitive calls
or not. (Without the distinction, a direct jump to `reverse' could
be wrong, because `racket/base' might get instantiated with the
JIT disabled or not.)
Also, fixed a bug in the JIT's `vector-set!' code in the case that
the target vector is a top-/module-level reference that is ready,
fixed, or constant.
2011-08-19 06:32:44 -06:00
Matthew Flatt
39edc5a599
`scribble' reports broken cross references by default
2011-08-18 13:05:37 -06:00
Matthew Flatt
ab477b958c
fix reader graph-notation equivalence
2011-08-18 12:54:52 -06:00
Casey Klein
53e80f6f38
Adds a syncheck:add-arrow example to the docs
2011-08-17 11:59:43 -05:00
Vincent St-Amour
83c7abb250
Move the "other editors" section later in the guide.
2011-08-17 11:37:25 -04:00
Sam Tobin-Hochstadt
52fb1e3460
Add more elements to the list of things that are events.
2011-08-16 18:10:02 -04:00
Vincent St-Amour
01bc5b2822
Add ParenFace to the other editors docs.
2011-08-16 14:53:43 -04:00
Vincent St-Amour
d05f138ed2
Add precision to sequence-fold's doc.
2011-08-16 12:09:39 -04:00
Matthew Flatt
099a0eebed
improve codeblock' and
racketblock' docs
...
including an explanation of the advantages and drawbacks of each
2011-08-16 08:02:50 -06:00
Matthew Flatt
4555254380
add code' to
scribble/manual'
2011-08-16 07:53:05 -06:00
Matthew Flatt
c7e7d0d8ff
make racket' preserve
#t' versus `#true'
2011-08-16 07:53:05 -06:00
Matthew Flatt
a1eaecb337
add an #:escape' clause to all
schemeblock'-like forms
2011-08-16 07:53:05 -06:00
Eli Barzilay
d61eb53686
Lots of documentation formatting.
...
Started as fixing misindented definitions, then more indentations, then
a bunch of similar things (square brackets, huge spaces at end-of-lines,
etc).
2011-08-15 07:50:04 -04:00
Eli Barzilay
d3d9514b1c
typo
2011-08-15 05:05:29 -04:00
Eli Barzilay
87b0d35908
Make the "other editors" page be called that, also the source; also comment unused author line.
2011-08-15 02:37:39 -04:00
Robby Findler
00d3f72f21
fix up a few bugs, improve the docs, and start a test suite for the
...
new check syntax direct-to-traversal api
2011-08-14 14:32:45 -05:00
Robby Findler
3bf9ae25e2
add a note about the disappeared properties
...
to the check syntax section of the manual
2011-08-14 08:16:14 -05:00
Robby Findler
b300bae75c
added the lang/htdp-langs-save-file-prefix library
...
to help detect HtDP-lang save files
2011-08-13 15:03:29 -05:00
Matthew Flatt
1c04cf1b02
make `port-try-file-lock?' work for Solaris
...
Shared locking now allowed only on input port, and exclusive
locking is allowed only on output ports, which allows an implementation
via fcntl(...,F_SETLK,...).
2011-08-11 13:11:26 -06:00
Robby Findler
997813680d
change the #:get-lock-file argument of call-with-file-lock/timeout to #:lock-file
2011-08-11 09:29:31 -05:00
Robby Findler
78a999537d
clean up the contract checking for call-with-file-lock/timeout
2011-08-11 09:29:30 -05:00
Danny Yoo
91068e4085
adding example to the prose about using (for-syntax (for-syntax ...))
2011-08-10 16:28:42 -04:00
Danny Yoo
b72977963c
small fix to plural
2011-08-10 16:28:42 -04:00
Matthew Flatt
cc78030cd2
download LNCS and JFP class files on demand
2011-08-10 08:28:13 -06:00
Robby Findler
e043297ef8
use the supplied security guard in one more place where compiler/cm needs write permission
2011-08-10 07:45:14 -05:00
Asumu Takikawa
f818405dee
Fix typo.
2011-08-10 01:28:34 -04:00
Matthew Flatt
5352d670c4
generalize #%variable-reference' and add
variable-reference-constant?'
...
Use the new functions to make the expansion of keyword applications
to known procedure work with mutation.
2011-08-09 16:33:17 -06:00
Matthew Flatt
39a96dd699
add `prop:liberal-define-context'
2011-08-09 16:33:16 -06:00
Robby Findler
d3f1bed4ae
add missing sentence fragment
2011-08-09 14:07:49 -05:00
Ryan Culpepper
e7a6d757dc
change manual name to "DrRacket Plugins"
2011-08-09 12:29:28 -06:00
Asumu Takikawa
09e92ec81a
Recommend vim-racket plugin instead of .vimrc hacks
2011-08-09 01:37:01 -04:00
Matthew Flatt
f34c0329bf
scribble/manual: add `current-display-width' parameter
2011-08-08 17:10:54 -06:00
Vincent St-Amour
6e6d16b6c9
Add documentation about using Racket with popular text editors.
2011-08-05 17:31:13 -04:00
Matthew Flatt
ad7fddf878
add column-attributes' support and use it to fix
struct' rendering
2011-08-05 10:03:38 -06:00
Matthew Flatt
b7afb3cf8f
Scribble: support for "boxable" blocks in Latex output
...
For example, if you make a multi-column table with a
`racketblock' in each column, then the columns size
to fit the code --- instead of forcing the table width
to match the page width and forcing each column to take
an equal share width.
2011-08-05 10:03:38 -06:00
Matthew Flatt
4ac85de974
Scribble: style adjustments to deter code wrapping
...
For HTML, the style used in the output of `racketblock' now
disables line wrapping, and the Rkt text styles inherit
line-wrap behavior. This doesn't solve the general problem
of code overflowing the horizontal space, but it makes the
failure mode usefully better.
A new 'vertical-inset nested-flow style is used by
`defproc', `defform', etc. It has no effect for HTML,
but it introduces suitable vertical space for Latex output
(in case you want to use `defproc' in a SIGPLAN-format
paper, for example).
2011-08-05 10:03:37 -06:00
Robby Findler
c2fdf43189
add a file I shoudl have added in an earlier commit (for the drracket read-language docs)
2011-08-05 09:02:34 -07:00
Robby Findler
0c6bc11ac3
start a section for documenting the symbols that DrRacket passes to a language's get-info proc
...
add docs for a few of these, notably the syntax colorer
2011-08-04 21:40:29 -07:00
Matthew Flatt
71621bfd72
remove unsupported MDI styles and method
...
Closes PR 12042
2011-08-04 08:02:54 -06:00
Matthew Flatt
113f889592
correct correction
2011-08-03 08:46:33 -06:00
Matthew Flatt
22c8cdec0b
another more doc correction
...
(should have been part of the previous commit)
2011-08-03 08:40:55 -06:00
Matthew Flatt
6634332458
doc repairs
...
Thanks to Yin Wang
2011-08-03 08:33:04 -06:00
Matthew Flatt
9a14b47ccc
doc typo
...
Closes PR 12006
2011-08-02 17:15:23 -06:00
Matthew Flatt
3ffa731f80
fix docs
...
Closes PR 12011
2011-08-02 17:07:39 -06:00
Robby Findler
b972a0940d
Added online expansion and compilation of files
...
being edited in DrRacket (via places)
Added an API to let tools have access to that
information (and compute more stuff)
Used that to make an online version of Check Syntax
which led to a separately callable Check Syntax API.
2011-08-02 16:28:16 -05:00
Robby Findler
32becaf860
added a #:security-guard argument to:
...
managed-compile-zo
make-caching-managed-compile-zo
make-compilation-manager-load/use-compiled-handler
that gets used when compiled files, dep files, and compiled/ directories are created.
2011-08-02 16:28:10 -05:00
Eli Barzilay
a748b35f35
Updated DrRacket images
2011-08-02 16:56:02 -04:00
Matthias Felleisen
8e176bc275
added documentation for Carl's ... in the student languages; otherwise 2e dots in templates look ugly
2011-08-01 20:13:20 -04:00
Matthew Flatt
7977d1817e
expose the scribble' command-line driver as
racket/render'
2011-08-01 14:40:49 -06:00
Matthew Flatt
8a00308ad5
add lib' to
setup/infotab' exports
...
and fix up documentation, which didn't mentioned the allowed
`require' form
2011-07-31 04:43:24 -06:00
Eli Barzilay
b644e335d9
Fix the docs for `call-in-sandbox-context'.
...
Closes PR 12081.
2011-07-30 09:33:24 -04:00
Robby Findler
a672704e5e
add support for thread-safe compilation to compiler/cm (and use it in drracket)
2011-07-30 09:01:46 -04:00
Robby Findler
085b497b1c
tidy up parallel build api docs
2011-07-30 09:01:44 -04:00
Matthew Flatt
b78a1a8355
remove abbreviations for for/sum' and
for/product'
2011-07-27 07:55:20 +01:00
Matthew Flatt
7123996b30
change `eval-jit-enabled' initialization
...
to reflect whether JIT compilation is supported by the build
(i.e., set it to #f initially when the JIT is not supported)
2011-07-27 07:55:05 +01:00
Matthew Flatt
f1160da419
add for/sum',
for/product', etc.
2011-07-27 05:47:46 +01:00
Matthew Flatt
f13a669d05
add 'no-focus style to `editor-canvas%'
2011-07-25 11:30:23 -04:00
Stevie Strickland
01396784c9
Fix set/c to conform to hash/c-like restrictions.
...
Since sets are implemented using the elements as the domain of a hash table,
the following must be true:
* element contracts for (seteq ...) must be flat
* element contracts for (seteqv ...) must be flat
* element contracts for (set ...) must be chaperones, and the resulting
contract is a chaperone contract
Also, change higher-order set/c contracts to be chaperone contracts
due to the new restrictions.
2011-07-21 18:49:06 -04:00
Robby Findler
230f18a366
add some detail about bullet and o-bullet to slideshow docs
...
closes PR 12055
2011-07-19 16:17:02 -05:00
Robby Findler
3fa2cc0d67
adjust the size-pref frame mixin to track the position of the frame in a multi-monitor sensitive way
...
(also fix various issues with that code and unify the framework and drracket way of doing this)
2011-07-19 16:16:50 -05:00
Matthew Flatt
23a2a075ea
add get-display-count' and #:screen argument to
get-display-size'
...
and to `get-display-left-top-inset'
add -M <monitor> option to Slideshow
2011-07-18 20:15:15 -06:00
Matthew Flatt
25329c203c
typo
2011-07-18 19:59:05 -06:00
Eli Barzilay
5fb8390609
Hook XREPL into a few places where readline' and
enter!' are mentioned.
2011-07-18 14:25:10 -04:00
Eli Barzilay
45394bb7b6
Use (banner) instead of a fixed "Welcome to Racket" in the More tutorial
...
and in the guide.
Also, add a tag to the readline "License Issues" to be able to link to
it from the xrepl docs.
2011-07-18 14:25:10 -04:00
Guillaume Marceau
adf965e92a
Undoes the 'produces -> return' part of commit c31d352f
, keeping the 'changes -> mutates' change and the assorted bug fixes it contained.
2011-07-17 16:48:12 -04:00
Matthew Flatt
4307bcace5
fix taint behavior of some syntax operations
...
`syntax-local-get-shadower' and
`syntax-make-delta-introducer' both taint their
results when a given syntax object is tainted
2011-07-16 08:03:54 -06:00
Robby Findler
9e0a866969
typo
2011-07-15 21:25:14 -05:00
Matthew Flatt
d718a2b128
fix docs to clarify that `#%expression' appears from local-expand
2011-07-15 20:16:45 -06:00
Matthew Flatt
bed64be873
allow larger font sizes --- up to 1024
...
It's not clear that any limit is still needed, and probably
font sizes should be liberalized to reals instead of
integers (but I don't want to spend that kind of time
right now).
2011-07-15 19:43:47 -06:00
Matthew Flatt
f288c694db
clarification
2011-07-15 19:43:47 -06:00
Guillaume Marceau
7134d67921
Roll back the "expr -> expression" change in the grammar documentation of the
...
teaching languages. The extra width was breaking some browsers.
2011-07-15 03:34:59 -04:00
Guillaume Marceau
c31d352f2b
Standartize the vocabulary to "the function returns" and "set! mutates"
2011-07-15 03:27:27 -04:00
Matthew Flatt
1c4722eaee
remove obsolete reference to '#%mred-kernel
2011-07-14 21:32:47 -06:00
Matthew Flatt
5e5172baab
fix typo; eliminate "this" as a noun; otherminor improvements
2011-07-14 21:32:47 -06:00
Matthew Flatt
7be0c8236f
fix `procedure-reduce-keyword-arity' checking
...
and clarify need for distinct keywords in parts of the
documentation
2011-07-14 17:07:18 -06:00
Vincent St-Amour
937d0ad722
Fix unbalanced curly brackets.
2011-07-14 18:51:13 -04:00
Asumu Takikawa
6c3284a828
Fix a few framework contracts to match code
2011-07-14 18:15:48 -04:00
Eli Barzilay
db7f2b4542
Add a new #:dont-re-require-enter' flag for
enter!', to avoid
...
requiring itself into the entered namespace.
This makes it useful in some cases where this require leads to a
dependency cycle, eg (enter! racket/list). It's obviously not useful
for use as-is, since you will not have a bound `enter!' to get out of
the namespace (and possibly no `require' to get it) -- but it is useful
for meta-tools like xrepl. This is why the flag is verbose. `xrepl'
now uses this flag.
Also, the check for valid keywords for the form is now done at runtime
rather than in the macro. This doesn't matter in this case, since the
form is intended for interactive use anyway.
Also, separate the two parts of `enter-load/use-compiled' (it was
defined curried, but didn't use it).
2011-07-14 17:21:46 -04:00
Guillaume Marceau
793d7894f1
Better fix for the previous bug.
2011-07-14 00:12:47 -04:00
Guillaume Marceau
452f3a14fb
Fixed that 'all contracts for primitives print as lists' bug in scribblings/htdp-langs.
2011-07-13 23:52:10 -04:00
Sam Tobin-Hochstadt
355050acde
Docs for racket/kernel
2011-07-13 18:15:51 -04:00
Asumu Takikawa
2fdc56db3a
Use real contract in bitmap% docs
2011-07-13 15:35:38 -04:00
Matthew Flatt
007614fc9f
add gradient transformation to `brush%'
2011-07-13 10:45:19 -06:00
Robby Findler
2fb03852b3
fix bad contract
2011-07-13 06:47:20 -06:00
Matthew Flatt
cc6f3f69ab
add `port-set-next-location!'; make prompt read handler use it
...
Closes PR 12035
2011-07-10 08:36:47 -06:00
Eli Barzilay
ebe9453e73
Fix the path relative functions to return a string for a path input,
...
clarify the documentation, add a few tests.
Fixes pr 12032
Fixes pr 12034
2011-07-10 06:53:44 -04:00
Matthew Flatt
089201b49b
doc typo fixes
2011-07-09 06:16:10 -06:00
Guillaume Marceau
3815862a81
Remove spurious printf left in 9053f8f9
2011-07-09 01:39:17 -04:00
Guillaume Marceau
9053f8f99b
Fixed documentations bugs in scribblings/htdp-langs
2011-07-08 23:34:29 -04:00
Guillaume Marceau
91d5c92415
Little tweaks to the *SL documentation
2011-07-08 18:23:16 -04:00
Ryan Culpepper
73230537ba
removed merge conflict artifact
...
Merge to release branch
2011-07-08 15:34:59 -06:00
Matthew Flatt
b98e1b189a
change semantic of internal definitions
...
and `letrec-syntaxes+values' --- allowing `let' in place
of `letrec', which in turn lets the compiler optimize
away location allocation
2011-07-08 14:00:41 -06:00
Matthew Flatt
65b1a569a0
add `unsafe-list-{ref,set}'
...
Use the new functions in `syntax-case'; the benefit is small, and
it's mostly useful as hint to the optimizer that the operation
can be dropped if the result isn't used
2011-07-08 06:23:29 -06:00
Ryan Culpepper
8ebda770a6
restored Getting Started link
2011-07-07 14:00:22 -06:00
Matthew Flatt
6c3360c716
fix formating of duplicated syntax descriptions
2011-07-07 10:45:43 -06:00
Matthew Flatt
e1b02e08f7
generalize `defform' & co. to better support abstraction
2011-07-07 10:45:43 -06:00
Matthew Flatt
d8352d5890
allow lists of pre-content to `decode-content', etc.
...
and improve docs for `scribble/decode'
2011-07-06 09:07:19 -06:00
Eli Barzilay
0ee3aef9cb
Redo some of the ".ss" -> ".rkt" conversion that were undone in the last push.
2011-07-06 06:21:49 -04:00
Guillaume Marceau
eedab060ba
Updated teachpack documentation for the new vocabulary.
2011-07-06 05:35:17 -04:00
Guillaume Marceau
01b9bde7fa
The documentation for htdp-lang now uses the new vocabulary.
2011-07-06 00:27:28 -04:00
Matthew Flatt
5d06476cb3
scribble: clarify intent of `#:use-sources'
2011-07-05 07:03:26 -06:00
Matthew Flatt
a7deb516f7
minor doc style corrections
2011-07-04 16:48:25 -06:00
Matthew Flatt
4905d344dd
slideshow/pict: add `rotate'
...
which requires two new fields in the `child' struct to support
`lt-find', etc., when child picts are rotated
2011-07-04 16:26:09 -06:00
Matthew Flatt
850b85cbdb
add some cross-references
2011-07-04 16:26:09 -06:00
Matthew Flatt
b57cf0134f
fix typos
2011-07-02 19:18:11 -06:00
Eli Barzilay
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04:00
Eli Barzilay
4da4a2759b
New setup/path-to-relative' that supersedes
unstable/dirs' and most of
...
`setup/private/path-utils'.
The API is a little different: instead of getting the alist and the
path, there's a curried function that gets the alist and produces a
function to do the substitutions.
2011-07-02 01:10:38 -04:00
Eli Barzilay
6b44974b42
Improvements around uses of the current `unstable/dirs', and
...
`setup/path-relativize'.
`setup/path-relativize' is freed from a bunch of things that were due to
historical baggage, but some remain. (Also, update its docs.)
2011-07-02 01:10:38 -04:00
Ryan Culpepper
4d38f491ca
moved algol60 and honu docs to experimental category
...
remove empty doc categories
2011-07-01 20:13:52 -06:00
Ryan Culpepper
1b702a2ae3
docs reorganization
...
added tutorial, racket categories
relabeled some other categories
normalized manual names: de-bolded, changed some names
2011-07-01 17:16:53 -06:00
Matthew Flatt
59731368fc
add ffi/winapi; use it in mzlib/os
...
Closes PR 12007
2011-07-01 10:42:17 -06:00
Matthew Flatt
dca102a7f1
document place termination better
...
e.g., the fact that the exit handler is set in a place
2011-07-01 09:30:11 -06:00
Kevin Tew
c6c1f9d533
Fixed missing bracket
2011-06-30 16:53:45 -06:00
Kevin Tew
7bd4ba9b11
place-dead-evt docs
2011-06-30 15:52:29 -06:00
Matthew Flatt
e921f20b6a
disable (minimize?) smoothing for `draw-bitmap' in 'unsmoothed mode
2011-06-30 12:25:56 -06:00
Kevin Tew
c3059f7e82
place-dead-evt
2011-06-30 10:02:21 -06:00
Matthew Flatt
69ad39d45c
fix `compiler/zo-parse' & co.
2011-06-30 08:24:41 -06:00
Matthew Flatt
1160d3df62
remove syntax certificates; add syntax taints
2011-06-29 19:15:48 -06:00
Eli Barzilay
0af236dc2f
Add block' to
scribble/text', to explicitly ask for an indentation block.
...
* Lists are now either blocks or splices depending on whether they
appear inside a block or a splice (default to block).
* Adjusted the docs and a single test where this mattered.
* Change the documentation to be "text.html" and to be titled "text
generation".
2011-06-28 18:16:07 -04:00
Eli Barzilay
78dacef817
Get rid of "defaultly"s.
2011-06-28 02:11:24 -04:00
Eli Barzilay
40124a0619
A long overdue scan to eliminate files without terminating newlines.
...
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Eli Barzilay
a38f384a00
Finish converting scheme' ->
racket'.
...
Everything compiles fine now even if the compatibility bindings are
gone.
2011-06-28 00:45:38 -04:00
Robby Findler
f93ff4de26
added get-pos/text-dc-location method to editor:basic in framework
2011-06-26 15:49:55 +08:00
Eli Barzilay
ac26fe7554
A ton of @scheme*' ->
@racket*' and related updates.
...
Also, updates some of the mzlib files to point at `racket/*' libraries
rather than to `scheme/*' ones.
2011-06-25 04:08:47 -04:00
Danny Yoo
741361d413
adding example for exns
...
Signed-off-by: Sam Tobin-Hochstadt <samth@racket-lang.org>
2011-06-23 11:54:22 -04:00
Robby Findler
511d48fa5e
removed bogus methods from docs (leftovers from when the functionality was in a different place than it currently is (I think))
...
closes PR 11999
2011-06-23 22:35:18 +08:00
Asumu Takikawa
cbd0f31800
Fix another GUI typo
2011-06-22 16:04:19 -04:00
Matthew Flatt
3f95fabf7c
add --latex-section' mode to
scribble'
2011-06-22 07:49:15 -06:00
Matthew Flatt
73f6a2b392
document `scribble' command-line use
2011-06-21 06:45:44 -06:00
Matthew Flatt
3daf61f605
dc clarification on `thread-suspend'
2011-06-20 14:46:14 -06:00
Eli Barzilay
debd1f9f1e
Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
...
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Matthew Flatt
f34a31cac9
"under <platform>" -> "on <platform>"; "X" -> "Unix"
...
I originally picked "under" as the preposition to go before
a platform name, but obviously you should build "on" a
platform, and "under" suddenly annoys me. The choice of "on"
is now codified in the documentation style guide. Meanwhile,
"Unix" insted of "X" seems more clear and consistent in the
`racket/gui' docs.
More usefully, this patch also fixes a few out-of-date
platform-specific claims.
2011-06-17 18:54:43 -06:00
Vincent St-Amour
8f092e8330
These changes break with bad sandboxes.
...
Revert "Fix interface."
Revert "Add more scribble forms that evaluate code and display the results."
This reverts commit a621eaf041
.
This reverts commit 7e9dbded4c
.
2011-06-17 15:18:48 -04:00
Vincent St-Amour
a621eaf041
Fix interface.
2011-06-17 14:47:16 -04:00
Vincent St-Amour
7e9dbded4c
Add more scribble forms that evaluate code and display the results.
2011-06-17 14:04:38 -04:00
Matthew Flatt
b1e47eba45
add `place-message-allowed?' and fix related problems
...
Closes PR 11983
2011-06-17 10:33:27 -06:00
Matthew Flatt
56423f330e
`procedure-arity-includes?' reports #f for keyword-requiring procs
...
by default; a new optional argument restores the old behavior
(but the default behavior is consistent with the old docs and with
the vast majority of existing uses)
The implementation is ugly for performance reasons. A new primitive
`prop:arity-incomplete' property determines when to return #f for
`procedure-arity-includes?' in default mode. A nicer implementation
would be to redefine `procedure-arity-includes?' at the kw-proc level,
but the bytecode optimizer's and JIT's treatment of the built-in
`procedure-arity-includes?' is important. The implementation choice
could be revisited after cross-module inlining is implemented.
Closes PR 11978
2011-06-16 12:36:16 -06:00
Danny Yoo
e35e005a1c
added example of making an evaluator for interaction
2011-06-16 12:09:55 -04:00
Matthew Flatt
83d002a9aa
fix interaction of `port-commit-peeked' and port positions
...
--- includes a small hack to the `make-input-port' protocol
to specially handle a byte-string result as "true"
from the `commit' proc
2011-06-16 08:17:14 -06:00
Matthew Flatt
80bd949531
add mode to arc' in
dc-path%' to support right/bottom alignment
2011-06-16 08:17:14 -06:00
Sam Tobin-Hochstadt
d5b25eb500
Document match-lambda**' and
match[*]/derived'
2011-06-15 18:11:41 -04:00
Robby Findler
9bf26ef69e
add more caching to avoid calling normalize-path so much;
...
this should affect the test coverage coloring and the stacktrace
arrows/stop-sign window
2011-06-15 16:45:47 +08:00
Eli Barzilay
c0051518be
Fix `{user,group,other}-{read,execute}-bit' (in the docs too).
...
Make the launcher template copying code try to ensure that all user
access bits are on.
2011-06-14 21:27:36 -04:00
Eli Barzilay
be84425bd0
Rewrite compose' and add
compose1'.
...
The new version fixes some problems with the previous one, most notably
it can create a keyworded function when the last input is is keyworded.
`compose1' is a restricted variant that requires single values in the
composed pipeline -- besides being potentially faster (probably more
if/when there is cross module inlining), it has a semantical
justification, similar to the restricting function call arguments to
return single values, with similar robustness benefits. The
implementation of both is done in a generalized way, and the results can
be faster for both `compose' and `compose1'. (Not by much -- 20% and
30% resp.)
One thing that it could do is to reduce the resulting arity to match the
last given function. I didn't do this since it adds a significant
overhead to the result. (No strong opinion on doing that...)
2011-06-14 19:02:30 -04:00
Eli Barzilay
80f0d57cdd
Revise this comment
2011-06-14 19:02:30 -04:00
Asumu Takikawa
ed590b8ec5
Fix GUI and Reference doc typos
2011-06-13 17:57:21 -04:00
Asumu Takikawa
01a987bf5e
Use a real contract instead of imaginary for sleep
2011-06-13 12:09:52 -04:00
Kevin Tew
939f0b1c0b
rename place-dynamic to dynamic-place
2011-06-11 15:36:16 -06:00
Matthew Flatt
80c4396dc1
JIT-inline struct type property predicates and accessors
2011-06-11 08:35:34 -07:00
Ryan Culpepper
d22a16a3c7
fix guide typos
...
closes PR 10577
2011-06-10 12:55:57 -06:00
Ryan Culpepper
042402b023
fix guide typos
...
closes PR 10580
2011-06-10 12:55:57 -06:00
Kevin Tew
1473b7775f
Places: rename place and place/anon
2011-06-10 11:07:01 -06:00
Matthew Flatt
460504c852
add #:unless' to
for'
2011-06-10 06:21:35 -07:00
Kevin Tew
f88c0bbe80
Places: Missed some send receive renames
2011-06-10 06:38:13 -06:00
Kevin Tew
21f7109204
Places: rename send receive to put get
2011-06-09 23:48:55 -06:00
Eli Barzilay
40a88b6037
Fix TR docs wrt to `racket/function' change, close evaluators, fix
...
copy/paste typo in `thunk' docs.
2011-06-07 13:07:46 -04:00
Eli Barzilay
313e4e75fc
Better section heading
2011-06-07 03:40:13 -04:00
Eli Barzilay
17b6ffa731
Move thunk' from
unstable/function' into `racket/function'.
...
Actually, the new `thunk' is a nullary function, which I think is very
popular expectation for the name. Since there are possible uses for the
any-arity version, it's added too, as `thunk*'.
2011-06-07 03:38:06 -04:00
Eli Barzilay
a70ef57f02
Move identity' from
unstable/function' into `racket/function'.
2011-06-07 03:38:06 -04:00
Matthew Flatt
0e0426a150
document scheme_enable_garbage_collection()
2011-06-06 20:22:58 -07:00
Eli Barzilay
3ecdd3bc59
Specify what happens on OS X with ;-separated globs.
...
Also, update the `path-dialog%' intro -- it is no longer similar to the
dialog under X.
2011-06-06 02:01:26 -04:00
Robby Findler
a42068a709
fix prose slightly
2011-06-03 20:33:34 -07:00
Robby Findler
5848c1f5a6
add a note about where protected methods fit into our world
2011-06-03 20:09:16 -07:00
Matthew Flatt
b24c387dde
add PLTDISABLEGC environment variable
2011-06-02 16:20:20 -07:00
Carl Eastlund
c8600f01a1
Added examples to documentation for for/fold/derived, for*/fold/derived,
...
define-sequence-syntax, and :do-in.
2011-06-02 16:10:23 -04:00
Vincent St-Amour
c32efa727c
Document with-intercepted-logging.
2011-06-01 16:11:11 -04:00
Carl Eastlund
5582f7591f
Replaced an outdated reference to syntax-object->datum with syntax->datum.
2011-06-01 01:47:23 -04:00
Matthew Flatt
fbbb30f7b0
try to clarify intent of #:contracts' in
defform'
2011-05-30 08:58:11 -06:00
Matthew Flatt
a7ae3b807e
fix docs for `multi-in'
...
because the previous documentation didn't actually define the form;
the examples were good, but epecting a reader to infer meaning
from examples wasn't good enough. The use of a `module-path?' contract
in the old docs wasn't appropriate; contracts apply to values, while
grammar productions should be used to document syntax constraints.
Also, `module-path?' was too permissive (only literal strings and
identifiers are actually allowed), while the actual syntax allows
either a single path or a sequence.
2011-05-30 08:49:46 -06:00
Matthew Flatt
bbfeb85440
mak argument to `make-immutable-hash' optional
2011-05-30 07:38:57 -06:00
Matthew Flatt
f3e1cf10aa
change `hash-count' to take the lock; fix docs
2011-05-30 07:38:57 -06:00
Eli Barzilay
13b2adc18c
Switch the license text from LGPLv2 to LGPLv2.1.
...
This makes it correspond to the license page we have on downloads that
talks about the "lesser" GPL rather than the "library" one.
Also, change the file name to have a more friendly .txt suffix, and add
some more responsible properties for things in doc/release-notes.
2011-05-27 18:09:55 -04:00
Vincent St-Amour
48b5725b2e
Document extension to multi-in.
2011-05-26 11:56:31 -04:00
Vincent St-Amour
c3da0babb7
sub-in -> multi-in
2011-05-26 11:56:31 -04:00
Asumu Takikawa
7f143f03ed
Add impersonator-contract? along with docs/tests.
...
The impersonator-contract? function checks if its argument is
a contract that is neither flat nor a chaperone contract.
2011-05-26 00:37:05 -04:00
Asumu Takikawa
78689098eb
Fix docs on editor-snip% init arg
2011-05-25 23:39:38 -04:00
Matthew Flatt
e7d2cb73d9
doc formatting fixes
2011-05-25 07:32:47 -06:00
Vincent St-Amour
2cddccfe7e
Improve docs for sub-in.
2011-05-24 16:53:52 -04:00
Tony Garnock-Jones
7615c2a512
Implementation, documentation and tests for adding a failure-result to property accessor procedures.
2011-05-24 16:53:52 -04:00
Tony Garnock-Jones
9ce0f9d29e
Minor cleanup of documentation for make-impersonator-property.
2011-05-24 16:53:52 -04:00
Matthew Flatt
f46edbe1ff
fix doc typo
2011-05-24 12:58:53 -06:00
Vincent St-Amour
5e87097854
Document the sub-in require syntax.
2011-05-24 12:40:16 -04:00
Vincent St-Amour
c5973bea99
Add note about modules vs REPL in performance docs.
2011-05-24 10:57:47 -04:00
Matthew Flatt
00e17ab51f
adjust Guide to warn about performance measurement in DrRacket
2011-05-24 08:02:09 -06:00
Matthew Flatt
22702a70bd
typo
2011-05-24 06:28:54 -06:00
Matthew Flatt
23777f291c
avoid flock() under Solaris
2011-05-24 06:18:40 -06:00
Matthew Flatt
b6445880e2
add pre-multiplied mode for `{get,set}-argb-pixels'
2011-05-18 16:01:33 -07:00
Matthew Flatt
905eb11651
fix alpha-only mode of `get-argb-pixels'
...
Closes PR 11927
2011-05-17 16:00:36 -07:00
Robby Findler
71770ee285
one more collection-path => collection-file-path in scribble
2011-05-16 06:51:25 -05:00
Matthew Flatt
66178570b6
scribble: add support for setting a document date
...
in Latex output, and also document and generalize
the 'pretitle paragraph style
2011-05-15 19:42:22 -06:00
Matthew Flatt
343568fd84
fix return type of scheme_get_place_table()
2011-05-13 14:06:52 -06:00
Matthew Flatt
a613e81fcd
change protocol for extensions with places
...
- extension gets scheme_initialize() per-place
- simplify allocation and fix locking for scheme_new_type()
- better Inside docs on places
2011-05-13 14:06:51 -06:00
Matthew Flatt
49aadc599a
ffi: add `#:in-original-place?' to deal with thread-unsafe libs
...
and use it for Pango, which is not thread-safe at the C level
2011-05-13 08:55:04 -06:00
Matthew Flatt
c5816ab6f9
fix doc typo
2011-05-13 08:55:03 -06:00
Ryan Culpepper
dc0138bcb7
minor doc fix (optional args last)
2011-05-11 15:56:24 -06:00
Jon Rafkind
3b73fa1462
lower -> faster
2011-05-10 21:56:13 -06:00
Matthew Flatt
4671b5f2ba
fix `scribble/lncs' docs
2011-05-10 20:34:28 -06:00
Jon Rafkind
c11a177009
add notes about using racket/base instead of racket. closes pr 10992
2011-05-10 18:18:00 -06:00
Robby Findler
1b838cf85a
add c:x;t as a keybinding for the latex shortcuts
...
closes PR 11871
2011-05-10 15:34:47 -05:00
Robby Findler
a1217107b2
added the scribble/lncs language
2011-05-10 14:10:28 -05:00
Matthew Flatt
0011f5957d
fix rotation problems and sense of `transform'-like operations
...
so that they conceptually apply after the current
transformation, instead of before the current transformation;
more general rotation problems were related to aligned drawing
and the calculation of the effective scale for alignment
2011-05-10 09:53:49 -06:00
Matthew Flatt
a4da2a3f4c
fix varref' in
compiler/zo-structs', etc.
...
and sync docs better with implementation
2011-05-09 09:43:32 -06:00
Robby Findler
2fe1c3b80d
document the help collection's top-level modules
2011-05-06 17:29:03 -05:00
Matthew Flatt
34b8dc249e
fix documented contracts for path functions
...
and make `cleanse-path' work for any platform's paths
while fixing `resolve-path' checking to disallow paths
for other platforms
Closes PR 11891
2011-05-04 11:40:01 -06:00
Matthew Flatt
76484e9ead
fix docs
...
Closes PR 11888
2011-05-03 14:43:27 -06:00
Matthew Flatt
3bf438f580
rewrite `ffi-lib' docs with better guidance on versions
2011-05-03 13:16:21 -06:00
Matthew Flatt
2ada6d0e89
break link to namespaces from from closures over top-/module-level vars
...
- the `lam' structure from `compiler/zo-struct' changed to include a
`toplevel-map' field
This change helps solve a finalization problem in `racket/draw',
which in turn sigificantly reduces the peak memory use of `raco setup'
during the doc-building phase (because some documents load `racket/draw'
to render images, and multiple copies of `racket/draw' were retained
before finalization was fixed).
The change is an extreme way to solve a specific finalization
problem, but it's a kind of space-safety improvement; space safety
almost never matters, but when it does, then working around a lack of
space safety is practically impossible. In this case, it's not clear
how to otherwise solve the `racket/draw' finalization problem.
The improvement doesn't change the representation of closures, but it
requires special cooperation with the GC. All closures in a module
continue to share the same array of globals (plus syntax objects);
that is, instead of completely flat closures, Racket uses a two-level
environment where top-/module-level variables are grouped
together. The code half of a closure now records which
top-/module-level variables the body code actually uses, and the mark
phase of GC consults this information to retain only parts of the
top-/module-level environment frame that are actually used by some
closure (or all of the frame if it is accessible through some other
route). In other words, the GC supports a kind of "dependent
reference" to an array that is indexed by positions into the array
--- except that the code is more in the "Racket" directory instead of
the "GC" directory, since it's so specific to the closure
representation.
2011-05-03 06:57:49 -06:00
Robby Findler
2230605301
add a #:use-sources keyword to deinprogramm docs to get scribble to know about more of the docs
2011-05-02 05:52:59 -05:00
Robby Findler
d6ef130fd2
cleaned up framework docs
2011-05-01 14:16:04 -05:00
Robby Findler
551c6866d1
add in the supported ->i forms
2011-05-01 14:15:57 -05:00
Asumu Takikawa
4b575c315b
Fixed inconsistent return values for get-pos/text.
2011-04-29 14:11:21 -04:00
Sam Tobin-Hochstadt
e8f07c1dc3
Add more examples for remove',
remq', `remv'.
2011-04-29 13:27:38 -04:00
Sam Tobin-Hochstadt
9469835be4
Add deftech for "future".
2011-04-28 18:23:53 -04:00
Matthew Flatt
982503b083
share a timestamp cache across all collections during `raco setup'
2011-04-27 19:02:08 -06:00
Asumu Takikawa
836ac18667
Fix documented contracts in framework/color.
2011-04-27 17:47:30 -04:00
Kevin Tew
7134b95ff1
[Places] place/anon place/thunk
2011-04-27 11:50:44 -06:00
Vincent St-Amour
b2f7132577
Fix typos in ephemeron docs.
2011-04-27 10:11:05 -04:00
Matthew Flatt
4cd0ba277e
remove `define-wish' from BSL for now
...
Merge to 5.1.1
2011-04-27 06:09:30 -06:00
Kevin Tew
a589ea42b6
[Places] added place-break primitive
2011-04-26 18:41:19 -06:00
Matthew Flatt
8679afed60
clean up C part of build
...
- no more attempt to support places with the Boehm GC
- no more libatomic (which was for places + Boehm GC)
- remove unsupported configuration options
- strip Racket-specific configure options before libffi configure
- port two leftover Perl scripts to Racket scripts
2011-04-26 17:14:55 -06:00
Robby Findler
7701f75fb0
adjusted test-docs-complete.rkt tests
2011-04-25 19:00:01 -05:00
Asumu Takikawa
6d1b584271
Documentation fixes in framework
2011-04-25 17:56:45 -04:00
Robby Findler
e7d0029aea
added lots of new tests that our documentation is complete
2011-04-25 13:24:43 -05:00
Robby Findler
1fdfd8406d
made sure that all of the mzlib/contract exports are documented
...
(some by using racket/contract exports and some by adding
more docs)
2011-04-25 11:54:14 -05:00
Robby Findler
be1a0e62f7
added docs for current-contract-region
2011-04-25 11:53:23 -05:00
Robby Findler
21cbd9ad81
added the racket/contract/combinator library,
...
and documented and adjusted these libraries:
racket/contract/base
racket/contract/exists
racket/contract/parametric (renamed from exists)
racket/contract/region
2011-04-25 11:51:44 -05:00
Ryan Culpepper
8ad54552a1
fix references in eopl docs to assq, etc
2011-04-24 20:41:34 -06:00
Matthew Flatt
2f8006aa6b
add an optional argument to `assoc'
...
and implement `assoc', `assq', and `assv' in Racket
2011-04-24 07:55:33 -06:00
Matthew Flatt
b1ac25023d
allow additional arguments to `raise-mismatch-error'
...
because it's often useful to show more values, and a
tail `raise-mismatch-error' instead of a nested `format'
can avoid some safe-for-space work in the JIT output
2011-04-24 07:55:33 -06:00
Matthew Flatt
e78a60016f
fix cross-reference
2011-04-24 07:55:32 -06:00
Matthew Flatt
0754ad0114
safe-for-space repairs for functions with rest args
2011-04-22 15:59:33 -06:00
Asumu Takikawa
14ef89c37d
Fix documentation for gui, draw, and framework.
...
- General cleanup/consistency (e.g. void -> void?)
- Fix misdocumented methods (found violations via contracts)
2011-04-22 11:27:08 -04:00
Matthew Flatt
499800d96e
fix typos
2011-04-20 14:25:53 -06:00
Stephen Chang
3e08a61190
fix typo in guide sec 17.3.3
2011-04-19 14:32:17 -04:00
Matthew Flatt
18e3f54fa5
doc corrections
...
Closes PR 11865
Merge to 5.1.1
2011-04-19 07:24:37 -06:00
Matthew Flatt
6664e20815
fix typo
...
Closes PR 11864
Merge to 5.1.1
2011-04-19 07:24:22 -06:00
Jon Rafkind
cdb63b9c77
show an example of define-fun-syntax and using the keywords
2011-04-18 17:27:21 -06:00
Matthew Flatt
963a8214b8
fix typo
...
Closes PR 11862
Merge to 5.1.1
2011-04-18 15:47:52 -06:00
Matthew Flatt
e0d26d88b6
support exact nonnegative integers as sequences
2011-04-18 14:55:02 -06:00
Matthew Flatt
82c5cd95aa
fix typo
2011-04-18 06:34:50 -06:00
Matthew Flatt
2a5fe45c7a
add `namespace-attach-module-declaration'
...
which creates a little more sharing than the automatic
caching of modules, but only for a program that explicitly
attaches module declarations to share
2011-04-16 13:25:57 -06:00
Ryan Culpepper
9bc3457bbd
renamed ffi/unsafe/security to ffi/file
2011-04-15 14:47:29 -06:00
Stevie Strickland
bdd5ac2d41
Document prop:contracted and impersonator-prop:contracted.
2011-04-15 16:29:17 -04:00
Robby Findler
ec50a8c5a2
additional fixes to the docs and racket/contract's exports to make them match up
2011-04-15 12:44:44 -05:00
Matthew Flatt
8d9e10f34e
remove compat bins: DrScheme, MrEd.exe, MrEd.app
...
leaving mred (Unix and Mac OS X) for scripts
2011-04-15 07:49:45 -06:00
Matthew Flatt
f1d0811249
fix typo
2011-04-15 07:32:45 -06:00
Matthew Flatt
df4ffe3573
fix scriblib/gui-eval and pre-build pictures for Quick
2011-04-14 12:20:16 -06:00
Matthew Flatt
e747937ceb
clarify mark interactions for `syntax-local-lift-require'
...
Closes PR 11850
2011-04-14 08:03:21 -06:00
Matthew Flatt
aed25d9097
better docs and xref on `provide' and rename transformers
...
Closes PR 11851
2011-04-14 07:47:40 -06:00
Ryan Culpepper
459cce23be
moved contents of unstable/set to racket/set
2011-04-12 09:35:26 -06:00
Matthew Flatt
46613ccecd
document scheme_malloc_stubborn
...
which is obsolete by referenced by the docs for `malloc'
2011-04-10 19:26:15 -06:00
Robby Findler
c4e0559db4
made the line/column thingy's popup menu be able to show the line numbers in the definitions window
...
- added add-line-number-menu-items
- some minor fixes to the docs
related to discussion in PR 11837
2011-04-10 19:38:19 -05:00
Robby Findler
570a3e58b9
renamed parametric/c to parametric->/c
...
and cleaned up the organization of the related files
2011-04-09 21:45:49 -05:00
Matthew Flatt
857003378a
futures: more bug fixes, make `touch' safe
...
- bug fixes are related to allocation and runstack space
- a `touch' within a future can complete before the `touch'ing
future is itself `touch'ed
- also make `length' safe (and JIT-inlined)
2011-04-09 17:12:24 -06:00
Matthew Flatt
52598af1c7
fix doc typo
...
Closes PR 11840
2011-04-09 17:12:23 -06:00
Ryan Culpepper
f49412add8
moved unstable/poly-c to racket/contract/parametric
2011-04-08 08:25:22 -06:00
Ryan Culpepper
86f65468d7
removed define-pattern-variable
2011-04-07 09:47:20 -06:00
Ryan Culpepper
73ab167522
created racket/syntax from parts of unstable/syntax
2011-04-07 09:47:20 -06:00
Ryan Culpepper
a19a0340aa
added ffi/unsafe/security
2011-04-07 09:47:20 -06:00
Eli Barzilay
000e52d31d
Minor but potentially confusing typo
2011-04-07 10:52:15 -04:00
Matthew Flatt
3bf0f800a7
futures: make `future' work in a future, overhaul logging, fix bugs
2011-04-06 17:40:44 -06:00
Jay McCarthy
b80728f4b9
Add another useful method re: Robby
2011-04-06 11:14:25 -06:00
Robby Findler
e928bd840c
Two improvements to the mrlib/graph library and the module browser:
...
- improved the drawing speed in mrlib's graph pasteboard
by caching the background arrows (optionally; only turned
on for the module browser. in redex, this probably won't
speed anything up so it isn't used)
- added a search feature to the module graph to help find
dependencies; type in string and some of the graph changes
color
2011-04-06 11:35:31 -05:00
Stevie Strickland
6494bf863e
Changing absent so that fields may be specified as well as methods.
2011-04-05 15:03:46 -04:00
Stevie Strickland
eafacc78a0
Adding `absent' to class contracts.
...
The `absent' clause lists public methods which must _not_ exist in the
contracted class.
2011-04-04 19:38:27 -04:00
Matthew Flatt
c38118f0e5
Scribble: add `alt-tag' HTML property to set HTML tag in output
2011-04-04 14:33:38 -06:00
Matthew Flatt
ef4ea23646
fix `secref' docs; document some Latex macros available for redefinition
2011-04-04 11:26:41 -06:00
Matthew Flatt
df2a875ff4
Scribble: simplify content that is conditioned on the render mode
...
including a new `scriblib/render-cond' library
2011-04-04 10:45:02 -06:00
Matthew Flatt
b0115ee360
add 'wheel-left and 'wheel-right events
2011-04-03 09:49:56 -06:00
Kevin Tew
0c4d90b1db
codeblock line numbers
2011-04-02 16:01:21 -06:00
Casey Klein
02c7680076
Fixes Guide typos
2011-04-01 14:00:45 -05:00
Kevin Tew
26d7768d3d
Rename place-channel-recv place-channel-receive
2011-03-31 13:36:40 -06:00
Eli Barzilay
bad4a40741
Fix `regexp-quote' description.
...
Closes PR11818.
2011-03-31 06:16:53 -04:00
Matthew Flatt
bbc5533938
Scribble: change the way `racketblock' etc. indent/inset works
...
- introduce 'code-inset style for nested blocks
- use style instead of spaces for code indentation
- sigplanconf adds vertical space around 'code-inset
- more ...0 variants to compose better
2011-03-30 15:12:30 -06:00
Robby Findler
d265231452
added some examples for pen cap and join styles
2011-03-30 09:44:54 -05:00
Matthew Flatt
68f7e9f33b
doc clarifications
2011-03-29 19:53:06 -06:00
Matthew Flatt
60dc3a5773
fix typo
2011-03-28 15:26:25 -06:00
Matthew Flatt
0fda70b7ca
fix region% problems
...
- fail gracefully with pre 1.4 Cairo
- clip all drawing for an empty clipping region
- disallow `is-empty?' on a region without a DC
(since the test depends on the DC dimensions)
2011-03-28 15:15:57 -06:00
Matthew Flatt
789081e2c3
fix xref
2011-03-28 10:43:25 -06:00
Matthew Flatt
5844b56a10
doc typos
2011-03-28 06:45:06 -06:00
Matthew Flatt
ad922d545c
document Unix lib dependencies for racket/draw' and
racket/gui/base'
2011-03-28 06:23:14 -06:00
Matthew Flatt
84ad491837
fix docs to explain pen cap and join styles
...
--- in prose, but pictures would be good, if anyone wants to add them
2011-03-27 16:27:19 -06:00
Matthew Flatt
67b7c8f3f4
fix PS/PDF size
...
since a PS/PDF bounding box is an integer, take the ceiling
of a requested width & height
2011-03-27 16:27:19 -06:00
Matthew Flatt
95f0d16761
clean up drawing with 0-width pens (hairline mode)
2011-03-27 14:21:21 -06:00
Matthew Flatt
84d8bb3726
racket/sequence repairs
...
including addition of `sequence-generate*'
2011-03-27 10:02:11 -06:00
Robby Findler
288caacdfd
added get-extend-start-position and get-extend-end-position
...
added the extend-position method
adjusted the wxme.rkt test suite so that it only prints when tests fail
2011-03-25 15:10:49 -05:00
Robby Findler
4e81299e98
added examples to struct-copy docs
2011-03-25 11:04:17 -05:00
Robby Findler
614ec41ab7
extended struct-copy so that you copy adjust fields from super structs
2011-03-25 08:47:27 -06:00
Matthew Flatt
cbca2f395b
Scribble: add 'multicommand support to `nested-flow'
2011-03-19 09:26:41 -06:00
Matthew Flatt
e652546bf5
add streams to `racket'
...
- rename old `racket/stream' to `racket/sequence', and adjust
to avoid stateful iterations
- add a new `racket/stream' library with a `strean-cons' that is based
on SRFI 41
- adjust `for' and some sequence constructors like `in-range' to
work more directly with streams
2011-03-18 19:05:23 -06:00
Vincent St-Amour
e9789c6697
Fix the 2-argument case of atan to conform to the documentation and
...
fix the documentation.
2011-03-17 13:10:19 -04:00
Matthew Flatt
ad8e959a98
tweak performance of `for' with non-inlined sequences
2011-03-16 17:02:53 -06:00
Matthew Flatt
0efcf22ed4
racket/generator: clean-ups, including planned generalization
...
- syntax is now (generator formals body ...+)
- add `generator?'
- remove common run-time code from the `generator' macro expansion
- doc fixes
- start test suite
2011-03-15 20:14:01 -06:00
Matthew Flatt
b9c4bbae67
futures: limit parallelism via custodians
...
Closes PR 11682
2011-03-15 14:43:18 -06:00
Matthew Flatt
17a1322fe5
match': document
var' pattern
2011-03-15 12:25:53 -06:00
Eli Barzilay
64e4b73a9f
Minor typo and other small things.
2011-03-15 11:46:16 -04:00
Matthew Flatt
e8cb27c08c
add `get-device-scale' to dc<%>
2011-03-15 07:37:42 -06:00
Robby Findler
bd3a43db98
changed some nonnegative-real?'s into (and/c real? (not/c negative?))'s
2011-03-14 19:38:24 -05:00
Robby Findler
466abb9896
typo
2011-03-14 19:38:18 -05:00
Matthew Flatt
cf69cb2aff
special treatment of void as 'inferred-name property
...
allows keyword-based application to hide temporary
names that happen to be bound to procedure arguments
2011-03-13 09:02:39 -06:00
Matthew Flatt
3fb4561a62
scribble/manual: document `this-obj'
2011-03-13 09:02:39 -06:00
Matthew Flatt
1a6dacc4c5
clarify `path-element->string' docs
2011-03-13 09:02:39 -06:00
Eli Barzilay
5a9d954f2a
Several typos from Jussi Salmela. Fixes PR 11790 -- all typos.
...
(Two issues remain that will be resolved later.)
2011-03-11 06:47:36 -05:00
Eli Barzilay
a18197ff25
Add a warning about the current state of racket/stream.
2011-03-11 06:47:36 -05:00
Matthew Flatt
a5a7076fe0
`file-or-directory-permissions': expose more info, add write mode
...
and add `user-read-bit', etc., to `racket/file'
2011-03-11 02:50:06 -06:00
Matthew Flatt
0b496d5275
a round of doc corrections from Gwyth
2011-03-10 06:34:33 -06:00
Matthew Flatt
5f797b8f0b
cocoa: fix put-file with extension as ""
2011-03-08 08:37:16 -06:00
Matthew Flatt
2eac694a3a
fix `define-wish' docs
2011-03-08 08:33:04 -06:00
Matthew Flatt
679e9ef2e0
slideshow/pict: adjust `linewidth' to allow #f => transparent
2011-03-08 07:55:52 -06:00
Matthew Flatt
ec2a917749
Scribble: add #:left?' optional argument to
margin-note'
2011-03-02 11:00:21 -07:00
Matthew Flatt
fdef90e482
fix get-column-width' method of
list-box%'
...
by changing the name to match the docs, plus some other
bug fixes triggered by better testing
Closes PR 11780
2011-02-28 19:12:34 -07:00
Kevin Tew
3fa033e27b
doc typo fix
2011-02-28 16:03:05 -07:00
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
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