Commit Graph

14986 Commits

Author SHA1 Message Date
Jon Rafkind
bdf98ebbe2 add README files for scribble directories 2010-08-23 10:06:45 -06:00
Robby Findler
611e04abda adjusted the expansion so that the references to "foo" in this ISL program:
(define-struct foo (x))

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

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

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

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

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

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

and after this change it takes this much time:

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

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

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

sigh.

For perhaps another point of reference, this:

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

takes this much time:

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

- can now use tests with 'escape

- README changed .ss to .rkt

- added test cases for c:c;c:[
2010-08-13 11:01:04 -04:00
John Clements
0f0438479e modified key bindings to enable ()/[] toggling using c:c;c:[ 2010-08-13 11:01:04 -04:00
Robby Findler
a10cd9d14d improved the ->* docs 2010-08-13 09:54:51 -05:00
Robby Findler
bdd37c58f0 made the optional arguments clause itself optional for ->* 2010-08-13 08:14:13 -05:00
Robby Findler
120e6a25ee added #:pre and #:post to ->* 2010-08-13 07:05:27 -05:00
Robby Findler
4732e90b29 removed some commented out code (whose purpose was unclear) 2010-08-13 07:05:27 -05:00
Jay McCarthy
553648a5a6 Dropping _0 2010-08-12 19:51:05 -06:00
Stevie Strickland
a9f6ea69bf Fix creation of a reversed List type from ListDots substitution. 2010-08-12 17:46:39 -04:00
Jay McCarthy
debd6026f3 Fixing a few bugs from drdr 2010-08-12 14:54:48 -06:00
Jay McCarthy
fae0cb2c99 A few fixes to the documentation 2010-08-12 14:10:20 -06:00
Jay McCarthy
8c32de33c6 Adding sequence support for mlists and more sequence xrefs 2010-08-12 14:10:20 -06:00
Jay McCarthy
383465aa06 Removing reference to sequence/c 2010-08-12 14:10:20 -06:00
Jay McCarthy
2751ace762 Adding more sequence operators 2010-08-12 14:10:19 -06:00
Jay McCarthy
3fe91f0fdd Adding vector-set* and dict-set* exn tests 2010-08-12 14:10:19 -06:00
Jay McCarthy
d047557dc6 Adding dict-has-key? and updating unstable 2010-08-12 14:10:18 -06:00
Jay McCarthy
958c771ec8 Removing dict functions from unstable 2010-08-12 14:10:18 -06:00
Jay McCarthy
bdc26b53bb Adding dict-ref bang 2010-08-12 14:10:18 -06:00
Jay McCarthy
2d1787a309 Add dict-set* 2010-08-12 14:10:18 -06:00
Jay McCarthy
a8fc09b49a Adding dict-keys,values,->list 2010-08-12 14:10:18 -06:00
Jay McCarthy
f23daa3aea Rename hash-range and domain to keys and values 2010-08-12 14:10:17 -06:00
Kevin Tew
1ebdb6a90b Places: remove old code 2010-08-12 13:27:15 -06:00
Jay McCarthy
e06f0e78b2 Adding hash-set* and hash-set*bang 2010-08-11 17:39:48 -06:00
Jay McCarthy
fadfee7849 Normalizing docs a little 2010-08-11 16:49:04 -06:00
Jay McCarthy
58ad011ce9 Adding hash->list 2010-08-11 16:42:46 -06:00
Jay McCarthy
db87add6b7 Adding hash-domain and hash-range to racket/base 2010-08-11 16:37:46 -06:00
Jay McCarthy
928dfd6fa2 FTP tests without a network connection 2010-08-11 13:49:10 -06:00
Matthew Flatt
2f9431552e fix typo 2010-08-11 10:29:49 -06:00
Robby Findler
367779fd27 added contract-struct (like define-contract-struct, but with a
maker whose name does not begin with 'make-')
2010-08-10 22:20:33 -05:00
Robby Findler
ae1304789d oops 2010-08-10 19:57:22 -05:00
Robby Findler
1a3f2acf01 fixed preserve-stacktrace-information string constant; fix from Sergey Semerikov 2010-08-10 19:31:11 -05:00
Robby Findler
26187fed8f fixed a bug in the mzlib contracts test suite 2010-08-10 19:27:17 -05:00
Robby Findler
4341ce3c20 fixed props for syncheck 2010-08-10 16:52:27 -05:00
Robby Findler
58b0d8e93c added properties so that the check syntax obligation information works with ->i 2010-08-10 16:52:27 -05:00
Robby Findler
5fb1c730ba improved error message in the case where ->i is used as an identifier 2010-08-10 16:52:26 -05:00
Robby Findler
d15fc5c102 added naming to ->i contracts 2010-08-10 16:52:26 -05:00
Robby Findler
d7503195df fixed a bug where and/c (when given ho contracts) would check them in the wrong order 2010-08-10 16:52:26 -05:00
Sam Tobin-Hochstadt
02d9418f9a document match* 2010-08-10 15:56:15 -05:00
Matthew Flatt
6c8a914c80 support for speculatively atomic calls in ffi/unsafe/try-atomic 2010-08-07 20:49:23 -05:00
Matthew Flatt
8df33b629e fix default #:keep argument of _cprocedure 2010-08-07 20:40:42 -05:00
Matthew Flatt
4d1e97ec8d change start-atomic and end-atomic to disable breaks 2010-08-07 20:40:32 -05:00
Matthew Flatt
804ff115e7 fix `raco setup' reported name for Windows 2010-08-07 19:19:08 -06:00
Robby Findler
561d33fddd improved the name printing for between contracts 2010-08-07 14:35:08 -05:00