Commit Graph

16010 Commits

Author SHA1 Message Date
Robby Findler
20b596b8f2 fix pretty big for check syntax 2010-10-19 18:41:20 -05:00
Robby Findler
ea985a81d6 added some more information to the error messages when a syncheck test case fails 2010-10-19 18:41:20 -05:00
Robby Findler
5c94ca5b7c idle attempts to reduce allocation in the matcher 2010-10-19 18:41:19 -05:00
Sam Tobin-Hochstadt
50bf3dc1be Add zo-read/parse/run fuzz tester. 2010-10-19 14:51:13 -07:00
John Clements
2083181d2e got testing harness working again. 2010-10-19 14:37:44 -07:00
Jay McCarthy
afd3a90607 Adding preamble to make-xexpr-response 2010-10-19 11:29:49 -07:00
Robby Findler
920800531c adjust drracket so that, during check syntax, there is less sharing between drracket and the user program. specifically, the gui libs are not shared 2010-10-19 07:07:09 -05:00
Robby Findler
ae37e186e7 use #%plain-app to avoid possible problems with code injected into the teaching languages 2010-10-19 07:07:08 -05:00
Robby Findler
499fe40f8a minimize dependencies 2010-10-19 07:07:08 -05:00
Mike Sperber
fd5e9d4d63 Unbreak the stepper on `check-expect'.
All kinds of things expand into (let () ...), so all kinds of things
break.
2010-10-19 11:56:24 +02:00
Matthew Flatt
ddca8cd29b fix non-inlined `in-vector' sequence on proxied vectors
Merge to 5.0.2
 Closes PR 11225
2010-10-18 13:48:22 -07:00
Mike Sperber
17c4cb9254 Two more (hopefully last) renamings "Vertrag" -> "Signatur"
(i.e. "contract" -> "signature" in German)
2010-10-18 13:30:34 +02:00
Mike Sperber
43d097cc05 Don't annoy the user with test-engine summaries.
Make sure the test-engine summary is only printed when there's
something new to say.
2010-10-18 10:10:27 +02:00
Mike Sperber
0821f694af Made sperber responsible for `test-engine-tests.rkt'. 2010-10-18 10:00:49 +02:00
Mike Sperber
32455894bc Unbreak the test-engine-test.rkt test suite.
- signatures are only in ASL now
- the error messages for the DMdA languages are different
2010-10-18 09:37:48 +02:00
Mike Sperber
2a418b9cf0 For DMdA, follow Robby's fix for htpd-langs.ss.
Namely, don't set an uncaught-exception-handler.
2010-10-18 09:36:17 +02:00
John Clements
bb160fbc04 r/exact-integer?/fixnum/ 2010-10-17 21:17:23 -07:00
John Clements
9f7eeee570 exr -> expr 2010-10-17 21:17:22 -07:00
Matthew Flatt
9f959f247e fix quotability annotation on HtDP-language structs
Merge to 5.0.2
2010-10-17 19:32:17 -07:00
Robby Findler
0614da5992 adjusted the recently opened menu items code so that it does not create all of the menu items as often 2010-10-17 10:25:08 -05:00
Robby Findler
93260c7dd0 fixed mangled test case 2010-10-16 22:24:16 -05:00
Matthew Flatt
caa747e5c6 fix an interaction of `dynamic-wind' pre thunks and composable continuations
Merge to 5.0.2
2010-10-16 19:44:33 -06:00
Robby Findler
ccdea59949 added a failing test case; fixing this one isn't simple, but hopefully will also lead to good performance improvements (for some models at least) 2010-10-16 16:29:17 -05:00
Robby Findler
99d85159b6 adjusted define-metafunction/extension so that it recompiles the old cases in the new language 2010-10-16 16:29:15 -05:00
Robby Findler
e875f262d9 added a test case to be sure that the extension's clauses come before the original clauses in an extended metafunction 2010-10-16 16:29:15 -05:00
Jay McCarthy
fae28f1bb3 Disable stress 2010-10-15 13:44:34 -06:00
Jay McCarthy
e6b2965d39 Re-enabling tests 2010-10-15 13:08:39 -06:00
Jay McCarthy
05dc137ca0 Fixing srcloc on module expressions because srclocs come from the cons 2010-10-15 13:08:39 -06:00
Jay McCarthy
4528c7657a Fixing mutator test printing modulo line numbers 2010-10-15 13:08:38 -06:00
Jay McCarthy
f6fbc85d1b Adding test printing tests 2010-10-15 13:08:38 -06:00
Jay McCarthy
e8ceade2a5 Little stress tests 2010-10-15 13:08:38 -06:00
Mike Sperber
39541c51b5 Add `tech-equal?'.
This refuses to work on inexact numbers and procedures.  Use it in
`check-expect' & friends.
2010-10-15 15:26:24 +02:00
Robby Findler
1d0ebeae62 added a check to avoid creating a new bitmap struct (so caching works better when you flip images that are not scaled) 2010-10-14 14:05:12 -05:00
Sam Tobin-Hochstadt
4311a5e5d6 disable this file too 2010-10-14 14:55:51 -04:00
Sam Tobin-Hochstadt
a826b8462e disable this file since it doesn't terminate 2010-10-14 14:54:11 -04:00
Vincent St-Amour
12a5454b14 Removed logging when no optimization actually happens. 2010-10-14 14:13:06 -04:00
Eli Barzilay
42e76eaaf4 Encode any text instead of going through a pretty-printer. 2010-10-14 13:46:51 -04:00
Eli Barzilay
dc25ef2d26 Pub links for byu and calpoly. 2010-10-14 13:46:50 -04:00
Robby Findler
dac011bc9f move the signature coverage test to ASL since signatures are now only in ASL 2010-10-14 11:45:04 -05:00
Sam Tobin-Hochstadt
c7eb46b1b3 Fix props 2010-10-14 12:21:28 -04:00
Sam Tobin-Hochstadt
24bddafa82 Add type for `compose' 2010-10-14 11:44:14 -04:00
Robby Findler
61188f3e44 adjusted to new error messages 2010-10-14 10:06:26 -05:00
Robby Findler
345707b4bc adjusted props so Matthias is notified for teaching language related tests 2010-10-14 10:06:26 -05:00
Vincent St-Amour
3f5ea8a5be Fixed a test to reflect implicit let in cond instead of implicit begin. 2010-10-14 10:53:43 -04:00
Robby Findler
2f01da7450 props 2010-10-14 07:27:40 -05:00
Robby Findler
c2d7f58e65 Rackety 2010-10-13 17:44:20 -05:00
Robby Findler
2652237559 fixed a bug in extended languages & the _ check 2010-10-13 17:44:19 -05:00
Robby Findler
3e9858b001 added an argument to open-input-text-editor so that it can lock (and unlock) the editor when editing would not be allowed. 2010-10-13 15:55:17 -05:00
Robby Findler
fc22d10b49 fixed typos 2010-10-13 15:55:17 -05:00
Robby Findler
c785235af4 made the pretty big and r5rs drracket languages use the new read-accept-lang parameter to disable #lang in the REPL 2010-10-13 15:55:17 -05:00
Robby Findler
798e35bb4c fixed a bug in the test suite so that test errors are now (all) reported to stderr instead of stdout
also added a test suite for teh 'language in the source' language
2010-10-13 15:55:17 -05:00
Robby Findler
0998934e1e only require mred/mred, not all of scheme/gui (which includes
mred/mred but also lots of stuff from the scheme library)
2010-10-13 15:55:16 -05:00
Robby Findler
8032705cf9 The call to display-results depends on the value of the current-namespace
parameter. Specifically, it is expected to be a namespace that has the GUI
bindings available. Unfortunately, during the dynamic extent of the
uncaught-exception-handler when a syntax error is raised, this may not be
the case because you get a phase 1 namespace, not a phase 0 one.

So, move the call to display-results to the code that runs the student language
programs and out of the uncaught exception handler.
2010-10-13 15:55:16 -05:00
Robby Findler
e2958e0605 don't catch break exceptions 2010-10-13 15:55:16 -05:00
Robby Findler
2de8b978ba move read-accept-lang parameter setting to the right place 2010-10-13 15:55:16 -05:00
Robby Findler
d9ea5141e9 fixed doc contract spec 2010-10-13 15:55:16 -05:00
Matthias Felleisen
49060ff57c merged two error checking files 2010-10-13 15:07:33 -04:00
Matthias Felleisen
ae04ddc7d9 the mouse and key handler shouldn't be set to defaults; when there are no on-* clauses, they should be ignored 2010-10-13 14:50:55 -04:00
Matthias Felleisen
852aaed2ea removed signatures for now 2010-10-13 12:49:26 -04:00
Matthew Flatt
6e23fcda5f fix _short' and other non-_int' integer types, and add `_intptr' test 2010-10-13 08:50:47 -06:00
Matthew Flatt
1203a89a0f fix argument checking for set operations, and also fix recursive print
in the case that the current print is to a string with a limited
  length
 Closes PR 11313
