Commit Graph

839 Commits

Author SHA1 Message Date
Carl Eastlund
44505e77e3 Propagated contract documentation change for regexp-match from bug 10301 to related functions.
svn: r15136
2009-06-10 23:05:45 +00:00
Eli Barzilay
33da679c31 better output contract for regexp-match
svn: r15135
2009-06-10 22:33:06 +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
Matthew Flatt
933f578002 syntax-local-lift-values-expression (v4.2.0.3)
svn: r15107
2009-06-06 15:13:43 +00:00
Carl Eastlund
3679f6f675 Typo in reader documentation: #, listed twice instead of #' and #,
svn: r15082
2009-06-04 19:55:30 +00:00
Jay McCarthy
55a2990543 Fixing a typo in runtime-path documentation
svn: r14997
2009-05-27 11:17:05 +00:00
Eli Barzilay
90040aac2b another typo from PR10258 (less than or equal to the string length)
svn: r14976
2009-05-25 02:56:24 +00:00
Eli Barzilay
1246aeb786 typo (PR10258)
svn: r14975
2009-05-25 01:03:41 +00:00
Eli Barzilay
2b7e836243 fix typo in examples
svn: r14952
2009-05-23 07:35:39 +00:00
Eli Barzilay
0b5a8d8123 typo
svn: r14951
2009-05-23 07:09:54 +00:00
Matthew Flatt
70859f0d0b identifier-prune-lexical-context (4.2.0.2)
svn: r14850
2009-05-17 12:31:51 +00:00
Matthew Flatt
05113c4a8f doc typos and guarantee on thread-dead-evt result
svn: r14825
2009-05-15 08:53:05 +00:00
Matthew Flatt
99c19a552c fix doc typo
svn: r14761
2009-05-09 13:37:04 +00:00
Eli Barzilay
7ad3d7b4a6 typos
svn: r14746
2009-05-08 11:12:55 +00:00
Matthew Flatt
57d518dc8c doc typo
svn: r14705
2009-05-04 02:19:27 +00:00
Matthew Flatt
2b4a0692eb doc repairs (PR 10225)
svn: r14703
2009-05-04 01:38:54 +00:00
Matthew Flatt
16e483033c fix define after define* in package; doc repairs
svn: r14701
2009-05-03 23:49:22 +00:00
Eli Barzilay
a1d943146b added a nullary case to compose
svn: r14697
2009-05-03 20:41:37 +00:00
Matthew Flatt
a1b65fb055 doc corrections
svn: r14696
2009-05-03 19:33:10 +00:00
Eli Barzilay
3ca6ac2175 added stupid make-list and stupid const
svn: r14693
2009-05-03 16:17:48 +00:00
Eli Barzilay
ff73a5395e removed lots of "the the"s
svn: r14679
2009-05-01 21:02:51 +00:00
Matthew Flatt
ae36abfc37 doc corrections
svn: r14677
2009-05-01 17:03:53 +00:00
Matthew Flatt
2b8b10dd40 fix problem with package, define*, and macro-introduced identifiers
svn: r14671
2009-04-30 23:57:45 +00:00
Matthew Flatt
d5b5c8fb97 refine note on immutable hash table performance
svn: r14664
2009-04-29 21:55:16 +00:00
Matthew Flatt
224f9fa3a7 fix bug in tracking paren shapes; fix Scribble binding search code; add syntax/template library
svn: r14661
2009-04-29 20:31:07 +00:00
John Clements
ce0a98dc61 added 2 indexed terms
svn: r14657
2009-04-29 18:20:37 +00:00
Eli Barzilay
610b5c7388 typo
svn: r14616
2009-04-26 20:04:42 +00:00
Matthew Flatt
a542660087 raise canvas scroll limits to 1B instead of 10k
svn: r14605
2009-04-24 21:54:28 +00:00
Jon Rafkind
4bc8e35d39 add example for subtract-in
svn: r14599
2009-04-24 21:22:24 +00:00
Jon Rafkind
7924ec7ca2 add example for matching-identifiers-in
svn: r14591
2009-04-24 05:08:51 +00:00
Matthew Flatt
3f803b2298 another doc fix (missed part of PR 10214)
svn: r14586
2009-04-22 18:32:09 +00:00
Matthew Flatt
43fe904fe5 fix typos (incl PRs 10213, 10214)
svn: r14585
2009-04-22 18:30:35 +00:00
Matthew Flatt
f51f8c8b7f avoid generating unnecessary struct-accessor and -mutator names
svn: r14566
2009-04-20 13:14:40 +00:00
Matthew Flatt
4b3626c156 fix inverted argument default for editor<%> read-from-file method; better Check Sytax results on packages; added syntax/flatten-begin library
svn: r14548
2009-04-17 22:50:19 +00:00
Eli Barzilay
59a38c0dad typo (PR10207)
svn: r14546
2009-04-17 19:15:20 +00:00
Matthew Flatt
e95edcc82d margin note on Unix Scripts at docs for --script flag
svn: r14542
2009-04-17 12:43:37 +00:00
Matthew Flatt
12b81e0cd7 clarify need to wait on a subprocess
svn: r14468
2009-04-08 18:38:59 +00:00
Eli Barzilay
dda7b1c6d7 typo (PR10186)
svn: r14457
2009-04-08 05:52:12 +00:00
Matthew Flatt
dcef141ca9 document visit-availing effect of module->namespace
svn: r14456
2009-04-08 02:26:46 +00:00
Matthew Flatt
fd9ee204a5 on third thought, it's module->namespace that needs to prepare the compile time, not dynamic-require, and that's why it worked before; restored the visit-availing behavior of module->namespace, and rewound the previous change (still for PR 10185)
svn: r14455
2009-04-08 02:21:22 +00:00
Matthew Flatt
8c9bcd50c2 on second thought, PR 10185 demonstrates why the variant of dynamic-require (and namespace-attach-module) that doesn't make the phase availble is difficult to reason about; changing dynamic-require and namespace-attach-module, instead of DrScheme
svn: r14454
2009-04-08 02:11:21 +00:00
Matthew Flatt
1d26e97a35 Scheme-implemented editor classes; on-demand instantiation of module phases
svn: r14445
2009-04-07 17:12:22 +00:00
Eli Barzilay
e6277e92ac foldl/foldr output type typo
svn: r14432
2009-04-06 05:49:57 +00:00
Eli Barzilay
c0a8a01222 Changed @itemize{...} to @itemize[...] (done after comparing the doc
tree and verifying that there are no changes).
(Also fixed a few bugs that were in the code)

