Eric Hanchrow
b498d6e9e7
add missing word
2011-10-22 20:58:05 -04:00
Matthew Flatt
e71abf5aba
Add a tutorial to the FFI overview
2011-10-21 20:34:51 -06:00
Eli Barzilay
d8d79d22b2
Fix the old-style keybinding example.
2011-10-21 11:13:16 -04:00
Matthew Flatt
718229387c
fix cocoa `get-clipboard-string' to never return #f; fix docs
...
Merge to 5.2
2011-10-18 06:35:38 -06:00
Eli Barzilay
3b93da83c4
Fix typo in htdp url.
...
Fixes PR 12282. (Which was closed prematurely.)
2011-10-17 16:14:04 -04:00
Eli Barzilay
7bff0e888d
Remove the unneeded `require' in that example.
2011-10-17 14:32:23 -04:00
Eli Barzilay
016e6d771c
Add an example for old-style keys.
2011-10-17 13:54:54 -04:00
Eli Barzilay
319a158dec
Make `create-new-tab' public.
2011-10-17 13:18:18 -04:00
Eli Barzilay
8f66afe5a6
Document next-tab' and
prev-tab'.
2011-10-17 13:18:18 -04:00
Eli Barzilay
6a323fe75e
Make the example `rebind' more like other rebinds in Emacs and others.
2011-10-17 13:18:17 -04:00
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