2010-10-13 08:50:47 -06:00
Matthias Felleisen
df62ca47e9 added 'function', Closes PR 11283 2010-10-13 10:31:00 -04:00
Mike Sperber
bb098fc77c Added rudimentary test suite for test engine. 2010-10-13 14:01:07 +02:00
Mike Sperber
f3191ff4d6 Define `any' signature differently.
... to actually enable the subtyping check.  Also, make named
signatures work for signature variables.
2010-10-13 09:41:10 +02:00
Eli Barzilay
615d8f1329 Add _intptr etc; closes PR11311. 2010-10-12 20:58:08 -04:00
Eli Barzilay
b3cfbe77c9 Minor typo in error call 2010-10-12 20:58:07 -04:00
Matthias Felleisen
8fb58bb74e making the stepper (mostly) happy 2010-10-12 18:10:35 -04:00
Vincent St-Amour
27e722f27b Inexact-Complex -> Float-Complex 2010-10-12 16:47:46 -04:00
Vincent St-Amour
52bd739d00 Added the Float-Complex type for consistency with the new float types.
Inexact-Complex has been kept as a synonym for backward compatibility.
2010-10-12 16:47:45 -04:00
Vincent St-Amour
a59a99c42d Changed the TR numeric tower to use the new flonums. 2010-10-12 16:47:45 -04:00
Vincent St-Amour
f3ae9c73b0 Changed the interface for running single optimizer tests. 2010-10-12 16:47:45 -04:00
Vincent St-Amour
2c4d6fbb01 Added optimization for first, second and co when possible. 2010-10-12 16:47:44 -04:00
Matthew Flatt
bf4fc2574c fix syntax colorer for #true and #false 2010-10-12 08:22:12 -06:00
Mike Sperber
b80d327d40 DMdA typo fix.
--HG--
extra : rebase_source : d6f5e160c655713f30df544a60c8033410945103
2010-10-12 14:53:12 +02:00
Mike Sperber
03c2fa266b Update DMdA docs on generators for `check-property'.
--HG--
extra : rebase_source : 0cfb8434a19c3d2f2783a0f1d882fecd85c5d432
2010-10-12 14:50:22 +02:00
Matthew Flatt
99df8e1267 allow internal definitions in when', unless', cond, case', `match' 2010-10-12 06:41:49 -06:00
Eli Barzilay
7847872400 Fix some missing uses of @num 2010-10-11 15:07:28 -04:00
Eli Barzilay
6295824851 Some additional tests, and use () instead of {} for racket sexprs 2010-10-11 15:07:28 -04:00
Eli Barzilay
40ecda1a77 Sandboxes make up and remember a reasonable default source to filter
uncovered expressions on.

