Commit Graph

1120 Commits

Author SHA1 Message Date
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
836e108401 refine compiler/zo-parse docs
svn: r12948
2008-12-28 19:21:15 +00:00
Matthew Flatt
7aec6b8761 document compiler/zo-parse and compiler/decompile
svn: r12947
2008-12-28 18:57:13 +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
2ce9667ae4 edits and backpointers related to Scheme dialects in the guide
svn: r12927
2008-12-22 21:26:39 +00:00
Matthew Flatt
8c8728337e new guide chapter on Scheme dialects, and small clean-up for some other docs
svn: r12926
2008-12-22 21:17:07 +00:00
Matthew Flatt
fb7fa06fa0 fix reference doc typos
svn: r12922
2008-12-21 14:32:32 +00:00
Matthew Flatt
4aa7d2da44 minor clarification to section-index docs
svn: r12921
2008-12-21 13:59:47 +00:00
Matthew Flatt
ec600c59bb fine-tune typechecking index entry
svn: r12920
2008-12-21 13:57:46 +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
7dc56df949 add FFI types _string/utf-16/null and _string/ucs-4/null
svn: r12911
2008-12-19 23:59:33 +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
Matthew Flatt
e3f008c691 doc ffi/objc
svn: r12895
2008-12-19 02:06:50 +00:00
Matthew Flatt
2c95f77c31 ctype->layout in scheme/foreign; prototype Objective-C binding in ffi collection
svn: r12890
2008-12-18 20:05:21 +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
Eli Barzilay
c1123547e4 document basetype change
svn: r12883
2008-12-18 06:49:51 +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
224462a3f5 doc put-file behavior for 10.4 vs 10.5
svn: r12653
2008-11-30 18:36:27 +00:00
Matthew Flatt
67f29daee5 reference doc corrections
svn: r12650
2008-11-30 14:32:58 +00:00
Robby Findler
96651516e8 made close-current-tab be public
svn: r12643
2008-11-30 04:57:03 +00:00
Matthew Flatt
7f4ddbe5fa better file-extension support for Mac OS X put-file dialog
svn: r12638
2008-11-29 18:52:25 +00:00
Matthew Flatt
daaab83572 libunwind license
svn: r12626
2008-11-27 19:47:11 +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
Robby Findler
70e85a62a9 svn: r12574 2008-11-23 02:39:36 +00:00
Carl Eastlund
f0b72082eb Fixed typos in Plugin docs:
Many contracts had redundant @scheme[...] around them,
which rendered as (scheme ...) in the final product.

