Commit Graph

16010 Commits

Author SHA1 Message Date
Vincent St-Amour
7e2094f2d7 Added a test for optional let annotations. 2010-09-16 13:24:10 -04:00
Vincent St-Amour
8aab96faa6 Made annotations optional for let: and variants. 2010-09-16 13:24:10 -04:00
Mike Sperber
9e94a327b8 Add `any' signature to DMdA languages. 2010-09-16 18:19:32 +02:00
Robby Findler
d03a7b220a added docs for linebreaks parameter
Adjusted implementation of linebreaking so that
  when there are linebreaks in a metafunction, the =
  signs line up together independent of the broken lines
2010-09-16 10:51:17 -05:00
Vincent St-Amour
e03e53b1cb Fix some optimizer test logs to reflect racket changes. 2010-09-16 10:48:28 -04:00
Vincent St-Amour
9f87b5a7e6 Made some type annotations optional in the for: macros. 2010-09-15 20:21:51 -04:00
Vincent St-Amour
8b60085a17 Removed useless requires. 2010-09-15 20:21:51 -04:00
Vincent St-Amour
1b28aa41c7 Removed an obsolete comment. 2010-09-15 20:21:51 -04:00
Vincent St-Amour
a10d145f25 Added annotated versions of the for macros that generate vectors.
They are purposedly left out of the documentation since the typchecker
can't currently handle their expansion.
2010-09-15 20:21:50 -04:00
Vincent St-Amour
65c502f9d7 Added a test to make sure derived lists accessors don't get optimized then they shouldn't. 2010-09-15 20:21:50 -04:00
Stevie Strickland
fce93a2d98 Altering the box/c and box-immutable/c documentation. 2010-09-15 17:17:38 -04:00
Stevie Strickland
e3678a937e Change box-immutable/c to use box/c with #:immutable #t. 2010-09-15 17:05:34 -04:00
Stevie Strickland
99e5d6fd6c Add appropriate syntax properties to uses of box/c. 2010-09-15 16:57:17 -04:00
Stevie Strickland
994ad6d10f Now change box/c to use proxies or chaperones appropriately.
Create a mzlib/contract compatible version of the old box/c and use that
for mzlib/contract.  Change the docs so that the docs for mzlib/contract
contain the right information.

Fix the typed-scheme implementation to only force flat box (or hash)
contracts when it already is required to be flat.  Otherwise, allow
non-flat contracts for the element contract (or domain/range contracts).
2010-09-15 16:57:17 -04:00
Stevie Strickland
b8fb6dae9a Initially just move the box-related combinators to a new location. 2010-09-15 16:53:18 -04:00
Stevie Strickland
a838fa0606 Fixing the docs for the new hash/c combinator. 2010-09-15 15:04:27 -04:00
Stevie Strickland
4a48da022b Adding syntax properties for contract obligations to uses of hash/c. 2010-09-15 15:01:27 -04:00
Stevie Strickland
56b83e4a96 Add chaperone-based hash/c contracts.
* Domain contracts must be either flat or chaperone contracts.
 * When the domain is a chaperone contract, hash/c must check
   that the hash is equal?-based.
2010-09-15 13:57:50 -04:00
Stevie Strickland
d2b3ee8892 Code and test fixes for new chaperone-based hash/c contracts. 2010-09-15 13:37:37 -04:00
Stevie Strickland
f5b62ececd Separate out hash/c code into a separate module. 2010-09-15 11:22:57 -04:00
Stevie Strickland
a1c188ae74 Add appropriate documentation for the new chaperone contract forms. 2010-09-15 10:11:10 -04:00
Robby Findler
3121ab0fce I agree with Stevie that 1 is the right answer here. 2010-09-15 08:23:34 -05:00
Stevie Strickland
ec0711bf49 Add chaperone contract-related properties.
* Flat contracts are chaperone contracts, and chaperone contracts
    are (proxy) contracts.
  * Check in chaperone contracts that a chaperone (or chaperone-friendly
    value) is indeed returned.
2010-09-14 18:29:39 -04:00
Stevie Strickland
56a5a2627e Enforce that flat contracts return the original value.
Also fix up tail call contract handling, which was affected by this change.
2010-09-14 18:28:46 -04:00
Stevie Strickland
df18d1914d Clean up guts.rkt using for/list and for/and. 2010-09-14 18:03:08 -04:00
Stevie Strickland
a0390d4ca8 Fix name used by coerce-contract for contract-first-order. 2010-09-14 18:03:08 -04:00
Jay McCarthy
eb3d46cc0c Improving xexpr error re Robby 2010-09-14 13:07:19 -06:00
Ryan Culpepper
4a29ce914f and, or now wrap single term with #%expression
That disallows things like (and (define x 1)), previously accepted.
2010-09-14 12:31:26 -06:00
Ryan Culpepper
ae645a18c1 added dict-*-contract to racket/dict
added experimental ordered-dict generics (not public yet, no docs)
2010-09-14 12:31:26 -06:00
Ryan Culpepper
58aa6873fe added data/heap tests
doc fixes
2010-09-14 12:31:26 -06:00
Ryan Culpepper
8b0810dc39 docs for data/heap
fixed contract in data/splay-tree
2010-09-14 12:31:26 -06:00
Matthew Flatt
a5c7d4f5f8 add scheme_get_place_table() 2010-09-14 09:35:44 -06:00
Matthew Flatt
cb09dfbdd3 add another protocol to scheme_add_gc_callback() 2010-09-14 09:21:57 -06:00
Matthew Flatt
3e5c7fefdd add scheme_add_gc_callback() hook for gc notification in a way that lets you describe a foreign function to call without allocating or the call; the allowed protocols are contrained and ad hoc, but it will be enough for GRacket2 2010-09-14 09:21:47 -06:00
Matthew Flatt
b601aa1ca3 fix pretty-print graph bug 2010-09-14 08:05:35 -06:00
Robby Findler
5b54caebb0 closes PR 11207 2010-09-13 16:41:12 -05:00
Ryan Culpepper
76f55ad753 docs for unstable/prop-contract 2010-09-13 14:39:05 -06:00
Ryan Culpepper
01d565dfd7 fixed contract on dict-set*, dict-set*! 2010-09-13 14:20:55 -06:00
Ryan Culpepper
a9efe95fc5 splay tree docs 2010-09-13 13:21:04 -06:00
Ryan Culpepper
999c33827c tests for splay-tree and skip-list 2010-09-13 13:21:04 -06:00
Ryan Culpepper
e72244513d fixed racket/dict contracts
un-split syntax/id-table (no contract-free version)
2010-09-13 13:21:03 -06:00
Ryan Culpepper
2e4ff119e7 fixed splay-tree contracts 2010-09-13 13:21:03 -06:00
Ryan Culpepper
6a4a056f52 splay tree work 2010-09-13 13:21:03 -06:00
Ryan Culpepper
b1b8591aa6 fixed splay-tree bugs 2010-09-13 13:21:03 -06:00
Ryan Culpepper
2a1de28095 fixed bugs in data/heap 2010-09-13 13:21:03 -06:00
Ryan Culpepper
29597e5937 dict contracts 2010-09-13 13:21:03 -06:00
Ryan Culpepper
1cfccb9704 reorganized check-requires script 2010-09-13 13:21:02 -06:00
Ryan Culpepper
927fae2937 comments on unstable/set 2010-09-13 13:21:02 -06:00
Ryan Culpepper
ac8ca8e193 added heaps and splay-trees (need docs, tests) 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
Ryan Culpepper
3f15f5bc13 edited syntax/parse intro 2010-09-13 13:21:01 -06:00
Jay McCarthy
43d527818e Fixing pr11196 and fixing bug in hash-eqv serialization 2010-09-13 10:44:21 -06:00
Jay McCarthy
12fb39f5bd Adding PLAI keywords to default indent 2010-09-13 10:29:03 -06:00
Jay McCarthy
ee5811b930 Improving FAQ re Robby 2010-09-13 10:24:58 -06:00
Sam Tobin-Hochstadt
07227ed8f7 Fix doc typo.
Closes PR 11190.
  Closes PR 11191.
2010-09-13 08:46:56 -04:00
Eli Barzilay
d32400dd76 More racketizations 2010-09-13 02:35:22 -04:00
Eli Barzilay
d0a2d617c8 No need for "fake-" now, since racket resolves at the file level. 2010-09-13 02:35:22 -04:00
Eli Barzilay
a69d7c00c1 * Use #lang & reformat
* Remove no longer relevant references to `macos'
* Fix some type errors (that weren't reachable)
* Make streamify-* always return the thread (`get-thread?' was always #t)
2010-09-13 01:56:50 -04:00
Eli Barzilay
8e4bfc2cf1 Added Korean translation from Jae sung Chung 2010-09-13 01:56:50 -04:00
Eli Barzilay
6b471afcfd Racketized handin-server 2010-09-12 02:22:59 -04:00
Eli Barzilay
bd4a5fb706 Racketized handin-client 2010-09-12 01:53:52 -04:00
Eli Barzilay
70a1733f7c Various typos, fixes PR 11189. 2010-09-12 01:53:52 -04:00
Eli Barzilay
41812ace0f Use "<path>" instead of a misleading "<file>",
improve doc line for `--collect'.
2010-09-12 01:53:52 -04:00
Eli Barzilay
3135970b09 Old TR pages only up to but not including 5.0 2010-09-12 01:53:52 -04:00
Kevin Tew
770b6c82f1 Parallel Build: silence worker breaks 2010-09-11 07:44:08 -06:00
Robby Findler
1dc555e0af fixes _ in contract-names for ->i
closes PR 11185
2010-09-11 07:48:50 -05:00
Robby Findler
93ecaa0535 fixed object-contract name tests 2010-09-11 07:36:21 -05:00
Robby Findler
7c3327c8f1 made structs transparent 2010-09-11 07:12:17 -05:00
Robby Findler
d8a495de94 fixed first half of PR 11185 2010-09-11 07:12:17 -05:00
Mike Sperber
078c9e26f4 Synch German string constants with latest. 2010-09-11 12:58:39 +02:00
Sam Tobin-Hochstadt
d1835175d7 Fix for new ->i syntax. 2010-09-10 18:38:02 -04:00
Sam Tobin-Hochstadt
979561354d Fix internal error when single value expected. 2010-09-10 18:29:34 -04:00
Sam Tobin-Hochstadt
5789981f2c Add some file primitives. 2010-09-10 18:29:34 -04:00
Jay McCarthy
6064ecd2c0 Fixing formatting re Robby 2010-09-10 15:21:55 -06:00
Blake Johnson
3433af0a30 fixing pr11175, added only-rest-arg-not-used flag 2010-09-10 14:46:04 -06:00
Blake Johnson
5ded2b9e5f fixing pr11130 2010-09-10 14:46:04 -06:00
Blake Johnson
170ab47dc2 fixing pr11036 by adding plain certificates 2010-09-10 14:46:04 -06:00
Blake Johnson
4e2f0f262f updating docs to include zo supertype 2010-09-10 14:46:04 -06:00
Blake Johnson
1cb11ce6cc re-enabling tests 2010-09-10 14:46:04 -06:00
Blake Johnson
6338a97e0a removing debugging information 2010-09-10 14:46:04 -06:00
Blake Johnson
407a36c9d2 Changing memory limit 2010-09-10 14:46:04 -06:00
Blake Johnson
e94823b82c Removing pieces of zo-test-worker we dont care about 2010-09-10 14:46:03 -06:00
Blake Johnson
0d136ba4c7 never sharing hashes and trace debugging 2010-09-10 14:46:03 -06:00
Blake Johnson
32a9e60abe traversing inside closures and using a seen set for lists 2010-09-10 14:46:03 -06:00
Blake Johnson
2dfaab00f4 fixing closure problem 2010-09-10 14:46:03 -06:00
Blake Johnson
ecc9ceb842 zo-marshal fixes and switching back to prefabs 2010-09-10 14:46:03 -06:00
Blake Johnson
c2fee2a2f0 handling closures while writing symbol table 2010-09-10 14:46:03 -06:00
Blake Johnson
893294674a quoting parameter and not prefab structs 2010-09-10 14:46:02 -06:00
Blake Johnson
54f2d34a2e encoding wraps and fixes for zo-marshal sharing 2010-09-10 14:46:02 -06:00
Blake Johnson
88dcab6b5a traverse while writing rather than a separate step 2010-09-10 14:46:02 -06:00
Blake Johnson
9599304ca9 zo-marshal fixes and read.c fix for hash tables in symbol table 2010-09-10 14:46:02 -06:00
Blake Johnson
37f07cb68b zo-marshal single out-anything function and zo-parse debugging 2010-09-10 14:46:01 -06:00
Blake Johnson
f27fe3d5c9 zo-parse debugging and read in zo-exs 2010-09-10 14:46:01 -06:00
Jay McCarthy
211af0795b Fixing graph display 2010-09-10 14:46:01 -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
Matthew Flatt
ff9b535dc6 fix hash proxying in the case that proxied key has no value 2010-09-10 12:46:58 -06:00
Kevin Tew
2c9f8cebbd Parallel Build: fix make-directory race condition 2010-09-10 11:52:24 -06:00
Kevin Tew
8b2c08a836 Parallel Build: fix error reporting 2010-09-10 11:52:24 -06:00
Matthew Flatt
17cdb9eb3b move #:alignment option for `define-cstruct' to end
to make it consistent with options for `struct' and `define-struct'
2010-09-10 08:06:41 -06:00
Matthew Flatt
5a833ffc57 fix optional argument of _list-cstruct 2010-09-10 07:55:58 -06:00
Matthew Flatt
6ac15688b2 add alignment option to ffi's cstruct support 2010-09-10 06:59:52 -06:00
Matthew Flatt
00264b9cbc fix syntax error when #top-interaction is used without an open paren 2010-09-10 06:44:02 -06:00
Robby Findler
3a5875857a fixed a bug Eli noticed 2010-09-10 06:59:49 -05:00
Robby Findler
44fe632da5 fixed two bugs in ->i:
- when optional arguments didn't also have rest args,
    it generated the wrong wrapper function
  - the object-contract interaction was broken;
    it was not adding the this argument in
Also removed the hack added earlier this eve.
closes PR 11180
2010-09-09 21:42:41 -05:00
Vincent St-Amour
0166ece180 Extended pair optimization to the rest of the standard derived pair accessors. 2010-09-09 18:54:34 -04:00
Vincent St-Amour
7450821068 Refactoring. 2010-09-09 18:54:34 -04:00
Vincent St-Amour
024f873947 Extended pair optimizations to some derived pair accessors. 2010-09-09 18:54:33 -04:00
Vincent St-Amour
6e5ea420a1 Removed useless requires. 2010-09-09 18:54:33 -04:00
Vincent St-Amour
85550953c8 Removed unused exports. 2010-09-09 18:54:33 -04:00
Vincent St-Amour
7f546434ed Included expected optimization logs in the test files. 2010-09-09 18:54:33 -04:00
Robby Findler
a693efb677 a hack around a bug 2010-09-09 16:39:10 -05:00
Sam Tobin-Hochstadt
dca895c129 Minor edits to `for/vector' docs. 2010-09-09 17:08:09 -04:00
Will M. Farr
81b1ed6e8b New updates to for/vector, for*/vector, for/flvector and for*/flvector.
Now use for/fold to thread the index through the iteration form, so
that all variants can take advantage of the optional #:length
argument.  Previously, only the for/vector and for/flvector used the

The behavior when #:length does not match the number of iterations has
changed: iteration stops when either the vector is full, or the
requested number of iterations has been achieved, whichever comes
first.  If #:length is larger than the number of iterations performed,
then the remaining slots in the vector are filled with the default
argument of (make-vector ...), which is currently 0.
2010-09-09 16:23:04 -04:00
Will M. Farr
3d016150a3 Updates to for/vector, for/flvector forms and documentation.
- Now the faster forms take a #:length keyword to designate the length
  of the vector to pre-allocate.

- The for/[fl]vector forms take multiple body expressions and set the
  vector component to the value of the last one.

- When given a #:length argument, the for/vector and for/flvector
  forms check that the iteration is not exceeding the given length,
  raising exn:fail if it does.

- Test cases for the multiple body expressions and the exception for
  excessive iterations have been added.

- Doc modifications to bring the docs in line with the new forms.

- Doc modifications to note that the #:length versions of the form
*may* all the computation to be performed more efficiently, and
stating that it "is an error" if the given length-expr does not
produce a valid length for a vector that matches the number of
iterations for the loop.

- Note that no test is made for a number of loop iterations that is
  smaller than the given vector length.  Also, the for*/[fl]vector
  forms do not optimize when given a #:length argument.  These are
  areas for future improvement.
2010-09-09 16:22:53 -04:00
Sam Tobin-Hochstadt
c15871a028 Add additional require for identifiers in the residual program. 2010-09-09 16:08:04 -04:00
Sam Tobin-Hochstadt
00a8a85f9d Fix typechecker tests for new environment setup. 2010-09-09 16:08:04 -04:00
Sam Tobin-Hochstadt
5302b3e87c Remove requires for environments now handled dynamically. 2010-09-09 16:08:04 -04:00
Sam Tobin-Hochstadt
0ae9e0ff85 Add `require' to fix tests. 2010-09-09 16:08:04 -04:00
Sam Tobin-Hochstadt
bc6d8f98ed Avoid printing results of `define-hierarchy' 2010-09-09 16:08:04 -04:00
Sam Tobin-Hochstadt
867f359274 Fix `require' for contracts. 2010-09-09 16:08:04 -04:00
Sam Tobin-Hochstadt
7a1b29c8f2 `require' changes 2010-09-09 16:08:04 -04:00
Sam Tobin-Hochstadt
71ae5f0a6e Enable struct construction when not transforming. Necessary for testing. 2010-09-09 16:08:04 -04:00
Sam Tobin-Hochstadt
eea479b34a Fix `hash-name' to avoid collisions. 2010-09-09 16:08:04 -04:00
Sam Tobin-Hochstadt
b6b840076b Lots more laziness, and useless require removal. 2010-09-09 16:08:03 -04:00
Sam Tobin-Hochstadt
de0e8bc81c Progress on delaying some environments. 2010-09-09 16:08:03 -04:00
Robby Findler
77bc1f1523 fixes PR 11178 2010-09-09 15:00:04 -05:00
Casey Klein
b787e41a79 Fixes definition-finder tests under DrDr 2010-09-09 14:32:03 -05:00
Robby Findler
2d1c4d1601 adjusted the guide to use ->i instead of ->d 2010-09-09 14:21:35 -05:00
Robby Findler
d419e8c12a changed the ->d contracts to ->i contracts 2010-09-09 14:21:35 -05:00
Robby Findler
711fe50641 made proc/doc recognize ->i contracts 2010-09-09 14:21:35 -05:00
Casey Klein
a773471b7e Strengthens the definition-finder tests 2010-09-09 13:42:15 -05:00
Robby Findler
72afa3d7b3 fixed the teachpack test suite for the new teachpack dialog 2010-09-09 13:17:27 -05:00
Casey Klein
f1be76f2e2 Special-cases DrRacket's definition-finder to find Redex metafunction definitions 2010-09-09 12:07:24 -05:00
Kevin Tew
324a0ce815 Places: check arguments 2010-09-09 10:28:34 -06:00
Kevin Tew
732c62b2a5 Places: benchmarks 2010-09-09 10:28:34 -06:00
Eli Barzilay
97dd4bc390 Move the contracts tests -- change the props too. 2010-09-09 12:23:08 -04:00
Eli Barzilay
ee587ce327 Move the contract stress tests into their proper place. 2010-09-09 12:22:03 -04:00
Eli Barzilay
8973e08fba Shuffle things around, to make the techreports page use the
download/data, instead of duplicating that information.
2010-09-09 12:16:59 -04:00
Eli Barzilay
35f77f61ad Spit out a warning if there are no files rendered.
Fix a reference to meta/web to be symbolic -- otherwise things can get
confused when symlinks are used, ending up with two instances of a
single modeule (once for the symbolic reference and one for a relative
one).  It's still best to avoid symlinks, though.

Simplify version specs in the techreports code, re-enable continue
reference, some reformatting.
2010-09-09 12:16:59 -04:00
Eli Barzilay
80d21c522d Make the static table page always be visible. 2010-09-09 12:16:59 -04:00
Robby Findler
7b3d748974 adjusted props for new file 2010-09-09 09:34:24 -05:00
Robby Findler
ba78b8389b added a test to show a performance problem in the contract library 2010-09-09 09:29:42 -05:00
Robby Findler
31685bc496 Adjusted 2htdp/image's frame primitive so that it does not draw
outside of the bounding box.
2010-09-09 06:58:55 -05:00
Mike Sperber
9d35548997 Unbreak `list-of'. 2010-09-09 13:17:22 +02:00
Mike Sperber
bc67750cbd Merge branch 'master' of git.racket-lang.org:plt 2010-09-09 11:58:31 +02:00
Mike Sperber
3f8b2e6ea2 Provide built-in `computer' record type for DMdA.
`chocolate-cookie' has been wildly unpopular, so we'll try this next semester.

Also, clean up the `provide' forms for the chocolate cookies.
2010-09-09 11:56:42 +02:00
Mike Sperber
8611cd8731 Zap `begin' from DMdA-beginner and DMdA-vanilla. 2010-09-09 11:32:37 +02:00
Mike Sperber
c47ad74b1b Move the prim-op-defns of the DMdA-vanilla docs to right place. 2010-09-09 11:28:59 +02:00
Mike Sperber
d874065e26 Zap let, letrec, let* from DMdA-beginner language. 2010-09-09 11:22:57 +02:00
Mike Sperber
050f0a141b Add `list-of' signature to DMdA languages. 2010-09-09 11:12:33 +02:00
John Clements
93ee20e290 mods to sndfile.rkt 2010-09-08 16:55:48 -07:00
Robby Findler
41e4470f23 closes PR 11134 2010-09-08 17:03:11 -05:00
Casey Klein
8fae368376 Ignores prototype Redex pattern compiler 2010-09-08 14:12:47 -05:00
Casey Klein
14ceb68b92 Adds functions for testing pattern compiler 2010-09-08 14:12:47 -05:00
Steven Jaconette
f5482e5703 Initial compiler model (includes low level pattern language model and redex to low level lanaguage compiler) 2010-09-08 14:12:47 -05:00
Sam Tobin-Hochstadt
837291a793 simplify requires 2010-09-08 13:20:34 -04:00
Sam Tobin-Hochstadt
120a1d0d87 Load typechecker dynamically to reduce footprint. 2010-09-08 13:20:34 -04:00
Sam Tobin-Hochstadt
cfc289d806 simplify 2010-09-08 11:37:02 -04:00
Sam Tobin-Hochstadt
fae02be9f0 Add memory fns. 2010-09-08 11:32:04 -04:00
Sam Tobin-Hochstadt
350cef9af8 Fix contract name references. 2010-09-08 11:05:51 -04:00
Sam Tobin-Hochstadt
a0e77705e5 Propogate #:mutable for polymorphic structs.
Closes PR 11127
2010-09-08 10:47:51 -04:00
Sam Tobin-Hochstadt
6130f3551c Fix polymorphic structs with mutability. 2010-09-08 10:24:58 -04:00
Sam Tobin-Hochstadt
91fefa055e Make syntax of #{} less accepting of errors. 2010-09-08 10:24:58 -04:00
Robby Findler
d860661694 added back teachpack-pre-installed for deinprogramm 2010-09-08 08:41:30 -05:00
Robby Findler
91205f26d6 fixed for new file 2010-09-08 08:41:30 -05:00
Vincent St-Amour
14097dd90e Fix broken tests that depended on an unsafe optimization. 2010-09-07 20:11:44 -04:00
Robby Findler
4bbb1f4cd9 Added a second column for the 2htdp teachpacks to the choose-a-teachpack dialog
closes PR 11170
2010-09-07 17:34:08 -05:00
John Clements
c2b75a6c57 updated stepper to use 1-based step numbering.
Closes PR 11166.
2010-09-07 14:45:47 -07:00
Vincent St-Amour
11e168f01e Fixed a dangling link in the doc. 2010-09-07 16:57:02 -04:00
Vincent St-Amour
ae88abd5c8 Removed unsafe optimization on fixnums. 2010-09-07 16:57:02 -04:00
Vincent St-Amour
440871f99d Added the fixnum types to the documentation. 2010-09-07 16:57:02 -04:00
Stevie Strickland
6d7be2bab3 Fix expected result from contract test that fails due to sorting. 2010-09-07 11:47:14 -04:00
Robby Findler
04d9814337 rebuilt the images on a mac 2010-09-07 09:49:03 -05:00
Robby Findler
9105b92240 added overlay/pinhole and underlay/pinhole 2010-09-07 09:35:21 -05:00
Ryan Culpepper
90cf9f2183 reorg and renamed syntax/parse docs, removed useless section tags
Fixes PR 11163
2010-09-06 23:26:42 -06:00
Ryan Culpepper
221d07626e added tool for detecting useless requires 2010-09-06 23:00:47 -06: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
cf47297a07 gvector tests, fixed bugs, added for/gvector docs 2010-09-06 22:15:29 -06:00
Ryan Culpepper
c8292be1d1 data/gvector vararg constructor, add! 2010-09-06 22:15:29 -06:00
Ryan Culpepper
5a8d2f010e added data/gvector, docs (need tests) 2010-09-06 22:15:29 -06:00
Robby Findler
01fa7e9118 rebuilt the example images on a mac 2010-09-06 20:44:10 -05:00
Robby Findler
6f0b6eebbe Added pinholes as x-place and y-place arguments 2010-09-06 20:39:13 -05:00
Robby Findler
d10cd2e6fa preserve pinholes in overlaying and related functions
(also started to add "pinhole" as a place, but not done with that yet)
2010-09-06 20:39:12 -05:00
Robby Findler
5363396f94 added flipped mention to docs 2010-09-06 20:39:12 -05:00
Robby Findler
cc96864868 added pinhole support to cropping primitives and to frame 2010-09-06 20:39:12 -05:00
Robby Findler
9b720b9c0d added pinhole support to add-line, add-curve, scene+line, and scene+curve 2010-09-06 20:39:12 -05:00
Robby Findler
d2e443ac97 made equality check on images sensitive to pinholes 2010-09-06 20:39:11 -05:00
Robby Findler
9087348b7e added pinhole support to the flipping prims 2010-09-06 20:39:11 -05:00
Robby Findler
157e9c2512 made rotation work with pinholes 2010-09-06 20:39:11 -05:00
Robby Findler
4b14e1a855 added a para about how the pinhole is drawn 2010-09-06 20:39:11 -05:00
Robby Findler
e3b51e8cf4 made scaling work with pinholes 2010-09-06 20:39:11 -05:00
Robby Findler
986b36d761 added basic pinhole tests 2010-09-06 20:39:10 -05:00
Robby Findler
4fa7fa2994 Added docs and exported basic pinhole manipulation primitives 2010-09-06 20:39:10 -05:00
Robby Findler
748fc32bd1 added pinhole drawing 2010-09-06 20:39:10 -05:00
Robby Findler
5e01ac5537 added a pinhole property to images 2010-09-06 20:39:10 -05:00
Jay McCarthy
f440332768 Fixing confusing printing from Arjun 2010-09-06 17:03:16 -06:00
Jay McCarthy
4e757e07fc Fixing typo reported by Marius Mateescu 2010-09-06 10:37:56 -06:00
Jay McCarthy
f2b5a454bd Fixing problem reported by Nadeem Abdul Hamid 2010-09-06 10:35:03 -06:00
Mike Sperber
df68ef4deb Synch German string constants with latest. 2010-09-06 11:02:13 +02:00
Robby Findler
c52bc4c524 removed unused method 2010-09-05 07:41:00 -05:00
Robby Findler
5e04a5c6d9 When opening a new window where the language is one of the htdp languages (via the
language dialog, not the #lang htdp/* variants), teachpacks are put into the
initial REPL (instead of just having the language primitives).

closes PR 11160
2010-09-04 19:37:02 -05:00
Matthew Flatt
081fc3bad5 fix 2htdp/image bitmap rotation direction 2010-09-04 16:43:38 -06:00
Robby Findler
a951bdcf47 rewording 2010-09-04 15:19:56 -05:00
Robby Findler
1fa6be75b5 added image->color-list and color-list->bitmap 2010-09-04 13:52:49 -05:00
Robby Findler
a2b11a0329 unbroke the test suite ... 2010-09-04 11:18:39 -05:00
Robby Findler
d5a3e08131 added docs for the check syntax / contract system interaction 2010-09-04 11:18:39 -05:00
Robby Findler
994c28d8b0 started a test suite for the check syntax coloring annotations that the contract system leaves behind 2010-09-04 11:18:38 -05:00
Greg Cooper
992de7fb10 fixes to deal with the debugger freezing drracket. 2010-09-03 20:53:18 -05:00
Matthew Flatt
26e0ad955a fix `unsafe-set-box*!' 2010-09-03 15:44:34 -06:00
Matthew Flatt
82f102bfd8 fix bug in objc-mixin #:protocols 2010-09-03 15:44:34 -06:00
Ryan Culpepper
a0b8a94d8b macro stepper: ignore track origin for now, need to coordinate with marks 2010-09-03 14:03:26 -06:00
Ryan Culpepper
fff692309e removed useless requires 2010-09-03 13:53:42 -06:00
Ryan Culpepper
b572f0c7dc removed useless requires 2010-09-03 13:53:41 -06:00
Ryan Culpepper
fa4f48a82c id-tables can work at different phases now
reduced allocation for id-table updates
2010-09-03 13:53:41 -06:00
Ryan Culpepper
cb62eeffb6 macro-stepper: better internal debugging 2010-09-03 13:53:41 -06:00
Ryan Culpepper
dbdf00c5f7 macro-stepper: track syntax-local-value and syntax-track-origin (not done) 2010-09-03 13:53:41 -06:00
Stevie Strickland
3b0de9c141 Check struct predicate before checking fields. 2010-09-02 19:59:00 -04:00
Robby Findler
365a1275ce minor changes 2010-09-02 17:13:05 -05:00
Robby Findler
ad9548db7d added a README 2010-09-02 15:41:02 -05:00
Robby Findler
b7eca6c4ee updated props for the moved files 2010-09-02 15:41:02 -05:00
Robby Findler
a12f47f506 moved the teaching language test suites to their own directory 2010-09-02 15:41:02 -05:00
Kevin Tew
55674e8427 Places: docs fixes 2010-09-02 12:25:27 -06:00
Robby Findler
7fead2875a forgot the flip check (caught by the test suites) 2010-09-02 12:20:19 -05:00
Robby Findler
09bd56081b fixed a performance bug (avoids computing the rotation of a bitmap when it isnt actually rotated...) 2010-09-02 11:01:23 -05:00
Jay McCarthy
f272acec5f Correcting bug discovered by Arjun 2010-09-02 07:04:22 -06:00
Ryan Culpepper
3097bb85b7 separated "internals & extension API" from main "RackUnit API" 2010-09-01 15:48:22 -06:00
Ryan Culpepper
c5e6580f02 added test-* shortcuts to docs, other edits 2010-09-01 15:48:22 -06:00
Matthew Flatt
962ceb6b63 fix interaction between copy prop and once-used binding elimination
in the bytecode compiler, which could cause an expression to be
 duplicated
2010-09-01 15:22:32 -06:00
Robby Findler
4c35af2eef added a note about how the max width is remembered in the splash screen 2010-09-01 14:39:16 -05:00
Robby Findler
70ea262426 duh 2010-09-01 14:27:35 -05:00
Robby Findler
44753bc690 adjusted the splash screen code so that the christmas day easter egg is optional (defaultly off) 2010-09-01 13:23:18 -05:00
Robby Findler
12ab498977 added docs for the splash screen library in the framework 2010-09-01 13:23:18 -05:00
Matthew Flatt
69658697b1 add proxies and rename chaperone properties to proxy properties
where a proxy is less constrained in its conversions but more
 constrained in where it can be used
2010-08-31 19:15:20 -06:00
Ryan Culpepper
be3ca941bb eliminated some uses of rest-args and list unpacking 2010-08-31 18:36:32 -06:00
Ryan Culpepper
bfb1eed2e9 updated test 2010-08-31 17:15:36 -06:00
Ryan Culpepper
6c42fe2766 changed static syntax class back to perform post-checks 2010-08-31 16:21:45 -06:00
Ryan Culpepper
4f41e3f79d ported example from pretty-big to racket/gui
(Why? sgl is in mr dist, pretty-big is in plt dist)
2010-08-31 16:21:45 -06:00
Ryan Culpepper
a436df02f4 fixed another reference to syntax/parse/experimental/splicing 2010-08-31 16:21:44 -06:00
Ryan Culpepper
0c4f82a434 added #:commit to TR optimizer stxclasses 2010-08-31 16:21:44 -06:00
Ryan Culpepper
712a8f60e9 updated syntax/parse/exp./splicing, updated honu use
fixed stress.rkt
2010-08-31 16:21:44 -06:00
John Clements
675cdfda58 gave myself responsibility for sndfile.rkt 2010-08-31 14:39:44 -07:00
John Clements
81a8bd3b28 updated to remove dependency on rackunit 2010-08-31 14:33:16 -07:00
John Clements
c824241a6e updates to sndfile.rkt & use-snd-file.rkt. Added an interface that doesn't
eagerly transform data into lists.  It's also very restrictive (assumes
float & 2-channel).
2010-08-31 11:42:19 -07:00
Ryan Culpepper
04a93812b4 fixed TR optimizer to work with backtracking syntax/parse update
problem was unboxed-inexact-complex-opt-expr, "non exhaustive" error variant
2010-08-31 10:55:58 -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
John Clements
6e31d8f2d7 editing sndfile support 2010-08-31 09:34:26 -07:00
Robby Findler
4d8cc1bc51 dont use the black-on-white preferences for redex's stepper 2010-08-31 07:33:13 -05:00
Robby Findler
a2705f101f teaching-lang-coverage prop fix 2010-08-31 06:41:55 -05:00
Matthew Flatt
e0d9d2565c fix problem with rotation on images such as bitmaps
and replace internal `bring-between' with an efficient version
 Closes PR 11124
2010-08-30 20:15:20 -06:00
Robby Findler
7e1a6ec908 fixes the mouse over problem mentioned in PR 11147.
not really sure the best way to fix the getting-smaller problem.
2010-08-30 20:41:22 -05:00
Matthew Flatt
2e29c09f96 fix wxme reader to preserve line-counting mode
Closes PR 11141
2010-08-30 16:33:03 -06:00
Matthew Flatt
036ed57000 fix *SL `define-struct' expand-time info: omit non-existent struct type 2010-08-30 16:11:08 -06:00
Matthew Flatt
76c3c76214 fix yet more ss<->rkt problems that interfered with *SL executables
Closes PR 11106
2010-08-30 14:35:18 -06:00
Matthew Flatt
8c2ba47fa5 move style guide up a section (to its own page) 2010-08-30 14:35:18 -06:00
Matthew Flatt
c1bf118cb5 new guidance in the documentation style guide 2010-08-30 14:35:17 -06:00
Matthew Flatt
e13effd07c adjust 'configure-runtime index entry 2010-08-30 14:35:15 -06:00
Jay McCarthy
052139eb4e Fixing pr11148 via documentation 2010-08-30 14:17:56 -06:00
Jay McCarthy
ef664d531f Removing error when hovering over non-heap squares. Fixes pr11147 2010-08-30 14:17:56 -06:00
Jay McCarthy
5684ba4a9c Allowing gc heap gui shrinking 2010-08-30 14:17:55 -06:00
John Clements
adc7d272a8 removed stepper's application < \ > buttons, added choice boxes instead, misc. cleanup and
racket-ification of associated file.
2010-08-30 11:31:00 -07:00
Kevin Tew
bc5d1c2011 Places: added shared-flvector and shared-byte string 2010-08-30 08:50:07 -06:00
Robby Findler
b1550d6c9b changed the expansion of the ... macro in the teaching languages so that
it cooperates with the test coverage annotations in drracket.
closes PR 11138
2010-08-30 09:23:34 -05:00
Robby Findler
cfa1c9bf43 fixed a bug in the test suite (so that now the language is only changed when needed) 2010-08-30 09:23:34 -05:00
Robby Findler
35de0b22d0 added a test coverage test suite 2010-08-30 09:23:34 -05:00
Robby Findler
ab839f9efd minor rackety 2010-08-30 09:23:34 -05:00
Robby Findler
eb75edfaa1 renamed drracket test suite 2010-08-30 09:23:33 -05:00
Jay McCarthy
b2015a3237 Adding stress to dist spec 2010-08-30 07:32:49 -06:00
Jay McCarthy
f899e03b59 Moving stress tests 2010-08-30 06:39:12 -06:00
Jay McCarthy
fe2a70a347 Adding data to mz-extras 2010-08-30 06:39:12 -06:00
Jay McCarthy
fd300bc31c Disabling other-mutator gc runs 2010-08-30 06:39:11 -06:00
Jay McCarthy
6a43e379e1 Correct test usage of port 2010-08-30 06:39:11 -06:00
Robby Findler
9b657ad53a added an index entry for configure-runtime 2010-08-29 15:10:08 -05:00
John Clements
4d1d1e5b0e removed new stepper test from automatic testing (until fixed). 2010-08-29 10:38:27 -07:00
Casey Klein
0221589e10 Increases racket-vs-redex timeout even more 2010-08-29 09:14:10 -05:00
Vincent St-Amour
e1fd445fa4 Ignored a rounding error between PPC and x86. 2010-08-29 10:17:56 -04:00
Robby Findler
7020cb6e4c adjusted the language dialog so that the output-style and fraction-style radio boxes aren't adjacent 2010-08-29 08:20:53 -05:00
Robby Findler
23739a21d8 fixed indentation 2010-08-29 05:17:41 -05:00
Robby Findler
454f8772ab unbroke Eli's change 2010-08-29 05:17:41 -05:00
Eli Barzilay
0aa659ffe5 Reindent the body, use `append-map'. 2010-08-28 23:56:55 -04:00
Eli Barzilay
82749312f6 Use racket/base', no need for begin-with-definitions'. 2010-08-28 23:56:55 -04:00
Eli Barzilay
3b609eef10 use .rkt suffix => avoid a bug when trying to show the file 2010-08-28 23:56:55 -04:00
Robby Findler
8328605c1a rendered the 2htdp/image images (has to be done on a mac) 2010-08-28 20:45:01 -05:00
Robby Findler
6c3f556194 meant to include this in the last commit 2010-08-28 20:41:58 -05:00
Robby Findler
3704e2d69f added a better explanation of pixels and fixed a bug in save-image 2010-08-28 20:41:58 -05:00
Jay McCarthy
bc15f398f2 Increasing FTP test stability 2010-08-28 18:52:39 -06:00
Casey Klein
3f8de79ba7 Increases DrDr timeout to accommodate racket-vs-redex all-outcomes test 2010-08-28 19:16:25 -05:00
Jay McCarthy
c24d6f94e7 Supporting empty programs in datalog languages, fixes pr11140 2010-08-28 15:54:38 -06:00
Robby Findler
36c2eea571 an attempt to be more windows friendly 2010-08-28 14:06:01 -05:00
Jay McCarthy
33d7eb40e3 Fixing pr11136 and adding tests and fixing old tests re extension change 2010-08-28 08:30:14 -06:00
Robby Findler
3d5843aa81 fixed pen and color so they signal errors properly 2010-08-28 08:52:59 -05:00
Robby Findler
405fded9c3 change empty scene so that it draws the border for the scene inside the scene,
instead of using the usual rectangle "right/bottom outside" drawing
(hopefully) closes PR 11139
2010-08-28 07:57:52 -05:00
John Clements
fbd4659260 updated sndfile for racket & for newer version of sndfile & other similar stuff. 2010-08-27 16:42:33 -07:00
John Clements
3b94602e2e added test case for PR 11120 2010-08-27 16:42:32 -07:00
John Clements
c636aeb840 added docs for 'type' argument to memset 2010-08-27 16:42:32 -07:00
Sam Tobin-Hochstadt
92ce3ca02d Use `any/c' for contracts for polymorphic functions. 2010-08-27 18:36:49 -04:00
Sam Tobin-Hochstadt
d38af188f6 Use the correct name in the provide. 2010-08-27 18:36:49 -04:00
Vincent St-Amour
d3ee52d451 Added annotations to plain for and for* in typed code. 2010-08-27 18:18:52 -04:00
Vincent St-Amour
b386f01ee4 Improved sandboxing with code from Eli. 2010-08-27 18:18:51 -04:00
Vincent St-Amour
f06c2d4926 Removed obsolete comment. 2010-08-27 18:18:51 -04:00
Robby Findler
7233e07ec5 typos 2010-08-27 14:30:05 -05:00
Vincent St-Amour
9f540bce01 Better way to setup the sandbox input. 2010-08-27 14:43:22 -04:00
Vincent St-Amour
9884663697 Cleanup of syntax-parse patterns. 2010-08-27 14:43:19 -04:00
Vincent St-Amour
1c9e8e05b0 Cleanup of the test harness. 2010-08-27 13:29:43 -04:00
Vincent St-Amour
7cfba9f02d Renamed tests directory to make more sense with the new structure. 2010-08-27 13:29:43 -04:00
Vincent St-Amour
ca16ac4db5 Improved logging since it's now used for testing. 2010-08-27 13:29:42 -04:00
Vincent St-Amour
18af26ec9b Test expected optimizations by comparing optimizer logs instead of expanded code. 2010-08-27 13:29:42 -04:00
Vincent St-Amour
6f6ec3b2bf Adapted filename logging for testing purposes. 2010-08-27 13:29:42 -04:00
Vincent St-Amour
9b598df60a Logging can be turned on from the command-line. 2010-08-27 13:29:41 -04:00
Eli Barzilay
9227bfaf4c Comments on unsatbel code. 2010-08-27 13:21:01 -04:00
Robby Findler
c8e68e5e31 updated the docs to reflect that the various checks return void. Also added in some tests to that effect. 2010-08-27 11:27:29 -05:00
Robby Findler
a13c251e5d ugh 2010-08-27 07:25:04 -05:00
Robby Findler
797df5e72c changed back some of Eli's ~e => ~.s changes 2010-08-27 06:48:50 -05:00
Jay McCarthy
bd14fbb4ee Autosaving when Scribble buttons are clicked 2010-08-26 17:14:09 -06:00
Jay McCarthy
7190d423f7 Fixing pr11125 2010-08-26 17:14:09 -06:00
Jay McCarthy
d4e3946ba2 Adding apply stress test from Will M. Farr 2010-08-26 17:14:09 -06: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
Vincent St-Amour
46b2a2113a Use sandboxes instead of duplicate files to test results when optimizing. 2010-08-26 18:08:41 -04:00
Vincent St-Amour
eadc2a7e4c Exclude directories when testing TR's optimizer. 2010-08-26 17:46:59 -04:00
Vincent St-Amour
63530ed74d Documented with-asserts. 2010-08-26 17:46:58 -04:00
Vincent St-Amour
ea472a9d57 Added with-asserts, from code from Neil Toronto. 2010-08-26 17:46:58 -04:00
Vincent St-Amour
694d2da4b3 Extend sign analysis to sqr. 2010-08-26 17:46:57 -04:00
Sam Tobin-Hochstadt
7fc38693ec Fix tests for new output. 2010-08-26 16:59:12 -04:00
Sam Tobin-Hochstadt
52c90628ce Fixes for real/imag-part 2010-08-26 16:59:12 -04:00
Sam Tobin-Hochstadt
3e4ddde808 Tests for new optimizer additions. 2010-08-26 16:59:12 -04:00
Sam Tobin-Hochstadt
c40c48bd97 Avoid reboxing when computing real/imag-part. 2010-08-26 16:59:12 -04:00
Sam Tobin-Hochstadt
fd2d37a710 Add optimization for `magnitude', fix handling of functions that return floats, not complexes. 2010-08-26 16:59:12 -04:00
Stevie Strickland
84842bafb7 Make the error for misplaced `any's more specific. 2010-08-26 12:47:58 -04:00
Jon Rafkind
7ffbe6b1f8 add a section about running r6rs inside drracket 2010-08-26 10:21:53 -06:00
Eli Barzilay
8e0f8dd39c More "~n" -> "\n" changes 2010-08-26 12:11:00 -04:00
Eli Barzilay
2853020369 A bunch of typo fixes.
Fixes PR11131.
2010-08-26 12:11:00 -04:00
Robby Findler
dd47006c3d fixed out-of-date docs 2010-08-26 08:03:46 -05:00
Casey Klein
c66a727413 Fixes R6 tests 2010-08-26 06:04:06 -05:00
Eli Barzilay
7dc4d2e5a6 Change a bunch of "~%" and "~n" in format strings to "\n". 2010-08-25 17:17:01 -04:00
Eli Barzilay
606b7f60dc Lots of "~e" to "~.s" changes. 2010-08-25 17:17:01 -04:00
Eli Barzilay
e179449d0e Switch to `racket/base', change some "~e"s to "~.s"s, also reformat and
a few minor improvements.
2010-08-25 17:17:01 -04:00
Eli Barzilay
f04a60da61 Fix some typos 2010-08-25 17:17:01 -04:00
Eli Barzilay
f5ac792625 reformat text 2010-08-25 17:17:01 -04:00
Eli Barzilay
da083f05e8 avoid relying on bash 2010-08-25 17:17:01 -04:00
Kevin Tew
19a00d887e Places: allow channels in compound data communications 2010-08-25 15:10:15 -06:00
Matthew Flatt
9be0559936 teach decompiler about literal prims from `#%futures' 2010-08-25 14:58:27 -06:00
Matthew Flatt
2a387ebba2 try to clarify the async-apply protocol for callbacks 2010-08-25 14:58:27 -06:00
Matthew Flatt
a04403a316 add GMT option to seconds->date 2010-08-25 14:58:27 -06:00
Robby Findler
bc1aeef3c0 calls gc before running each test 2010-08-25 13:37:34 -05:00
Robby Findler
1093399c1e added in a mode that prints the timing when finding all results 2010-08-25 12:56:20 -05:00
Jay McCarthy
45a8854398 Adding immutable hash operations to ASL 2010-08-25 10:36:36 -06:00
Jay McCarthy
368d711ae2 Optional arguments to hash table constructors in ASL 2010-08-25 10:36:34 -06:00
Robby Findler
1f830cc2c6 added a timing test that compares Racket and Redex 2010-08-25 10:39:49 -05:00
Robby Findler
d9e433d512 Rackety 2010-08-25 10:39:49 -05:00
Robby Findler
7955e50a3d Rackety 2010-08-25 10:39:49 -05:00
Robby Findler
283e9cfef3 oops, dont need this 2010-08-25 10:39:48 -05:00
Sam Tobin-Hochstadt
b08de170bc Add Futureof' type, types for future' and `touch' 2010-08-25 10:27:07 -04:00
Mike Sperber
00061e6bb9 Make `procedure-to-blame' applicable.
This unbreaks some applications of procedures with signature
violations.
2010-08-25 16:00:47 +02:00
Robby Findler
cda3d259ee added a file so drdr runs the test suites 2010-08-25 07:40:19 -05:00
Matthew Flatt
967ac7275f change default handin file suffix 2010-08-25 06:04:27 -06:00
Matthew Flatt
59a930f166 rackety printing for handin-server checker 2010-08-25 06:00:34 -06:00
Matthew Flatt
a662c679dc reflect bsl, etc. printer options for external use 2010-08-24 21:10:08 -06:00
Matthew Flatt
a19899898f change Scribble's interaction', etc. to use non-default current-print'
to format results, if one is installed in a sandboxed evaluator
2010-08-24 20:50:46 -06:00
Matthew Flatt
cf300b91b9 JIT-inline even?' and odd?' on fixnums 2010-08-24 19:29:20 -06:00
Robby Findler
5de6ff2ada Adjusts the prompt handling so that it submits expressions that signal
arbitrary read errors, but does not submit those that raise eof errors.
closes PR 11126
2010-08-24 20:06:45 -05:00
Vincent St-Amour
a4b0c69ec2 Fixed the type of file-position. 2010-08-24 16:58:21 -04:00
Kevin Tew
b86e48a567 Places: benchmark tests 2010-08-24 10:39:07 -06:00
Robby Findler
d98c5025cb adjusted the automatic compilation in drracket so that it only avoids compiling files in the main collects dir 2010-08-24 09:42:57 -05:00
Matthew Flatt
0b71f65ba9 fix rendering of constructor style struct value's first field 2010-08-24 07:19:15 -06:00
Matthew Flatt
0955ed6e8b fix custom printer attached to *SL structure types 2010-08-24 06:23:22 -06:00
Matthew Flatt
31f6a0da4e fix Scribble `racket' rendering of quotes
which used to trigger too much space after a quoted form
2010-08-24 06:05:29 -06:00
Matthew Flatt
68860526e5 doc x-ref clarifications 2010-08-24 05:39:47 -06:00
Matthew Flatt
434236e8c9 doc typo 2010-08-24 05:39:47 -06:00
Jon Rafkind
e077b87d50 fix PR 11123: 0-ary generator yield 2010-08-24 00:11:22 -06:00
Jon Rafkind
65c245cdc7 move purpose statements to the info files 2010-08-23 15:13:00 -06:00
Jon Rafkind
4bca9842f5 Make in-generator work when yield returns multiple values 2010-08-23 12:50:08 -06:00
Jon Rafkind
bdf98ebbe2 add README files for scribble directories 2010-08-23 10:06:45 -06:00
Robby Findler
611e04abda adjusted the expansion so that the references to "foo" in this ISL program:
(define-struct foo (x))

(: make-foo (Number -> foo))
(: foo-x (foo -> Number))

(define x (make-foo 5))
(foo-x x)

don't get colored the "not yet executed" color.
2010-08-23 10:23:34 -05:00
Kathy Gray
d3cab0a2ca Refocus window on clicking the error source. 2010-08-23 14:37:43 +01:00
Mike Sperber
a4e7ef3594 Push mixed' contracts down into lazy struct' contracts. 2010-08-23 14:40:21 +02:00
Mike Sperber
225a42b832 Pass back the procedure on certain signature violations.
Closes PR 11117.
2010-08-23 10:08:40 +02:00
Robby Findler
8d2db5f4bf fixed a bug found by random testing 2010-08-22 20:33:30 -05:00
Robby Findler
720a86052f improved crop so that it doesn't fail when the coordinates are out of range 2010-08-22 15:12:10 -05:00
Robby Findler
46e9a3b79b improved the image docs slightly 2010-08-21 15:07:43 -05:00
Robby Findler
0b1e89bb50 improved the integration between ->i and Shu-yu's contract optimization.
When calling this function:

   (contract (->i ([x integer?]
                   [y (x) (>=/c x)])
                  any)
             (λ (x y) x)
             'pos
             'neg)

before this change it took this much time (to call the function many times):

  cpu time: 1596 real time: 1606 gc time: 191

and after this change it takes this much time:

  cpu time: 791 real time: 794 gc time: 7

Of course, on the same machine, just calling (λ (x y) x) the same number of times
gives us back this:

  cpu time: 0 real time: 0 gc time: 0

sigh.

For perhaps another point of reference, this:

   (contract (-> integer? integer? any)
             (λ (x y) x)
             'pos
             'neg)

takes this much time:

  cpu time: 393 real time: 395 gc time: 0
2010-08-21 13:51:05 -05:00
Sam Tobin-Hochstadt
72f31ffec0 Use current-readtable as the base for the TR readtable.
Closes PR 1115.
2010-08-21 14:05:46 -04:00
Robby Findler
f1e38247e0 improved the error message for save-image
closes PR 11076
2010-08-20 17:39:45 -05:00
Robby Findler
32f1f1d8f1 the error window for check syntax now goes away when you Run or edit the definitions window
closes PR 11101
2010-08-20 17:39:45 -05:00
Robby Findler
d93fc805f3 maybe this will help with some of the race conditions showing up in drdr 2010-08-20 17:39:45 -05:00
Jay McCarthy
7f4aa41aac Upping check-dists timeout 2010-08-20 15:32:19 -06:00
Kevin Tew
0841b15cb8 props collects/tests/racket/benchmarks/places/place-channel.rktl 2010-08-20 12:48:43 -06:00
Jay McCarthy
d5247cd0f4 Running web page build and distribution checker in DrDr 2010-08-20 10:35:37 -06:00
Jay McCarthy
67b7961464 Making the distribution checker agnostic to the actual base name of the plt root 2010-08-20 10:35:37 -06:00
Jay McCarthy
54e16b18ff Fixing error message on different root installations 2010-08-20 10:35:36 -06:00
Jay McCarthy
9e2ee8ecc6 Fixing another print related test 2010-08-20 10:35:36 -06:00
Jay McCarthy
a8b0a7dce6 Adding zo size reporter test 2010-08-20 10:35:36 -06:00
Jay McCarthy
c9ded2d99b Being more careful with port resources 2010-08-20 10:35:36 -06:00
Robby Findler
7c3b8eadf8 adjusted the default code keywords to include racket/base 2010-08-20 09:19:14 -05:00
Robby Findler
22f2e18a99 Fixed a bug in provide/contract that caused it to lose the source location of the original contract, when .zo files were compiled 2010-08-19 23:12:33 -05:00
Sam Tobin-Hochstadt
3637073f7f Reduce require overhead. 2010-08-19 19:03:38 -04:00
Will M. Farr
82096abb1b Added interation forms for/vector, for*/vector, for/flvector, and for*/flvector and for-clause in-flvector. 2010-08-19 18:45:13 -04:00
Jay McCarthy
44b34c37a8 Small adjustment to Matthews change 2010-08-19 16:39:54 -06:00
Jay McCarthy
5eb8f181f6 Adding WebSocket stress test and improving fit output 2010-08-19 16:34:16 -06:00
Jay McCarthy
1f61e7eb7f Adding WebSocket example 2010-08-19 16:34:15 -06:00
Jay McCarthy
347e946548 Adding WebSocket support 2010-08-19 16:34:15 -06:00
Jay McCarthy
99e44effbe Exposing Web Server header helpers 2010-08-19 16:34:15 -06:00
Jay McCarthy
209d2a0cda Documenting md5 feature 2010-08-19 16:34:14 -06:00
Matthew Flatt
16f1dffe4c add `ssl-port?' and add missing docs for two other procs 2010-08-19 16:14:11 -06:00
Matthew Flatt
eb584b4ecd fix docs for tcp-addresses and udp-addresses 2010-08-19 16:13:50 -06:00
Matthew Flatt
43ecbe4837 rackety handin-server docs and other repairs 2010-08-19 15:56:07 -06:00
Matthew Flatt
7ee7106b2d fix handin-server reloading for ss<->rkt 2010-08-19 15:50:59 -06:00
Matthew Flatt
1437d47fda fix handin server's web-server wrapping to handle tcp-addresses on a listener 2010-08-19 15:01:58 -06:00
Matthew Flatt
5d584e5d26 doc typo 2010-08-19 13:21:59 -06:00
Matthew Flatt
f90c2c9b92 change PLAI test for to print values instead of write them 2010-08-19 11:52:15 -06:00
Jay McCarthy
6f272d2e6a Improving PLAI testing 2010-08-19 10:00:36 -06:00
Jay McCarthy
101026292c Typo 2010-08-19 09:17:45 -06:00
Jay McCarthy
d3f2925792 Updating guidelines 2010-08-19 08:56:46 -06:00
Jay McCarthy
d373f8eceb Setting responsible party 2010-08-19 08:56:46 -06:00
James Swaine
1a2c0546a6 current-future now returns #f if not inside a future, instead of null. Added documentation for current-future. 2010-08-19 09:36:25 -05:00
Matthew Flatt
50d5dc352e add missing test for *SL define-struct 2010-08-19 07:58:43 -06:00
Matthew Flatt
3ea28b0c72 adjust struct constructor expansion to transfer srcloc of use to expansion 2010-08-19 07:38:26 -06:00
Matthew Flatt
a7bc964c69 fix problem with binding of *SL struct-type name and application 2010-08-19 07:38:25 -06:00
Matthew Flatt
716949f499 change install-converting-printer to set print-as-expression to #f
and update docs to make sense relative to Racket's default printer
2010-08-19 07:38:25 -06:00
James Swaine
a41c9b882a Added (current-future) to the futures module (as an inlined, nonblocking primitive). 2010-08-18 23:33:22 -05:00
James Swaine
dac2bcaa20 Merge branch 'master' of pltgit:plt
Conflicts:
	src/racket/src/future.c
2010-08-18 22:23:13 -05:00
James Swaine
8675db4faa Added (current-future) as a non-blocking primitive to racket/future. 2010-08-18 22:15:19 -05:00
Robby Findler
3885223cee fixed an ->i bug 2010-08-18 19:30:36 -05:00
Matthew Flatt
e99c53eee8 change `define-type' to use #:reflection-name instead of prop:custom-write 2010-08-18 16:13:58 -06:00
Matthew Flatt
dafb9de74c add #:reflection-name option to struct form 2010-08-18 16:13:58 -06:00
Matthew Flatt
4299b12d5b fix pretty-print problems, especially related to the custom-write property 2010-08-18 16:13:57 -06:00
Robby Findler
2faca724e3 generalized the #:steps argument to play so different phases on an animation can take different amounts of time 2010-08-18 16:58:58 -05:00
Sam Tobin-Hochstadt
90eeef60d7 Provide -> in typed-scheme/no-check.
- Closes PR 10882
2010-08-18 16:37:32 -04:00
Sam Tobin-Hochstadt
510c80b700 Better printing for environments. 2010-08-18 16:37:32 -04:00
Kevin Tew
57bda136ea Places: prevent mastergc gen0.big_pages from leaking onto a places gen0.big_pages list 2010-08-18 13:53:08 -06:00
Jay McCarthy
9a31ac5363 Fixing formlet additions 2010-08-18 13:17:11 -06:00
Jay McCarthy
e6219740b8 Correcting problems in Horace's path 2010-08-18 13:17:11 -06:00
Jay McCarthy
3d43c7e7ac Initial versions from Horace Dynamite 2010-08-18 13:17:11 -06:00
Jay McCarthy
04d3a23e1c Removing unnecessary newlines and making tests newline accurate 2010-08-18 13:17:11 -06:00
Jay McCarthy
3041bc2870 Adding guidelines page, without link to it 2010-08-18 13:17:10 -06:00
Jay McCarthy
3be8e3ba86 A little documentation 2010-08-18 13:17:10 -06:00
Jay McCarthy
1aac3c8e53 Expanding stress library 2010-08-18 13:17:10 -06:00
Casey Klein
fbd2c3c86f Adds the feature requested in PR 10388 2010-08-18 13:19:12 -05:00
Casey Klein
5bbe748485 Tightens contract for reduction-relation->rule-names 2010-08-18 13:19:12 -05:00
Casey Klein
e0643611c3 Fixes "Reduce until ..." in stepper 2010-08-18 13:19:12 -05:00
Casey Klein
7daf515f65 Fixes a bug in `define-extended-language' 2010-08-18 13:19:12 -05:00
Casey Klein
85093fb536 Fixes a `plug' bug.
There are still problems with contexts, but this is an improvement.
2010-08-18 13:19:11 -05:00
Casey Klein
623925b5d7 Adds the delimited continuations model to examples 2010-08-18 13:19:11 -05:00
Casey Klein
cdf669fe5f Fixes one more bug in the model's `branch' verification 2010-08-18 13:19:11 -05:00
Casey Klein
9d022fed0d Fixes another bug in model's `branch' verification 2010-08-18 13:19:11 -05:00
Casey Klein
a858138843 Fixes a bug in model verifier's handling of `let-one' 2010-08-18 13:19:11 -05:00
Casey Klein
4cd2e8b01b Fixes a bug in model verifier's handling of `branch' 2010-08-18 13:19:11 -05:00
Robby Findler
fd109558de catch esc to close the about frame 2010-08-18 07:13:10 -05:00
Eli Barzilay
fc2ed3f8c6 Fixed extra headers being duplicated 2010-08-17 22:13:18 -04:00
Eli Barzilay
b832ff85cc Add stub description blurb 2010-08-17 22:09:35 -04:00
Eli Barzilay
219853ac6c long --force option 2010-08-17 21:58:59 -04:00
Eli Barzilay
4af01c750d Added Waterloo mirror, and some reformatting 2010-08-17 20:12:55 -04:00
Matthew Flatt
4945851df6 doc clarification 2010-08-17 17:42:11 -06:00
Matthew Flatt
d97ee68867 adjust Scribble to sync filename case with uses 2010-08-17 17:32:22 -06:00
Matthew Flatt
0d9f5016ba fix bytecode-writing inconsistencies related to syntax objects and paths
and improve organization of the docs
2010-08-17 17:18:24 -06:00
Robby Findler
2cb5de9581 added a few more contracts to those that get colored by check syntax
(and fixed a bug in the helper macros that support the coloring)
2010-08-17 11:41:21 -05:00
Robby Findler
672355f823 added for/fold to square-bracket default prefs 2010-08-17 10:40:14 -05:00
Mike Sperber
0139cfa87a Synch German string constants with latest. 2010-08-17 16:00:59 +02:00
Mike Sperber
f3c319a3f8 Follow terminology change, belatedly.
"Vertrag" -> "Signatur"
2010-08-17 15:10:11 +02:00
Matthew Flatt
9c0c42f24a fix ffi/unsafe/try-atomic interaction with exns and prompt tags 2010-08-15 11:02:30 -06:00
Robby Findler
8ece97219a a hack to work around what appears to be just a wrong way of doing things, but will ask Noel later.
The basic problem is that (with-check-info* '() (lambda () ...whatever...)) can, in some cases,
double the information that is recorded in a failed test case. Probably the right thing is
to use a parameter or something instead of using continuation marks directly.
2010-08-14 21:34:44 -05:00
Robby Findler
b56019c275 generalized check-exn so that you can supply a regular expression as the predicate (which matches the exception message) 2010-08-14 21:34:44 -05:00
Robby Findler
12b345dc99 improved the syntax error checking for ->i 2010-08-14 21:34:44 -05:00
Matthew Flatt
9dda6f5d6b doc clarification 2010-08-14 13:52:09 -06:00
Matthias Felleisen
b3525b4a2f remove the printf, closes 11094 2010-08-14 12:01:51 -04:00
Vincent St-Amour
550e07f78f Added labeled lines and arrows to unstable from Scott Owens. 2010-08-13 18:48:33 -04:00
Vincent St-Amour
477dc43a9d Fixed typoes in the slideshow documentation. 2010-08-13 18:48:33 -04:00
Vincent St-Amour
17e6f8a997 Added shapes with borders. 2010-08-13 18:48:33 -04:00
Vincent St-Amour
cf692e986d Documented TR's behavior when mixing exactness. 2010-08-13 18:48:32 -04:00
Vincent St-Amour
3d071b479e Added a missing require. 2010-08-13 18:48:32 -04:00
Jay McCarthy
14fbd07b81 Setting responsibility 2010-08-13 15:06:14 -06:00
Jay McCarthy
fe91e997ee Adding stress testing library 2010-08-13 15:06:14 -06:00
Jay McCarthy
58b9c7a6e4 Fixing seqn-count 2010-08-13 15:06:14 -06:00
Jay McCarthy
7853c5c893 Making timing data more available 2010-08-13 15:06:14 -06:00
Jay McCarthy
fa576a5886 Fixing github links re samth 2010-08-13 15:06:13 -06:00
Jay McCarthy
339681018a Fixing pr11100 2010-08-13 15:06:13 -06:00
Sam Tobin-Hochstadt
6e489f8464 Fix variance of hash tables and parameters 2010-08-13 11:06:56 -04:00
Sam Tobin-Hochstadt
3359032ad5 Handle structs with special constructors and mutability.
Closes PR 11089.
2010-08-13 11:06:56 -04:00
Sam Tobin-Hochstadt
0c1dfd3c5e Require flat contracts in box/c, hash/c, and vector/c.
Closes PR 11085.
2010-08-13 11:06:56 -04:00
John Clements
215c8dc960 best guess on what keystrokes will trigger insert-()-pair under windows & unix. 2010-08-13 11:01:05 -04:00
John Clements
cfe503f1ce updated framework test framework:
- can now test multi-key sequences

- can now use tests with 'escape

- README changed .ss to .rkt

- added test cases for c:c;c:[
2010-08-13 11:01:04 -04:00
John Clements
0f0438479e modified key bindings to enable ()/[] toggling using c:c;c:[ 2010-08-13 11:01:04 -04:00
Robby Findler
a10cd9d14d improved the ->* docs 2010-08-13 09:54:51 -05:00
Robby Findler
bdd37c58f0 made the optional arguments clause itself optional for ->* 2010-08-13 08:14:13 -05:00
Robby Findler
120e6a25ee added #:pre and #:post to ->* 2010-08-13 07:05:27 -05:00
Robby Findler
4732e90b29 removed some commented out code (whose purpose was unclear) 2010-08-13 07:05:27 -05:00
Jay McCarthy
553648a5a6 Dropping _0 2010-08-12 19:51:05 -06:00
Stevie Strickland
a9f6ea69bf Fix creation of a reversed List type from ListDots substitution. 2010-08-12 17:46:39 -04:00
Jay McCarthy
debd6026f3 Fixing a few bugs from drdr 2010-08-12 14:54:48 -06:00
Jay McCarthy
fae0cb2c99 A few fixes to the documentation 2010-08-12 14:10:20 -06:00
Jay McCarthy
8c32de33c6 Adding sequence support for mlists and more sequence xrefs 2010-08-12 14:10:20 -06:00
Jay McCarthy
383465aa06 Removing reference to sequence/c 2010-08-12 14:10:20 -06:00
Jay McCarthy
2751ace762 Adding more sequence operators 2010-08-12 14:10:19 -06:00
Jay McCarthy
3fe91f0fdd Adding vector-set* and dict-set* exn tests 2010-08-12 14:10:19 -06:00
Jay McCarthy
d047557dc6 Adding dict-has-key? and updating unstable 2010-08-12 14:10:18 -06:00
Jay McCarthy
958c771ec8 Removing dict functions from unstable 2010-08-12 14:10:18 -06:00
Jay McCarthy
bdc26b53bb Adding dict-ref bang 2010-08-12 14:10:18 -06:00
Jay McCarthy
2d1787a309 Add dict-set* 2010-08-12 14:10:18 -06:00
Jay McCarthy
a8fc09b49a Adding dict-keys,values,->list 2010-08-12 14:10:18 -06:00
Jay McCarthy
f23daa3aea Rename hash-range and domain to keys and values 2010-08-12 14:10:17 -06:00
Kevin Tew
1ebdb6a90b Places: remove old code 2010-08-12 13:27:15 -06:00
Jay McCarthy
e06f0e78b2 Adding hash-set* and hash-set*bang 2010-08-11 17:39:48 -06:00
Jay McCarthy
fadfee7849 Normalizing docs a little 2010-08-11 16:49:04 -06:00
Jay McCarthy
58ad011ce9 Adding hash->list 2010-08-11 16:42:46 -06:00
Jay McCarthy
db87add6b7 Adding hash-domain and hash-range to racket/base 2010-08-11 16:37:46 -06:00
Jay McCarthy
928dfd6fa2 FTP tests without a network connection 2010-08-11 13:49:10 -06:00
Matthew Flatt
2f9431552e fix typo 2010-08-11 10:29:49 -06:00
Robby Findler
367779fd27 added contract-struct (like define-contract-struct, but with a
maker whose name does not begin with 'make-')
2010-08-10 22:20:33 -05:00
Robby Findler
ae1304789d oops 2010-08-10 19:57:22 -05:00
Robby Findler
1a3f2acf01 fixed preserve-stacktrace-information string constant; fix from Sergey Semerikov 2010-08-10 19:31:11 -05:00
Robby Findler
26187fed8f fixed a bug in the mzlib contracts test suite 2010-08-10 19:27:17 -05:00
Robby Findler
4341ce3c20 fixed props for syncheck 2010-08-10 16:52:27 -05:00
Robby Findler
58b0d8e93c added properties so that the check syntax obligation information works with ->i 2010-08-10 16:52:27 -05:00
Robby Findler
5fb1c730ba improved error message in the case where ->i is used as an identifier 2010-08-10 16:52:26 -05:00
Robby Findler
d15fc5c102 added naming to ->i contracts 2010-08-10 16:52:26 -05:00
Robby Findler
d7503195df fixed a bug where and/c (when given ho contracts) would check them in the wrong order 2010-08-10 16:52:26 -05:00
Sam Tobin-Hochstadt
02d9418f9a document match* 2010-08-10 15:56:15 -05:00
Matthew Flatt
6c8a914c80 support for speculatively atomic calls in ffi/unsafe/try-atomic 2010-08-07 20:49:23 -05:00
Matthew Flatt
8df33b629e fix default #:keep argument of _cprocedure 2010-08-07 20:40:42 -05:00
Matthew Flatt
4d1e97ec8d change start-atomic and end-atomic to disable breaks 2010-08-07 20:40:32 -05:00
Matthew Flatt
804ff115e7 fix `raco setup' reported name for Windows 2010-08-07 19:19:08 -06:00
Robby Findler
561d33fddd improved the name printing for between contracts 2010-08-07 14:35:08 -05:00
Robby Findler
98fb0e5b3a moved a bunch of tests into the official test suite. 2010-08-07 14:35:08 -05:00
Robby Findler
9d98533e23 cleaned up a few little things here and there to pass the last of the existing tests 2010-08-07 14:35:08 -05:00
Robby Findler
b5fad95e58 make the optimizer give up more agressively when it starts out with a completely unknown thing 2010-08-07 14:35:08 -05:00
Robby Findler
306ae096eb Fixed a bug in the eres handing (contracts where the dependent range variables are underscores) 2010-08-07 14:35:07 -05:00
Robby Findler
73177ceddc moving machines 2010-08-07 14:35:07 -05:00
Robby Findler
2347568a6c minor bug fixes 2010-08-07 14:35:07 -05:00
Robby Findler
9bc1b63ed4 added support for _ in range contracts
fixed a bug in blame assignment
2010-08-07 14:35:07 -05:00
Robby Findler
da9f5bd61a fixed a few bugs in the ->i implementation and the test suite. 2010-08-07 14:35:07 -05:00
Robby Findler
10b6e58dd0 added support for rest arguments 2010-08-07 14:35:07 -05:00
Robby Findler
c31de06cc0 added result contract checking (after refactoring argument checking to make that more straightforward), prepared for #:post condition checking 2010-08-07 14:35:07 -05:00
Robby Findler
88aafb52eb clarified the order of evaluation for contract expressions in ->i 2010-08-07 14:35:07 -05:00
Robby Findler
67f2a44fec changed the parsed structs to better exploit similarity between arguments and results 2010-08-07 14:35:07 -05:00
Robby Findler
6d9066eb22 got #:pre conditions working 2010-08-07 14:35:06 -05:00
Robby Findler
5922ceda74 improved parsing of #:pre and #:post for ->i (fixed bugs and added more checks to the syntax) 2010-08-07 14:35:06 -05:00
Robby Findler
c1b558e1a3 adjusted the syntax of ->i so that #:post and #:pre get a list of variables now 2010-08-07 14:35:06 -05:00
Robby Findler
3b431c6ff2 ->i now evaluates the arguments in the proper order 2010-08-07 14:35:06 -05:00
Robby Findler
d2894e7a8e added in a use of Shu-yu's opt/c to see if it helps (which it does for complex contracts) 2010-08-07 14:35:06 -05:00
Robby Findler
40cde743a9 Got to the point where I can run some timings to see how well ->i does.
Here are the results, each contract put on the same function, namely:
(λ (x y) (+ x y))

1: (-> number? (<=/c 0) any)
2: (->i ([x number?] [y (<=/c 0)]) any)
3: (->i ([x number?] [y (x) (<=/c x)]) any)
4: (->d ([x number?] [y (<=/c 0)]) any)
5: (->d ([x number?] [y (<=/c x)]) any)

Taking f1 as the baseline, these are the relative times for calling
that thing over and over in a loop, supplying -1 as both of the
arguments:

f2: 1.01x
f3: 4.15x
f4: 21.1x
f5: 21.5x
2010-08-07 14:35:06 -05:00
Robby Findler
599fe85a16 Got the first example of indy blame working 2010-08-07 14:35:06 -05:00
Robby Findler
9fcc157b0d this checkpoint causes racket to crash, with a segfault. run racket racket/contract/scratch.rkt to
see the error.
2010-08-07 14:35:06 -05:00
Robby Findler
4c240f2307 moving machines 2010-08-07 14:35:06 -05:00
Robby Findler
457248e9cc moving to a different machine (some progress on optional & keyword args) 2010-08-07 14:35:05 -05:00
Robby Findler
d14796c276 got first example working 2010-08-07 14:35:05 -05:00
Robby Findler
5217744740 rename 2010-08-07 14:35:05 -05:00
Robby Findler
efd72af3d6 switching machines 2010-08-07 14:35:05 -05:00
Robby Findler
d75536161c fixed bug in dependency checking for #:rest variables (and removed printfs) 2010-08-07 14:35:05 -05:00
Robby Findler
8f6080733f fixed some bad ->i test cases 2010-08-07 14:35:05 -05:00
Robby Findler
9e92a976a7 added in checking that dependent variables are all sensible 2010-08-07 14:35:05 -05:00
Robby Findler
8b05829717 switching machines 2010-08-07 14:35:05 -05:00
Robby Findler
64a1ddcda9 adjusted the syntax for ->i so that #:rest is not ambiguous anymore (added extra parens, deviating from ->d a little bit) and updated the test suite 2010-08-07 14:35:05 -05:00
Robby Findler
7352d86f1f improved check syntax's jump-to-definition so it scrolls to a more natural place 2010-08-07 14:35:04 -05:00
Robby Findler
79d0c581d4 moving machines 2010-08-07 14:35:04 -05:00
Robby Findler
561ac12a91 got started on the ->i parser 2010-08-07 14:35:04 -05:00
Robby Findler
3c70b9d2ab improved docs for ->i, added docs for the-unsupplied-arg and exported
and added docs for unsupplied-arg?.
2010-08-07 14:35:04 -05:00
Robby Findler
18e9d886e2 added an ->i test suite, based on the ->d one (doesn't test for indy-ness tho) 2010-08-07 14:35:04 -05:00
Robby Findler
a66fd7574d fixed a bug in the annotations for things like listof when they were used in a non-function position 2010-08-07 14:35:04 -05:00
Robby Findler
a524595af2 docs for ->i 2010-08-07 14:35:04 -05:00
Robby Findler
2b2fb3c07e renamed the contract obligation properties and added options to a few more contract combinators 2010-08-07 14:35:04 -05:00
Robby Findler
8e4b169583 check syntax now remembers the mode it was in last time and uses that next time
also, fixed a bug in the way modes were switch around (colors would not
be reset if there was nothing new to color)
2010-08-07 14:35:04 -05:00
Robby Findler
482481fff5 made a bunch of the contract combinators also propogate blame information
for use in check syntax
2010-08-07 14:35:03 -05:00
Robby Findler
18b8cde3e2 adjusted the annotations so that contracts can declare multiple parts
of themselves to be colored and then used that so that the #:pre-cond
and #:post-cond keywords on ->i contracts are colored.
2010-08-07 14:35:03 -05:00
Robby Findler
b664b04999 added property for internal contract dependencies to ->i 2010-08-07 14:35:03 -05:00
Robby Findler
74a0e49a4b Added properties so that the ->i contract now shows its obligation information 2010-08-07 14:35:03 -05:00
Robby Findler
1fd82ee28e adjusted the syntax checking to allow the new syntax of ->i (but still has the old ->d semantics) 2010-08-07 14:35:03 -05:00
Robby Findler
f5a190bf80 made a copy of the ->d contract implementation as a starting point for an implementation of ->i (sometimes, paper deadlines can be a Bad Thing...) 2010-08-07 14:35:03 -05:00
Robby Findler
4eb3df7094 various cleanups, including finishing up the client mode, string constants, and coloring of (known) identifiers 2010-08-07 14:35:03 -05:00
Robby Findler
b9ff546e83 now traverses from the bound occurrences to the binding ones for contract annotations 2010-08-07 14:35:03 -05:00
Robby Findler
e7bd94f2d2 adjusted check syntax to record the right-hand side of binding forms (when they are there) 2010-08-07 14:35:03 -05:00
Robby Findler
5a5da11314 added in unioning and a bit more coloring; checking in to prepare for some changes to the original check syntax (to support contract obligations better) 2010-08-07 14:35:02 -05:00
Robby Findler
b72a59d55c broke things up a little bit more and started in on the new contract traversal 2010-08-07 14:35:02 -05:00
Robby Findler
9b01650e83 broke up check syntax into multiple files 2010-08-07 14:35:02 -05:00
Robby Findler
f1e1887fee started on a better way to do the obligation coloring 2010-08-07 14:35:02 -05:00
Jay McCarthy
8a67fceb4a Added attributes to textarea-input based on patch from Horace Dynamite 2010-08-06 20:08:21 -06:00
John Clements
f86edf3c8e added message about OS behavior on (non-)reload of library 2010-08-06 20:44:14 -04:00
Jay McCarthy
7ec4821feb Increasing timeout 2010-08-06 12:41:04 -06:00
Vincent St-Amour
201aaa9090 Documented TR's behavior on literals. 2010-08-06 12:21:50 -04:00
Vincent St-Amour
0a45e0e361 More precise type for expt. 2010-08-06 11:09:04 -04:00
Vincent St-Amour
4d43c21565 Added a test for unboxed nested loops. 2010-08-05 17:21:54 -04:00
Vincent St-Amour
c653a8e655 Changed optimization order for reals in complex operations.
Made generated names more informative and updated tests accordingly.
2010-08-05 16:43:36 -04:00
Robby Findler
d7ff2ed665 two more adjustments (to triangle/sss examples) 2010-08-05 13:43:16 -05:00
Robby Findler
47055673e6 Adjusted the triangle examples to make them fit a little bit better in the documentation 2010-08-05 13:37:18 -05:00
Jens Axel Søgaard
657126c44e Merge remote branch 'origin' 2010-08-05 19:31:06 +02:00
Jens Axel Søgaard
a4a8af1fae Added images. 2010-08-05 19:30:43 +02:00
Jens Axel Søgaard
b83f255f30 new images for docs 2010-08-05 19:16:57 +02:00
Kevin Tew
35a65f90c2 Places: refactor place-channel use 2010-08-05 11:05:54 -06:00
Jens Axel Søgaard
08e8260449 Documentation for triangle/sss and friends 2010-08-05 18:22:21 +02:00
Jens Axel Søgaard
64c3a98e45 Added triangle/sss, triangle/ass, triangle/sas, triangle/ssa, triangle/aas, triangle/asa, and, triangle/saa. 2010-08-05 18:18:06 +02:00
Vincent St-Amour
500685c0f2 Fixed source location for for:. 2010-08-05 09:04:25 -04:00
Vincent St-Amour
b18f2353ca Generalize naturals to integers to minimize annotations on mutated variables. 2010-08-05 09:04:25 -04:00
Vincent St-Amour
4cb7491309 Added opt-lambda:. 2010-08-05 09:04:25 -04:00
Vincent St-Amour
0b3c637f5d Added another tracing option to TR. 2010-08-05 09:04:24 -04:00
Vincent St-Amour
416591b355 Fixed parsing of keyword types. 2010-08-05 09:04:24 -04:00
Vincent St-Amour
b1e744b1e1 Fixed tests that used complex literals. 2010-08-05 09:04:24 -04:00
Vincent St-Amour
1105e70b30 Unbox literals at expansion time. 2010-08-05 09:04:23 -04:00
Vincent St-Amour
bdf84f371d Optimize coercion of integer literals. 2010-08-05 09:04:23 -04:00
Vincent St-Amour
1fb68707fc Fixed a test. 2010-08-05 09:04:23 -04:00
Vincent St-Amour
fb31a6556e Added optimization for make-polar 2010-08-05 09:04:22 -04:00
Vincent St-Amour
dbdbaed506 Fixed typechecking of imaginaries. 2010-08-05 09:04:21 -04:00
Matthew Flatt
80bd5c53b5 fix dist specs for source distribution 2010-08-05 06:25:44 -06:00
Blake Johnson
f4abd35f5c better traversal for more sharing in zo-marshal and some refactoring. 2010-08-04 17:09:57 -06:00
Kevin Tew
3744e224b7 Places: fix sending place channels over place channels 2010-08-04 13:23:00 -06:00
Eli Barzilay
5f5810cfea v5.0.1 stuff 2010-08-03 21:37:14 -04:00
Blake Johnson
9f571acb2d documentation for free-id-info and contract changes. 2010-08-03 15:40:41 -06:00
Blake Johnson
b062c900a1 cases for more complicated lexical renames 2010-08-03 15:40:41 -06:00
Vincent St-Amour
5fa6b1c139 Added technical term links to the optimizer documentation. 2010-08-03 14:57:42 -04:00
Vincent St-Amour
bce003fa18 Imaginaries can't be inexact complexes. 2010-08-03 14:51:24 -04:00
Matthew Flatt
656321dbcb add optional #:key' argument to tech' and `techlink'
to specify the defined technical term separate from the link content
2010-08-03 12:48:03 -06:00
Matthew Flatt
c8762ae877 add methods to text-field% to control the background color 2010-08-03 12:34:16 -06:00
Vincent St-Amour
82f976a4d9 Added a link to the optimization guide in the TR reference. 2010-08-02 21:33:31 -04:00
Vincent St-Amour
cb516081c7 Documented the optimizer. 2010-08-02 21:33:30 -04:00
Vincent St-Amour
b47a77dd57 Eliminate user-introduced boxing. 2010-08-02 21:33:30 -04:00
Blake Johnson
551ef5ba30 applying make-prefab-struct 2010-08-02 19:27:28 -06:00
Blake Johnson
7653ce037b another all-from-module fix 2010-08-02 19:26:32 -06:00
Sam Tobin-Hochstadt
39c2359006 Remove obselete docs.
Add docs for legacy forms.
2010-08-02 17:23:01 -04:00
Sam Tobin-Hochstadt
1ce4040cd2 define-struct:' -> struct:' in docs.
Fix typo.
2010-08-02 16:59:37 -04:00
Sam Tobin-Hochstadt
431ff8d794 Don't treat Error types as potentially non-regular. (Reported by SK) 2010-08-02 15:41:42 -04:00
Robby Findler
f793360586 fixed a bug reported by Todd on the mailing list (probably this is his bug anyways) 2010-08-02 13:01:27 -05:00
Robby Findler
621ccbc2b4 improved the language dialog's handling of the (quasi-) menu key shortcuts.
closes PR 11073 (hopefully)
2010-08-02 11:21:40 -05:00
Jay McCarthy
53ff7a1092 Continuing 11072 2010-08-02 10:05:17 -06:00
Jay McCarthy
00f5ffc22c Fixing typo re sk 2010-08-02 09:20:06 -06:00
Jay McCarthy
c7995e247e Fixes PR11072 2010-08-02 09:18:41 -06:00
Robby Findler
5e8e4c6ffc a change to hopefully improve the error message this file (sometimes) get in drdr 2010-07-31 10:29:07 -05:00
Robby Findler
f96ed0632a improved contract 2010-07-31 09:40:04 -05:00
Robby Findler
d2802a0ed7 whoops, PR 11065 was wrong 2010-07-31 09:39:44 -05:00
Robby Findler
ee3a837ee2 fixes the other aspect of PR 11062 2010-07-31 09:15:11 -05:00
Robby Findler
1b25f2241f closes PR 11065 2010-07-31 08:06:17 -05:00
Blake Johnson
63c6cc5d2c Added case in zo-marshal for prefab structs
Made quoted not-prefab so it isn't captured by prefab case
2010-07-30 15:44:52 -06:00
Blake Johnson
85fc01f693 documentation for zo-parse certificate information 2010-07-30 14:37:17 -06:00
Blake Johnson
80c6ba482d better certificate handling in zo-parse and zo-marshal 2010-07-30 14:37:17 -06:00
Kevin Tew
6c2e1fa34f Parallel build: improved error handling 2010-07-30 11:42:33 -06:00
Matthew Flatt
0e8af6bc5d fix acc/mut error msgs from `define-struct' in teaching languages
Merge to 5.0.1
 Closes PR 11062
2010-07-30 11:16:32 -06:00
Eli Barzilay
14de7399bd typo 2010-07-30 04:20:46 -04:00
Vincent St-Amour
c4ba6b6038 Added some reflection functions to Typed Racket. 2010-07-29 19:11:20 -04:00
Vincent St-Amour
27f8279711 Extended use-site analysis to look through trivial rebindings, to support for loops. 2010-07-29 18:29:59 -04:00
Vincent St-Amour
914f142f4f Fixed types of let loop lambdas. 2010-07-29 18:29:59 -04:00
Vincent St-Amour
260de85a6e Make sure that let-bound functions don't escape through a rhs before we change their interface. 2010-07-29 18:29:58 -04:00
Vincent St-Amour
435407b37a Fixed over-generous pattern matching. 2010-07-29 18:29:58 -04:00
Vincent St-Amour
b58461da2d Fixed a bug that caused the let optimizations to choke on TR-introduced code. 2010-07-29 18:29:58 -04:00
Vincent St-Amour
f08456cf07 Extended unboxing of let-bound functions to support let loops. 2010-07-29 18:29:57 -04:00
Vincent St-Amour
855928eb7b Fixed a bug in the complex use-site analysis. 2010-07-29 18:29:57 -04:00
Vincent St-Amour
4633a2a30a Refactoring of the call-site correction code. 2010-07-29 18:29:55 -04:00
Vincent St-Amour
29b9eb389d Changed optimization order, to avoid potential conflicts. 2010-07-29 18:29:55 -04:00
Vincent St-Amour
eed20f7c3a Fix for escaping functions. 2010-07-29 18:29:55 -04:00
Vincent St-Amour
3e9e5560bf Be more aggressive when unboxing let bindings. 2010-07-29 18:29:54 -04:00
Vincent St-Amour
bb14424918 More tests for unboxed args of let-bound functions. 2010-07-29 18:29:54 -04:00
Vincent St-Amour
defe96a148 Fixed a bug with functions with unboxed complex and non-complex args. 2010-07-29 18:29:53 -04:00
Vincent St-Amour
9d471df8b9 Added unboxed arguments to let-bound functions. 2010-07-29 18:29:53 -04:00
Vincent St-Amour
1d758ee782 Added an option to see the result of the optimizer before compiling. 2010-07-29 18:29:53 -04:00
Vincent St-Amour
27f0e50d53 Register type of loop lambdas generated by the for macros. 2010-07-29 18:29:52 -04:00
Vincent St-Amour
b0d299d1b8 Added unboxed letrec-syntaxes+values bindings. 2010-07-29 18:29:52 -04:00
Vincent St-Amour
8dc23d43eb Added unboxed letrec bindings. 2010-07-29 18:29:52 -04:00
Matthew Flatt
78751b982a fix doc typo 2010-07-29 06:56:30 -05:00
Matthew Flatt
33e3dac94e add example to scribble/bnf docs 2010-07-29 06:56:30 -05:00
Blake Johnson
2dfd340031 added another case for all-from-module renames 2010-07-28 14:45:07 -06:00
Blake Johnson
8b195d1c3c closing stderr in zo-test 2010-07-28 14:42:48 -06:00
Robby Findler
2309856e2a from commentary following up in PR 11054 2010-07-28 15:14:08 -05:00
Casey Klein
9e41ab031f Cleans up the debugging advice section 2010-07-27 15:43:01 -05:00
Blake Johnson
53fdc09e7a Do not use CPT_ESCAPE for every CPT_QUOTE, instead if it was a protect-quote, then just put the CPT_QUOTE in. 2010-07-27 13:39:43 -06:00
Robby Findler
f8f3ddbc94 typo. closes pr 11052 2010-07-27 14:38:43 -05:00
Jay McCarthy
bc647ae828 Disabling helper running in DrDr 2010-07-27 11:57:08 -06:00
Jay McCarthy
8d36dfad81 Fixing parts of zo-marshal re protect-quote; parallelizing zo-test; there is no the path error again in zo-marshal though 2010-07-27 11:10:54 -06:00
Eli Barzilay
f46144d5d3 reader examples typo 2010-07-27 10:15:40 -04:00
Matthias Felleisen
6a7801c523 to-draw for images in universe doc; fixes 11050 2010-07-27 08:41:13 -04:00
Matthew Flatt
bd0192d22d revised docs for -j flag to `raco setup'
Glad to see the docs, but revised for the following reasons:
  * define a meta-variable like `n' before using it
  * typeset meta-variables specially, usually as a Racket variable
  * 'processor-count' needed a `for-label' import for the hyperlink
  * use @exec{} for `make install', because it's a command rather
    than plain English
  * although `PLT_SETUP_OPTIONS' was introduced for `-j', it makes
    sense in general; revising the prose and moving to the end of
    the bullet makes that more clear (but good job including the
    index entry)
  * used `env' so that the example command line works for more shells
2010-07-26 15:08:49 -05:00
Matthew Flatt
1a84aecc42 doc typo 2010-07-26 14:53:45 -05:00
Matthew Flatt
93183284f7 raco' supports relative module paths in raco-command' "info.rkt" entries 2010-07-26 14:53:45 -05:00
Kevin Tew
ae4d2639dd Parallel-build docs 2010-07-26 12:25:58 -06:00
Jay McCarthy
28432037af Fixing up a few things in zo-parse/etc 2010-07-26 12:18:01 -06:00
Blake Johnson
8eeed89982 zo-marshal wrap fixes, optional port for zo-parse 2010-07-26 12:06:02 -06:00
Robby Findler
46ce202845 adjusted German and French translations 2010-07-26 11:51:43 -05:00
Sam Tobin-Hochstadt
dba04c8aea Add @nocopyright option to scribble/sigplan. 2010-07-26 11:43:33 -04:00
Matthew Flatt
7cb461371a fix doc typo 2010-07-26 09:43:55 -05:00
Matthew Flatt
264ec77abd another fix for CM+DrRacket interaction 2010-07-26 09:43:55 -05:00
Robby Findler
a63e811126 removed "JIT" since it was wrong 2010-07-26 09:39:53 -05:00
Vincent St-Amour
4803eafa67 Fixed a bug with exact complexes. 2010-07-25 22:15:18 -04:00
Eli Barzilay
7cdb5787e5 properly fix the readme issue 2010-07-25 21:14:46 -04:00
Vincent St-Amour
1b998f25e5 Fix to tolerate complexes of unknown exactness inside inexact-complex
expressions.
2010-07-25 20:13:36 -04:00
Robby Findler
83cde5c8fb got rid of some uses of collection-path 2010-07-25 15:15:57 -05:00
Matthew Flatt
5f1aa418f3 add collection-file-path and splace collection trees at the file level 2010-07-25 11:01:09 -05:00
Matthew Flatt
4359783d8b fix CM+DrRacket cdr bug 2010-07-25 06:17:23 -05:00
Eli Barzilay
af6364a58c Fix sha1-truncation, by removing it.
Usually, the "%h" format should result in an abbreviated sha1, but it
looks like getting it through `git archive' returns the full thing
rather than the truncated version.  So avoid the substring for now, and
find out if it's a git bug or not.
2010-07-25 05:01:44 -04:00
Eli Barzilay
82cba3fad0 One more README occurrence 2010-07-25 04:13:27 -04:00
Eli Barzilay
1eac3e1d28 Show only first 10-character prefix of the sha1. 2010-07-25 04:13:27 -04:00
Eli Barzilay
9074bf1992 Typo in Matthias's name 2010-07-25 04:13:27 -04:00
Eli Barzilay
1417caac07 Minor edits & typos 2010-07-25 04:13:27 -04:00
Kevin Tew
81c4275220 Fix cross references 2010-07-24 23:06:43 -06:00
Matthew Flatt
787bd61e33 fix mismatch between five.rkt code and Guide prose
Merge to 5.0.1
2010-07-24 20:43:17 -05:00
Matthew Flatt
96d528db9e fix Scribble Latex rendering of consecutive dashes and quotes 2010-07-24 20:43:17 -05:00
Robby Findler
3db5c5173a Merge branch 'master' of git:plt 2010-07-24 19:58:27 -05:00
Robby Findler
87e502e2a3 rackety 2010-07-24 19:58:18 -05:00
Vincent St-Amour
ec39ea5f33 Added one more test for unboxed let bindings. 2010-07-24 17:01:23 -04:00
Kevin Tew
1111c48fdb Fix latex doc generation 2010-07-24 09:57:36 -06:00
Matthew Flatt
57d3dd7df7 port techreports page to Racket 2010-07-23 22:28:47 -05:00
Vincent St-Amour
80b6ef7dd1 The optimizer now ignores code that is inside a with-handlers form,
since it would be typechecked in an unusual manner.
2010-07-23 18:52:47 -04:00
Vincent St-Amour
5d86813267 Fixed a test that could not work because of shadowing in hand-optimized code. 2010-07-23 18:52:46 -04:00
Vincent St-Amour
5892ef2fad Fixed unboxing of let bindings. 2010-07-23 18:52:46 -04:00
Vincent St-Amour
12ce9abda6 Fixed typo. 2010-07-23 18:52:45 -04:00
Vincent St-Amour
82b064a520 The optimizer now ignores expressions ignored by the typechecker. 2010-07-23 18:52:44 -04:00
Vincent St-Amour
ea580e6ff8 Added a test to the optimizer. 2010-07-23 18:52:43 -04:00
Vincent St-Amour
83987fffac let bindings of inexact-complex numbers can be replaced by bindings
for each of their components.

This allows unboxing of intermediate results that are bound and only
ever used in positions where they would be unboxed.
2010-07-23 18:52:42 -04:00
Vincent St-Amour
063b87697a Optimized extracting parts of inexact complexes. 2010-07-23 18:52:42 -04:00
Vincent St-Amour
0493e6f762 Refactoring of the optimizer. 2010-07-23 18:52:41 -04:00
Matthew Flatt
82588438c2 fix `enter!' reloading on a ".ss" path 2010-07-23 14:14:42 -05:00
Sam Tobin-Hochstadt
b8df3839e6 This file sometimes errors. 2010-07-23 15:11:10 -04:00
Sam Tobin-Hochstadt
5bb730f72c Optimize (apply + (map f l)) to avoid the intermediate list. 2010-07-23 14:11:40 -04:00
Kevin Tew
d640add2b1 Parallel Build: raco setup COLLECT fix 2010-07-23 10:08:48 -06:00
Kevin Tew
d724514a74 Fix hang on error in parallel build 2010-07-22 19:32:52 -06:00
Matthew Flatt
7c4eddc708 fix `file-stamp-in-paths', which affects DrRacket's auto compilation
Merge to 5.0.1
2010-07-22 18:46:35 -05:00
Jay McCarthy
407dcee206 Adding match to ASL 2010-07-22 15:39:53 -06:00
Jay McCarthy
eeada45868 Fixing error string 2010-07-22 15:12:07 -06:00
Jay McCarthy
9eb053d4db Adding define-datatype to ASL 2010-07-22 11:36:04 -06:00
Kevin Tew
5bb2e148de Parallel docs build 2010-07-22 02:39:57 -06:00
Vincent St-Amour
ca106a4134 Replaced the safe specialized nbody benchmark by the unsafe version. 2010-07-21 21:09:43 -04:00
Vincent St-Amour
0ee0886cab Optimizations on one-argument cases of arithmetic operations. 2010-07-21 21:09:43 -04:00
Vincent St-Amour
4e944f73ab Added optimization for string-length and bytes-length. 2010-07-21 21:09:42 -04:00
Vincent St-Amour
d6ce6e664f Added box optimizations. 2010-07-21 21:09:42 -04:00
Vincent St-Amour
234e8c363c Improved closure properties of bitwise-and. 2010-07-21 21:09:41 -04:00
Vincent St-Amour
c4ae44123f Bytes are fixnums. 2010-07-21 21:09:41 -04:00
Vincent St-Amour
d078305a59 Improved behavior of coercions with n-ary arithmeric operations. 2010-07-21 21:09:41 -04:00
Vincent St-Amour
a31d7b60c8 Added type signatures for operations on inexact complexes and floats. 2010-07-21 21:09:40 -04:00
Vincent St-Amour
b13075a1c0 Changed the interface to typed racket's test harness. 2010-07-21 21:09:40 -04:00
Vincent St-Amour
47195410cb Added optimization for zero?. 2010-07-21 21:09:40 -04:00
Matthew Flatt
5d7f044488 change mrlib/image-core to use pen-list% cap and join support 2010-07-21 16:19:12 -06:00
Matthew Flatt
fa68e23c37 add pen and cap support to pen-list% 2010-07-21 15:50:22 -06:00
Matthew Flatt
90ec44f65c CM: report bad dependencies clearly; fix file-stamp-in-paths
for when `use-compile-file-paths' has multiple subpaths
  Probably merge to 5.0.1
2010-07-21 15:50:22 -06:00
Matthew Flatt
f1dc3bf06e fix doc typo 2010-07-21 15:50:22 -06:00
Casey Klein
ae99d4e5bc Adds a `apply-reduction-relation*' example to the docs 2010-07-21 08:46:28 -05:00
Casey Klein
ad308e32f1 Removes undocumented, unmaintained random testing form 2010-07-21 08:46:27 -05:00
Casey Klein
541a0c4ecb Adds #:prepare keyword to random testing forms 2010-07-21 08:46:27 -05:00
Robby Findler
392d22ff3c props 2010-07-21 06:31:31 -05:00
Robby Findler
6cd277a36f fixed a bug in the saving of bitmaps (and along the way added some randomized tests that found a few other things)
Please merge to release branch.
2010-07-20 22:59:52 -05:00
Matthew Flatt
6ffa068e1e fix use of the second argument to in-bib 2010-07-20 14:02:57 -06:00
Jay McCarthy
77b6709da1 Adding fake lambdas to get arrows on clauses. 2010-07-20 13:59:38 -06:00
Matthew Flatt
b71940bfbf fix doc typo
Closes PR 10881
 Merge to 5.0.1
2010-07-20 10:36:52 -06:00
Matthew Flatt
59de3b4f5e fix doc typo
Closes PR 10905
 Merge to 5.0.1
2010-07-20 10:35:00 -06:00
Matthew Flatt
8f15f04bd5 fix error message for (cons [else])
Closes PR 10910
 Merge to 5.0.1
2010-07-20 10:33:55 -06:00
Matthew Flatt
8dfe2a6a91 fix doc typo
Closes PR 10917
 Merge to 5.0.1
2010-07-20 10:24:34 -06:00
Matthew Flatt
4bd97ae80e fix uses of `scheme' in the Scribble style guide
Closes PR 10999
 Merge to 5.0.1
2010-07-20 09:33:15 -06:00
Matthew Flatt
7cbe584fbc fix mistakes related to -X and `make install'
Merge to 5.0.1
2010-07-20 07:28:07 -06:00
Matthew Flatt
b1efcd1fc2 fix non-in-place install by propagating collects path to subprocesses
Merge to 5.0.1
2010-07-20 07:15:31 -06:00
Casey Klein
310f9ce05a Makes it a syntax error for a `where' clause to reuse a pattern variable at a different depth 2010-07-20 07:53:16 -05:00
Casey Klein
72b98b77fb Fixes a bug with `where' clauses 2010-07-20 07:53:16 -05:00
Casey Klein
8eb25bb2b9 Adds a #:attempt-size keyword to the random testing forms 2010-07-20 07:53:16 -05:00
Casey Klein
0477125354 Documents #:print? keyword for check-reduction-relation and check-metafunction 2010-07-20 07:53:16 -05:00
Casey Klein
253641a03e Fixes minor bug affecting check-reduction-relation 2010-07-20 07:53:16 -05:00
Matthew Flatt
ce03a34318 another ss->rkt repair to exe creator
Merge to 5.0.1
2010-07-20 06:37:02 -06:00
Matthew Flatt
5cc0baa01e extend decompiler to handle #%variable-reference 2010-07-20 06:35:58 -06:00
Matthew Flatt
f602d11a7f raco exe: fix missing ss->rkt conversion and remove debugging printf
Merge to 5.0.1
2010-07-19 14:00:23 -06:00
Jay McCarthy
5417d7a5b7 Fixing path-only documentation and adding new test case 2010-07-19 13:56:01 -06:00
Robby Findler
5e007f7886 added rktl and rktd as owned by drracket (under mac os x) 2010-07-17 20:38:05 -05:00
Matthew Flatt
1ea0880f65 add missing test for continuation change 2010-07-16 20:55:07 -06:00
Matthew Flatt
fd5213b0ef typo in foreignobjc docs
Closes PR 11038
2010-07-16 20:43:22 -06:00
Vincent St-Amour
8aa4fae613 Added whitespace to the typed racket test harness. 2010-07-16 19:08:21 -04:00
Vincent St-Amour
8563f02ba8 Don't abort typed racket's tests if the main tests fail. 2010-07-16 19:08:21 -04:00
Vincent St-Amour
60bfce14bc Fixed unsafe optimization that considered floats as complexes. 2010-07-16 19:08:20 -04:00
Vincent St-Amour
01c170c52f Fixed a segfault in the nbody benchmark. 2010-07-16 19:08:20 -04:00
Vincent St-Amour
b8b852dbc1 Added a test for inexact imaginaries. 2010-07-16 19:08:20 -04:00
Vincent St-Amour
3dab2fbbfc Fixed benchmarks to typecheck even when not-really-dead code is typechecked. 2010-07-16 19:08:19 -04:00
Vincent St-Amour
4d5b50dee9 Further fixes in overlap checking.
Rhss of code dispatching on overlapping structs are no longer
considered dead, and as such, are now typechecked.

Had to fix a test that passed only because some not-really-dead code
was not being typechecked.
2010-07-16 19:08:19 -04:00
Stevie Strickland
654b7df1de Two fixes in overlap checking.
- Names were not being resolved, so a superstruct name and substruct name
   could be seen as non-overlapping.
 - Struct parents were not checked in the overlapping algorithm.
2010-07-16 19:08:19 -04:00
Vincent St-Amour
8d6230956d Documented the optimizer. 2010-07-16 19:08:18 -04:00
Jay McCarthy
ec487fac4c Slightly improving error message on test--> failure 2010-07-16 16:08:31 -06:00
Vincent St-Amour
fc29e7e856 Added mutable pair optimizations. 2010-07-16 12:22:16 -04:00
Vincent St-Amour
f21454e711 Fixed an infinite loop. 2010-07-16 12:22:16 -04:00
Vincent St-Amour
c587038b33 The imaginary parts of reals are ignored when doing complex division. 2010-07-16 12:22:15 -04:00
Vincent St-Amour
443d8b9f91 Fixnums and integers can now be coerced for complex operations. 2010-07-16 12:22:15 -04:00
Vincent St-Amour
c645aa7ebc The imaginary parts of inexact reals are ignored when doing complex multiplication. 2010-07-16 12:22:15 -04:00
Vincent St-Amour
b0788372ea Fixed bugs in the tests. 2010-07-16 12:22:14 -04:00
Vincent St-Amour
566aeedb59 Better error reporting by the optimizer's test harness. 2010-07-16 12:22:14 -04:00
Vincent St-Amour
7fb1b41a28 The optimizer's test harness now makes sure that optimized and
non-optimized versions of the same code evaluate to the same thing.

Unfortunately, this leads to a lot of code duplication. We can't
abstract over optimization like we do for the benchmarks since the
wrapper module would interfere with testing expanded code for
equality.
2010-07-16 12:22:14 -04:00
Vincent St-Amour
748e9e47ad The imaginary parts of inexact reals are ignored when doing complex
addition or subtraction.
2010-07-16 12:22:13 -04:00
Vincent St-Amour
025af5b815 Added coercions for floats with unboxed complex operations.
However, this generates superfluous operations involving their
imaginary part of 0.
2010-07-16 12:22:13 -04:00
Vincent St-Amour
fff71e6a1d Enabled optimization of complex conjugate at the top level of complex operations. 2010-07-16 12:22:12 -04:00
Vincent St-Amour
063211d922 Added unboxed complex conjugate. 2010-07-16 12:22:12 -04:00
Vincent St-Amour
0b0da84eba Added optimizations for iterating over vectors and strings. 2010-07-16 12:22:12 -04:00
Vincent St-Amour
1e550139aa Added dead code elimination. 2010-07-16 12:22:11 -04:00
Vincent St-Amour
58fe07ad70 Better internal error reporting. 2010-07-16 12:22:11 -04:00
Vincent St-Amour
b7229487a5 Various fixnum unsafe operations improvements. 2010-07-16 12:22:11 -04:00
Vincent St-Amour
4e6fc3154b Added a test for cross-module struct optimization. 2010-07-16 12:22:10 -04:00
Vincent St-Amour
4a8113eac6 Added types for sequence functions. 2010-07-16 12:22:10 -04:00
Vincent St-Amour
85b96a98b3 Fixed the type for fxrshift. 2010-07-16 12:22:10 -04:00
Vincent St-Amour
8c840a2282 Added types for byte-string I/O functions. 2010-07-16 12:22:09 -04:00
Vincent St-Amour
3dbbd6d3fc Added types for integer/bytes functions. 2010-07-16 12:22:09 -04:00
Vincent St-Amour
abee5a4db7 Added type for collect-garbage. 2010-07-16 12:22:09 -04:00
Jay McCarthy
c9ccf6d48b Adding all hash prims per SK 2010-07-16 09:43:03 -06:00
Matthew Flatt
8cb0b6fd7b fix relative URLs in single-page Scribble HTML output
Merge to v5.0.1
2010-07-16 03:38:28 -06:00
Jay McCarthy
1b62a02e5a Updating documentation for PR11036 fix 2010-07-15 15:59:15 -06:00
Blake Johnson
8df94dd746 handling top-level-renames and mark-barriers 2010-07-15 15:53:02 -06:00
Jay McCarthy
d17deb5fef Adding hash table functions to ASL 2010-07-15 15:45:54 -06:00
Jay McCarthy
caca804615 Adding subsections to HTDP language primops docs 2010-07-15 15:45:54 -06:00
Jay McCarthy
f72a71c67f Fixing advanced language prim ops 2010-07-15 15:45:54 -06:00
Jay McCarthy
1dfb50460a Revert "Do not actually use dependent contracts in provide/doc if there is no dependency"
This reverts commit 334978a8e4.
2010-07-15 10:23:06 -06:00
Jay McCarthy
80b6ceeff1 Fixes PR11024.
The problem was that when the connection is closed its custodian is shutdown, thus killing the thread that was going to bring the server down. The difference between curl and the browser was that even though they both use HTTP/1.1, the browser actually leaves the connection open longer.
2010-07-15 10:14:16 -06:00
Jay McCarthy
334978a8e4 Do not actually use dependent contracts in provide/doc if there is no dependency 2010-07-15 09:52:30 -06:00
Jay McCarthy
d9e6eb1d8b Silly test push to trigger DrDr 2010-07-14 16:14:21 -06:00
Jay McCarthy
bb94d87c30 Fixing options (bad email instructions and no docs) 2010-07-14 15:20:48 -06:00