Matthew Flatt
6b16679b39
fix `lazy-require' in phase levels other than 0
...
The `lazy-require' form expands to `define-runtime-module-path-index',
whch doesn't work right at phase levels other than 0. Work around the
problem by generating a submodule to hold the
`define-runtime-module-path-index' form.
This repair fixes `raco exe' on certain uses of `match', which in turn
uses `lazy-require' at compile time.
Also, use `register-external-module' to generate appropriate
dependencies on lazily loaded modules.
2012-11-11 09:38:16 -07:00
Eli Barzilay
672910f27b
Lots of bad TAB eliminations.
...
I started from tabs that are not on the beginning of lines, and in
several places I did further cleanings.
If you're worried about knowing who wrote some code, for example, if you
get to this commit in "git blame", then note that you can use the "-w"
flag in many git commands to ignore whitespaces. For example, to see
per-line authors, use "git blame -w <file>". Another example: to see
the (*much* smaller) non-whitespace changes in this (or any other)
commit, use "git log -p -w -1 <sha1>".
2012-11-07 11:22:20 -05:00
Eli Barzilay
14d8c8b5a5
Newlines at EOFs.
2012-11-06 14:07:15 -05:00
Danny Yoo
dcf4d8b040
adding close-eval at the end of scribble files that have a toplevel evaluator
2012-11-01 15:32:53 -06:00
Asumu Takikawa
43f99839c2
unstable: add cross-out
and backdrop
pict functions
2012-10-19 15:34:35 -04:00
Ryan Culpepper
839408e6f7
ppict: allow #:next w/o placer
2012-10-19 11:35:49 -04:00
Eli Barzilay
cbfb1fdb37
A whole bunch of missing newlines at EOFs (and a few other spaceages).
2012-10-19 06:47:24 -04:00
Asumu Takikawa
df594d3b3b
Move define/match
to racket/match
2012-10-14 14:39:36 -04:00
Jon Rafkind
44974c54f8
inside a revealing slide (reveal n) is a predicate for whether its time to show slide n or not
2012-10-10 23:02:35 -06:00
Jon Rafkind
84b334168b
docs for items-slide
2012-10-04 23:53:02 -06:00
Jon Rafkind
fbf153a435
add items-slide
2012-10-04 23:53:02 -06:00
Jon Rafkind
dcc853e841
add docs for revealing-slide
2012-10-01 12:11:58 -06:00
Jon Rafkind
c62907da58
add revealing-slide
2012-10-01 12:03:58 -06:00
Jon Rafkind
71b7f60b29
add docs for codeblock->pict
2012-10-01 11:06:13 -06:00
Jon Rafkind
e8d0ea30b0
add codeblock->pict to convert between scribble and slideshow representations of code
2012-10-01 11:06:13 -06:00
Ryan Culpepper
8ba835a3c9
added unstable/custom-write
2012-09-27 12:45:55 -04:00
Asumu Takikawa
ddaef42576
define/match: fix docs & more examples
2012-09-18 13:36:15 -04:00
Asumu Takikawa
59915409a5
unstable/match: forgot the tests for 1a0a06d
2012-09-17 20:21:11 -04:00
Asumu Takikawa
1a0a06db62
unstable/match: add define/match
...
Match-based function definition form that supports optional,
keyword, rest-arg, and curried arguments.
2012-09-17 19:46:46 -04:00
Vincent St-Amour
5a24b57a95
Fix unstable/logging to work with the new logging system.
2012-09-11 13:48:14 -04:00
Ryan Culpepper
c7a6272f4b
added unstable/error, raise-misc-error
2012-08-22 11:55:11 -04:00
Ryan Culpepper
062a8ef5e7
added make-log-based-eval
2012-08-22 11:54:15 -04:00
Ryan Culpepper
f5b86c1ddd
added make-variable-like-transformer
2012-08-22 11:31:22 -04:00
Matthew Flatt
5c7ddb1775
fix doc bug
2012-08-21 18:23:50 -06:00
Sam Tobin-Hochstadt
b601f52d4f
Add open-place
.
2012-08-21 17:13:16 -04:00
Eric Dobson
6e2e84664d
Move list-set and list-update to unstable/list.
2012-08-20 14:45:50 -04:00
Robby Findler
8a0b6549a5
adjust the contract error messages to follow the error message
...
conventions in 9.2.1 of the reference (altho the messages do
not yet do the extra level of indenting when a field is too
long, nor are there any field names ending in ...)
Also, fix the docs for the #:stronger argument to
make-contract, make-chaperone-contract, and make-flat-contract
2012-08-05 20:09:09 -05:00
Ryan Culpepper
1a77f4ee0e
added recontract-out
2012-08-03 20:52:35 -04:00
Sam Tobin-Hochstadt
df8e109c6a
Update to modern contract combinators.
2012-07-19 10:55:32 -04:00
Neil Toronto
50ad8dac1f
When plot-new-window?' is #t,
plot' and `plot3d' now create a frame in a new eventspace. This allows plot frames to be displayed programmatically. (Without this change, the frames are unresponsive until the REPL regains control.)
2012-05-25 13:11:46 +09:00
Asumu Takikawa
518bf0fd30
Move unstable/generics to generics.
2012-05-24 16:25:09 -04:00
Ryan Culpepper
745607a51d
added unstable/cat
2012-05-08 14:50:28 -06:00
Ryan Culpepper
5d49663b83
added begin-on-demand (combo of module* and lazy-require)
2012-04-14 17:16:01 -06:00
Neil Toronto
610280225c
Added unstable/gui/snip (provides snip-canvas%) and docs
...
Changed plot-frame to use snip-canvas%, so resizing the frame resizes the plot; added Escape handler (closes the frame)
2012-03-03 12:37:09 -07:00
Vincent St-Amour
4a8f447dae
Remove unstable/port.
...
`port->list' does all it can do.
2012-02-27 22:03:39 -05:00
Eli Barzilay
c007c345f9
A bunch of more typos like the ones in David's commit.
2012-02-21 14:21:43 -05:00
Matthew Flatt
9b569aa9a2
adjust some libraries to avoid converting paths to strings too early
...
Early conversions leave absolute paths in bytecode and rendered
documentation.
2012-02-10 06:17:18 -07:00
Ryan Culpepper
679b2d3872
lazy-require: use cm-accomplice
2012-02-07 13:43:26 -07:00
Neil Toronto
a94e1fc00e
Fixed plot doc tests
...
Removed contract/c from unstable/contract
2012-02-01 22:17:25 -07:00
Neil Toronto
7d28eef00d
Moved contract/c and treeof to unstable/contracts
...
Little plot doc fixes
2012-02-01 09:44:47 -07:00
Neil Toronto
ec96e37e09
Documented unstable/flonum
2012-02-01 09:44:47 -07:00
Ryan Culpepper
d00b93cdff
remove references to non-existent unstable module
2011-12-18 14:35:41 -07:00
Ryan Culpepper
bb93132463
uniform position for unstable header in unstable docs
2011-12-18 14:23:21 -07:00
Ryan Culpepper
59beeb2e14
minor doc fixes
2011-12-18 13:57:50 -07:00
Ryan Culpepper
933965b2c2
moved unstable/prop-contract into racket/contract/base
2011-12-18 13:57:50 -07:00
Ryan Culpepper
e086d237cd
moved unstable/mutated-vars back to typed-racket
2011-12-18 13:57:49 -07:00
Ryan Culpepper
bf21e5b765
pruned unstable/bytes (moved some code back to web-server)
...
Corrected contracts from serializable? to printable/c.
2011-12-18 13:57:49 -07:00
Ryan Culpepper
dd061bdb17
removed unstable/net/url (moved code back to web-server)
2011-12-18 13:57:49 -07:00
Ryan Culpepper
7f345fe067
removed unstable/gui/language-level
2011-12-18 13:57:49 -07:00
Ryan Culpepper
6ac708a3da
pruned unstable/syntax
2011-12-18 13:57:49 -07:00
Ryan Culpepper
d803e55a5b
removed resolved commentary from unstable/struct
2011-12-18 13:57:49 -07:00
Ryan Culpepper
7ef56fbfc5
pruned unstable/string (moved some code back to web-server)
2011-12-18 13:57:48 -07:00
Ryan Culpepper
52aefa6e35
removed unstable/require
2011-12-18 13:57:48 -07:00
Ryan Culpepper
a4c6c7cfce
pruned unstable/port
2011-12-18 13:57:48 -07:00
Ryan Culpepper
fd2554d6fc
removed unstable/path (moved code back to single use in web-server)
2011-12-18 13:57:48 -07:00
Ryan Culpepper
bc7401d4d9
pruned unstable/function
2011-12-18 13:57:48 -07:00
Ryan Culpepper
e4e89b0bc9
removed unstable/exn (moved code to single use in web-server)
2011-12-18 13:57:44 -07:00
Ryan Culpepper
f21b871760
removed unstable/dirs
2011-12-18 13:57:22 -07:00
Ryan Culpepper
53fc18008c
removed unstable/dict (no uses)
2011-12-18 13:57:14 -07:00
Ryan Culpepper
4f9da1fd1c
pruned unstable/define
2011-12-18 13:56:00 -07:00
Ryan Culpepper
f99d79ef10
pruned unstable/contract
...
Removed unused code. Removed nat/c, pos/c as they correspond to
standard predicates.
2011-12-18 13:56:00 -07:00
Vincent St-Amour
664245ae69
Add in-slice sequences.
...
Patch from David Vanderson.
2011-12-16 13:50:25 -05:00
Ryan Culpepper
32c5e3c9d2
avoid resolving module-path-index (current-directory may not be set right)
2011-12-13 17:38:21 -07:00
Neil Toronto
3e895b7072
Plot performance improvement: precalculated light, view and half dir
...
Color flonum-to-byte conversion handles special flonums (hopefully helps with Marijn's problem)
2011-12-07 10:56:08 -07:00
Vincent St-Amour
c720d0f6f7
Add regexp-filter to unstable/string.
2011-11-30 17:54:28 -05:00
Vincent St-Amour
29bea4863e
Add group-by to unstable/list.
2011-11-30 17:54:28 -05:00
Robby Findler
462a348f19
fix bugs in the way the Racket|Disable Tests menu item worked
...
also adjust the test-engine-test.rkt test suite to bring it into
sync with the changes to the way the DrRacket REPL works from
commit bfa6b1d953
2011-11-28 00:13:59 -06:00
Neil Toronto
553c72ab28
Moved some flonum stuff (e.g. flatan2, flnext, +max.0, +min.0, etc.) to unstable/flonum (will document in another commit)
...
Moved Racket-language, doc-generating "defthing" defines to unstable/latent-contract/defthing (will document in another commit)
2011-11-25 18:40:19 -07:00
Jay McCarthy
41e04b33da
Revert "This fixes 10497 and potentially breaks programs that assume the query of a URL is always a list. I have fixed uses in the Web Server, which I expect is the major thing affected, but much more could be. Therefore I am skeptical this is a good idea just for the representation of ?. So, I'd like other people to review the change and let me know if they think I should revert it."
...
This reverts commit 7f9818bb3e
.
2011-11-23 11:13:20 -07:00
Jay McCarthy
7f9818bb3e
This fixes 10497 and potentially breaks programs that assume the query of a URL is always a list. I have fixed uses in the Web Server, which I expect is the major thing affected, but much more could be. Therefore I am skeptical this is a good idea just for the representation of ?. So, I'd like other people to review the change and let me know if they think I should revert it.
2011-11-23 10:59:54 -07:00
Sam Tobin-Hochstadt
81dd112f57
Move ==' to
racket/match'.
2011-11-14 11:03:22 -05:00
Robby Findler
870c8d28f4
move predicate/c from unstable/contract to racket/contract. In process,
...
change the implementation to special case struct procedures and to use
it in provide/contract.
This speeds up the rendering phase of the Guide documentation by more than 2x.
Thanks to Matthew for spotting the opportunity!
2011-11-13 17:19:15 -06:00
Neil Toronto
bf2fbbbc49
3D stacked histograms
...
2D inverted histograms
2011-11-10 12:59:43 -07:00
Neil Toronto
dab5caf67c
Expanded numbered colors to 128
2011-11-10 12:59:41 -07:00
Neil Toronto
e90ec4b69f
Added unstable/latent-contract
...
Reorganized contracts
Started exposing customization API in plot/utils
Now dog-fooding customization API in earnest
2011-11-10 12:59:41 -07:00
Neil Toronto
ae64e8683a
Parameter groups
2011-11-10 12:59:41 -07:00
Ryan Culpepper
98d8acfd4e
avoid including lazy-required names in (all-defined-out)
...
closes PR 12335
2011-10-31 18:19:07 -06:00
Ryan Culpepper
1c6b8bd68e
syntax/parse: lazily load most macro transformers and compile-time support
2011-09-30 04:13:09 -06:00
Kevin Tew
09891c9263
rounded-rectangle/border gets #:corner-radius and #:angle arguments
2011-09-29 13:48:15 -06:00
Ryan Culpepper
c7f86d276c
removed useless requires
2011-09-27 19:28:44 -06:00
Robby Findler
53e8ff8c82
Revert "try using size-in-pixels for the font primitive in 2htdp/image"
...
This reverts commit a5b729421a
.
2011-09-27 16:23:43 -05:00
Robby Findler
a5b729421a
try using size-in-pixels for the font primitive in 2htdp/image
...
closes PR 11883
2011-09-27 16:20:46 -05:00
Ryan Culpepper
350c8214f8
unstable, syntax/parse: fix phase-of-enclosing-module
...
Was broken because with begin-for-syntax, offset no longer limited
to 0 or 1. But now varrefs give module base phase directly.
2011-09-20 14:27:33 -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
Eli Barzilay
623c7493ed
Some selective #:when (not ...)' ->
#:unless ...'.
2011-09-16 10:48:18 -04:00
Ryan Culpepper
e6433084f3
added unstable/lazy-require
...
Also fixed lazy-require to capture and use correct namespace.
2011-09-06 12:41:03 -06:00
Eli Barzilay
ffbd9e16ea
Some info.rkt cleanups.
2011-08-29 16:33:13 -04:00
Carl Eastlund
126d8192ff
Added documentation example of sequence/c for multiple-valued sequences.
2011-08-27 14:46:43 -04:00
Carl Eastlund
fe3d4c9fe6
Fixed sequence/c to work with multiple-element sequences.
2011-08-27 14:13:27 -04:00
Matthew Flatt
e61ea772bb
fix `path-element?' collision
...
Is there a better name than `path-piece?'?
2011-08-19 19:54:36 -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
Asumu Takikawa
d12b617292
Added a match expander for objects in unstable.
2011-08-10 20:37:21 -04:00
Ryan Culpepper
707fdadd1b
unstable/gui/pict (blur): removed mode arg, true gaussian blur code
2011-08-09 12:29:28 -06:00
Ryan Culpepper
57bb02ef32
unstable/gui/pict (shadow-frame): only blur visible parts of shadow
2011-08-09 12:29:28 -06:00
Ryan Culpepper
78c784ed6f
unstable/gui/pict (blur):
...
fix blur wrt smoothing mode
refactored code, used macros for inlining
added #:pre-inset?
2011-08-09 12:29:28 -06:00
Ryan Culpepper
6442a2777b
unstable/gui/pict: added shadow-frame and arch
2011-08-09 12:29:28 -06:00
Ryan Culpepper
2a0153cadb
unstable/gui/pict: added scale-to
2011-08-09 12:29:27 -06:00
Ryan Culpepper
efa8051a57
moved tag-pict, etc from unstable/gui/ppict to unstable/gui/pict
2011-08-09 12:29:27 -06:00
Ryan Culpepper
d1fcbc0a7c
merged unstable/gui/blur into unstable/gui/pict
2011-08-09 12:29:27 -06:00
Ryan Culpepper
19ec1fbccd
split off unstable/gui/pict module (no racket/gui dependency)
...
added examples to docs
2011-08-09 12:09:08 -06:00