(See http://lists.racket-lang.org/users/archive/2010-October/042008.html
for a detailed description.)
2010-10-11 15:07:28 -04:00
Mike Sperber
c4b590d9bf Add "image2" teachpack for DMdA.
This is just our copy of 2htdp/image.
2010-10-11 13:54:29 +02:00
Mike Sperber
eebe5b2e2b 2nd attempt at generators for records/structs.
This time, with feeling.
2010-10-11 13:34:16 +02:00
Matthew Flatt
cc79890f71 rephrase `eq-hash-code', etc. docs in terms of fixnums 2010-10-10 20:39:29 -06:00
Matthew Flatt
696360d5f3 document new gc-callback protocols 2010-10-10 20:39:29 -06:00
Mike Sperber
f35477b82b Make the weak table for the signature-checked pairs truly weak.
... by wrapping ephemerons around the values.
2010-10-09 17:51:30 +02:00
Mike Sperber
f706b0d7a7 Revert "Create arbitraties off parametric struct/record signature constructors."
This reverts commit 7df9a22a67.

It was broken in several ways.  New attempt later.
2010-10-09 17:48:58 +02:00
Matthew Flatt
a0e4eb990d document racket/fasl 2010-10-09 08:15:26 -06:00
Matthew Flatt
6ac33a62be set `read-accept-lang' to #t by default, plus related adjustments
including adding some uses of `with-module-read-parameterization'
 so that `read-accept-lang' is set right anyway; still, so many
 many places just set `read-accept-reader' to #t that making
 `read-accept-lang' #f by default looks like too big of an
 incompatibility
2010-10-08 19:01:33 -06:00
Matthew Flatt
fe301b1ff4 print-boolean-long-form, #true, #false, read-accept-lang, flonum? 2010-10-08 15:13:04 -06:00
Matthias Felleisen
0eed02bd0d typo in world.rkt 2010-10-08 16:31:52 -04:00
Matthias Felleisen
58684bbf4e merged keywords back into universe 2010-10-08 16:17:41 -04:00
Matthias Felleisen
995ce61434 to-draw and on-draw check 2010-10-08 16:17:03 -04:00
Matthias Felleisen
96bf9d2518 deleted 2010-10-08 16:16:04 -04:00
Matthias Felleisen
963adb64ce run tests all at once 2010-10-08 14:04:32 -04:00
Mike Sperber
4ec7cb1d88 Unbreak coverage for *SL `define-struct'. 2010-10-08 19:56:51 +02:00
Mike Sperber
7df9a22a67 Create arbitraties off parametric struct/record signature constructors.
This enables QuickCheck value generations for structs/records.
2010-10-08 17:21:07 +02:00
Mike Sperber
219c91d8e7 Check parametric struct/record signatures eagerly. 2010-10-08 17:01:47 +02:00
Mike Sperber
5dad68b384 Zap `DMdA-' from primitive procedures in DMdA.
Meaning the the procedure names are displayed without the "DMdA-"
prefix in the stepper and the REPL.
2010-10-08 15:25:44 +02:00
Mike Sperber
b4493fdab4 Add cons' and cons?' as synonyms for make-pair' and pair?' to DMdA.
Requested by Michael Hanus & Peter Thiemann.
2010-10-08 15:25:44 +02:00
Mike Sperber
29a0511439 Give the type-name signature off `define-record-procedures' a name. 2010-10-08 15:25:44 +02:00
Mike Sperber
9b1188c77a Re-instate Robby's hack to display test results off REPL errors.
... and generalize it so there's an action before (clearing the old
tests out) in addition to after (displaying the test results).

Also, do for DMdA as for HtDP.
2010-10-08 15:25:44 +02:00
Mike Sperber
02cde446cc Unbreak source locations for errors off the REPL in teaching languages.
Make sure we notice when the error source is the REPL, not the
definitions.
2010-10-08 15:25:44 +02:00
Mike Sperber
3e205b6193 Better error message for certain bogus signatures. 2010-10-08 13:55:42 +02:00
Mike Sperber
7572b24870 Unbreak stepper.
(It was broken by fed1e3dc3e2d7268c0297a0ce699d3deb2ba75c5.)
2010-10-08 13:41:44 +02:00
Mike Sperber
38cf78e213 Allow specifying arbitary expressions in a signature declaration.
Fixes PR 11282
2010-10-08 13:12:18 +02:00
Mike Sperber
1e44fc8e43 More "contract" -> "signature" identifier renaming. 2010-10-08 11:51:33 +02:00
Mike Sperber
91590040dc Ignore duplicate signature declarations. 2010-10-08 11:50:17 +02:00
Mike Sperber
87da2f35b9 Provide English and German versions of deinprogramm/signature/signature. 2010-10-08 11:19:38 +02:00
Mike Sperber
b98b83b672 Make uncaught exceptions in teaching languages pop up test-engine display.
... so as to catch any test-case failures or signature violations that
may have occurred.
2010-10-08 10:25:37 +02:00
Mike Sperber
6997b08fa2 Remove front-end/interaction hack for test-engine.
It's not needed anymore after Robby's fix to namespace handling in the
teaching languages.
2010-10-08 09:28:07 +02:00
Mike Sperber
b4d1e29784 Rename test-info' in places where it's really a test-engine'. 2010-10-08 09:02:39 +02:00
Robby Findler
05d16d9311 closes PR 11293 2010-10-07 19:36:18 -05:00
Jay McCarthy
b9b7bb784a Stupidly forgot to adjust pattern mentioned in the place that I changed 2010-10-07 18:35:25 -06:00
Jay McCarthy
c74c94d6fd Allowing full require spec stx in require/doc 2010-10-07 17:24:39 -06:00
Matthew Flatt
c84b7b400e fix r6rs `lambda' with a rest arg
Closes PR 11292
2010-10-07 17:00:52 -06:00
Matthew Flatt
281f935503 doc tweak 2010-10-07 17:00:51 -06:00
Matthias Felleisen
8ef896431a adjusting big-bang and universe so that they call functions and don't expand into object construction 2010-10-07 18:49:43 -04:00
Vincent St-Amour
db0046101c Improved TR's error messages when all domains but one have been eliminated. 2010-10-07 18:30:35 -04:00
Matthew Flatt
65ad6aee20 fix `touch' to run a suspended future in the runtime thread
if no future thread is running the future; also adjust the
 policy for suspending a future so that even synchronized
 operations can suspend if there's other work to be done;
 also also fix `current-future' for nested `touch'es and when
 parallel futures are disabled