svn: r14427
2009-04-05 17:46:20 +00:00
Eli Barzilay
06636c1813 added in-sequences and in-cycle
svn: r14424
2009-04-05 08:29:17 +00:00
Eli Barzilay
9af9210aa2 added hash-ref! and hash-has-key?
svn: r14423
2009-04-05 04:35:12 +00:00
Stevie Strickland
99aac7d745 Sam and I did some work to allow automatic inferred linking in
(define-values/)invoke-unit/infer.

svn: r14315
2009-03-27 13:47:12 +00:00
Matthew Flatt
34c14d27f5 typo
svn: r14288
2009-03-26 12:00:13 +00:00
John Clements
76358d66e7 added note on permissions failure in find-files
svn: r14282
2009-03-25 22:27:26 +00:00
Sam Tobin-Hochstadt
e0a95e9e22 Add `tanh' with documentation.
svn: r14250
2009-03-24 17:48:11 +00:00
Matthew Flatt
31e1057128 aother refinement to note on require sub-form expansion
svn: r14239
2009-03-23 16:38:21 +00:00
Matthew Flatt
f3a5008176 typo
svn: r14238
2009-03-23 16:32:02 +00:00
Matthew Flatt
59988f5ca5 refine examples for require & provide
svn: r14237
2009-03-23 16:30:29 +00:00
Sam Tobin-Hochstadt
40b4731106 Expand (require A ...) into (begin (require A) ...)
- docs (including discussion of require scoping)
- tests

svn: r14232
2009-03-23 14:13:10 +00:00
Matthew Flatt
5d3d5a890a record per-thread milliseconds
svn: r14224
2009-03-23 01:26:51 +00:00
Matthew Flatt
5514afa4bc notes on the hazards of sandbox break propagation
svn: r14220
2009-03-22 16:42:03 +00:00
Eli Barzilay
18fd48af97 Added `count'.
svn: r14210
2009-03-22 02:53:27 +00:00
Matthew Flatt
7dc8e077ed add 'not-provide-all-defined and 'nonimal-id suport for rename transformers; fix scheme/foreign and foreign docs to use it
svn: r14195
2009-03-20 16:59:28 +00:00
Matthew Flatt
2109cec2f4 free-id=? propagation through module exports; add 'not-free-identifier=? syntax property to disable free-id=? propagation; add prop:rename-transformer and prop:set-transformer; fix scheme/local so that local syntax bindings are visible to later definitions (v4.1.5.3)
svn: r14191
2009-03-19 20:22:18 +00:00
Ryan Culpepper
04e2fb9118 scheme/splicing: updated reference for new splicing forms
svn: r14189
2009-03-19 19:02:28 +00:00
Matthew Flatt
e8cbe7ff81 splicing-let, etc.
svn: r14165
2009-03-17 23:09:38 +00:00
Matthew Flatt
9335e3cf28 doc updates for v4.1.5.2
svn: r14161
2009-03-17 21:06:42 +00:00
Carl Eastlund
2068a5dcc3 Corrected a typo in the contracts reference ('exmaple' -> 'example').
svn: r14151
2009-03-17 15:36:36 +00:00
Matthew Flatt
499464527e reference repairs (PRs 9978, 9704, 9820)
svn: r14125
2009-03-16 13:08:23 +00:00
Jon Rafkind
838b3dff2a link to file-position from the 'update flag
svn: r14102
2009-03-14 23:59:09 +00:00
Sam Tobin-Hochstadt
0182868947 Fix docs on exception raised.
svn: r14043
2009-03-10 23:56:07 +00:00
Matthew Flatt
44e7744646 fix package so that syntax-local-value works after define*
svn: r14021
2009-03-09 13:24:34 +00:00
Eli Barzilay
1b5e4ffa87 typo
svn: r14000
2009-03-07 00:46:28 +00:00
Matthew Flatt
4d4d2f54e2 fix references docs: buffer-mode argument to make-output-port is optional
svn: r13995
2009-03-06 22:23:49 +00:00
Robby Findler
976ec00702 fixed docs
svn: r13937
2009-03-04 02:17:26 +00:00
Jon Rafkind
11923c3567 add another example with require inside eval for protect-out
svn: r13908
2009-03-03 02:51:32 +00:00
Jon Rafkind
bc3e541cf6 example for protect-out
svn: r13907
2009-03-03 02:44:59 +00:00
Matthew Flatt
ff0b532864 adjust syntax/loc and some docs
svn: r13899
2009-03-02 22:24:25 +00:00
Stevie Strickland
cf005e3297 Adding unit/s and define-unit/s, which is the inferred version of
unit-new-import-export etc.