svn: r12546
2008-11-20 21:15:21 +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
b07b874e2e scheme/load in guide
svn: r12466
2008-11-17 01:25:46 +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
dcab9448e8 typo (PR 9908)
svn: r12438
2008-11-14 02:34:10 +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
Robby Findler
256182ecbd adjusted the automatic compilation to make it more disableable
svn: r12397
2008-11-11 23:56:54 +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
Robby Findler
1490cd1c4d added support for automatic compilation of source files to drscheme
svn: r12356
2008-11-08 18:34:39 +00:00
Matthew Flatt
c1a10edaff fix compile-zos for modules
svn: r12347
2008-11-07 23:21:02 +00:00
Robby Findler
a4b6310507 a fix to the way tabs switch around, plus a few additions (that are disabled for now) in preparation for making drscheme automatically compile files that it runs
svn: r12344
2008-11-07 18:13:33 +00:00
Matthew Flatt
65eb7e7a18 call-with-immediate-continuation-mark
svn: r12339
2008-11-07 02:54:12 +00:00
Matthew Flatt
f076494c48 change mzc verbosity
svn: r12333
2008-11-06 18:54:12 +00:00
Matthew Flatt
4215289320 doc fixes
svn: r12328
2008-11-06 16:22:12 +00:00
Matthew Flatt
01354149ee add missing info on set-delta-background (related to PR 9886)
svn: r12239
2008-11-05 00:40:19 +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
Robby Findler
90c0d48642 improved the docs a little bit for writing your own keybindings
svn: r12232
2008-11-04 15:31:20 +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
Robby Findler
f6bb5ea5e7 changed around the keymap setup again; now should be in same order as it was before my earlier changed, except the user-specified keybindings should be first
svn: r12214
2008-11-02 04:30:03 +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
51f5d193dd adjust editor-cavas% refresh to clear border before calling on-paint
svn: r12198
2008-10-31 15:08:21 +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
Robby Findler
a398630230 fixed up confused get-metadata arity
svn: r12190
2008-10-31 02:48:27 +00:00
Robby Findler
47297fac9f added normalization during pasting to eliminate various ligatures, etc
svn: r12183
2008-10-30 21:38:40 +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
70146a8d3f fix htdp doc errors (PR 9846)
svn: r12102
2008-10-23 14:18:58 +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
Robby Findler
7005c324d4 typos
svn: r12091
2008-10-22 12:23:44 +00:00
Robby Findler
505cc65181 added note about experimenting with contracts
svn: r12088
2008-10-21 21:24:49 +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
Robby Findler
a559c81d63 svn: r12066 2008-10-19 12:40:31 +00:00
Matthew Flatt
46af55311d regexp contract refinemenets (follow-up on PR 9840)
svn: r12065
2008-10-19 11:20:13 +00:00
Robby Findler
860bbfe0a0 svn: r12063 2008-10-19 03:03:45 +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
Eli Barzilay
61aa266525 typo (PR9836)
svn: r12045
2008-10-15 19:34:22 +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
81dfc14cc6 remove search box for Scribble HTML output unless requested; move some hardwired styles to CSS file
svn: r12029
2008-10-14 01:53:34 +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
Carl Eastlund
cbe1b2dce4 Fixed scribble typesetting error in GUI docs.
svn: r12020
2008-10-13 16:43:24 +00:00
Matthew Flatt
ec68bafa9c add eqv hash tables; add hash-update
svn: r12018
2008-10-13 16:21:18 +00:00
Matthew Flatt
198b05897b adjust HTML rendering of paragraphs as table cells; avoiding 'p' tags makes cut-and-paste work better
svn: r11998
2008-10-12 16:14:39 +00:00
Matthew Flatt
4fe97848b2 fix HTML problems that affect Opera; add ++style to scribble executable; fix some Latex back-end issues
svn: r11997
2008-10-12 15:53:49 +00:00
Eli Barzilay
4f57cbbf37 fix flushing issue
svn: r11986
2008-10-10 09:58: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
Matthew Flatt
06efa91709 scheme_malloc_code and scheme_free_code
svn: r11958
2008-10-07 11:58:51 +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
Eli Barzilay
8d06e0c707 rename holder -> keep
svn: r11932
2008-10-04 19:10:38 +00:00
Eli Barzilay
2886a95318 * Exported `cvector-ptr'
* Added `#:hold' to `_fun' for callbacks (will be changed to `#:keep'
  soon, but better to have a checkpoint)
* _cprocedure also has a `hold' argument, and is now using keyword
  arguments (it was getting crowded in the optional arguments
  department)
* Documented everything that changed, with a longish descrption for
  options for holding callback values.
* More tests, including tests for callbacks that would crash if the
  callback values are not held.

svn: r11931
2008-10-04 19:01:17 +00:00
Matthew Flatt
37d6c77066 fix docs for bibliography
svn: r11922
2008-10-01 16:04:05 +00:00
Matthew Flatt
6c2f070bb8 fix docs for bib-entry
svn: r11921
2008-10-01 15:59:46 +00:00
Matthew Flatt
7c88dd9c2a fix PS citation typesetting
svn: r11920
2008-10-01 15:56:17 +00:00
Matthew Flatt
01c2214d80 doc clarifications on dc-path
svn: r11919
2008-10-01 15:54:36 +00:00
Matthew Flatt
d6ba5a2820 minor typos in FFI doc
svn: r11914
2008-09-30 14:37:46 +00:00
Eli Barzilay
f5a019f23d better message if no results and we have a context
svn: r11830
2008-09-22 04:30:31 +00:00
John Clements
ed306e1e18 documented kill-enclosing-parens
svn: r11828
2008-09-22 01:15:12 +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
186bf67630 msvs9-friendly patches; preliminary splicing let-syntax library; export and doc GC_resolve and GC_fixup_self
svn: r11758
2008-09-15 19:08:50 +00:00
Eli Barzilay
e281030aba fix lcons example (PR9751)
svn: r11752
2008-09-15 04:59:59 +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
Eli Barzilay
ef92bf90f4 svn: r11674 2008-09-12 13:23:52 +00:00
Eli Barzilay
a3930ea088 improved reader documentation
svn: r11673
2008-09-12 13:22:31 +00:00
Robby Findler
cce9d7d6e5 improved keybindings for search
svn: r11668
2008-09-12 02:57:21 +00:00
Matthew Flatt
3ce9fd1953 note in docs that scheme_weak_reference isn't available in 3m
svn: r11587
2008-09-09 11:28:09 +00:00
Robby Findler
805d4eb73f refined searching
svn: r11581
2008-09-09 03:43:57 +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
Eli Barzilay
493cd78170 documented abi arguments
svn: r11547
2008-09-04 23:24:38 +00:00