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