Commit Graph

15291 Commits

Author SHA1 Message Date
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