svn: r13860
2009-02-26 22:52:08 +00:00
Matthew Flatt
90bc1d816d fix some Scribble rendering issues with tables containing flows abd cell styles; extend Slideshow play to handle more optional arguments; fix some docs
svn: r13843
2009-02-25 21:14:22 +00:00
Matthew Flatt
b6f3bab025 add pin-curve, pin-arrow-curve, pin-arrows-curve
svn: r13818
2009-02-24 17:25:39 +00:00
Jon Rafkind
d3a8cd369a typo in prefix-out example
svn: r13798
2009-02-23 03:19:29 +00:00
Jon Rafkind
6777df63df add examples for require forms
svn: r13787
2009-02-22 03:31:35 +00:00
Robby Findler
5fd53ac98d fixed typo
svn: r13769
2009-02-21 16:38:09 +00:00
Matthew Flatt
24e4fd407b chat-noir literate small repairs
svn: r13765
2009-02-21 13:30:22 +00:00
Jon Rafkind
7663087254 add examples for require forms
svn: r13754
2009-02-20 21:05:08 +00:00
Jon Rafkind
84152a94f6 add examples for define-syntax and friends
svn: r13752
2009-02-20 04:28:10 +00:00
Matthew Flatt
ada4a7aeae allow negative years in a 'date' structure
svn: r13728
2009-02-18 21:29:58 +00:00
Stevie Strickland
7e1ea98876 Pull back Robby's allowance of all struct options just a bit, plus handle
the ones we do allow natively.

