Commit Graph

624 Commits

Author SHA1 Message Date
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
Matthew Flatt
ffab3dd835 add Waddell99 citation
svn: r12725
2008-12-08 00:07:42 +00:00
Matthew Flatt
89d0801d7a change quote-syntax to include a certificate for the enclosing module, enable certificate checking of phase-1 bindings, and fix some other problems with certificates
svn: r12714
2008-12-05 22:45:04 +00:00
Matthew Flatt
f11b46828c some doc clarifications and hyperlinks
svn: r12682
2008-12-02 20:26:32 +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
9f96c73547 typos
svn: r12668
2008-12-02 00:01:31 +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
Matthew Flatt
df62fbad79 fix typo (PR 9955)
svn: r12658
2008-12-01 11:27:35 +00:00
Eli Barzilay
8905cc86e5 Added `sandbox-exit-handler' to control the exit handler
svn: r12654
2008-11-30 21:44:47 +00:00
Matthew Flatt
67f29daee5 reference doc corrections
svn: r12650
2008-11-30 14:32:58 +00:00
Matthew Flatt
7022d3cf0a compile-context-preservation-enabled and slightly better stack traces for errors from JIT-inlined arithmetic
svn: r12602
2008-11-26 23:07:13 +00:00
Matthew Flatt
2c48c2c817 splicing-syntax-parameterize and docs for scheme/splicing
svn: r12600
2008-11-26 21:31:58 +00:00
Matthew Flatt
9d6fcd9873 add package docs
svn: r12591
2008-11-25 19:12:35 +00:00
Matthew Flatt
ed536c002e scheme/package (and more int-def repairs)
svn: r12589
2008-11-25 17:58:21 +00:00
Eli Barzilay
4d6aed5328 typo
svn: r12582
2008-11-24 23:42:36 +00:00
Eli Barzilay
e2c5c973fc document improved splitting with empty matches
svn: r12581
2008-11-24 23:42:20 +00:00
Matthew Flatt
a0f91d905e revised internal-definitions context and a basic 'define-package' form
svn: r12579
2008-11-24 19:52:41 +00:00
Matthew Flatt
f66e852163 add cross-references from model section to function sections
svn: r12502
2008-11-18 23:33:29 +00:00
Matthew Flatt
f81826e792 move threads-are-not-OS-threads docs from 10 to 1.1.13
svn: r12501
2008-11-18 23:22:56 +00:00
Matthew Flatt
c73bb99cf6 fix struct type immutable-field handling and checking of prop:procedure values (PR 9914 and more)
svn: r12454
2008-11-15 02:49:54 +00:00
Matthew Flatt
4dd202b960 ,
svn: r12430
2008-11-13 21:11:48 +00:00
Matthew Flatt
4fe1da791c display-list[-to-file] to display-lines[-to-file]
svn: r12402
2008-11-12 03:25:24 +00:00
Matthew Flatt
c8c04c2186 use scheme/private/map as doc src point for map, etc.
svn: r12398
2008-11-12 02:09:24 +00:00
Matthew Flatt
f96026edf1 minor doc corrections
svn: r12391
2008-11-11 22:24:17 +00:00
Matthew Flatt
a6d953b6f5 add port->string, file->string, etc.
svn: r12388
2008-11-11 17:55:14 +00:00
Matthew Flatt
ad75c8aa58 fix problems in lex-rename simplification; other tiny improvements and doc repairs
svn: r12380
2008-11-10 22:50:54 +00:00
Matthew Flatt
9a1916e03e link 'help' to general docs
svn: r12374
2008-11-10 15:49:39 +00:00
Eli Barzilay
1e8bda724d fix result of write-{string,bytes}
svn: r12370
2008-11-10 04:02:44 +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
Robby Findler
2394848555 function contracts now preserve tail recursion
svn: r12360
2008-11-09 02:31:25 +00:00
Eli Barzilay
5c2e2c25c5 argument typo
svn: r12359
2008-11-09 01:59:00 +00:00
Matthew Flatt
65eb7e7a18 call-with-immediate-continuation-mark
svn: r12339
2008-11-07 02:54:12 +00:00
Matthew Flatt
4215289320 doc fixes
svn: r12328
2008-11-06 16:22:12 +00:00
Matthew Flatt
37aae202c5 speed up doc build a little; fix bugs related to getting continuation marks from a thread and using the errortrace profiler
svn: r12237
2008-11-04 23:32:44 +00:00
Matthew Flatt
95bedb17fb change contracts to reflect context via #%variable-reference instead of syntax objects; add id-less #%variable-reference form; drop link to unneeded CPort objects in delayed thunks; streamline some modules that tend to show up in deep phases
svn: r12231
2008-11-04 14:24:12 +00:00
Matthew Flatt
3a433f4ae4 clarify that unbound = top-level binding in reference
svn: r12226
2008-11-03 16:18:16 +00:00
Matthew Flatt
0b79aaa1ae doc repairs
svn: r12216
2008-11-02 12:28:59 +00:00
Matthew Flatt
cc02b65628 point to syntax/module-reader from #lang reference docs
svn: r12200
2008-10-31 15:23:16 +00:00
Matthew Flatt
3bc23270cf fix reference docs to match r12197
svn: r12199
2008-10-31 15:18:03 +00:00
Matthew Flatt
05fbd0ffd3 fix problem with simplifying module-rename contexts that have marked renamings
svn: r12195
2008-10-31 14:44:32 +00:00
Eli Barzilay
ae66a076fd typo (PR9880)
svn: r12194
2008-10-31 14:13:01 +00:00
Matthew Flatt
00d2aabaf0 jit tweaks
svn: r12144
2008-10-27 19:00:13 +00:00
Jon Rafkind
06e5070d2d s/open-input-port/open-input-file/
svn: r12121
2008-10-24 21:20:09 +00:00
Jon Rafkind
8b1df48587 add example for write
svn: r12106
2008-10-23 22:11:41 +00:00
Matthew Flatt
bb7d3d1a28 fix 'local-expand' checking of stop list to disallow symbols; extend 'continuation-marks' to work on threads; fix HtDP language module-level stop list
svn: r12101
2008-10-23 13:38:03 +00:00
Eli Barzilay
695c8979ec caml -> camel aka gamal
svn: r12084
2008-10-21 18:43:23 +00:00
Eli Barzilay
d90bf83f8c fix output contract (see PR9845)
svn: r12069
2008-10-20 03:28:01 +00:00
Matthew Flatt
46af55311d regexp contract refinemenets (follow-up on PR 9840)
svn: r12065
2008-10-19 11:20:13 +00:00
Eli Barzilay
5e323e53b7 conract fixes (PR9840)
svn: r12053
2008-10-17 14:57:12 +00:00
Danny Yoo
614b8757de Fixed typo in time-apply's documentation.
svn: r12048
2008-10-16 14:48:37 +00:00
Matthew Flatt
7a55275a26 unit bug fixes related to new scoping of signature elements; change scribble/manual to compute ids typeset as variables at compile time, in preparation for moving from a parameter to syntax bindings; fix docs typos; extend decompiler's support for unmarshaling syntax objects
svn: r12046
2008-10-15 22:23:56 +00:00
Robby Findler
2e9ac659bd svn: r12044 2008-10-15 13:00:01 +00:00
Matthew Flatt
8b595ed120 make-syntax-delta-introducer and adjusted binding in scheme/unit forms
svn: r12032
2008-10-14 13:27:43 +00:00
Matthew Flatt
bad81f8bcd small edits to contract docs
svn: r12028
2008-10-14 00:13:12 +00:00
Robby Findler
7ace3962fa improved overview a little
svn: r12027
2008-10-13 22:31:43 +00:00
Matthew Flatt
d3397103a8 add some datatype deftechs
svn: r12026
2008-10-13 21:36:18 +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
Matthew Flatt
ec68bafa9c add eqv hash tables; add hash-update
svn: r12018
2008-10-13 16:21:18 +00:00
Matthew Flatt
82ad7da253 change -S, -X, and -z flags for mz/mr
svn: r11964
2008-10-07 14:56:26 +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
f205e32302 clarify and give an example for PLTCOLLECTS
svn: r11949
2008-10-06 04:52:21 +00:00
Matthew Flatt
dd7db9ff7b add read-language, module-compiled-language-info, and module->language-info
svn: r11827
2008-09-21 16:00:42 +00:00
Matthew Flatt
18176568c7 exit status clarifications in reference doc
svn: r11747
2008-09-14 14:15:49 +00:00
Robby Findler
d69957455c a bunch more values are now converted into contracts automatically (added bytes)
svn: r11730
2008-09-13 22:37:16 +00:00
Robby Findler
85e489219c a bunch more values are now converted into contracts automatically
svn: r11729
2008-09-13 22:35:09 +00:00
Matthew Flatt
72055191b4 add printable<%>
svn: r11705
2008-09-12 22:50:09 +00:00
Matthew Flatt
d9654f9a8a doc: scheme/port is not re-exported by scheme/main
svn: r11551
2008-09-05 12:14:49 +00:00
Robby Findler
44b62899fa improved blame error message when there is no source location
svn: r11526
2008-09-02 16:12:13 +00:00
Matthew Flatt
2b98280729 fix module-path-index spec and use related to resolved module paths
svn: r11523
2008-09-02 13:54:43 +00:00
Robby Findler
5596aff30f improved contract error messages so that they now always have absolute module references in them for blame information
svn: r11511
2008-09-01 19:54:50 +00:00
Matthew Flatt
744df67d4e fix some remaining Latex-isms that Eli found in the docs
svn: r11454
2008-08-27 12:28:24 +00:00
Eli Barzilay
d26f27e140 Lots of minor edits -- mainly dropping unnecessary backslashes and
using @litchar with braces.

svn: r11451
2008-08-27 08:35:27 +00:00
Eli Barzilay
6cd75acb0a a bunch of (mostly) latex-leftover typos
svn: r11449
2008-08-27 07:07:59 +00:00
Eli Barzilay
8956e83c72 minor edits
svn: r11422
2008-08-25 17:01:03 +00:00
Matthew Flatt
0c56691440 fix ambiguous wording about #! as a synonym for #lang
svn: r11420
2008-08-25 15:39:26 +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
e507d9a1a3 fix doc mistakes related to struct guards
svn: r11368
2008-08-21 17:02:50 +00:00
Matthew Flatt
76cf25fc12 document 'mzc --decompile'
svn: r11317
2008-08-19 00:50:52 +00:00
Matthew Flatt
9453aaaccf assign authors to manuals
svn: r11287
2008-08-15 20:16:06 +00:00
Matthew Flatt
32729b8ae8 fix docs to indicate that datum->syntax and syntax->datum recur through immutable prefab structures
svn: r11253
2008-08-14 21:04:01 +00:00
Matthew Flatt
caf7bdd363 fix descripting of struct-field-index (PR 9685)
svn: r11223
2008-08-13 18:51:03 +00:00
Matthew Flatt
178c30e6e4 fix lcm on 0
svn: r11194
2008-08-11 23:55:32 +00:00
Robby Findler
1b223aedec fixed typo
svn: r11171
2008-08-09 18:21:01 +00:00
Matthew Flatt
d0419345d8 clean up extended in-vector, in-string, and in-bytes
svn: r11124
2008-08-07 12:13:21 +00:00
Eli Barzilay
097f05fe61 eof-object -> eof
svn: r11098
2008-08-06 02:57:49 +00:00
Noel Welsh
af47885ea2 Document the extended in-vector form.
svn: r11069
2008-08-04 18:48:58 +00:00
Eli Barzilay
a0fd33678f * Added `note-init-lib' for libraries in scheme/init
* Use it in help.scrbl and in enter.scrbl (which is not reprovided by
  scheme)
