Jay McCarthy
f5aa64f90b
send/formlet issue
...
svn: r13020
2009-01-06 15:37:23 +00:00
Eli Barzilay
e371bd8f4a
completed Matthias's aborted commit
...
svn: r12999
2009-01-04 13:59:00 +00:00
Ryan Culpepper
b6312ff3ca
macro stepper tests:
...
added regression test for PR 10000
updated lifting tests for new variable name convention
svn: r12994
2009-01-03 19:58:06 +00:00
Matthew Flatt
d596401804
scheme/foreign: allow #f as NULL function pointer, allow callback as cpointer
...
svn: r12992
2009-01-03 18:51:15 +00:00
Robby Findler
6cc488603f
PR 9999: fixed color-list->image and alpha-color-list->image so that they accept zeros for the widths and heights
...
svn: r12988
2009-01-03 17:36:46 +00:00
Robby Findler
97e00eef97
fixed a bug in the ->d contract checking (wrt tail dropping)
...
svn: r12987
2009-01-03 16:57:46 +00:00
Robby Findler
3af2ea45d0
changed ->d so that it only checks the contract just above, not many above
...
svn: r12986
2009-01-03 16:40:54 +00:00
Matthew Flatt
b2d0a37f7b
add propagated arguments to 'call-with-continuation-prompt'; streamline 'with-handlers' expansion; speed up slightly some JITted cross-module function calls
...
svn: r12979
2009-01-02 21:57:31 +00:00
Matthew Flatt
c7acb6d9ef
fix pinhole bug created by recent cache-image-snip% changes
...
svn: r12975
2009-01-02 20:19:36 +00:00
Matthew Flatt
5e9b0c157a
fix from Will for set-port-position test by getting a position that will be used later (PR 9993)
...
svn: r12965
2009-01-01 21:36:37 +00:00
Robby Findler
fb821d9041
added argmin and argmax to scheme/list and to the teaching languages
...
svn: r12960
2009-01-01 00:03:31 +00:00
Matthew Flatt
87274b2a97
procedure-rename
...
svn: r12952
2008-12-30 14:36:25 +00:00
Matthew Flatt
1642a84e69
add equal?/recur; implement equal? for image-snip% via properties
...
svn: r12950
2008-12-29 22:36:53 +00:00
Matthew Flatt
0cd2537a82
add equal<%> ad interface*
...
svn: r12946
2008-12-28 15:05:02 +00:00
Matthew Flatt
2083015b65
fix result checking for fxdiv
...
svn: r12938
2008-12-26 13:43:16 +00:00
Matthew Flatt
82ead03b92
change _fpointer handling to work with function pointers in structs and other such uses; add 'function-ptr' casting operation
...
svn: r12913
2008-12-20 05:09:35 +00:00
Matthew Flatt
23e8624e41
fix the test-suite sandbox
...
svn: r12907
2008-12-19 20:58:56 +00:00
Eli Barzilay
f74dc2b8c7
Added `call-with-trusted-sandbox-configuration', and used in scribble
...
and in tests.
svn: r12871
2008-12-16 20:29:17 +00:00
Eli Barzilay
43124c2ec5
more adjustments
...
svn: r12863
2008-12-15 21:37:55 +00:00
Eli Barzilay
f8dff60a01
adjust limits on tight test, others two, clarified comments
...
svn: r12862
2008-12-15 21:32:50 +00:00
Matthew Flatt
25b27a8b08
more memory-accounting repairs, so that sandbox tests now pass
...
svn: r12861
2008-12-15 21:15:24 +00:00
Eli Barzilay
0786da10cb
svn: r12860
2008-12-15 20:43:28 +00:00
Eli Barzilay
5141289bd7
* No nested code inspector for scribble sandboxes
...
* No nested inspectors or memory limit for testing sandboxes
svn: r12857
2008-12-15 18:29:59 +00:00
Eli Barzilay
04d0b55134
raise the limit for the problematic test, and compensate by doing more iterations
...
svn: r12855
2008-12-15 18:18:06 +00:00
Eli Barzilay
c62595772f
Finally enabled using a sub code-inspector properly, with a new
...
'read-bytecode permission mode. Added tests and (crappily)
documented.
svn: r12846
2008-12-15 01:07:00 +00:00
Eli Barzilay
9295a1dc27
* Fix memory test
...
* Better organization of `user-eval'
* Deal with cases when the evaluator dies outside of our control
svn: r12841
2008-12-13 23:26:44 +00:00
Eli Barzilay
39a69b30fd
Don't set memory limits or test for them when there is no memory
...
accounting.
svn: r12839
2008-12-13 22:44:02 +00:00
Eli Barzilay
813eb20e35
termination message now indicates suicides too (both killing the
...
thread or shutting the custodian)
svn: r12838
2008-12-13 22:39:49 +00:00
Eli Barzilay
188489b34f
* Added `exn:fail:sandbox-terminated' for all sandbox termination
...
kinds.
* The default exit handler kills the sandbox, with an appropriate
termination message.
* Also, sending an eof to the sandbox shows 'eof as the reason
* Added some tests for these.
* Still need to deal with termination messages for evaluator suicide.
svn: r12837
2008-12-13 22:12:16 +00:00
Eli Barzilay
55f1df58e1
Make sure that the module is also instantiated under the evaluation
...
limits too (the instantiation was happening outside of the limited
thunk)
svn: r12830
2008-12-13 16:41:07 +00:00
Eli Barzilay
3fcc58c05e
minor improvements
...
svn: r12789
2008-12-12 13:43:05 +00:00
Eli Barzilay
a1222d66ca
* Implementer global sandbox memory limit and added
...
`sandbox-memory-limit' to set it
* Added `evaluator-alive?'
* Undo accidental commenting of most tests
svn: r12786
2008-12-12 12:45:08 +00:00
Eli Barzilay
a0d1baea00
When an expression evaluation dies out of memory, the sandbox stays alive
...
svn: r12785
2008-12-12 11:22:08 +00:00
Sam Tobin-Hochstadt
08fa300d14
Make inference work in subtype tests.
...
Add test for top-arr.
svn: r12746
2008-12-08 18:26:58 +00:00
Matthew Flatt
4d8469b6cf
inline fixnum multiplication
...
svn: r12731
2008-12-08 13:36:24 +00:00
Sam Tobin-Hochstadt
dd8e878cb4
Fix time-apply, add test
...
svn: r12727
2008-12-08 03:12:38 +00:00
Sam Tobin-Hochstadt
238b248ad5
Add `current-continuation-marks'
...
Add some exns
Test require substructs
svn: r12726
2008-12-08 03:10:12 +00:00
Sam Tobin-Hochstadt
e6eb482de4
Enable require-typed-struct with substructures.
...
Fixes PR 9053.
Move test to succeed.
Add some new bindings.
svn: r12709
2008-12-05 00:25:02 +00:00
Matthew Flatt
e1126a66ed
some gc-related tests
...
svn: r12705
2008-12-04 23:04:10 +00:00
Matthew Flatt
97fafb6ce4
get rid of port-position tests on custom textual ports
...
svn: r12692
2008-12-03 21:29:06 +00:00
Matthew Flatt
8162eda54f
fix buggy new test
...
svn: r12691
2008-12-03 20:56:50 +00:00
Matthew Flatt
c55d305eab
more consistent form for a test
...
svn: r12690
2008-12-03 20:01:33 +00:00
Matthew Flatt
142fd53e90
R6RS test suite: no BOM -> big-endian output
...
svn: r12689
2008-12-03 20:00:13 +00:00
Matthew Flatt
1f2ebbb58e
R6RS test suite corrections from Kent
...
svn: r12688
2008-12-03 19:47:29 +00:00
Matthew Flatt
c333fa8fb5
fix problems with custodian boxes, especially for a box whose custodian is shut down via an ancestor custodian
...
svn: r12680
2008-12-02 19:51:01 +00:00
Eli Barzilay
eb54b1a5b2
* Added `call-in-nested-thread*', and used it to improve
...
`call-with-limits'; specifically, it can now distinguish killing the
main thread or shutting down the custodian from an out-of-memory
error.
* This also makes it possible to have threads created and stay alive
between evaluations.
* Added tests for this.
svn: r12673
2008-12-02 12:23:35 +00:00
Eli Barzilay
e0917e1a5e
* Added `call-in-sandbox-context'.
...
* Removed `get-namespace' since it's generalized in the above.
* Deal with killing the current thread (or the current custodian) in
the sandbox code. (Works only without per-expression limits --
still need to find a solution for `call-with-limits'.)
* Added tests for this.
svn: r12670
2008-12-02 05:26:45 +00:00
Eli Barzilay
ab817097b4
* Create string/bytes output port in the user's custodian (at least
...
try to do so...).
* Add tests for output collection under resources -- some are
commented since they're not working right, either a bug in this code
that I don't see, or some problem with memory accounting.
* Clarify in the docs that output collection is still under resource
limits.
svn: r12667
2008-12-01 22:19:58 +00:00
Eli Barzilay
30adf7980a
switch to scheme/base for the sandbox interface and for use in tests
...
svn: r12656
2008-12-01 03:37:02 +00:00
Matthew Flatt
2c48c2c817
splicing-syntax-parameterize and docs for scheme/splicing
...
svn: r12600
2008-11-26 21:31:58 +00:00