2010-10-07 14:58:53 -06:00
Robby Findler
fed1e3dc3e adjusted the way the teaching languages work so that signature
violations in the REPL are tracked.
2010-10-07 14:27:56 -05:00
Robby Findler
058c05258e Rackety 2010-10-07 14:27:31 -05:00
Robby Findler
4992e2ab27 added some error checking 2010-10-07 14:27:30 -05:00
Sam Tobin-Hochstadt
7bcd107e7f Fix `overlap' for refinements of base types. 2010-10-07 11:19:54 -04:00
Sam Tobin-Hochstadt
da80d6c034 allow +,-,(,) in code subscripts and superscripts 2010-10-07 10:18:06 -04:00
Sam Tobin-Hochstadt
a45ce954d7 Remove outdated comment. 2010-10-07 10:18:06 -04:00
Matthew Flatt
15302dc844 adjust futures to decouple blocked futures from worker threads
which required adding a notion of "lightweight continuation" to
 the runtime system, where a lightweight continuation involves
 only frames from JIT0generated code (so that details of the stack
 layout are known, for example)
2010-10-07 07:39:16 -06:00
Vincent St-Amour
99178c70a0 Have the optimizer ignore struct/exec. 2010-10-06 18:43:35 -04:00
Vincent St-Amour
3ec9503da9 Changed the typed benchmark harness to reflect optimization on by default. 2010-10-06 17:32:31 -04:00
Vincent St-Amour
d39cb530cf Updated the documentation of TR's optimizer. 2010-10-06 17:32:30 -04:00
Vincent St-Amour
abcbce129b Changed the optimizer's test harness for optimization on by default. 2010-10-06 17:32:30 -04:00
Vincent St-Amour
8baa1682af Turned the optimizer on by default. 2010-10-06 17:32:30 -04:00
Vincent St-Amour
5395dbca12 Fixed tautology/contradiction recording to work with case-lambda. 2010-10-06 17:32:29 -04:00
Vincent St-Amour
f281abe693 Added quote-syntax to kernel-literals. 2010-10-06 17:32:29 -04:00
Vincent St-Amour
2172328189 Register types for send exprs in the type table. 2010-10-06 17:32:29 -04:00
Jay McCarthy
7871487b12 Info 2010-10-06 13:03:24 -06:00
Jon Rafkind
2f730f479c add keyword argument to eli-tester that allows for silent successes 2010-10-06 11:10:43 -06:00
Jay McCarthy
e847632456 OpenSSL more compatible with tcp unit 2010-10-06 10:41:09 -06:00
Jay McCarthy
85f38415bc Removing sorting on deq 2010-10-06 10:41:09 -06:00
Jay McCarthy
19ab1bb980 Setting props
Scaffold for git monitor
Persistent queue implementation
2010-10-06 10:41:08 -06:00
Jay McCarthy
2e5a0e3a37 Initial slave server 2010-10-06 10:41:08 -06:00
John Clements
e94163f37a it's -> its 2010-10-05 21:09:17 -07:00
Jay McCarthy
57d27373ac Fixing struct pattern optimization 2010-10-05 09:55:16 -06:00
Eli Barzilay
ad3ee86863 Switch to racket/base, and other racketizations. 2010-10-05 09:18:46 -04:00
Eli Barzilay
bbe0ef860a Some small fixes, and some reformatting 2010-10-05 09:18:46 -04:00
Matthew Flatt
5a7ef5ee3f some unsafe-...* fixes on chaperones 2010-10-05 06:29:47 -06:00
Matthew Flatt
649242ac86 fix JIT-inlined vector-set!' and set-box!' to not mutate immutable 2010-10-05 06:29:47 -06:00
Eli Barzilay
8709715bf4 Add a test file to check the hack that errortrace uses.
(Makes it easy to know when it breaks, and hopefully to fix it when that
happens)
2010-10-04 22:22:24 -04:00
Matthias Felleisen
767d72ed03 re-exported keywords 2010-10-04 20:41:38 -04:00
Matthias Felleisen
70f4fdaada Merge branch 'master' of git:plt 2010-10-04 18:22:26 -04:00
Matthias Felleisen
8bed0b6a30 function protocol for world creation 2010-10-04 18:22:04 -04:00
Jay McCarthy
0c47e572c0 Using unsafe operations in racket/match 2010-10-04 15:54:59 -06:00
Jay McCarthy
0965af6c69 Adding some unsafe ops to the match compiler 2010-10-04 15:54:59 -06:00
Jay McCarthy
61441bba8f Fixing pr11284 2010-10-04 15:54:59 -06:00
Jay McCarthy
09fbfcf5a9 Fixing pr11280 2010-10-04 15:54:58 -06:00
Eli Barzilay
2f56b23b21 Some minor cleanup 2010-10-04 17:24:22 -04:00
Eli Barzilay
2189957b6f Change the errortrace protocol for `initialize-test-coverage-point' and
`test-covered' to use just the expression -- looks like there's no
reason to use an additional key.

Also, change its uses to map each syntax to an mcons where its mcar is
used to track coverage.  This is done everywhere, since it turns out to
be much faster to insert a `set-mcar!' with a 3d mpair, rather than a
call to a thunk.