* Updated init.scrbl
* Improved code in reference.scrbl

svn: r11051
2008-08-03 18:58:04 +00:00
Eli Barzilay
b755a4b720 typo (PR9654)
svn: r11037
2008-08-02 19:45:21 +00:00
Eli Barzilay
3858ad007f added example
svn: r11032
2008-08-02 07:46:48 +00:00
Eli Barzilay
857bc4b63b typo
svn: r11031
2008-08-02 07:42:06 +00:00
Sam Tobin-Hochstadt
ec09e2c16a Fix typo.
svn: r11027
2008-08-01 20:33:40 +00:00
Sam Tobin-Hochstadt
35575378d8 Add shorthands for define-require-syntax and define-provide-syntax.
Document shorthands.

svn: r11025
2008-08-01 18:48:48 +00:00
Matthew Flatt
21b831f4bf make-reader-graph doesn't traverse mpairs
svn: r11020
2008-08-01 14:03:29 +00:00
Matthew Flatt
ba42c11850 fix doc typos
svn: r11006
2008-07-31 12:09:28 +00:00
Matthew Flatt
1ca888a934 dic docs for 'do' (PR 9640)
svn: r10970
2008-07-29 19:23:38 +00:00
Matthew Flatt
2c813c53c5 fix '(nonnegative|positive)-exact-integer?' contracts (moving 'exact-' to the front where it belongs)
svn: r10960
2008-07-29 12:56:05 +00:00
Eli Barzilay
5cee270746 svn: r10956 2008-07-29 07:45:26 +00:00
Matthew Flatt
65ce019fbc refine map docs to clarify that the results are in order
svn: r10948
2008-07-28 20:28:20 +00:00
Eli Barzilay
0a79a5c513 removed bogus text
svn: r10943
2008-07-28 16:36:23 +00:00
Matthew Flatt
4092392e5a adjust Scribble para/div style handling
svn: r10910
2008-07-25 13:16:06 +00:00
Matthew Flatt
8e4647cd6c tweak table-of-contents rendering again
svn: r10902
2008-07-24 13:45:08 +00:00
Matthew Flatt
a97b4bff8a scribble and doc improvements
svn: r10896
2008-07-24 11:32:16 +00:00
Matthew Flatt
5ff75bac42 allow duplicate struct properties if the values are eq?; add position-locations to text%
svn: r10849
2008-07-21 18:54:09 +00:00
Matthew Flatt
763d37d775 properties can now effectively inherit properties (v4.0.2.5)
svn: r10848
2008-07-21 17:04:25 +00:00
Eli Barzilay
bba44e46e8 clarify arity of procedure input to regexp-match
svn: r10838
2008-07-19 02:25:40 +00:00
Matthew Flatt
69d604c0be fix udp test and update docs related to socket re-binding
svn: r10835
2008-07-18 21:33:11 +00:00
Matthew Flatt
867306caff new #lang planet reader; new sandbox-make-loger parameter
svn: r10833
2008-07-18 17:25:49 +00:00
Eli Barzilay
57a3449003 yet another typo
svn: r10831
2008-07-18 07:08:55 +00:00
Eli Barzilay
d961143791 more typos
svn: r10830
2008-07-18 07:07:28 +00:00
Eli Barzilay
f405177906 typo
svn: r10829
2008-07-18 07:04:22 +00:00
Eli Barzilay
21b052d9f8 document new filtered-in and -out forms
svn: r10827
2008-07-18 01:01:43 +00:00
Matthew Flatt
a88d8487d4 fix logging doc typo
svn: r10819
2008-07-17 15:21:31 +00:00
Matthew Flatt
9af00fcfb4 v4.0.2.4: logging
svn: r10818
2008-07-17 15:20:17 +00:00
Eli Barzilay
3c38176bea typos
svn: r10771
2008-07-14 16:10:34 +00:00
Matthew Flatt
71a2648851 explain what a box is in the reference, and add cross references to the guide
svn: r10753
2008-07-14 00:05:37 +00:00
Eli Barzilay
4cd2614c21 scribble fixes -- nested @scheme and a few other similar problems
svn: r10744
2008-07-13 17:13:20 +00:00
Eli Barzilay
5860cb892a fix problems in unbox doc (nested @scheme and shadowed box)
svn: r10740
2008-07-13 13:50:14 +00:00
Eli Barzilay
eab91baa97 fix remv* and remq* types (PR9599)
svn: r10704
2008-07-10 07:02:25 +00:00
John Clements
63f0e97490 doc fix on equal? for hashes
svn: r10699
2008-07-09 17:02:14 +00:00
John Clements
78075fcd25 doc fix on equal? for hashes
svn: r10698
2008-07-09 16:59:12 +00:00
Matthew Flatt
a4cc0f7890 %-encoding extension in module paths; new r6rs library name encoding
svn: r10697
2008-07-09 15:41:38 +00:00
Eli Barzilay
7d50e61c7f * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689
2008-07-09 07:18:06 +00:00
Eli Barzilay
c127e5fdb7 missing space
svn: r10676
2008-07-08 15:21:56 +00:00
Eli Barzilay
c408a4d773 added some index entries
svn: r10675
2008-07-08 15:19:31 +00:00
Matthew Flatt
bdbcd1a56c doc corrections/clarifications for 'when' and 'lambda'
svn: r10674
2008-07-08 14:55:06 +00:00
Eli Barzilay
f7d01b346c typoe (pr9575)
svn: r10583
2008-07-03 19:25:55 +00:00
Eli Barzilay
f3559964fb Added split-at' and split-at-right', with documentation and tests,
and made srfi/1 use it.

