Jon Rafkind
9f10bc960b
typo
...
svn: r16011
2009-09-14 21:13:22 +00:00
Eli Barzilay
cb78ec3bf6
a bunch of typos
...
svn: r15823
2009-08-28 04:06:14 +00:00
Eli Barzilay
4288c6c2c7
The Scribble reader was improved to make it pull out the syntax
...
punctuations outside of the form, as it does with quote punctuations.
So things like this
#, @foo{...}
that required the space to make the @foo read as a scribble form are
now better written as
@#,foo{...}
This changes all such occurrences. (In case you see this change in
your files and are worried that there might be changes: I mechanically
verified that the result of `read'ing the modified files is identical
to the previous version.)
svn: r15111
2009-06-07 10:12:32 +00:00
Eli Barzilay
ff73a5395e
removed lots of "the the"s
...
svn: r14679
2009-05-01 21:02:51 +00:00
Matthew Flatt
5514afa4bc
notes on the hazards of sandbox break propagation
...
svn: r14220
2009-03-22 16:42:03 +00:00
Matthew Flatt
9927b0b576
changed htdp languages to allow identifier module paths; scribble improvements to latex back-end; added definterface
...
svn: r13681
2009-02-16 22:04:51 +00:00
Eli Barzilay
bd561ab191
some paren typos
...
svn: r13416
2009-02-04 16:28:14 +00:00
Eli Barzilay
c2d5c44a7f
use make-evaluator in network example; describe common use for testing; describe nested call restriction
...
svn: r13343
2009-01-31 20:49:40 +00:00
Eli Barzilay
4e6039bedd
typo
...
svn: r13259
2009-01-22 18:53:14 +00:00
Eli Barzilay
5cb1e91764
typo
...
svn: r12897
2008-12-19 04:26:19 +00:00
Eli Barzilay
7d48a62155
documented recent changes
...
svn: r12896
2008-12-19 02:38:55 +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
e5027cb7b0
added a clarifying example for how limits interact
...
svn: r12864
2008-12-15 22:15:52 +00:00
Eli Barzilay
b0758de6f1
clarification on the (new) way memory is charged
...
svn: r12856
2008-12-15 18:22:58 +00:00
Eli Barzilay
ab115fb6e4
default global limit is 30mb
...
svn: r12852
2008-12-15 16:26:25 +00:00
Eli Barzilay
b882de2409
allow any number for memory limits
...
svn: r12851
2008-12-15 16:22:41 +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
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
bdf71f1b46
typo
...
svn: r12836
2008-12-13 21:13:03 +00:00
Eli Barzilay
510d9f081f
some clarifications
...
svn: r12835
2008-12-13 19:09:54 +00:00
Eli Barzilay
46e16fc206
* The sandbox now uses a new code-inspector to avoid using protected
...
bindings
* Added `sandbox-make-code-inspector' to control this
* Changed the function form of `sandbox-security-guard' to be a thunk,
to make it uniform with other sandbox settings.
svn: r12831
2008-12-13 17:17:12 +00:00
Eli Barzilay
e2221c800b
* sandbox-security-guard can now be a function that translates a given
...
security guard to a new one
* this is now used for the default to avoid grabbing the global
security guard
svn: r12828
2008-12-13 14:11:28 +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
bf8b409174
removed some bogus text
...
svn: r12674
2008-12-02 14:36:42 +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
8905cc86e5
Added `sandbox-exit-handler' to control the exit handler
...
svn: r12654
2008-11-30 21:44:47 +00:00
Eli Barzilay
8009a73622
added get-namespace
...
svn: r12364
2008-11-09 07:35:49 +00:00
Eli Barzilay
1e3517d904
clarify errors when creating the sandbox
...
svn: r12362
2008-11-09 05:21:30 +00:00
Eli Barzilay
5c2e2c25c5
argument typo
...
svn: r12359
2008-11-09 01:59:00 +00:00
Eli Barzilay
d90bf83f8c
fix output contract (see PR9845)
...
svn: r12069
2008-10-20 03:28:01 +00:00
Matthew Flatt
077e5a4666
change reference and some other docs to use #f instead of false/c and or/c insteda of one-of/c
...
svn: r12023
2008-10-13 19:45:37 +00:00
Eli Barzilay
433819df52
Added a #:language argument to `make-module-evaluator' to enforce a
...
particular language module.
svn: r11954
2008-10-06 21:34:24 +00:00
Eli Barzilay
ca99fe0b0d
improved example a little further
...
svn: r11418
2008-08-25 15:31:01 +00:00
Eli Barzilay
524cf0414d
fix typo, more explanations, better IO sample code
...
svn: r11414
2008-08-25 14:22:56 +00:00
Matthew Flatt
867306caff
new #lang planet reader; new sandbox-make-loger parameter
...
svn: r10833
2008-07-18 17:25:49 +00:00
Matthew Flatt
b062c52067
fix some doc links
...
svn: r10154
2008-06-05 18:56:41 +00:00
Matthew Flatt
7ae0f500ae
add and use close-eval to reduce memory use when rendering reference and guide
...
svn: r9981
2008-05-27 17:20:24 +00:00
Eli Barzilay
669c93680b
clarification
...
svn: r9621
2008-05-03 05:34:27 +00:00
Matthew Flatt
1dd30ca031
dup-{in,out}put-port and sandbox-error-output default
...
svn: r9617
2008-05-03 04:47:14 +00:00
Eli Barzilay
1b552354a6
Use @(interaction-eval ...) instead of @interaction-eval[...].
...
svn: r9429
2008-04-23 16:47:17 +00:00
Eli Barzilay
40bbadeaee
simple network evaluator example
...
svn: r8737
2008-02-20 00:26:05 +00:00
Eli Barzilay
8653264868
cleaned up the interface a little
...
svn: r8724
2008-02-19 15:20:37 +00:00
Matthew Flatt
b03e7426eb
finish mzlib docs, except for contracts
...
svn: r8623
2008-02-11 21:37:03 +00:00
Matthew Flatt
f3cb86dc1a
sandbox Scribble evaluations; fix rational exact->inexact loss of precision
...
svn: r8238
2008-01-06 16:54:34 +00:00
Matthew Flatt
7fc41024c0
3.99.0.9: binding links in docs use nominal import sources
...
svn: r8196
2008-01-03 19:07:02 +00:00
Matthew Flatt
b78f8acb50
catch sxref failures and report as warnings when loading help data
...
svn: r8063
2007-12-19 15:36:35 +00:00
Matthew Flatt
5a6f8aede3
sandbox doc and API tweaks
...
svn: r7972
2007-12-12 18:39:15 +00:00
Matthew Flatt
622cd0554d
revised mzlib/sandbox in scheme/sandbox
...
svn: r7965
2007-12-12 13:47:02 +00:00