Note that it still uses mpairs as a hack.  It "works" in the same way
that this simplified example does:

  (define-syntax m
    (let ([b (mcons 0 0)])
      (lambda (stx)
        (with-syntax ([b b])
          #'(case-lambda [() (mcar b)]
                         [(x) (set-mcar! b x)])))))

I think that it's fragile, and likely to stop working at some point, but
I don't see anything better for now.
2010-10-04 17:24:22 -04:00
Ryan Culpepper
ad76c9ea7b fixed splay-tree bug 2010-10-04 11:54:03 -06:00
Ryan Culpepper
4aef03795d added ordered-dict test 2010-10-04 11:54:03 -06:00
Ryan Culpepper
e3eba452b4 updated dict docs 2010-10-04 11:54:03 -06:00
Ryan Culpepper
504733fb76 added free-list to splay trees for deletion 2010-10-04 11:54:03 -06:00
Ryan Culpepper
ee157ae239 commented out incomplete dict/contract docs 2010-10-04 11:54:03 -06:00
Ryan Culpepper
de5b110d75 added lookahead (~peek) 2010-10-04 11:54:03 -06:00
Robby Findler
ca930a8e30 removed some bogus code 2010-10-04 12:50:18 -05:00
Eli Barzilay
d7b9857f7b Remove unused definition. 2010-10-04 13:18:06 -04:00
Eli Barzilay
7d82210e29 Update ubuntu instructions, remove references to "me". 2010-10-04 13:18:06 -04:00
Steven Jaconette
9a4b2d2023 fixed a bug uncovered by a stronger syntactic check in redex 2010-10-04 11:24:36 -05:00
Mike Sperber
188e1ddcc1 Synch German string constants with latest. 2010-10-02 16:53:25 +02:00
Robby Findler
1ed2c7c417 closes PR 11277 2010-10-02 09:34:22 -05:00
Sam Tobin-Hochstadt
c739128703 Contract fixes. 2010-10-01 19:29:18 -07:00
Eli Barzilay
e95602b8e4 Update raco pack command-line 2010-10-01 22:22:36 -04:00
Robby Findler
c1285b12ed added checks to make ellipses appearing at different depths be a syntax error 2010-10-01 18:09:02 -05:00
Vincent St-Amour
5a67535a95 Got rid of a broken subtyping rule. 2010-10-01 17:48:47 -04:00
Vincent St-Amour
f7436b59fb Delete compiled benchmarks when testing. 2010-10-01 17:48:46 -04:00
Vincent St-Amour
e011ea00bd Further improvements for TR's error messages.
Only the most permissive domains whose associated return type is
consistent with the expected type are shown in error messages.

