Commit Graph

358 Commits

Author SHA1 Message Date
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
Eli Barzilay
1caa28df28 Fix `unstable/time' & xrepl use. 2011-08-02 16:56:02 -04:00
Vincent St-Amour
b068e4a53b Add a lower-level interface to unstable/logging. 2011-07-21 17:06:03 -04:00
Ryan Culpepper
7e1627679c unstable/gui/blur: added box blur option 2011-07-18 09:01:26 -06:00
Ryan Culpepper
61ab93b87e added unstable/future 2011-07-18 09:01:26 -06:00
Ryan Culpepper
bb5bcf2ae1 added unstable/gui/blur 2011-07-18 09:01:26 -06:00
Ryan Culpepper
deb8c222d8 unstable/gui/ppict: add ppict-add* 2011-07-18 09:01:26 -06:00
Vincent St-Amour
3c91ae012a Add break-lines to unstable/pretty. 2011-07-15 15:04:55 -04:00
Eli Barzilay
c544ebfe6c New `xrepl' collection. 2011-07-14 17:21:46 -04:00
Ryan Culpepper
5a10ef7550 updated docs for struct-type-contract/c 2011-07-11 16:12:27 -06:00
Carl Eastlund
2e6a608539 Corrected documentation of quote-module-name to indicate that it does not
produce collection and planet-relative paths on its own.  Deprecated
quote-module-path, and replaced existing uses of it with quote-module-name.
2011-07-09 14:46:58 -04:00
Ryan Culpepper
0aecbf97ff syntax/parse: add expr/c to main module
Merge to release branch
2011-07-08 15:34:59 -06:00
Ryan Culpepper
714166a062 unstable/gui/ppict: added tile placer, updated todo 2011-07-06 15:31:08 -06:00
Ryan Culpepper
a34821ea4f unstable/gui/ppict:
added #:set, #:alt to ppict-do
  added ppict-do-state
  added at-find-pict
  added tag-pict
  updated to slideshow changes
  changed placer rep, added merge-refpoints
2011-07-06 15:31:08 -06:00
Ryan Culpepper
1f7165df16 unstable/gui/ppict: added abs-x, abs-y placer args, changed grid to 1-based 2011-07-06 15:31:08 -06:00
Ryan Culpepper
d246a0bcc1 unstable/gui/ppict: added cascade placer 2011-07-06 15:31:08 -06:00
Ryan Culpepper
1a16173bf1 fixed doc typos 2011-07-06 15:31:08 -06:00
Ryan Culpepper
e38843618d unstable: better ppict-do, absorbed code from pslide 2011-07-03 04:05:03 -06:00
Ryan Culpepper
77a89b8d83 unstable: added ppict, pslide 2011-07-03 02:25:10 -06:00
Matthew Flatt
8aa4ff1b06 syntax taint repairs 2011-07-02 10:08:15 -06: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
f86687de9c Use 'user-collects in `library-relative-directories', since "<user>" by
itself is ambiguous.

