Commit Graph

10242 Commits

Author SHA1 Message Date
Robby Findler
15240d45ba removed the code, since it is no longer truly code that students in HtDP would likely produce, also waiting for the literate programming support to do a better job here
svn: r12900
2008-12-19 06:22:21 +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
Eli Barzilay
d1e5dd842e use symbols for printout of primitive types
svn: r12894
2008-12-19 01:44:08 +00:00
Matthew Flatt
7532556b31 objc bug fix
svn: r12893
2008-12-19 00:24:12 +00:00
Matthew Flatt
af45c8ca57 fix O(n^2) behavior in GC accounting
svn: r12892
2008-12-18 21:15:34 +00:00
Eli Barzilay
13e58dc786 * Fix call-with-custodian-shutdown and call-with-killing-threads
* Organize similarities into a utility `nested' function
* Make trusted configuration disable the evaluation handlers

svn: r12891
2008-12-18 20:25:03 +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
Eli Barzilay
11107f4e22 (Second part of the previous commit)
svn: r12886
2008-12-18 13:43:59 +00:00
Eli Barzilay
0c85f221be Added:
sandbox-eval-handlers
  set-eval-handler
  call-with-custodian-shutdown
  call-with-killing-threads
Added optional `unrestricted?' argument to `call-in-sandbox-context'

svn: r12885
2008-12-18 13:35:49 +00:00
Eli Barzilay
7dc5bd7a74 Welcome to a new PLT day.
svn: r12884
2008-12-18 08:50:12 +00:00
Eli Barzilay
c1123547e4 document basetype change
svn: r12883
2008-12-18 06:49:51 +00:00
Eli Barzilay
6283205982 ctype-basetype now holds:
* a symbol naming the type for primitive types
* a list of ctypes for cstruct types
* another ctype for user-defined ctypes

svn: r12882
2008-12-18 06:48:10 +00:00
Eli Barzilay
c71889c705 minor changes to have foreign.c in sync with foreign.ssc
svn: r12881
2008-12-18 04:03:21 +00:00
Matthew Flatt
f830ee6184 reference and ffi corrections and clarifications
svn: r12880
2008-12-18 02:52:45 +00:00
Matthew Flatt
ab18970f67 fix ffi passing offset null pointer
svn: r12879
2008-12-17 20:44:28 +00:00
Robby Findler
3eb2359498 change memory limit defaults
svn: r12878
2008-12-17 15:42:33 +00:00
Matthew Flatt
1d85f9ff3c patch for better #includes in XPM src from Michal Vyskocil
svn: r12876
2008-12-17 13:05:35 +00:00
Eli Barzilay
ed7713751a Welcome to a new PLT day.
svn: r12875
2008-12-17 08:50:11 +00:00
Matthew Flatt
efd7446b09 current-exit-handler => exit-handler
svn: r12874
2008-12-17 00:04:20 +00:00
Robby Findler
aa749bfe1f changed the memory limits in drscheme to match the new way they work
svn: r12873
2008-12-16 20:57:52 +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
Matthew Flatt
3e12b87cd3 strip starter exe (for Unix) on install
svn: r12868
2008-12-16 16:08:02 +00:00
Matthew Flatt
3f9f30fd4a strip mac binaries on install
svn: r12867
2008-12-16 16:03:30 +00:00
Eli Barzilay
bc81ac95f2 Welcome to a new PLT day.
svn: r12866
2008-12-16 08:50:15 +00:00
Matthew Flatt
768577fcaa fix-cairo-bitmap-release
svn: r12865
2008-12-15 23:15:27 +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
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
Jay McCarthy
dcd1efe385 Updating docs
svn: r12859
2008-12-15 20:32:06 +00:00
Matthew Flatt
1855d4fd85 fix a problem in blame-the-parent accounting
svn: r12858
2008-12-15 19:59:16 +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
b0758de6f1 clarification on the (new) way memory is charged
svn: r12856
2008-12-15 18:22:58 +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
0cd1b5fea9 * reorganize termination code a bit better
* use it when the sandbox is being setup, so we catch an out of memory
  error at that time

svn: r12854
2008-12-15 17:13:44 +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
Matthew Flatt
fd95ebfe59 allow GC of custodians that have a memory limit but no children
svn: r12850
2008-12-15 14:41:44 +00:00
Eli Barzilay
7107be309c Welcome to a new PLT day.
svn: r12849
2008-12-15 08:50:17 +00:00
Eli Barzilay
a2ef8a5aae allow 'exists access to addon directory
svn: r12847
2008-12-15 02:24:32 +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
acf3324659 Welcome to a new PLT day.
svn: r12844
2008-12-14 08:50:19 +00:00
Ryan Culpepper
6fdba44edc macro debugger:
underline definite binders
  add rename/shift mapping so module final term retains binding info

svn: r12843
2008-12-14 07:56:37 +00:00
Eli Barzilay
340b193571 minor improvements
svn: r12842
2008-12-14 05:17:32 +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
5ab0de415d formatting
svn: r12840
2008-12-13 22:45:35 +00:00