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
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