svn: r13727
2009-02-18 21:14:50 +00:00
Matthew Flatt
87f92bc33e doc clarification
svn: r13719
2009-02-18 02:59:56 +00:00
Stevie Strickland
7e8816ce0f * Add initial version of define-struct/contract
* Allow uncontracted exports of syntax from a with-contract form.

svn: r13717
2009-02-18 02:25:45 +00:00
Stevie Strickland
5f01ad8412 Copy and paste error.
svn: r13702
2009-02-17 18:27:54 +00:00
Stevie Strickland
792dc70ea6 Add description of what #:freevars/#:freevar does.
svn: r13701
2009-02-17 18:26:24 +00:00
Stevie Strickland
64a68db15d Initial attempt at free var contracts. Needs a little more work, but might
handle Robby's use cases.

svn: r13700
2009-02-17 18:18:53 +00:00
Stevie Strickland
316f48c8e1 Add a guide reference here.
svn: r13694
2009-02-17 14:55:55 +00:00
Stevie Strickland
7920cc48a3 Clean up define/contract's description a bit, and avoid leaning on
with-contract as much.

svn: r13693
2009-02-17 14:30:00 +00:00
Matthew Flatt
0f18d68649 Scribble: change handling of argumentd in defproc, etc., to use lexical bidning instead of parameters and symbols; fix some docs
svn: r13688
2009-02-17 01:15:38 +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
Matthew Flatt
7947367373 rename local smaller
svn: r13673
2009-02-16 17:06:21 +00:00
Stevie Strickland
c6b92782e2 Rename cstruct to struct/ctc, to avoid confusion with cstruct from the ffi.
svn: r13661
2009-02-16 14:50:59 +00:00
Stevie Strickland
340035bef7 Adding cstruct, which is like the struct signature form but with contracts.
svn: r13647
2009-02-16 02:51:12 +00:00
Matthew Flatt
7daedece49 getting-started doc improvements, and small change to raise-syntax-error
svn: r13607
2009-02-15 15:15:06 +00:00
Matthew Flatt
8a2c68cffc improve hash docs to better point to the caveats (PR 10074)
svn: r13594
2009-02-15 02:31:42 +00:00
Stevie Strickland
cbcad0528c There is now a new form, define-unit/contract, that basically mixes
define-unit with the application of a unit contract.  So you can think
of it as a define/contract for units that keeps the static info needed
for link inference.

svn: r13584
2009-02-14 21:32:02 +00:00
Stevie Strickland
ba534102e8 Changed the name in the grammar, but not here.
svn: r13572
2009-02-14 08:11:16 +00:00
Stevie Strickland
ebe06e9572 Allowing _all_ types of tagged-sig-specs in unit/c, though whether that
makes sense or not, we'll see.  Easy enough to set up, and it also sets
up the plan for a new form I'd like to add, which is why I've factored out
the syntax classes into their own file.

