Commit Graph

17766 Commits

Author SHA1 Message Date
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
Eli Barzilay
d3c7f3faac New Racket version 5.0.1.6. 2010-09-18 03:50:14 -04: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
Matthew Flatt
7ec8835bc4 allow intra-module var reference to link in a non-module namespace
Closes PR 11155
2010-09-17 13:35:01 -06:00
Matthew Flatt
bbde0dfbd2 fix problem with continuations captured under a module-body prompt
Closes PR 11165
 where the problem was a misordering of a prompt and a stack push
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
Matthew Flatt
d4b0048d42 try again to fix trouble mfence use for futures 2010-09-17 06:55:02 -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