svn: r10558
2008-07-02 13:12:26 +00:00
Eli Barzilay
1002366103 * Implemented drop' instead of a synonym for list-tail' (so error
messages are better; speed should be comparable)
* added `take-right' and `drop-right' to scheme/list, with tests and
  documentation
* also, minor documentation bug (wrong result type for `drop' can
  return `any/c')
* drop the implementation of them from srfi/1, reprovide the
  scheme/list versions

svn: r10555
2008-07-02 10:04:57 +00:00
Matthew Flatt
44c5a75739 fix some phase problems in program-processing programs
svn: r10503
2008-06-29 15:11:20 +00:00
Matthew Flatt
607c65fe4c doc fixes for transplant-input-port & related
svn: r10484
2008-06-28 02:47:11 +00:00
Robby Findler
c4be4bd7a5 added note about unsupplied-arg
svn: r10483
2008-06-27 22:27:31 +00:00
Matthew Flatt
009aabf8e1 pretty-print doc corrections and clarifications
svn: r10481
2008-06-27 20:20:52 +00:00
Carl Eastlund
e03b419c10 Fixed documentation for make-keyword-procedure: default for plain-proc uses apply, not keyword-apply.
svn: r10477
2008-06-27 14:10:36 +00:00
Matthew Flatt
da82fe2a2d eval and phases (4.0.1.2)
svn: r10452
2008-06-25 18:54:38 +00:00
Matthew Flatt
6f8dbf0ec5 make tech links gray; fix-ups in reference manual
svn: r10430
2008-06-23 21:03:10 +00:00
Matthew Flatt
3f60a478ad use new 'serialized=?' to tighten setup scribble fixpoint
svn: r10428
2008-06-23 19:28:08 +00:00
Matthew Flatt
c8509c8390 fix typo
svn: r10421
2008-06-23 12:40:45 +00:00
Eli Barzilay
f032880256 seven... I counted them.
svn: r10420
2008-06-23 07:05:06 +00:00
Eli Barzilay
24f54b8dcc document lazy restriction, try to improve description a little.
svn: r10418
2008-06-23 04:36:05 +00:00
Eli Barzilay
4ca2fb8c00 removed latex-induced-typos
svn: r10414
2008-06-23 04:03:18 +00:00
Matthew Flatt
8b68ced640 slight clarification on 'with-handlers*'
svn: r10406
2008-06-21 13:13:45 +00:00