Vincent St-Amour
cd34760a33
Add a test case for struct-based match expanders.
...
Closes PR11617.
Using the taint system, the bug is fixed.
2011-06-30 14:21:52 -04:00
Eric Dobson
e3c4955ac9
Changed order type annotations are processed. Closes PR 11560.
2011-06-30 14:01:47 -04:00
Vincent St-Amour
43efe6adf0
Remove trailing whitespace.
2011-06-30 14:01:47 -04:00
Eric Dobson
b5e4515752
Changed order of imports in require/typed to order written.
...
Closes PR11193.
2011-06-30 14:01:47 -04:00
Eric Dobson
76a1112df0
Changed define-predicate to use recursive-contract. Closes PR 10939.
...
Closes PR11504.
2011-06-30 14:01:47 -04:00
Matthew Flatt
d4acf4f07a
fix another problem with attempted overflow clean-up
2011-06-30 10:53:19 -06:00
Kevin Tew
c3059f7e82
place-dead-evt
2011-06-30 10:02:21 -06:00
Matthew Flatt
37e4ea497b
check for integer overflow in vector reader syntax
...
Closes PR 12008
2011-06-30 09:46:02 -06:00
Matthew Flatt
e9477c17b4
fix JIT-generated `apply-values' for chaperones
...
Closes PR 11981
2011-06-30 09:28:07 -06:00
Matthew Flatt
b86e96cf90
fix optimizer bug that reordered past a mutable variable
...
Closes PR 11987
2011-06-30 09:17:42 -06:00
Matthew Flatt
737a3bd91a
fix too-early large-allocation check
...
Closes PR 12000
2011-06-30 08:56:28 -06:00
Matthew Flatt
1160d3df62
remove syntax certificates; add syntax taints
2011-06-29 19:15:48 -06:00
Eric Dobson
d0cfebd5b4
Make TR provided struc-infos act like constructors. Closes PR11578.
...
Closes PR11866.
2011-06-29 17:38:05 -04:00
Eric Dobson
e87ff268c2
Added legacy support for require/typed and require-typed-struct.
...
Added FIXME for duplicated code.
2011-06-29 17:38:05 -04:00
Eric Dobson
ecaf5f40a0
Cleaned up define-typed-struct-internal and require/typed.
...
Also fixed a test for require/typed.
2011-06-29 17:38:05 -04:00
Eric Dobson
f3692eae29
Added support for configurable constructor names in require/typed.
...
Closes PR11171. Closes PR11194. Closes PR11314.
2011-06-29 17:38:05 -04:00
John Clements
3f50dc7f2c
refactored to move test cases into a separate file(s)
2011-06-29 12:42:18 -07:00
John Clements
0061218266
added test of let* unwinding, moved shared.rkt unit tests out here
2011-06-29 00:24:02 -07:00
John Clements
2891869371
added tests of require
2011-06-28 18:43:04 -07:00
Eli Barzilay
0af236dc2f
Add block' to
scribble/text', to explicitly ask for an indentation block.
...
* Lists are now either blocks or splices depending on whether they
appear inside a block or a splice (default to block).
* Adjusted the docs and a single test where this mattered.
* Change the documentation to be "text.html" and to be titled "text
generation".
2011-06-28 18:16:07 -04:00
Jay McCarthy
fa77770eac
Adding initial value to textarea-input
2011-06-28 08:41:38 -06:00
Jay McCarthy
13ff06aee5
Fixing example from Naurin Zamir
2011-06-28 08:41:38 -06:00
Eli Barzilay
40124a0619
A long overdue scan to eliminate files without terminating newlines.
...
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
Jay McCarthy
359ac41a45
Updating textarea-input re Shogo
2011-06-27 12:08:20 -06:00
Eric Dobson
a14723f27a
Make vector-immutable work like vector. Closes PR 11535.
2011-06-27 11:35:48 -04:00
Sam Tobin-Hochstadt
f6be5447dd
Rename to follow TR naming conventions.
2011-06-24 20:20:53 -04:00
Eric Dobson
0f0b9ebc7a
TR: Added tests for new identifiers and export type names.
2011-06-24 20:10:37 -04:00
Sam Tobin-Hochstadt
19a7a37033
Fix rackunit types to be Any', not
Void'.
2011-06-24 18:10:25 -04:00
Eric Dobson
ce0f542028
Correctly recreate Scopes. Closes PR 10552. Closes PR 11532.
2011-06-24 16:46:43 -04:00
Jay McCarthy
6abeab42d5
Updating require paths, making tests succeed, and fixing docs
2011-06-24 13:48:41 -06:00
Jay McCarthy
375d6b8497
Initial adding of temporal contract library
2011-06-24 13:48:40 -06:00
Kevin Tew
508388ed61
Remove define-place from racket/place
2011-06-24 11:12:37 -06:00
Eric Dobson
d0d748c55a
Corrects types for typed/rackunit. Closes PR 11912.
...
Signed-off-by: Sam Tobin-Hochstadt <samth@racket-lang.org>
2011-06-23 12:19:56 -04:00
Eric Dobson
4241557543
Change Module-Path to be union type instead of a Base type. Closes PR 11963.
2011-06-23 10:05:36 -04:00
Sam Tobin-Hochstadt
0df00e31d5
Add test for PR 10794.
2011-06-22 17:36:31 -04:00
Asumu Takikawa
122aed8970
Add negate (racket/function) to TR
2011-06-22 16:04:19 -04:00
Asumu Takikawa
cee2509476
TR test for racket/function
2011-06-22 16:04:19 -04:00
Eric Dobson
16ee3376f7
TR: Added more tests for recently typed identifiers.
2011-06-22 15:17:58 -04:00
Eric Dobson
c2a473cba2
Added tests for parameterizations and thread cells.
2011-06-22 15:17:57 -04:00
Eric Dobson
f5a7e73be8
TR: Added some syntax and set tests.
2011-06-22 15:17:57 -04:00
Eric Dobson
f5517367e5
Added tests for filesystem operations, and added public type names.
2011-06-22 15:17:57 -04:00
Sam Tobin-Hochstadt
f195b3c689
Remove `SomeSystemPath'.
2011-06-22 14:28:51 -04:00
Sam Tobin-Hochstadt
9be4b16703
Rename SomeSystemPath to `Path-For-Some-System'
2011-06-21 15:34:50 -04:00
Eric Dobson
0f6fde5003
Fixes TR regexp regression. Closes PR11991.
2011-06-21 15:34:50 -04:00
Matthew Flatt
f3da5f7fd8
adjust and document net/url HTTPS support
2011-06-20 08:00:43 -06:00
Eli Barzilay
debd1f9f1e
Recketizing much in `net/*', mass ".ss" -> ".rkt" conversion in .scrbl files.
...
(Some other minor things here and there.)
2011-06-20 04:27:14 -04:00
Robby Findler
62a337231a
added more options into the place-chan-rand test; seems to still (rarely) cause a crash
2011-06-20 05:35:25 +08:00
Matthew Flatt
5a5800d513
place-specific low-level "sleep" function
...
to make racket/gui work right with places (running
in just one of them) on Mac OS X
2011-06-17 17:03:21 -06:00
Vincent St-Amour
88dafca69f
Update test format.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
26b909744c
Display irritants nicely.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
e8dcee732e
Don't merge missed optimizations repeatedly, which artificially increases badness.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
fc08b4d401
Display badness of missed optimizations.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
9dbca39cfe
Use write instead of display for syntax in logs.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
dda1b1c880
Don't keep useless return values around.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
847e4b2e23
Do duplicate detection at the expanded syntax level, instead of the source level.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
866225b659
Adapt the log update script to work on specific files.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
fddf189530
Report opts and missed opts in terms of the original programs, not in terms of expanded code.
2011-06-17 18:18:04 -04:00
Vincent St-Amour
fc25b43293
Add script to update test files to new log formats.
2011-06-17 18:18:03 -04:00
Vincent St-Amour
86efbc8396
Specify opt or missed opt in the TR log format.
2011-06-17 18:18:03 -04:00
Vincent St-Amour
9f78a92613
Fix test log to use new format.
2011-06-17 18:18:03 -04:00
Vincent St-Amour
1a2080fc97
Handle the case where we would need to merge with multiple children at once.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
8d2f66faa6
First attempt at handling missed optimization cascades.
...
Currently, if missed optimizations a and b are of the same kind, a is caused
by b, and b is caused by c, we merge them into a single miss with cause c.
This works in some cases, but fails in others.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
4c31b08554
Put logging code in its own file.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
6b5095df2d
Have multiple irritants for missed optimizations.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
cb706aab9c
Change log message to reflect new behavior.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
f547b99ed5
Remove useless irritant.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
9528f63cf0
Swap miss region and irritant.
2011-06-17 18:18:02 -04:00
Vincent St-Amour
647ae4fe9a
Report missed optimizations for unary float operations.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
484fb029f1
Rephrase a missed optimization message.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
a319ba1058
Fix missed-optimization tests to also look for optimization messages.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
e8621f58ea
Fix optimization tests to also look for missed-optimization messages.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
28692786b3
Have optimizer test harness look only at log messages that came from the optimizer.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
641dd731ab
Fix optimizer test harness to use the new syntax of with-logging-to-port.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
09015722e3
Use with-logging-to-port from unstable.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
47f48c08ad
Revise with-logging-to-port to avoid the extra dummy log entry.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
a2afe2c285
Adapt the optimizer's test harness for the new logging strategy.
2011-06-17 18:18:01 -04:00
Vincent St-Amour
28cbad21b9
Add a directory for optimizer tests that we know fail.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
9ae4f82c0a
Sort optimizer logs by source location, to prepare for eventual user consumption.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
5a151420e4
Keep source location around for derived pair optimizations.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
b8b061fb39
Don't print duplicate log entries.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
147032e428
Extra test for precision loss.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
0432ea16cb
Add an extra test that checks for non-reporting of false positives.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
b598c4a1eb
close-call -> missed-optimization
2011-06-17 18:18:00 -04:00
Vincent St-Amour
c73bc6c918
Report unexpected complex types in arithmetic expressions.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
2a4a4e8184
Generalize reporting of wasted precision to arbitrary exact arithmetic expressions.
2011-06-17 18:18:00 -04:00
Vincent St-Amour
cd027109c9
Report when exact arithmetic is used inside float expressions, which may make the extra precision useless.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
fb36786c4d
Add failing test for nicer reporting of cascades of missed optimizations.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
5d4ef5c624
Add a test case for close-calls on all-real arithmetic expressions.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
89ca99210e
Report close calls for pair/mpair optimizations.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
526a84f10b
Add extra checks to avoid spurious close call reporting involving integer operations.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
95bf94577c
Show irritant for the currently detected close calls.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
0fab9e11ad
Revert "Fix optimizer expected log format."
...
This reverts commit bdf1073f17
.
Return that test to the new format, which it was originally written in.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
33962befd4
Made logging format more compact and less ambiguous.
2011-06-17 18:17:59 -04:00
Vincent St-Amour
7b2c6f5765
First attempt at logging unexpected Real types popping up.
2011-06-17 18:17:58 -04:00
Vincent St-Amour
2e0dd6467a
Add support for close-call tests to the TR test harness.
2011-06-17 18:17:58 -04:00
Robby Findler
f8f289adc0
fix random place tests
2011-06-18 05:15:36 +08:00
Sam Tobin-Hochstadt
55a25a825a
Disable this test.
2011-06-17 15:17:20 -04:00
Eric Dobson
0671945a8d
Moved tests for equality to unit tests
2011-06-17 15:17:20 -04:00
Eric Dobson
b326269133
Moved new TR symbol testing into unit tests.
2011-06-17 15:17:20 -04:00
Eric Dobson
3a13cf0e78
Moved TR string testing to unit tests.
2011-06-17 15:17:20 -04:00
Eric Dobson
54a12afb49
Added types and some tests for port operations
2011-06-17 15:17:19 -04:00
Eric Dobson
c77e906c7a
Added types and tests for equality operations.
2011-06-17 15:17:19 -04:00
Eric Dobson
2d152bac79
Added types and tests for raising and handling exceptions
2011-06-17 15:17:19 -04:00
Eric Dobson
4ba12dd20e
Added types and tests for symbol operations
2011-06-17 15:17:19 -04:00
Eric Dobson
ab23db7b5b
Added types and tests for string operations
2011-06-17 15:17:19 -04:00
Eli Barzilay
f6620d5754
Close the input port so that the file can be deleted on windows.
2011-06-17 13:19:24 -04:00
Matthew Flatt
7089a17ba2
fix `make-limited-input-port' limit tracking for committed peeks
...
and make the port thread-safe
2011-06-17 11:14:50 -06:00
Matthew Flatt
b1e47eba45
add `place-message-allowed?' and fix related problems
...
Closes PR 11983
2011-06-17 10:33:27 -06:00
Robby Findler
8e80af6f42
random testing for messages sent over place channels
...
related to PR 11983
2011-06-17 18:46:59 +08:00
Danny Yoo
d78fccb75b
Fixing the comment-at-end-of-file bug (PR#11982)
2011-06-16 21:37:48 -04:00
Matthew Flatt
523cec90c6
fix JITted multi-valued `begin0' in a single-value context
...
and generate simpler code for constrained cases, including
single-value contexts and ignored results
Closes PR 11979
2011-06-16 18:16:02 -06:00
Vincent St-Amour
26541ffbbd
Unify types and filter behavior of not and false?.
2011-06-16 18:08:44 -04:00
Stevie Strickland
477c5acb2a
Fix names in test to make them test-specific.
2011-06-16 16:51:38 -04:00
Matthew Flatt
56423f330e
`procedure-arity-includes?' reports #f for keyword-requiring procs
...
by default; a new optional argument restores the old behavior
(but the default behavior is consistent with the old docs and with
the vast majority of existing uses)
The implementation is ugly for performance reasons. A new primitive
`prop:arity-incomplete' property determines when to return #f for
`procedure-arity-includes?' in default mode. A nicer implementation
would be to redefine `procedure-arity-includes?' at the kw-proc level,
but the bytecode optimizer's and JIT's treatment of the built-in
`procedure-arity-includes?' is important. The implementation choice
could be revisited after cross-module inlining is implemented.
Closes PR 11978
2011-06-16 12:36:16 -06:00
Stevie Strickland
649fe2f276
Fix #%app bindings for `with-contract'-based contract forms.
...
Closes PR11975.
2011-06-16 14:25:01 -04:00
Matthew Flatt
a919062143
support progress evts in result of `make-limited-input-port'
...
and also adjust initial position in various port constructions
to use `file-position' instead of `port-next-location'
2011-06-16 09:18:47 -06:00
Matthew Flatt
83d002a9aa
fix interaction of `port-commit-peeked' and port positions
...
--- includes a small hack to the `make-input-port' protocol
to specially handle a byte-string result as "true"
from the `commit' proc
2011-06-16 08:17:14 -06:00
Sam Tobin-Hochstadt
eaa156554a
Add contracts for `Sequenceof' values.
2011-06-15 17:02:09 -04:00
Kevin Tew
4176f093b8
place -> dynamic-place and place-wait return value fixes
2011-06-15 11:09:02 -06:00
Vincent St-Amour
e057e6a857
Optimize in typed regions.
2011-06-15 11:20:51 -04:00
Sam Tobin-Hochstadt
b76819a66e
Wrap expected type. Closes PR 11980.
2011-06-14 19:05:16 -04:00
Eli Barzilay
be84425bd0
Rewrite compose' and add
compose1'.
...
The new version fixes some problems with the previous one, most notably
it can create a keyworded function when the last input is is keyworded.
`compose1' is a restricted variant that requires single values in the
composed pipeline -- besides being potentially faster (probably more
if/when there is cross module inlining), it has a semantical
justification, similar to the restricting function call arguments to
return single values, with similar robustness benefits. The
implementation of both is done in a generalized way, and the results can
be faster for both `compose' and `compose1'. (Not by much -- 20% and
30% resp.)
One thing that it could do is to reduce the resulting arity to match the
last given function. I didn't do this since it adds a significant
overhead to the result. (No strong opinion on doing that...)
2011-06-14 19:02:30 -04:00
Eli Barzilay
e80308aa15
Make `test' messages show keyword arguments too.
2011-06-14 19:02:30 -04:00
Vincent St-Amour
2922821f3c
Synthesize annotations for for/lists: if possible.
2011-06-14 17:53:27 -04:00
Vincent St-Amour
a5bccaffe1
Allow omitting type annotation in most of the for: forms.
2011-06-14 17:53:27 -04:00
Kevin Tew
939f0b1c0b
rename place-dynamic to dynamic-place
2011-06-11 15:36:16 -06:00
Matthew Flatt
80c4396dc1
JIT-inline struct type property predicates and accessors
2011-06-11 08:35:34 -07:00
Eric Dobson
c7f9a80de8
TR: Changed type of port->list
2011-06-10 17:22:14 -04:00
Ryan Culpepper
c8a691490a
syntax/parse: added literal-set->predicate
...
closes PR 11968
2011-06-10 13:22:26 -06:00
Kevin Tew
1473b7775f
Places: rename place and place/anon
2011-06-10 11:07:01 -06:00
Matthew Flatt
8f6a4c5549
fix file suffix: ".rkt" for module files
2011-06-10 09:36:10 -07:00
Matthew Flatt
460504c852
add #:unless' to
for'
2011-06-10 06:21:35 -07:00
Kevin Tew
21f7109204
Places: rename send receive to put get
2011-06-09 23:48:55 -06:00
Kevin Tew
dd4ee47ecd
Cleanup place-channel benchmark use read-bytes
2011-06-09 23:48:25 -06:00
Kevin Tew
524b5ca50a
Channels compared to dd
2011-06-07 13:53:37 -06:00
Eli Barzilay
17b6ffa731
Move thunk' from
unstable/function' into `racket/function'.
...
Actually, the new `thunk' is a nullary function, which I think is very
popular expectation for the name. Since there are possible uses for the
any-arity version, it's added too, as `thunk*'.
2011-06-07 03:38:06 -04:00
Eli Barzilay
a70ef57f02
Move identity' from
unstable/function' into `racket/function'.
2011-06-07 03:38:06 -04:00
Eli Barzilay
2eb0a94677
Removed a bogus provide and two bogus tests.
...
(Which worked because the same functionality is part of `racket'.)
2011-06-07 03:38:06 -04:00
Vincent St-Amour
801354fa4a
Add syntax-within? to unstable/syntax.
2011-06-02 18:37:42 -04:00
Matthew Flatt
bbfeb85440
mak argument to `make-immutable-hash' optional
2011-05-30 07:38:57 -06:00
Mike Sperber
c3d4e39630
Add DMdA teachpacks to documentation check.
...
Also, exclude obsolete DMdA exports from check.
2011-05-28 12:31:20 +02:00
Asumu Takikawa
f4aab53efa
Added option/c for possibly #f values in unstable.
2011-05-26 00:37:06 -04:00
Asumu Takikawa
7f143f03ed
Add impersonator-contract? along with docs/tests.
...
The impersonator-contract? function checks if its argument is
a contract that is neither flat nor a chaperone contract.
2011-05-26 00:37:05 -04:00
Tony Garnock-Jones
c888222fb6
Property accessors are now able to accept 1 or 2 arguments
2011-05-25 10:47:59 -04:00
Tony Garnock-Jones
7615c2a512
Implementation, documentation and tests for adding a failure-result to property accessor procedures.
2011-05-24 16:53:52 -04:00
John Clements
dcb5e896dd
added raise-type-error to date->string, also test case
2011-05-24 10:24:31 -07:00
Vincent St-Amour
7b0f64de72
Don't run TR integration tests during nightly builds.
2011-05-23 13:58:28 -04:00
Stephen Chang
b4ab1bb093
fix bug in lazy stepper handling of cyclic lists
2011-05-22 01:54:46 -04:00
Jay McCarthy
291ee08736
Adding scriblib/bibtex.
2011-05-21 10:10:05 -06:00
Robby Findler
ce3e46b71a
fix a bug in the planet packaging code that could result in the documentation not being included
2011-05-20 10:13:45 -05:00
Matthew Flatt
4b9d88cc1d
fix `sequence->stream'
...
Closes PR 11932
2011-05-19 15:59:08 -07:00
Matthew Flatt
7060fa5b75
fix problems with `letrec' splitting and constant procedures
2011-05-19 15:15:01 -07:00
Kevin Tew
518f20142c
11930 bug fix: added missing scheme_seal_parameters call
2011-05-19 11:48:23 -06:00
Matthew Flatt
b6445880e2
add pre-multiplied mode for `{get,set}-argb-pixels'
2011-05-18 16:01:33 -07:00
Robby Findler
91f5fbcd88
added a test case for PR 11930
2011-05-18 10:05:39 -05:00
Matthew Flatt
905eb11651
fix alpha-only mode of `get-argb-pixels'
...
Closes PR 11927
2011-05-17 16:00:36 -07:00
Vincent St-Amour
bc4a7df94d
Better solution to the toplevel printing bug.
2011-05-17 18:30:53 -04:00
Eric Dobson
9a65545814
Path manipulation now works with SomeSystemPath correctly.
2011-05-17 18:03:48 -04:00
Eric Dobson
05af2b9e17
Split Path type into Path and OtherSystemPath.
2011-05-17 18:03:48 -04:00
Vincent St-Amour
8f6d3c7920
Avoid printing results of tests when eliminating if branches at the toplevel.
...
Closes PR 11928.
2011-05-17 17:47:21 -04:00
Vincent St-Amour
1ed0e84791
Move base environment files to their own subdirectory.
2011-05-17 15:16:18 -04:00
Sam Tobin-Hochstadt
c2291e049d
Add types for some of `syntax/stx'
...
Add hacked types for `with-syntax' internals.
2011-05-16 14:55:17 -04:00
Vincent St-Amour
bdf1073f17
Fix optimizer expected log format.
...
Optimizer log format was changed on a different branch, and this test
was written using that new format, which is not recognized on current
master.
2011-05-16 14:23:24 -04:00
Vincent St-Amour
4cd0ad4b1a
Coerce reals in float expressions when valid.
2011-05-16 11:44:35 -04:00
Vincent St-Amour
e64ba228e8
Have the TR test harness skip emacs unsaved file backups.
2011-05-16 11:44:35 -04:00
Sam Tobin-Hochstadt
e92af62ca0
Add contract generation for Set type.
2011-05-15 22:53:20 -04:00
Kevin Tew
c9c02f3fb0
duplicate and cycle detection for places_deserialize_worker
2011-05-12 08:28:47 -06:00
Matthew Flatt
8492f7c90b
fix symbol handling in long-message transfer
...
as well as stack-overflow handling
2011-05-11 15:04:59 -06:00
Robby Findler
c5f8add9ea
avoid eval-compile-time-part-of-top-level when in the module language
...
Thanks to Ryan for spotting this call!
Closes PR 11908
2011-05-10 14:10:28 -05:00
Kevin Tew
94d92092a5
deep copy stack overflow check
2011-05-10 06:37:39 -06:00
Robby Findler
0e58a37105
fixed up a test (that I hadn't meant to push the last time, sigh)
2011-05-09 15:34:01 -05:00
Robby Findler
553d9ff4c6
made set/c preserve flat-contract'ness of its argument
2011-05-09 08:49:12 -05:00
Robby Findler
f60f23496d
added a drracket test
2011-05-08 22:30:24 -05:00
Sam Tobin-Hochstadt
2f3e9fc655
Add types for `in-hash' etc.
2011-05-08 15:36:48 -04:00
Matthew Flatt
153d23ecf0
adjust sandbox memory-limit test timeout
2011-05-08 06:26:04 -06:00
Eric Dobson
e9683e1dd2
Changed early failure in subtyping to all non-struct values, not just null. Closes PR 11887.
2011-05-06 11:39:01 -04:00
Sam Tobin-Hochstadt
af56616fc8
Require numeric-predicates at the correct phase.
...
Closes PR 11897.
2011-05-05 19:04:38 -04:00
Vincent St-Amour
4b03ecde2a
Integrate the TR and TR optimizer test suites.
2011-05-05 18:54:12 -04:00
Vincent St-Amour
4ea9b29d12
Remove redundant checks from TR's optimizer tests.
...
Checking that the optimized and non-optimized versions return the same
results is unnecessary. Optimization logs, which are checked against
an expected log, already contain the results.
2011-05-05 18:54:12 -04:00
Vincent St-Amour
7b6edb452f
Rewrite the optimizer test suite to use rackunit.
2011-05-05 18:54:12 -04:00
Vincent St-Amour
fa016ea576
Keep running TR tests even if optimizer tests fail.
2011-05-05 18:54:12 -04:00
Vincent St-Amour
850d4d325d
Don't display name of non-test files.
2011-05-05 18:54:12 -04:00
Robby Findler
507b1cd8fd
moved the docs-complete library into rackunit
...
to avoid having a separate, new manual for the
one library
2011-05-05 16:10:42 -05:00
Robby Findler
d40b43c0a9
make the deinprogramm documentation drdr messages be accurate
...
(that is, I think that the complaints coming from the
tests\deinprogramm\test-docs-complete.rkt message are
now pointing out things for which there is actually no
documentation, instead of pointing out the need for
different declare-exporting declarations)
2011-05-04 18:54:28 -05:00
Robby Findler
d3c04ae701
Adjusted docs-complete to print a different message when there are no docs at all
...
and ... ummm... documented docs-complete
2011-05-04 18:54:25 -05:00
Matthew Flatt
34b8dc249e
fix documented contracts for path functions
...
and make `cleanse-path' work for any platform's paths
while fixing `resolve-path' checking to disallow paths
for other platforms
Closes PR 11891
2011-05-04 11:40:01 -06:00
Eric Dobson
f3c73a197e
Changed Paths to PathStrings in types where appropriate
2011-05-03 18:20:31 -04:00
Eric Dobson
44f377bcd4
Correctly instantiate poly-dotted functions with zero arguments.
...
Closes PR 11776. Closes PR 11545.
2011-05-03 18:20:31 -04:00
Matthew Flatt
87a4132b40
fix zo-marshal' for #f toplevel-map in
lam'
2011-05-03 14:43:27 -06:00
Kevin Tew
811154cb08
Indent fix
2011-05-03 14:40:02 -06:00
Kevin Tew
46dc051931
Turn places build back on, provide place-break.
2011-05-03 14:01:30 -06:00
Matthew Flatt
1b14c6a38e
fix mistakes uncovered by optimizer warnings
2011-05-03 06:57:48 -06:00
Eric Dobson
613e121783
Struct types now generate flat contracts when appropriate.
...
Closes PR 11686.
2011-05-03 08:15:37 -04:00
Ryan Culpepper
1bf95392d2
syntax/parse: added litset extension
2011-05-03 01:25:41 -06:00
Ryan Culpepper
e5e12ab01a
syntax/parse: added define-syntax-class/specialize
2011-05-02 21:02:11 -06:00
Robby Findler
d6ef130fd2
cleaned up framework docs
2011-05-01 14:16:04 -05:00
Mike Sperber
d582dd55dd
Fix bug in vector signatures.
2011-05-01 11:18:10 +02:00
Robby Findler
c8d476c76e
adjust scribble's racketblock renderer so that #true and #false
...
don't turn into #t and #f.
2011-04-30 20:35:16 -05:00
Jay McCarthy
8708268992
Fixing problems with %is discovered by Casey
2011-04-30 12:02:41 -06:00
Asumu Takikawa
7eb26c5d26
Added test for get-pos/text method result.
2011-04-29 18:56:36 -04:00
Vincent St-Amour
4d24cbee60
Promote more literals at compile-time.
2011-04-29 17:16:39 -04:00
Vincent St-Amour
d9451ef4ab
Run optimizer tests in a throw-away namespace to reduce memory usage.
2011-04-29 15:28:30 -04:00
Sam Tobin-Hochstadt
0d246de293
Remove obselete shell script
2011-04-28 18:23:53 -04:00
Vincent St-Amour
632e36f751
Add set types to TR.
...
Original patch by Eric Dobson.
2011-04-28 18:22:39 -04:00
Vincent St-Amour
fc531c4dbf
Fix chicken output processing.
2011-04-28 16:19:59 -04:00
Vincent St-Amour
7cf64050f8
Make tabulation script more resilient to incorrect input.
2011-04-28 16:19:59 -04:00
Vincent St-Amour
e11582a522
Chicken can do scheme2 now.
2011-04-28 16:19:58 -04:00
Kevin Tew
64ba1f2fa4
[Places] rename place-channel.rktl -> place-channel.rkt
2011-04-27 22:35:05 -06:00
Matthew Flatt
0e229529c0
JIT-inline `procedure-arity-includes?'
2011-04-27 14:10:21 -06:00
Vincent St-Amour
99f4ae14ee
Bigloo does not report time in centiseconds anymore (as of 3.6a).
2011-04-27 14:14:26 -04:00
Vincent St-Amour
31df4384e1
Chicken doesn't print GC time if the GC doesn't fire.
2011-04-27 14:14:26 -04:00
Kevin Tew
028421432d
[Places] place-channel tests for large messages
2011-04-27 11:50:45 -06:00
Vincent St-Amour
6d56ddcc10
Chicken changed its timing output format.
2011-04-27 11:03:06 -04:00
Vincent St-Amour
d52c7f2d78
Typo.
2011-04-27 11:03:06 -04:00
Vincent St-Amour
33348795c9
cpstack -> cpstak
2011-04-27 11:03:06 -04:00
Vincent St-Amour
fd2d9ba0be
Bigloo can't compile nucleic2.
2011-04-27 11:03:05 -04:00
Vincent St-Amour
9c9c87aa09
Remove file that was accidentally committed.
2011-04-27 11:03:05 -04:00
Robby Findler
06ed2045ae
adjust check-docs so that the skipped exports are a parameter
2011-04-26 23:27:48 -05:00
Matthew Flatt
d28d42a46f
fix validator bug (to allow flonum-consuming proc to be cleared)
...
Closes PR 11879
2011-04-26 19:21:14 -06:00
Stephen Chang
5d47e58de3
add Lazy Racket tests from Premiers cours de programmation avec Scheme (Roy)
2011-04-26 19:13:41 -04:00
Jay McCarthy
5f1b390f64
moving
2011-04-26 16:46:55 -06:00
Jay McCarthy
c9286ce725
Moving...
2011-04-26 16:33:01 -06:00
Eric Dobson
c221c07076
made ephemeron test correct
2011-04-26 15:35:22 -04:00
Eric Dobson
80fa8d3c97
Beginning of ephemeron patch
2011-04-26 15:35:22 -04:00
Vincent St-Amour
7800e417d2
Fix benchmarking for bigloo to work with its default options.
2011-04-26 15:35:22 -04:00
Robby Findler
626bef922e
dont insist that names beginning with #% are documented
2011-04-26 11:30:12 -05:00
Ryan Culpepper
585dc9c0a3
sort names to avoid spurious changes
2011-04-25 22:51:51 -06:00
Ryan Culpepper
ee6fa14ec4
automatically filter out names from serializable structs
2011-04-25 20:24:36 -06:00
Ryan Culpepper
bf5248e3b5
syntax/parse: changed #:declare back to "magical" scoping
2011-04-25 20:24:35 -06:00
Robby Findler
7701f75fb0
adjusted test-docs-complete.rkt tests
2011-04-25 19:00:01 -05:00
Robby Findler
e7d0029aea
added lots of new tests that our documentation is complete
2011-04-25 13:24:43 -05:00
Robby Findler
a373eac5d8
added docs-complete.rkt
2011-04-25 13:18:51 -05:00
Vincent St-Amour
7e491392e1
Remove file that was accidentally committed.
2011-04-25 09:30:23 -04:00
Matthew Flatt
2f8006aa6b
add an optional argument to `assoc'
...
and implement `assoc', `assq', and `assv' in Racket
2011-04-24 07:55:33 -06:00
Matthew Flatt
f4303cbef8
faster JITted path to `equal?'
2011-04-24 07:55:33 -06:00
Matthew Flatt
f54d977de1
JIT-inline `eqv?'
2011-04-24 07:55:32 -06:00
Robby Findler
41497cec6a
avoid printing stacktrace information when the exception is a exn:fail:user?.
...
closes PR 11874
2011-04-24 07:45:07 -05:00
John Clements
b228316a8a
updates to history
...
merge to 5.1.1 release
2011-04-22 14:28:18 -07:00
Robby Findler
e8ce23cc9a
adjust the test-engine test suite so it prints errors to stderr
...
and thus drdr will send email when test cases fail
2011-04-22 06:16:43 -05:00
Kevin Tew
34fd6c35dd
Typo fix
2011-04-21 20:55:34 -06:00
Kevin Tew
b1cd60213f
Test all allowed types in place messages
2011-04-21 06:14:27 -06:00
Matthew Flatt
e47c9a2f9d
allow cyclic values over place channels
2011-04-20 07:21:10 -06:00
Kevin Tew
3358ec8d10
Place-channel path test cases
2011-04-20 00:01:28 -06:00
Matthew Flatt
1932a453a8
enable inlining of calls to `case-lambda' procedures
...
which includes calls to procedures with optional (but no keyword)
arguments
2011-04-19 21:28:14 -06:00
Stephen Chang
718b9709bc
fix struct constructor application in lazy racket
2011-04-19 01:21:19 -04:00
Matthew Flatt
e0d26d88b6
support exact nonnegative integers as sequences
2011-04-18 14:55:02 -06:00
Ryan Culpepper
fdede6f063
syntax/parse: added docs for litset #:at kw, relaxed restriction on arg
2011-04-15 14:47:29 -06:00
Matthew Flatt
5386206667
fix 'solid vs. 'opaque for mono on mono Closes PR 11839
2011-04-14 15:38:38 -06:00
Matthew Flatt
e734cd6127
fix `vector-map' error message
...
Closes PR 11828
2011-04-14 11:36:08 -06:00
Jay McCarthy
91d98aa0fa
Fixing drdr discovered problem
2011-04-13 07:31:29 -06:00