svn: r13570
2009-02-14 07:40:50 +00:00
Stevie Strickland
50af2b09f7 Remove the contract clause here.
svn: r13566
2009-02-13 23:24:44 +00:00
Stevie Strickland
7865e23c03 Remove the example from here, now that there's information in the guide.
The example was malformed anyway.

svn: r13565
2009-02-13 23:22:17 +00:00
Stevie Strickland
dc78217029 Rework the docs so that we're explicit about how the variables in contract
expressions are bound.

svn: r13563
2009-02-13 23:18:26 +00:00
Stevie Strickland
12bbf258df I added the ability to mention a signature without the wrapping parens
late in the branch, but forgot to put it in the documentation.

svn: r13525
2009-02-12 00:32:29 +00:00
Stevie Strickland
fbb5de4fa7 Adding the initial cut at unit/c.
svn: r13524
2009-02-11 22:46:48 +00:00
Matthew Flatt
7b11c290f5 qq fixes, so that (quasiquote #(unquote lst)) is a syntax error
svn: r13517
2009-02-11 15:01:04 +00:00
Matthew Flatt
767766521c infix for literal prefab structs, quasiquote unquoting in value positions of hash-table literals, and related changes (v4.1.4.3)
svn: r13504
2009-02-09 15:27:51 +00:00
Matthew Flatt
8ce9e2457d typos
svn: r13433
2009-02-04 21:08:35 +00:00
Matthew Flatt
e5756667d6 use PDF-based picts in the Latex build of the Quick tutorial; in general, change a .pdf image extension to .png for HTML output; add package-original-identifiers and fix package-exporte-identifiers
svn: r13432
2009-02-04 21:03:28 +00:00
Eli Barzilay
bd561ab191 some paren typos
svn: r13416
2009-02-04 16:28:14 +00:00
Jon Rafkind
516ebbbc4c typo
svn: r13379
2009-02-03 17:25:46 +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
Matthew Flatt
5e2dfcbac4 define-runtime-module-path
svn: r13283
2009-01-26 00:32:26 +00:00
Matthew Flatt
ed6e1ffda6 change 'syntax-local-transformer-expand' to capture lifts into a 'let'
svn: r13274
2009-01-24 13:49:33 +00:00
Matthew Flatt
df4b9f41a8 add bitwise-bit-field
svn: r13266
2009-01-23 17:22:57 +00:00
Eli Barzilay
4e6039bedd typo
svn: r13259
2009-01-22 18:53:14 +00:00
Matthew Flatt
db12513b65 fix #:all-defined for 'define-package' by adjusting 'identifier-remove-from-definition-context'; add for-syntax 'package?' and 'package-export-identifiers'; adjust Scribble to find definitions of phase-1 exports
svn: r13253
2009-01-21 20:00:55 +00:00
Matthew Flatt
ea0958e362 doc clarifications on module constants
svn: r13248
2009-01-21 15:44:30 +00:00
Stevie Strickland
46bcdf9924 I thought I'd already made this change to the documentation, but perhaps I
didn't commit it after all.

svn: r13191
2009-01-17 22:44:09 +00:00
Stevie Strickland
3c9cef3d82 Last sync before this goes live.
svn: r13184
2009-01-16 22:23:15 +00:00
Matthew Flatt
5c4193fd31 fix make-derived-parameter
svn: r13180
2009-01-16 20:04:12 +00:00
Stevie Strickland
0fcf609e2b Syncing again
svn: r13178
2009-01-16 19:11:18 +00:00
Stevie Strickland
768117b201 Sync to trunk in preparation of merging (though unit-contracts will go first).
svn: r13171
2009-01-16 16:59:20 +00:00
Stevie Strickland
c04baf6d83 Sync to trunk in preparation of merging.
svn: r13170
2009-01-16 16:59:09 +00:00
Eli Barzilay
a76cdc248f added promise-forced? and promise-running?
svn: r13160
2009-01-16 05:46:07 +00:00
Stevie Strickland
f739d7a8d3 Syncing here also.
svn: r13137
2009-01-15 02:38:49 +00:00
Stevie Strickland
ea3879fd8f Syncing again, whee.
svn: r13136
2009-01-15 02:35:34 +00:00
Stevie Strickland
dbe366c6a0 Add error checking for contracted form, also added documentation in reference
svn: r13135
2009-01-15 00:42:49 +00:00
Matthew Flatt
fd2136071a document 'help' change
svn: r13128
2009-01-14 22:45:46 +00:00
Stevie Strickland
2537508865 Syncing on up
svn: r13084
2009-01-13 01:05:50 +00:00
Matthew Flatt
17ad24945b syntax-local-lift-require
svn: r13075
2009-01-12 21:46:40 +00:00
Matthew Flatt
2530e04720 add some-system-path<->string functions to scheme/path
svn: r13065
2009-01-11 14:47:51 +00:00
Matthew Flatt
4180d67e34 make scheme/path fuctions work on paths for any playform
svn: r13064
2009-01-11 13:52:26 +00:00
Stevie Strickland
22ee00b10f Oh, no! Aliens, bio-duplication, nude conspiracies.. oh my God,
Lyndon LaRouche was right!

svn: r13037
2009-01-08 14:55:23 +00:00
Robby Findler
c9ebe9bba3 changed the way or/c works; PR 10010
svn: r13030
2009-01-07 16:48:17 +00:00
Robby Findler
2afe7621b3 PR 10010
svn: r13029
2009-01-07 16:06:37 +00:00
Matthew Flatt
090c73647f atomic mode for objc methods; doc tweaks
svn: r13022
2009-01-06 19:52:40 +00:00
Matthew Flatt
851c58ea50 add #:contracts optional sub-form to defform
svn: r13012
2009-01-05 14:00:07 +00:00
Matthew Flatt
821a82195e change 'help' to open the main doc page instead of the docs for 'help' itself
svn: r13004
2009-01-04 23:15:50 +00:00
Matthew Flatt
2527029adb doc tweaks
svn: r13000
2009-01-04 14:08:13 +00:00
Matthew Flatt
e54ad05bb0 doc read/write closed ports => exn:fail
svn: r12984
2009-01-03 12:20:48 +00:00
Stevie Strickland
6d966c80af Syncing
svn: r12982
2009-01-03 03:09:06 +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
1c38bd2d3f fix unit signature 'open' by adjusting 'rename', 'only', and 'execpt'
svn: r12964
2009-01-01 21:15:56 +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
5cefde5945 regexp grammar correction so that [^] can't be parsed as a range containing ^
svn: r12956
2008-12-30 23:58:41 +00:00
Matthew Flatt
5b395a3abc new guide section on parameterize and other doc tweaks
svn: r12953
2008-12-30 16:21:11 +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
John Clements
14b0203fb9 changed res-expr to range-expr for consistency
svn: r12943
2008-12-27 07:22:38 +00:00
Stevie Strickland
9e4d8d08b9 Syncing
svn: r12929
2008-12-23 03:20:02 +00:00
Matthew Flatt
fb7fa06fa0 fix reference doc typos
svn: r12922
2008-12-21 14:32:32 +00:00
Stevie Strickland
d81776083f Sync
svn: r12899
2008-12-19 05:43:50 +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
Stevie Strickland
29487b251e I guess this documentation got lost at some point during the various branch
moves, so add it back.

svn: r12888
2008-12-18 17:13:13 +00:00
Matthew Flatt
f830ee6184 reference and ffi corrections and clarifications
svn: r12880
2008-12-18 02:52:45 +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
Matthew Flatt
45e4684e4f memory accounting: blame the parent instead of the child
svn: r12853
2008-12-15 17:09:33 +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
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