(Since this is used in contract messages, this might be a visible
difference; it still seems to me that "<user>" would be confusing.)
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
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
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
Jay McCarthy
b333ed92fd Scary warning text 2011-06-25 12:14:30 -06: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
Jay McCarthy
6abeab42d5 Updating require paths, making tests succeed, and fixing docs 2011-06-24 13:48:41 -06:00
Jay McCarthy
375d6b8497 Initial adding of temporal contract library 2011-06-24 13:48:40 -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
Ryan Culpepper
5bf4b1c930 moved phase-of-enclosing-module to unstable/syntax
closes PR 11970
2011-06-10 13:22:33 -06:00
Eli Barzilay
a7aad558a3 Seems that this file is never used, possibly committed by mistake. 2011-06-07 03:42:00 -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
Eli Barzilay
2eb0a94677 Removed a bogus provide and two bogus tests.
(Which worked because the same functionality is part of `racket'.)
2011-06-07 03:38:06 -04:00
Eli Barzilay
3f9bc25c5c Remove `eval/require' and many of its one-time uses.
(Cuts the rendering time for unstable by around 50%.)
2011-06-06 09:48:04 -04:00
Vincent St-Amour
1ad63e5da0 Unify doc formatting. 2011-06-02 18:39:32 -04:00
Vincent St-Amour
801354fa4a Add syntax-within? to unstable/syntax. 2011-06-02 18:37:42 -04:00
Vincent St-Amour
c32efa727c Document with-intercepted-logging. 2011-06-01 16:11:11 -04:00
Vincent St-Amour
b71d3cf40c Fix limitations of with-intercepted-logging. 2011-06-01 16:11:10 -04:00
Vincent St-Amour
b86d759b62 Provide with-intercepted-logging. 2011-06-01 16:11:10 -04:00
Vincent St-Amour
fc705c6e29 Implement with-logging-to-port in terms of something more general. 2011-06-01 16:11:10 -04:00
Vincent St-Amour
0538f21274 Make level a keyword argument for with-logging-to-port. 2011-06-01 15:24:15 -04:00
Vincent St-Amour
fe161a780c List known limitations of with-logging-to-port. 2011-06-01 15:20:36 -04:00
Vincent St-Amour
8d96133681 Add with-logging-to-port to unstable. 2011-05-31 19:14:38 -04:00
John Clements
10cb0e61e2 oops, no match available here 2011-05-26 17:46:05 -07:00
John Clements
53cfbd27c1 fix to string to fulfill contract on empty input 2011-05-26 14:50:35 -07:00
Asumu Takikawa
f4aab53efa Added option/c for possibly #f values in unstable. 2011-05-26 00:37:06 -04:00
Ryan Culpepper
56bb28dfc6 unstable/syntax: added explode-module-path-index 2011-05-11 15:56:24 -06:00
Ryan Culpepper
dc0138bcb7 minor doc fix (optional args last) 2011-05-11 15:56:24 -06:00
Robby Findler
507b1cd8fd moved the docs-complete library into rackunit
to avoid having a separate, new manual for the
  one library
2011-05-05 16:10:42 -05:00
Carl Eastlund
4990029922 Added documentation for define-renaming. 2011-04-30 20:06:59 -04:00
Carl Eastlund
723d389d59 Singular version of define-renamings. 2011-04-30 20:06:59 -04:00
Carl Eastlund
01f1add1cb Made define-syntax-block less restrictive about source of bindings. 2011-04-30 20:06:59 -04:00
Robby Findler
99c030ec35 ignore serialize export 2011-04-26 23:58:09 -05:00
Ryan Culpepper
cd108c6c00 document undocumented exports (unstable) 2011-04-25 21:51:57 -06:00
Robby Findler
e7d0029aea added lots of new tests that our documentation is complete 2011-04-25 13:24:43 -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
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
7fb5e36db1 try to fix problems from recent contract changes 2011-04-14 15:37:58 -06:00
Ryan Culpepper
c0bd4e8dbc removed unused code from unstable/hash 2011-04-12 09:35:26 -06:00
Ryan Culpepper
033e060bf3 removed unstable/sexp-diff 2011-04-12 09:35:26 -06:00
Ryan Culpepper
459cce23be moved contents of unstable/set to racket/set 2011-04-12 09:35:26 -06:00
Ryan Culpepper
ccc70fca73 removed unused modules and code from unstable 2011-04-12 09:35:26 -06:00
Ryan Culpepper
7828a7bfa7 moved unstable/{location,srcloc} to syntax collection
fixed bugs in unstable/wrapc
2011-04-08 08:25:22 -06:00
Ryan Culpepper
f49412add8 moved unstable/poly-c to racket/contract/parametric 2011-04-08 08:25:22 -06:00
Ryan Culpepper
937c5ea442 removed unused unstable libs (planet, planet-syntax, scribble) 2011-04-08 08:25:22 -06:00
Ryan Culpepper
3e5a54c9e4 unstable/syntax: removed unused code and exports 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
Carl Eastlund
325516556a Updated define-syntax-block to subsume define-syntax-set,
and referred to define-syntax-set in the documentation.
2011-03-18 16:54:52 -04:00
Carl Eastlund
d903298264 Added and documented 'define-syntax-block' in unstable/define,
a convenience macro for defining macros that rely on phase 1
definitions of macros or mutually recursive functions.
2011-03-18 13:38:21 -04:00
David Van Horn
c9519fd113 Fixed various spelling errors. 2011-02-03 17:42:33 -05:00
Carl Eastlund
debad064e7 Moved most of the planet-related bindings from unstable/scribble and
unstable/planet to planet/scribble and planet/util.  Did not move
define-planet-package; it is not as crucial as the "this-package" macros.
2011-01-11 18:00:39 -05:00
Matthew Flatt
dcbf6c5590 clean up library dependencies in "unstable" collection 2010-12-29 07:49:02 -07:00
Matthew Flatt
c916e99af5 reduce some memory use of `unstable' doc build
by explicitly closing evaluators
2010-12-28 20:55:32 -07:00
Sam Tobin-Hochstadt
cb6d78698b Count pairs as having size 1, not 0, in minimizing edit distance. 2010-12-08 18:22:29 -05:00
Jay McCarthy
d28dc2ae41 Revert "Adding dynamic/c and coerce/c"
This reverts commit cec308cc363a69d561097e978352488c996385ed.
2010-12-07 14:14:55 -07:00
Jay McCarthy
d6d9f3ef8c Adding dynamic/c and coerce/c 2010-12-07 14:14:53 -07:00
Jay McCarthy
7ebdd3c7f1 Remove write-xexpr altogether, since compatibility is not promised in unstable 2010-12-07 14:14:53 -07:00
Jay McCarthy
2abbb664dd Fixing docs 2010-12-07 14:14:53 -07:00
Jay McCarthy
83fcd6a8a2 Better implementation provided by XML now 2010-12-07 14:14:52 -07:00
Blake Johnson
3ddda200e8 changed eprintfs to log-debug 2010-10-29 19:50:11 -06:00
Blake Johnson
4676662e4b moved demodularizer from github to collects and added it to raco 2010-10-29 19:50:10 -06:00
Ryan Culpepper
76f55ad753 docs for unstable/prop-contract 2010-09-13 14:39:05 -06:00
Ryan Culpepper
927fae2937 comments on unstable/set 2010-09-13 13:21:02 -06:00
Ryan Culpepper
af4a545dc3 added unstable/prop-contract (needs docs) 2010-09-13 13:21:02 -06:00
Ryan Culpepper
a3d1ff4e6c added contracts (->i) to racket/dict 2010-09-13 13:21:02 -06:00
Carl Eastlund
33e6a96589 Added myself as author to documentation of unstable/gui/slideshow. 2010-09-10 16:13:31 -04:00
Carl Eastlund
e8e58b5a09 Fixed bug in my unstable slideshow library. 2010-09-10 15:22:04 -04:00
Robby Findler
d419e8c12a changed the ->d contracts to ->i contracts 2010-09-09 14:21:35 -05:00
Ryan Culpepper
47f8e55b14 fixed typo (forgot to remove old provide) 2010-09-06 22:58:41 -06:00
Ryan Culpepper
ef778baeb0 comments on unstable libraries 2010-09-06 22:15:30 -06:00
Ryan Culpepper
0bdb302409 fixed example for unstable/wrapc 2010-09-06 22:15:30 -06:00
Ryan Culpepper
fff692309e removed useless requires 2010-09-03 13:53:42 -06:00
Ryan Culpepper
d7a87c79e0 Merged changes to syntax/parse
Changed backtracking algorithm, runtime representations
    - syntax classes, ~describe no longer implicitly commit
    - ~describe no longer delimits effect of cut
  Added keyword & optional args for stxclasses
  Added ~do and #:do, ~post, ~commit and #:commit,
    ~delimit-cut and #:no-delimit-cut
  Added syntax/parse/debug, syntax/parse/experimental/*
    - expr/c for contracting macro sub-expressions
      moved from syntax/parse to syntax/parse/experimental/contract
    - syntax class reflection (~reflect, ~splicing-reflect)
    - eh-alternative-sets (~eh-var)
    - provide-syntax-class/contract
      (only for params, not attrs so far)
  Changed ~fail to not include POST progress (#:fail still does)
    old (~fail _) is now (~post (~fail _))
  Made msg argument of ~fail optional
  Removed generic "repetition constraint violated" msg
  Removed atom-in-list stxclass
  Removed unnecessary datum->syntax on cdr of pair pattern
    massive improvements to long-list microbenchmarks
  Optimization: integrable syntax classes (id, expr, keyword)
    need better measurements
  Optimization: ad hoc elimination of head/tail choice point
    for (EH ... . ()) patterns
  Added unstable/wrapc (proc version of expr/c)
2010-08-31 10:55:58 -06:00
Eli Barzilay
9227bfaf4c Comments on unsatbel code. 2010-08-27 13:21:01 -04:00
Sam Tobin-Hochstadt
0635fc6d75 Create data/ collection.
- Initially populated with queues, skip-lists, and interval-maps from unstable/
 - Tests in tests/data, docs in data/scribblings
2010-08-26 18:22:28 -04:00
Eli Barzilay
8e0f8dd39c More "~n" -> "\n" changes 2010-08-26 12:11:00 -04:00
Eli Barzilay
606b7f60dc Lots of "~e" to "~.s" changes. 2010-08-25 17:17:01 -04:00
Vincent St-Amour
550e07f78f Added labeled lines and arrows to unstable from Scott Owens. 2010-08-13 18:48:33 -04:00