For example, for a function with the following type:
Fixnum -> Fixnum
Integer -> Integer
and an expected type of Integer, only the latter domain is shown in
the error message.
2010-10-01 17:48:46 -04:00
Matthew Flatt
d6684dad8c fix cstruct alignment handling 2010-10-01 10:49:40 -06:00
Matthias Felleisen
8743172b20 Merge branch 'master' of git:plt 2010-09-30 08:16:18 -04:00
Jon Rafkind
9755d565bd update the show line numbers menu option when it is selected 2010-09-29 23:48:35 -06:00
Jon Rafkind
a9b9f0c0de get the right number of visible lines 2010-09-29 23:48:35 -06:00
Jon Rafkind
8cba0a0627 add menu item to hide/show line numbers 2010-09-29 23:48:34 -06:00
Matthew Flatt
4b120e5d86 add `proxy-prop:application-mark' 2010-09-29 12:26:46 -04:00
Matthias Felleisen
725da3b2ed fix string-ith problem, Closes PR 11261 2010-09-28 18:07:10 -04:00
Jon Rafkind
24e0060e6d instantiate definitions text properly. caught by drdr 2010-09-28 16:04:23 -06:00
Jon Rafkind
d112eb4ceb add line numbers pane to drracket 2010-09-28 14:08:04 -06:00
Jay McCarthy
e4a598ccb2 Fixing long standing problem with stateless web apps 2010-09-28 12:31:59 -06:00
John Clements
d8b3c7a209 removed per eli's request 2010-09-28 08:56:06 -07:00
John Clements
e29c14c260 updates to sndfile 2010-09-28 08:12:25 -07:00
John Clements
3e78806e67 added new safe-ops file that may be used instead of ops to disable unsafety 2010-09-28 08:12:25 -07:00
Matthew Flatt
337ace3847 add u8vector->cpointer for consistency; document ->cpointer, etc. 2010-09-27 06:08:58 -04:00
Robby Findler
43d7058a16 added tag because section title was too long. 2010-09-26 22:47:36 -05:00
Robby Findler
1f8bbf43a7 fixed pb-last-column-visible so the stepper now shows the last column when you click the '->' (next) button 2010-09-26 22:47:36 -05:00
Robby Findler
20252ef150 typos 2010-09-26 22:47:35 -05:00
Robby Findler
a6dea9b85c removed current-pretty-printer (it was never released and it is
superceded by pretty-print-parameters).
2010-09-26 22:47:35 -05:00
Robby Findler
f87aa7ec61 added pretty-print-parameters to control how pretty printing happens for terms 2010-09-26 22:47:35 -05:00
Robby Findler
827679e9db added contract to scale 2010-09-26 22:47:34 -05:00
John Clements
c0e34a7166 minor doc update to ffi/cvector 2010-09-25 17:19:03 -07:00
Robby Findler
2649e21e4b fixed race-condition in hangman test case 2010-09-24 20:33:58 -05:00
Robby Findler
273e6e7d25 added paren-style
added missing provide for grammar-style
removed some dead code
2010-09-24 19:34:32 -05:00
Matthew Flatt
c1aa594657 add fvectors and unsafe-{s,u}16-{ref,set!} 2010-09-24 16:32:07 -06:00
Matthew Flatt
4038ce4bd1 rackety Mac OS X .rkt description 2010-09-24 16:32:07 -06:00
Stevie Strickland
76d926e8dc Fix ormap application of binary function to single list. 2010-09-23 17:26:41 -04:00
Jay McCarthy
8aea4b11a5 Closing static file output 2010-09-23 13:38:04 -06:00
Stevie Strickland
d2a3cbf6d0 Add better first-order checking for ->d and ->i.
Closes PR 11247.
2010-09-23 14:35:45 -04:00
Vincent St-Amour
206fe52047 Improved TR's error messages in presence of case-lambda types.
- When displaying errors involving functions that have case-lambda
  types with branches that are redundant modulo filters (such as <, >
  and others), only the general branches appear in the error message.
  (Real Real Real * -> Boolean, in the case of < and co.).
- For all errors involving case-lambda types, only domains for which
  the return type is consistent with the expected type are displayed
  in the error message. Further simplification is planned.
2010-09-23 12:59:47 -04:00
Vincent St-Amour
4aa7bc8439 Explained a design decision. 2010-09-23 12:12:15 -04:00
Robby Findler
5b375780bd fixed incorrect renaming (noticed by Stevie) 2010-09-23 09:21:35 -05:00
Matthew Flatt
3d16dd698a fix JIT-generated code for `vector-length' on a fixnum
and also code for operations like `fl<' on fixnums in
 certain build modes (CGC, PPC)
2010-09-23 06:46:10 -06:00
Robby Findler
feddcdaef9 closes PR 11241 2010-09-23 06:25:21 -05:00
Robby Findler
7dbb287601 make bugs like that in PR 11241 easier to diagnose / see by turning
the hang into a dialog.
2010-09-23 06:25:21 -05:00
Matthias Felleisen
3c0039cd3a drag explained, fixes 11243, Closes PR 11243 2010-09-22 14:37:52 -04:00
Mike Sperber
65bd667be2 Make parametric signatures work in BSL. 2010-09-22 11:35:00 +02:00
Mike Sperber
7304c061e3 Add `cons-of' signature constructor to HtDP languages. 2010-09-22 11:31:24 +02:00
Mike Sperber
593f8588fe Implement lazy signature checking for ordinary pairs. 2010-09-22 11:03:01 +02:00
Robby Findler
b9155b8c5f props 2010-09-21 18:54:20 -05:00
Robby Findler
5f6bae6854 adjusted many examples for the docs based on the previous commit's bug fix 2010-09-21 16:50:34 -05:00
Robby Findler
08b9396e2f closes PR 11236 2010-09-21 16:47:55 -05:00
Robby Findler
8499a4e65d added a test suite for the hangman teachpack 2010-09-21 15:27:49 -05:00
Robby Findler
d55932e3df Adjusted the 'clear error highlight' menu item so it clears the coverage annotations too. 2010-09-21 15:08:12 -05:00
Robby Findler
d4c68e7359 added grammar-style for the ::= and | in grammars in redex typesetting 2010-09-21 15:08:12 -05:00
James Swaine
bd799c3db9 Small corrections to the futures documentation. 2010-09-21 11:15:50 -05:00
Mike Sperber
98c9ad4d22 Add `Any' contract to HtDP languages. 2010-09-21 16:23:58 +02:00
Robby Findler
bf409e6300 fix nominal problem with hangman (signature-related change unless I miss my guess) 2010-09-21 08:56:09 -05:00
Stevie Strickland
859ea63faa Rework the naming conventions in {box,vector,hash}.rkt.
Fixing it so that errors aren't generated with "build-<foo>/c".
2010-09-20 18:26:47 -04:00
Stevie Strickland
277d9d199d Convert or/c to create chaperone contracts when appropriate. 2010-09-20 18:26:47 -04:00
Stevie Strickland
4dab0745e4 Convert and/c to return chaperone contracts when appropriate. 2010-09-20 18:26:47 -04:00
Eli Barzilay
4117dfcc38 Oops, the magic list has fixed strings, not regexps 2010-09-20 15:39:25 -04:00
Eli Barzilay
7defa43ced Change the old bibs to appear in popups instead of a sea of text files 2010-09-20 15:38:18 -04:00
Eli Barzilay
5b4c94649c New techreport pages. 2010-09-20 15:38:18 -04:00
Eli Barzilay
93bd86ccc4 Allow getting the absolute URL of a resource 2010-09-20 15:38:18 -04:00
Eli Barzilay
126c7d1a0d Change the people/places structs and way they are made.
It's also possible to use this as a central place to hold the list of
plt people for other purposes, works for the bib authors now (requires
making an organized list of the people).
2010-09-20 15:38:18 -04:00
Eli Barzilay
53adab8271 Move things around so there's a single place that specifies PLT people
and places.
2010-09-20 15:38:18 -04:00
Eli Barzilay
ee138cf2cb Some repeated "and and"s and "the the"s, and two more typos.
Closes PR 11229.
2010-09-20 15:38:18 -04:00
Eli Barzilay
e222407a1d Minor reorganization 2010-09-20 15:38:17 -04:00
Eli Barzilay
bb3dbeb2c0 Add "All Versions" page with a table of all versions and all packages. 2010-09-20 15:38:16 -04:00
Eli Barzilay
626627fcc7 * Narrow comment on plot example, enable datalog example & revised blurb.
* Minor typo in new-name.rkt
* Minor update to the menu item name for submitting bugs
2010-09-20 15:38:16 -04:00
Eli Barzilay
58afb93a17 Re-fix hadnin-server/overridden-collects props. 2010-09-20 15:37:24 -04:00
Eli Barzilay
d440e17dde Some raketization, #lang, and reformat 2010-09-20 15:33:54 -04:00
Matthew Flatt
f67bb10c19 fix bug introduced with 'display-end change 2010-09-20 12:29:52 -06:00
Casey Klein
dca6b3a06e Configures DrDr to ignore Redex compiler tests 2010-09-20 10:04:50 -05:00
Steven Jaconette
7169c0e53e Second patch for redex compiler
-Fixes some bugs in the model
-Cleans up some unused code
-Adds the test cases
2010-09-20 10:04:50 -05:00
Kevin Tew
faa0c86f50 Places: fix asynchronous receive 2010-09-20 08:42:55 -06:00
Eli Barzilay
688b08408f Magic string still has ".ss" in it. 2010-09-20 09:27:54 -04:00
Matthew Flatt
fa7dd9b522 rename file to avoid :, which is not allowed under Windows 2010-09-20 03:31:18 -06:00
Matthew Flatt
aac7e0b58a extend invalidate-bitmap-cache' in editor<%>' with 'display-end option
which the framework's background-rectangle implementation can use
 to queue refreshes for changing rectangles, instead of requiring a
 full-canvas refresh
2010-09-19 19:22:22 -06:00
Matthew Flatt
5afc2970a3 fix internal-defn handling of r6rs define form 2010-09-18 19:52:41 -06:00
Matthew Flatt
fd285baeac fix documented canvas-scroll limits 2010-09-18 19:52:40 -06:00
Ryan Culpepper
d60e868da3 fixed contracts for dict-update, dict-update!
Closes PR 11228
2010-09-18 15:11:17 -06:00
Stevie Strickland
3325350026 At Robby's request, remove the check for proxy-of?.
Due to the bad interaction between procedure-rename and getting the
contract info from the proxy/chaperone, this will cause a failure in
the contract test cases.  I'm submitting a bug report for that issue.
2010-09-18 13:55:09 -04:00
Mike Sperber
716c722bab LaTeX fix for documentation. 2010-09-18 15:09:11 +02:00
Mike Sperber
79384f5706 Synch German string constants with latest. 2010-09-18 11:00:24 +02:00
Stevie Strickland
05e714881d Convert unconstrained-domain-> to chaperones. 2010-09-17 23:08:05 -04:00
Matthew Flatt
d92c4e44e2 fix make-reader-graph on proxied vectors 2010-09-17 18:42:29 -06:00
Ryan Culpepper
0d76f8ecbf added data/order, docs
changed splay-tree, skip-list constructors to take orders
2010-09-17 16:54:54 -06:00
Ryan Culpepper
3037dea5ad fixed bug in interval-map 2010-09-17 16:54:54 -06:00
Ryan Culpepper
b74f3461e1 added general order functions 2010-09-17 16:54:54 -06:00
Ryan Culpepper
274c56a4d5 fixed bug in syntax/modcode docs 2010-09-17 16:54:53 -06:00
Ryan Culpepper
076bba5ee9 restricted interval-map interface, simplified code, based on splay-trees
removed old, awful skip-list iteration-mutation procedures
updated skip-lists
2010-09-17 16:54:53 -06:00
Matthew Flatt
f663307252 fix problem with procedure-chaperone, keywords, and proxy properties 2010-09-17 16:29:15 -06:00
Matthew Flatt
3866c3e450 generalize `flvector-copy' to support start and end indices 2010-09-17 13:35:01 -06:00
Will M. Farr
beb2175456 Added flvector-copy (with tests and docs). 2010-09-17 13:35:01 -06:00
Casey Klein
17ac1fae3a Adds a parameter to enable the typesetting in commit ce211ac 2010-09-17 13:43:06 -05:00
Robby Findler
59213faf15 the name argument to contract can be anything (not just a symbol) so
adjust the code to deal with that properly
2010-09-17 13:14:00 -05:00
John Clements
a095ebc326 added format arg to printf to avoid corner-case printf bugs, rackety changes 2010-09-17 10:19:32 -07:00
Robby Findler
04defa4937 closes PR 10779 2010-09-17 11:49:36 -05:00
Robby Findler
ce211ac364 adjusted metafunction application rendering so that ellipses do not
get commas put in front of them
2010-09-17 11:39:07 -05:00
Robby Findler
c6fc7137ee Adjusts the contract system so that it preserves the names of functions.
closes PR 11220

Altho, this does not fix the case where a function is being passed thru
another contracted function. Eg, when you give the identity function
this contract: (-> (-> integer? integer?) (-> integer? integer?))
if you pass some function with a name in there, it won't come
back with a name anymore (indeed, it won't even have the name
anymore in the body of the function).

For that, the fix would have to be put into each of the function
contract combinators.
2010-09-17 11:30:04 -05:00
Jay McCarthy
c1c1461596 Fixing DrDr props on handin 2010-09-17 10:20:35 -06:00
Mike Sperber
fcdfefea10 "Vertrag" -> "Signatur" in a few places. 2010-09-17 18:02:34 +02:00
Mike Sperber
333d82e6df Fix some error messages for invalid : signature declarations. 2010-09-17 18:02:33 +02:00
Mike Sperber
8bc95ace01 Unbreak signatures for BSL. 2010-09-17 18:02:33 +02:00
Matthew Flatt
232a580e53 add prop:proxy-of'; Fix chaperone-of' on keyword-accepting procedures 2010-09-17 08:55:46 -06:00
Mike Sperber
11f6ec1b98 Updated DMdA signature docs.
Added `any' and `unspecific', and some minor reorganization.
2010-09-17 10:00:54 +02:00
Jay McCarthy
2447d8d07c Adding test case to clarify student's error 2010-09-16 21:00:05 -06:00
Jay McCarthy
01a41a812e Closing pr11216. Adding one armed check-error to teaching languages.
[It will not bother me if we revert this commit. I liked SK's idea and found it easy to implement. I wonder if others will be worried that it is easy to unintentionally leave off the second argument to check-error. I also wonder if it is problematic to add new string constants, like I've done.]

Here is an example:

(check-error (/ 1 0) "/: division by zero")
(check-error (/ 1 0) "divide by zero")
(check-error (/ 1 0))
(check-error 1)

Here is the output:

Ran 4 tests.
2 of the 4 tests failed.

No signature violations.

Check failures:
	check-error encountered the following error instead of the expected divide by zero
   :: /: division by zero
in ex.rkt, line 2, column 0
	check-error expected an error, but instead received the value 1.
in ex.rkt, line 4, column 0
2010-09-16 21:00:05 -06:00
Stevie Strickland
a930719a87 Add the contract information to chaperoned boxes, hashes, and vectors. 2010-09-16 20:49:04 -04:00
Stevie Strickland
51629f8c3d Add new proxy property for contracted values.
Change has-contract? and value-contract to check for either prop:contracted
(the struct property) or proxy-prop:contracted (the proxy property).
2010-09-16 20:49:04 -04:00
Stevie Strickland
4080eacfb8 Fix the error when a chaperone contract does not return a valid value. 2010-09-16 16:30:49 -04:00
Jay McCarthy
afcc7c818d Fixing redirectget test 2010-09-16 13:42:47 -06:00
Ryan Culpepper
3b95c7acd5 set responsibility for data collection 2010-09-16 13:20:07 -06:00
Ryan Culpepper
1a03a47842 updated splay-tree & skip-list interfaces, docs, tests, performance tests 2010-09-16 13:20:07 -06:00
Ryan Culpepper
12e2d6d76a splay-tree: tried top-down splay, tested, no time advantage 2010-09-16 13:20:07 -06:00
Ryan Culpepper
19be445d89 contracts for gvector, skip-list
reorganized tests
2010-09-16 13:20:06 -06:00
Stevie Strickland
50c408e872 Simplify abstraction, now that it only deals with lists.
Also convert listof/non-empty-listof to create chaperone contracts
when appropriate.
2010-09-16 15:04:42 -04:00
Stevie Strickland
6446d267ea Removing now-unneeded abstractions for *-immutable/c.
Also converting cons/c to create chaperone contracts when appropriate.
2010-09-16 15:04:41 -04:00
Stevie Strickland
2677cbf1a4 Cleanups to first-order checking for box/vector/hash contracts.
* We no longer capture a contination when we have blame information.
 * We perform first-order checks more eagerly in the mutable case.
2010-09-16 15:04:41 -04:00
Stevie Strickland
2c940a7fd0 Alter the documentation for vector contracts to match the new implementations. 2010-09-16 15:04:41 -04:00
Stevie Strickland
b416b7e5bb Now migrate vector/c and vector-immutable/c.
Also add old-style vector/c to mzlib/contract.
2010-09-16 15:04:41 -04:00
Stevie Strickland
3028f2d142 Convert vectorof/vector-immutableof to the new regime.
Also add old-style vectorof to mzlib/contract.
2010-09-16 15:04:41 -04:00
Stevie Strickland
c8737d5615 Separate out vector-related contract combinators into a new file. 2010-09-16 15:04:41 -04:00
Jay McCarthy
089e99fac6 Removing debugging aid 2010-09-16 12:45:38 -06:00
Blake Johnson
c88eb704c7 removing indirects from zo handling 2010-09-16 12:45:37 -06:00
Jay McCarthy
4f49658835 Fixing problem reported by Robby.
Contracts intefere with safety marks.
2010-09-16 12:45:37 -06:00
Jay McCarthy
ab5a9ff1e8 Removing extra run-tests 2010-09-16 12:45:37 -06:00
Jay McCarthy
1f4c525245 Fixing pr11214 2010-09-16 12:45:37 -06:00
Jay McCarthy
3498ac8744 Doc rearrange re Robby 2010-09-16 12:45:37 -06:00
Jay McCarthy
c87877349e Doc clarification re Robby 2010-09-16 12:45:37 -06:00
Jay McCarthy
4ce56d00ef Fixing xref re Robby 2010-09-16 12:45:36 -06:00
Jay McCarthy
4a89ccea5d Fixing an annoyance with eli-tester when the error string contains ~ 2010-09-16 12:45:36 -06:00
Jay McCarthy
940438e7c4 Adding DrDr monitor 2010-09-16 12:45:36 -06:00
Robby Findler
b8fc5fcfce Rackety 2010-09-16 13:37:34 -05:00
Robby Findler
28a253b206 added current-pretty-printer 2010-09-16 13:37:33 -05:00
Vincent St-Amour
e0bda30738 Documented optional for: and let: annotations. 2010-09-16 13:24:11 -04:00
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