Commit Graph

9281 Commits

Author SHA1 Message Date
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
Ryan Culpepper
b91874f41c macro stepper: more iop
svn: r13134
2009-01-15 00:10:09 +00:00
Ryan Culpepper
92a938dc6d macro stepper tests: updated
svn: r13133
2009-01-15 00:07:47 +00:00
Matthias Felleisen
01b980f97e doc typos
svn: r13132
2009-01-14 23:31:20 +00:00
Eli Barzilay
3418b1404e plural
svn: r13131
2009-01-14 22:58:06 +00:00
Eli Barzilay
559363bc2b remove #:from from error message, a little clearer code
svn: r13130
2009-01-14 22:57:52 +00:00
Matthew Flatt
9e341c4e0d correct syntax-error message for 'help'
svn: r13129
2009-01-14 22:52:06 +00:00
Matthew Flatt
fd2136071a document 'help' change
svn: r13128
2009-01-14 22:45:46 +00:00
Eli Barzilay
62ed5ba3ad make it require one or more strings, just in case
svn: r13127
2009-01-14 22:39:17 +00:00
Eli Barzilay
ac5dcae9e6 make (help "foo") run a search for "foo"
svn: r13126
2009-01-14 22:35:39 +00:00
Stevie Strickland
a4165d14b4 Change this to match how the error messages now come across.
svn: r13125
2009-01-14 21:39:43 +00:00
Stevie Strickland
c7ee5b600c Change this more to how it should be.
svn: r13124
2009-01-14 21:35:07 +00:00
Stevie Strickland
d3f703b043 Fixing these back up to how they were before.
svn: r13123
2009-01-14 21:31:46 +00:00
Stevie Strickland
8ef9977f57 Change contract error reporting back to how it was (at least how it is on
unit-contracts, which avoids the spacing issue), and just change the blame
notation so that we can still report the region/definition stuff.

svn: r13122
2009-01-14 21:21:59 +00:00
Stevie Strickland
9facb3ffaf Forgot a quote-syntax here, so unprotected ids weren't being transformed
correctly.

svn: r13121
2009-01-14 20:58:38 +00:00
Matthew Flatt
cf2e98eb92 size-cache-invalid for editor<%>
svn: r13120
2009-01-14 20:29:37 +00:00
Robby Findler
074be235b4 fixed a bug
svn: r13119
2009-01-14 19:26:03 +00:00
Stevie Strickland
5ac3135cd6 Syncing up here as well.
svn: r13118
2009-01-14 18:27:06 +00:00
Robby Findler
8f3547e311 added code to remove the graph-pb from the canvas while printing
svn: r13117
2009-01-14 18:21:55 +00:00
Robby Findler
ae1e6ca263 fixed an x/y reversal bug and improved the #:layout function so it isn't called as much
svn: r13116
2009-01-14 18:05:21 +00:00
Stevie Strickland
4ca79e31ff Syncing up to trunk.
svn: r13115
2009-01-14 16:45:50 +00:00
Robby Findler
d1f65ae6c9 fixed a bunch of bugs in layout things in order to make traces/ps work better
svn: r13114
2009-01-14 15:53:29 +00:00
Matthew Flatt
e2751633f0 fix set-max-width, etc. docs
svn: r13113
2009-01-14 15:39:24 +00:00
Casey Klein
286ef262c7 Fixed contract for `check-reduction-relation'
svn: r13112
2009-01-14 14:09:13 +00:00
Eli Barzilay
a1f7e3caa2 Welcome to a new PLT day.
svn: r13110
2009-01-14 08:50:12 +00:00
Ryan Culpepper
502edfb02f macro stepper: fixed interface bugs
svn: r13109
2009-01-14 06:11:59 +00:00
Ryan Culpepper
2aeb50134d macro stepper: converted more classes to use iop
svn: r13108
2009-01-14 06:04:57 +00:00
Stevie Strickland
12fc114993 Let's just make some differently painted identifiers so that some
error messages won't reveal the non-similarly-named ids behind the
curtain.

(I have my hammer, and damn if I won't use it.)

svn: r13107
2009-01-14 03:14:26 +00:00
Eli Barzilay
d1a0086471 newlines at EOFs
svn: r13105
2009-01-14 03:10:47 +00:00
Stevie Strickland
5e325a6552 Syncing on up, hopefully fixing the macro stepper in the process (but perhaps
not).

svn: r13104
2009-01-14 03:04:37 +00:00
Eli Barzilay
0a51fa26e6 set svn:eol-style
svn: r13103
2009-01-14 03:01:36 +00:00
Robby Findler
c600eedb32 svn: r13101 2009-01-14 01:43:30 +00:00
Robby Findler
c5d99507c3 PR 10024
svn: r13100
2009-01-14 01:39:32 +00:00
Stevie Strickland
61ed9d9bf4 Syncing up to trunk, including Matthew's fix.
svn: r13099
2009-01-14 01:17:48 +00:00
Stevie Strickland
b5efb99548 Going to try switching this back, but need to sync from trunk to get Matthew's
changes to see if it works.

svn: r13098
2009-01-14 01:12:52 +00:00
Stevie Strickland
37b2272ecf Move away from using the error-syntax to grab the unit name wherever we want
it -- just use a syntax parameter.

svn: r13096
2009-01-13 23:08:47 +00:00
Stevie Strickland
455999eadd Add first-order contract checking at definition time.
svn: r13095
2009-01-13 20:52:58 +00:00
Casey Klein
5ca04f3497 Randomized testing forms no longer report exceptions as
counterexamples or return #t when unable to find a counterexample.

svn: r13094
2009-01-13 20:50:36 +00:00
Stevie Strickland
4899d91b97 Lacked unprotected ids, and c should have never been false here anyway.
svn: r13093
2009-01-13 20:40:36 +00:00
Ryan Culpepper
3b8c164074 macro stepper: changed syntax browser classes to use iop
-- This line, and those below, will be ignored--

M    macro-debugger/syntax-browser/properties.ss
M    macro-debugger/syntax-browser/display.ss
M    macro-debugger/syntax-browser/widget.ss
M    macro-debugger/syntax-browser/controller.ss
M    macro-debugger/syntax-browser/interfaces.ss
M    macro-debugger/syntax-browser/frame.ss
M    macro-debugger/util/class-iop.ss

svn: r13092
2009-01-13 20:36:16 +00:00
Ryan Culpepper
b8db5490f0 stxclass: turn off debugging printing
svn: r13091
2009-01-13 20:32:13 +00:00
Stevie Strickland
1cede752f9 Not sure whether we want just a simple rename transformer for non-contracted
ids or whether we really want a set! transformer that still disallows set!ing.
Hmm.

svn: r13090
2009-01-13 19:41:52 +00:00
Stevie Strickland
909dd82f7c Using splicing-syntax-parameterize and a syntax-introducer instead of
what I had originally.

svn: r13089
2009-01-13 19:36:54 +00:00
Stevie Strickland
51da9beab4 This is a change I was toying with that shouldn't have gotten caught up in
the trunk sync of 13084.

svn: r13088
2009-01-13 19:01:21 +00:00
Eli Barzilay
0acce3ead7 Welcome to a new PLT day.
svn: r13087
2009-01-13 08:50:18 +00:00
Ryan Culpepper
ccfc18829f stxclass:
added call to internal-definition-seal in lib
  added static-of stxclass
  ported class-iop from macros planet package

svn: r13086
2009-01-13 05:57:01 +00:00
Matthias Felleisen
cba8e0d079 doc request: 10022; fixed
svn: r13085
2009-01-13 02:47:26 +00:00
Stevie Strickland
2537508865 Syncing on up
svn: r13084
2009-01-13 01:05:50 +00:00
Stevie Strickland
dbf2ade9b2 Syncing up with trunk YET AGAIN.
svn: r13083
2009-01-13 01:02:24 +00:00
Ryan Culpepper
3d3bcfe2f7 macro stepper: cleaned up column-width detection/resizing
svn: r13082
2009-01-13 00:43:47 +00:00
Casey Klein
d7d93250f3 Added examples to `redex-check' documentation.
svn: r13081
2009-01-12 22:50:09 +00:00
Matthias Felleisen
2b0daee31c svn: r13080 2009-01-12 22:22:08 +00:00
Matthias Felleisen
bdd29b22cf svn: r13078 2009-01-12 22:14:15 +00:00
Matthias Felleisen
d871eeb91d svn: r13077 2009-01-12 22:13:58 +00:00
Matthias Felleisen
0b4a67fc21 svn: r13076 2009-01-12 22:10:39 +00:00
Matthew Flatt
17ad24945b syntax-local-lift-require
svn: r13075
2009-01-12 21:46:40 +00:00
Casey Klein
0e8cf2e160 Updated docs to reflect that check' is provided as redex-check'.
svn: r13074
2009-01-12 20:53:58 +00:00
Matthias Felleisen
687eecd43c svn: r13073 2009-01-12 20:28:12 +00:00
Jay McCarthy
ba5b8de58a Limit dispatcher
svn: r13072
2009-01-12 17:44:02 +00:00
Matthias Felleisen
c22b570004 svn: r13071 2009-01-12 17:30:44 +00:00
Jay McCarthy
ebc1bf4752 Limiting
svn: r13070
2009-01-12 17:01:46 +00:00
Eli Barzilay
d954df380f Welcome to a new PLT day.
svn: r13068
2009-01-12 08:50:13 +00:00
Matthew Flatt
9a177b251e use 'system-position-ok-before-cancel?' in GUI overview example
svn: r13067
2009-01-11 15:39:54 +00:00
Matthew Flatt
72b272ebd0 fix typo in example (PR 10018)
svn: r13066
2009-01-11 15:23:13 +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
Eli Barzilay
3c22ff982b Welcome to a new PLT day.
svn: r13063
2009-01-11 08:50:15 +00:00
Robby Findler
3ceb88b8a7 fixed a bug intraces/ps
svn: r13062
2009-01-10 23:49:03 +00:00
Robby Findler
538a1e695e svn: r13061 2009-01-10 23:21:46 +00:00
Robby Findler
72b7e59851 fixed eps? argument to pasteboard print method
svn: r13060
2009-01-10 23:16:40 +00:00
Robby Findler
e34badc4cf fixed some typos:
svn: r13059
2009-01-10 23:12:52 +00:00
Robby Findler
3a3ceb121b added traces/ps and some code to make automatic layout of the graph possible (see #:layout in the docs for traces)
svn: r13058
2009-01-10 18:17:45 +00:00
Eli Barzilay
630c8cbc54 Welcome to a new PLT day.
svn: r13057
2009-01-10 08:50:20 +00:00
Matthias Felleisen
a6f08c7399 svn: r13056 2009-01-09 23:45:05 +00:00
Matthias Felleisen
38ef7d3c41 separated out the list of worlds from universeState
svn: r13055
2009-01-09 23:18:05 +00:00
Stevie Strickland
0db2eb851a Allow multiple identifier/contract pairs in the same contracted form.
svn: r13054
2009-01-09 22:22:24 +00:00
Casey Klein
65fad6047d Exported and documented the term generator's public interface.
svn: r13053
2009-01-09 21:53:53 +00:00
Matthew Flatt
1edd3544d7 fix scribble to place different images with the same source name in different destination filenames
svn: r13052
2009-01-09 21:30:43 +00:00
Matthew Flatt
df99b2e1c4 remove obsolete text
svn: r13051
2009-01-09 21:01:09 +00:00
Matthew Flatt
a58010fd0d scheme/class: fix local member names to provide an better message on misuse, and to declare itself as an expression form
svn: r13050
2009-01-09 21:00:50 +00:00
Matthias Felleisen
72d904d2d9 small bug in new world code
svn: r13049
2009-01-09 19:55:48 +00:00
Stevie Strickland
af69c0bbec Tag the contracts so we know what are truly contracts and which are just
placeholder #fs.

svn: r13048
2009-01-09 19:50:28 +00:00
Stevie Strickland
bae2c7b5e1 Basically write begin-with-definitions here by hand, which _does_ work.
So that should pretty much give us unit contracts, modulo whether we can
separate out the projections so that contracts aren't checked twice
inappropriately.

svn: r13047
2009-01-09 19:08:03 +00:00
Casey Klein
3f44589c69 Changed the interface for collecting reduction relation coverage.
svn: r13046
2009-01-09 10:23:14 +00:00
Eli Barzilay
71d4c900df Welcome to a new PLT day.
svn: r13045
2009-01-09 08:50:13 +00:00
Stevie Strickland
8d1b82bcd2 There's no need for the special-casing define-values with one binding, so
simplify this.

svn: r13044
2009-01-09 00:59:04 +00:00
Stevie Strickland
a932bfc84a Small fixes
svn: r13043
2009-01-09 00:33:43 +00:00
Matthias Felleisen
c58702123f message order
svn: r13042
2009-01-08 23:37:55 +00:00
Matthias Felleisen
2821275df7 simplified world terminology
svn: r13041
2009-01-08 23:04:27 +00:00
Stevie Strickland
e402d7ea36 We do _not_ want (void) last, we want it first here.
svn: r13040
2009-01-08 20:52:18 +00:00
Stevie Strickland
bf0d872afd Changed to be more like what Sam and I envisioned.
svn: r13039
2009-01-08 20:50:33 +00:00
Matthew Flatt
78ec585827 fix print method of editor<%> classes
svn: r13038
2009-01-08 17:33:44 +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
Stevie Strickland
d5f0b90981 My fellow Americans. As a young boy, I dreamed of being a baseball,
but tonight I say, we must move forward, not backward, upward, not
forward, and always twirling, twirling, twirling towards freedom.

svn: r13036
2009-01-08 14:53:46 +00:00
Casey Klein
df5e59561f 1. Reorganized so that generating an `any' doesn't require
reprocessing the language definition.
2. Turned optional arguments to check-metafunction, generate-term,
etc. into keywords.
3. Added #:source keyword to `check' form.

svn: r13035
2009-01-08 14:46:46 +00:00
Eli Barzilay
5027415305 Welcome to a new PLT day.
svn: r13034
2009-01-08 08:50:13 +00:00
Ryan Culpepper
cd1c0f41b3 stxclass: worked on opt/mand/etc error messages
svn: r13033
2009-01-08 01:04:13 +00:00
Ryan Culpepper
f6575759ba macro stepper: fixed pretty-printing width
svn: r13032
2009-01-08 01:02:38 +00:00
Matthew Flatt
0663588ee1 change _string/utf-16 and _string/ucs-4 so that #f = NULL (for consistency with other pointer types), and drop the /null variants
svn: r13031
2009-01-07 17:49:14 +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
Robby Findler
05160bf931 PR 10009 and added tracing to metafunctions
svn: r13028
2009-01-07 15:55:21 +00:00
Robby Findler
cda64e40da opened up the trace library a little more to make it more useable for Redex
svn: r13027
2009-01-07 15:44:07 +00:00
Eli Barzilay
fe62b97137 Welcome to a new PLT day.
svn: r13026
2009-01-07 08:50:14 +00:00
Robby Findler
a5b53c63fc added a parameter to disable the various caches in redex
svn: r13024
2009-01-07 00:54:48 +00:00
Matthew Flatt
090c73647f atomic mode for objc methods; doc tweaks
svn: r13022
2009-01-06 19:52:40 +00:00
Jay McCarthy
9281b6f2b5 Clarifying docs and adding test
svn: r13021
2009-01-06 15:55:34 +00:00
Jay McCarthy
f5aa64f90b send/formlet issue
svn: r13020
2009-01-06 15:37:23 +00:00
Jay McCarthy
110098bc3b Adding caching note in faq
svn: r13019
2009-01-06 15:36:57 +00:00
Matthew Flatt
cfbd48a4a4 clarify atomic-function responsibilities
svn: r13018
2009-01-06 14:29:00 +00:00
Matthew Flatt
61685c72f9 revised Mac OS X sleeping; optional atomic mode for FFI callbacks
svn: r13016
2009-01-06 13:07:45 +00:00
Eli Barzilay
f5c77109fa Welcome to a new PLT day.
svn: r13015
2009-01-06 08:50:08 +00:00
Matthew Flatt
7a42e2f355 html-spec -> html-spec.ss
svn: r13014
2009-01-05 15:54:18 +00:00
Casey Klein
104447edf6 Support for collecing per-case test coverage of reduction relations.
svn: r13013
2009-01-05 14:26:04 +00:00
Matthew Flatt
851c58ea50 add #:contracts optional sub-form to defform
svn: r13012
2009-01-05 14:00:07 +00:00
Matthew Flatt
08201a309d teachpack 2htdp docs: fix multiple definitions
svn: r13011
2009-01-05 12:21:09 +00:00
Matthew Flatt
332461c30e fix problem with gif->png suffix change; fix ToC when a subsection has a tag prefix
svn: r13010
2009-01-05 12:06:33 +00:00
Matthew Flatt
7b3c5db0f8 doc .gif->.png for Scribble Latex output
svn: r13009
2009-01-05 10:24:02 +00:00
Matthew Flatt
c2857c1b7c use define-unsafer for ffi/objc; fix more teachpack doc latex-output problems
svn: r13008
2009-01-05 10:20:17 +00:00
Matthew Flatt
dc4aac224d 2htdp docs: no 'blockquote style
svn: r13007
2009-01-05 10:13:18 +00:00
Eli Barzilay
c7870e6ec5 Welcome to a new PLT day.
svn: r13006
2009-01-05 08:50:16 +00:00
Eli Barzilay
d797e18abc https port fix and clarifications
svn: r13005
2009-01-05 01:43:36 +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
Robby Findler
206553c816 added clarification to the docs about caching
svn: r13003
2009-01-04 18:10:32 +00:00
Robby Findler
9b84def3c1 PR 10002
svn: r13002
2009-01-04 18:08:37 +00:00
Eli Barzilay
8a2753efb8 2008 -> 2009
svn: r13001
2009-01-04 15:34:50 +00:00
Matthew Flatt
2527029adb doc tweaks
svn: r13000
2009-01-04 14:08:13 +00:00
Eli Barzilay
e371bd8f4a completed Matthias's aborted commit
svn: r12999
2009-01-04 13:59:00 +00:00
Eli Barzilay
a0a386e71f Welcome to a new PLT day.
svn: r12998
2009-01-04 08:50:13 +00:00
Eli Barzilay
2a61276917 set misc properties
svn: r12996
2009-01-03 23:55:08 +00:00
Casey Klein
7da5ee6029 Fixed check-reduction-relation's handling of cases with `where' and
`side-condition' clauses.

svn: r12995
2009-01-03 20:48:19 +00:00
Ryan Culpepper
b6312ff3ca macro stepper tests:
added regression test for PR 10000
  updated lifting tests for new variable name convention

svn: r12994
2009-01-03 19:58:06 +00:00
Ryan Culpepper
056e8a6bb1 macro-debugger:
fixed PR 10000 (case of eval during expansion in module/pass1)
  fixed display of multiple terms in stepper

svn: r12993
2009-01-03 19:07:32 +00:00
Matthew Flatt
d596401804 scheme/foreign: allow #f as NULL function pointer, allow callback as cpointer
svn: r12992
2009-01-03 18:51:15 +00:00
Matthew Flatt
91801b4601 fix algorithmic problem with syntax certificates (so Oleg's syntax-rules stress test runs in reasonable time)
svn: r12990
2009-01-03 17:51:06 +00:00
Robby Findler
6cc488603f PR 9999: fixed color-list->image and alpha-color-list->image so that they accept zeros for the widths and heights
svn: r12988
2009-01-03 17:36:46 +00:00
Robby Findler
97e00eef97 fixed a bug in the ->d contract checking (wrt tail dropping)
svn: r12987
2009-01-03 16:57:46 +00:00
Robby Findler
3af2ea45d0 changed ->d so that it only checks the contract just above, not many above
svn: r12986
2009-01-03 16:40:54 +00:00
Matthew Flatt
e54ad05bb0 doc read/write closed ports => exn:fail
svn: r12984
2009-01-03 12:20:48 +00:00
Eli Barzilay
e73ac487f9 Welcome to a new PLT day.
svn: r12983
2009-01-03 08:50:13 +00:00
Stevie Strickland
6d966c80af Syncing
svn: r12982
2009-01-03 03:09:06 +00:00
Stevie Strickland
a80ac8d72f Syncing up.
svn: r12981
2009-01-03 02:51:36 +00:00
Matthias Felleisen
f5714c2086 added universe via a 2htdp teachpack
svn: r12980
2009-01-03 02:38:09 +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
Robby Findler
de4158dfa5 changed f3 to behave like the 'edit|find' menu item
svn: r12978
2009-01-02 21:31:28 +00:00
Matthew Flatt
c7acb6d9ef fix pinhole bug created by recent cache-image-snip% changes
svn: r12975
2009-01-02 20:19:36 +00:00
Casey Klein
f402605fed Added check-metafunction and check-reduction-relation. Fixed bug in
generation of `any' pattern.

svn: r12974
2009-01-02 20:18:53 +00:00
Matthew Flatt
b58664d1f8 fix coerce-to-cache-image-snip
svn: r12973
2009-01-02 20:15:58 +00:00
Matthew Flatt
e92b588985 macro-expansion performance tweaks
svn: r12972
2009-01-02 16:50:32 +00:00
Eli Barzilay
cdfac8127a Welcome to a new PLT day.
svn: r12968
2009-01-02 08:50:13 +00:00
Matthew Flatt
9f5976e46b scheme/foreign doc fixes related to _fpointer
svn: r12966
2009-01-01 21:54:06 +00:00
Matthew Flatt
5e9b0c157a fix from Will for set-port-position test by getting a position that will be used later (PR 9993)
svn: r12965
2009-01-01 21:36:37 +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
Matthew Flatt
ca913054d3 fix !test/exn docs
svn: r12963
2009-01-01 21:12:37 +00:00
Eli Barzilay
08219f0404 Welcome to a new PLT day.
svn: r12961
2009-01-01 08:50:22 +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
Eli Barzilay
eaf3e93ebe Welcome to a new PLT day.
svn: r12958
2008-12-31 08:50:17 +00:00
Robby Findler
459a3247e7 clarified term-match vs term-let a little bit
svn: r12957
2008-12-31 02:19:30 +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
8fac3dbc89 fix gui-available? to return #f for phases other than 0
svn: r12955
2008-12-30 21:20:55 +00:00
Sam Tobin-Hochstadt
ed48078523 checkpoint
svn: r12954
2008-12-30 19:47:21 +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
Eli Barzilay
b190e2a8d0 Welcome to a new PLT day.
svn: r12951
2008-12-30 08:50:16 +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
Eli Barzilay
55170180cd Welcome to a new PLT day.
svn: r12949
2008-12-29 08:50:15 +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
Eli Barzilay
df7796873a Welcome to a new PLT day.
svn: r12945
2008-12-28 08:50:17 +00:00
Eli Barzilay
f8b597eb54 Welcome to a new PLT day.
svn: r12944
2008-12-27 08:50:13 +00:00
John Clements
14b0203fb9 changed res-expr to range-expr for consistency
svn: r12943
2008-12-27 07:22:38 +00:00
Robby Findler
ff3c1c970e added feedback to the GUI showing the cat's shortest paths to the edge
svn: r12942
2008-12-26 18:50:10 +00:00
Robby Findler
1b093e7963 improved the check that avoids redrawing (added it to key events and changed it to use equal instead of eq)
svn: r12941
2008-12-26 18:34:40 +00:00
Jay McCarthy
d00db36f66 Contracts on dynamic-requires
svn: r12940
2008-12-26 15:54:23 +00:00
Jay McCarthy
02153a2235 New limiting tip
svn: r12939
2008-12-26 15:22:47 +00:00
Matthew Flatt
2083015b65 fix result checking for fxdiv
svn: r12938
2008-12-26 13:43:16 +00:00
Eli Barzilay
7835802a04 Welcome to a new PLT day.
svn: r12937
2008-12-26 08:50:18 +00:00
Eli Barzilay
384dcf3328 Welcome to a new PLT day.
svn: r12936
2008-12-25 08:50:13 +00:00
Robby Findler
58a5ba6bf2 PR 9986
svn: r12935
2008-12-24 23:25:20 +00:00
Robby Findler
f5dfb7ed31 fixed end of game bug
svn: r12934
2008-12-24 15:58:23 +00:00
Eli Barzilay
6ae922a4bc Welcome to a new PLT day.
svn: r12933
2008-12-24 08:50:17 +00:00
Robby Findler
c2593e3ff9 committed (hopefully) a workaround for a problem Matthias was seeing
svn: r12932
2008-12-23 18:10:01 +00:00
Eli Barzilay
c11196839b minor improvement
svn: r12931
2008-12-23 09:02:44 +00:00
Eli Barzilay
44aa4c25ef Welcome to a new PLT day.
svn: r12930
2008-12-23 08:50:20 +00:00
Stevie Strickland
9e4d8d08b9 Syncing
svn: r12929
2008-12-23 03:20:02 +00:00
Stevie Strickland
4f002a60d5 Sync again
svn: r12928
2008-12-23 03:05:16 +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
Mike Sperber
6669f3da21 Synch German string constants with latest; some fixes.
svn: r12925
2008-12-22 13:50:04 +00:00
Matthew Flatt
1c4ad34b2e add irritants to R6RS exception messages
svn: r12924
2008-12-22 13:36:32 +00:00
Eli Barzilay
c33c7b8fcb Welcome to a new PLT day.
svn: r12923
2008-12-22 08:50:34 +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
John Clements
424ec50bfb ...
svn: r12919
2008-12-21 10:00:47 +00:00
Eli Barzilay
72768ef333 Welcome to a new PLT day.
svn: r12918
2008-12-21 08:50:22 +00:00
Robby Findler
c2685be3a9 added preference that disables overwrite mode
svn: r12917
2008-12-21 07:21:28 +00:00
Robby Findler
76fc27813a added overwrite mode menu item
svn: r12916
2008-12-20 22:56:29 +00:00
Jay McCarthy
5cc3b529a0 Re: Robby
svn: r12915
2008-12-20 17:42:38 +00:00
Eli Barzilay
ab84e51c0f Welcome to a new PLT day.
svn: r12914
2008-12-20 08:50:19 +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
Eli Barzilay
a62b6a3128 fix _-identifier? typo
svn: r12912
2008-12-20 03:06:59 +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
Carl Eastlund
69556b1881 Updated planet utility to accept full grammar for scribblings field in info.ss
svn: r12909
2008-12-19 21:14:36 +00:00
Matthew Flatt
23e8624e41 fix the test-suite sandbox
svn: r12907
2008-12-19 20:58:56 +00:00
Matthew Flatt
064776348a fix ready-toplevel optimization
svn: r12905
2008-12-19 17:16:39 +00:00
Eli Barzilay
4412652784 Welcome to a new PLT day.
svn: r12903
2008-12-19 08:50:17 +00:00
Robby Findler
6b4b9fa1a1 improved the cat algorithm (fixed it really) and prepared things for more feedback about where the cat would like to go
svn: r12902
2008-12-19 06:29:26 +00:00
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
Stevie Strickland
d81776083f Sync
svn: r12899
2008-12-19 05:43:50 +00:00
Stevie Strickland
3def625a77 Sync
svn: r12898
2008-12-19 05:42: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
Matthew Flatt
7532556b31 objc bug fix
svn: r12893
2008-12-19 00:24:12 +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
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
Stevie Strickland
48ea3995b4 Another day, another sync.
svn: r12887
2008-12-18 15:24:18 +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
Matthew Flatt
f830ee6184 reference and ffi corrections and clarifications
svn: r12880
2008-12-18 02:52:45 +00:00
Robby Findler
3eb2359498 change memory limit defaults
svn: r12878
2008-12-17 15:42:33 +00:00
Stevie Strickland
0b1829e250 Sync up
svn: r12877
2008-12-17 14:28:56 +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
Stevie Strickland
821a3ae900 Remove unused argument
svn: r12872
2008-12-16 20:35:19 +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
Stevie Strickland
236370fd9f Syncing up this branch to get ready to clean it up for future possible
merging.

svn: r12870
2008-12-16 20:06:24 +00:00
Stevie Strickland
f7c37571ce Handle this similarly to scheme/private/contract.
svn: r12869
2008-12-16 19:42:06 +00:00
Eli Barzilay
bc81ac95f2 Welcome to a new PLT day.
svn: r12866
2008-12-16 08:50:15 +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
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
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
Stevie Strickland
ac9a437c10 Sync
svn: r12845
2008-12-14 20:04:29 +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
Eli Barzilay
39a69b30fd Don't set memory limits or test for them when there is no memory
accounting.

svn: r12839
2008-12-13 22:44:02 +00:00
Eli Barzilay
813eb20e35 termination message now indicates suicides too (both killing the
thread or shutting the custodian)

svn: r12838
2008-12-13 22:39:49 +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
607567d301 simplification
svn: r12834
2008-12-13 18:01:12 +00:00
Matthew Flatt
cf8b75939b trim some fat from module-variable references
svn: r12833
2008-12-13 17:38:14 +00:00
Eli Barzilay
bd01cda595 typo in the last commit
svn: r12832
2008-12-13 17:18:40 +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
55f1df58e1 Make sure that the module is also instantiated under the evaluation
limits too (the instantiation was happening outside of the limited
thunk)

svn: r12830
2008-12-13 16:41:07 +00:00
Eli Barzilay
f878d96630 no memory-limit either
svn: r12829
2008-12-13 14:13:30 +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
f1dc6c831c Welcome to a new PLT day.
svn: r12826
2008-12-13 08:50:31 +00:00
Ryan Culpepper
12216b15aa macro debugger: reorg, minor bug fixes
svn: r12825
2008-12-13 07:49:52 +00:00
Stevie Strickland
c360e8ce81 Syncing
svn: r12824
2008-12-13 02:13:59 +00:00
Robby Findler
fca3c228a7 reader didnt get set up properly for the teaching languages
svn: r12823
2008-12-12 21:25:04 +00:00
Matthew Flatt
6b4270721c disable sandbox memory limit for docs
svn: r12822
2008-12-12 20:45:02 +00:00
Sam Tobin-Hochstadt
57f1dd0c4d Lots of unit contracts, plus some bug fixing.
svn: r12820
2008-12-12 20:33:21 +00:00
Eli Barzilay
ac5d6d66c1 make call-in-nested-thread avoid potential break problem
svn: r12792
2008-12-12 17:25:03 +00:00
Eli Barzilay
90492a0606 avoid timer-killing problem; cust-box might not be set
svn: r12791
2008-12-12 17:22:24 +00:00
Jay McCarthy
0c093b73f1 Contract
svn: r12790
2008-12-12 16:59:28 +00:00
Eli Barzilay
3fcc58c05e minor improvements
svn: r12789
2008-12-12 13:43:05 +00:00
Eli Barzilay
c76a23ed29 termination message indicates whether the sandbox died because of memory limit
svn: r12788
2008-12-12 13:32:20 +00:00
Eli Barzilay
83f4d6687d regexp-match/fail-without-reading -> regexp-try-match
svn: r12787
2008-12-12 13:08:22 +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
a0d1baea00 When an expression evaluation dies out of memory, the sandbox stays alive
svn: r12785
2008-12-12 11:22:08 +00:00
Eli Barzilay
c979ffa85a small fix, other minor things
svn: r12784
2008-12-12 10:29:28 +00:00
Eli Barzilay
6af93d9775 Welcome to a new PLT day.
svn: r12783
2008-12-12 08:50:20 +00:00
Eli Barzilay
87e5c34935 use !defined for either syntax or simple binding, add !bound for a binding that cannot be a syntax
svn: r12781
2008-12-11 21:05:03 +00:00
Matthew Flatt
3e7e63aecf write embedding sexecutables without setting current output port
svn: r12780
2008-12-11 20:14:53 +00:00
Eli Barzilay
f7c16fc8bb * fix last commit
* when make-module-evaluator gets a path, allow reading that path
  automatically (since that's where the source is)

svn: r12778
2008-12-11 18:34:58 +00:00
Eli Barzilay
baffbeeeb2 close the input after reading
svn: r12775
2008-12-11 18:00:43 +00:00
Eli Barzilay
caf6a8be8c Welcome to a new PLT day.
svn: r12773
2008-12-11 08:50:14 +00:00
Eli Barzilay
a2c818d8b1 minor
svn: r12772
2008-12-11 00:59:26 +00:00
John Clements
6ab90bed80 fix for intermediate lang, added test/exn docs
svn: r12770
2008-12-10 19:41:03 +00:00
Stevie Strickland
bc62c06e1c These lets aren't doing anything, so remove them.
svn: r12769
2008-12-10 19:29:21 +00:00
Stevie Strickland
a30d1aa9a3 Syncing
svn: r12768
2008-12-10 19:02:08 +00:00
John Clements
965cbb00e2 fixed test/exn
svn: r12767
2008-12-10 19:00:29 +00:00
Stevie Strickland
138a3554e2 Don't use the contract pretty printer when we try to see if we can single
line the contract error.

svn: r12766
2008-12-10 18:56:13 +00:00
Stevie Strickland
8bc883d1cb Last changes, everything works up to here.
svn: r12765
2008-12-10 18:51:40 +00:00
Jay McCarthy
02147ef4f3 Fixing regression
svn: r12764
2008-12-10 17:22:43 +00:00
Stevie Strickland
56854a84bd I'd like a better way of handling export contracts (some of the work that
should be doable at compile time is being done at run time), but at least
this works for now and gives us a chance to play around with it.

svn: r12763
2008-12-10 17:19:39 +00:00
Jay McCarthy
247d9fb5fe Doc request
svn: r12762
2008-12-10 16:37:18 +00:00
Eli Barzilay
004759505b Welcome to a new PLT day.
svn: r12761
2008-12-10 08:50:11 +00:00
Stevie Strickland
90ad3f9221 Do the let so that (hopefully) the contract errors will get reported on the
identifier.  With a small change in scheme/contract, it does, but even with
this, it doesn't seem to.  How odd.

svn: r12760
2008-12-09 23:16:48 +00:00
Stevie Strickland
a9be78545d Add contracts to unit imports and values imported via
define-values/invoke-unit.  We still need contracts on unit exports,
and we might want to do the stuff here in a cleaner fashion (particularly
for define-values/invoke-unit).

svn: r12759
2008-12-09 22:14:11 +00:00
Matthew Flatt
56ffc62ee2 when embedding source modules for an executable, includes any needed reader modules
svn: r12758
2008-12-09 22:07:28 +00:00
Matthew Flatt
149d3a24cb handle symbol module path as extra path
svn: r12757
2008-12-09 21:57:50 +00:00
Stevie Strickland
61b66c0d9c Syncing.
svn: r12756
2008-12-09 20:07:43 +00:00
Robby Findler
41d0609ad2 uses system-position-ok-before-cancel? now
svn: r12754
2008-12-09 18:06:03 +00:00
Matthew Flatt
e004ae390b record modules loaded by the planet reader via current-reader-guard
svn: r12752
2008-12-09 11:37:57 +00:00
Eli Barzilay
8b3f58c371 Welcome to a new PLT day.
svn: r12751
2008-12-09 08:50:10 +00:00
Eli Barzilay
169c69a0bc if the path is empty, use /
svn: r12750
2008-12-09 02:39:45 +00:00
Sam Tobin-Hochstadt
da7b6978ee Update typed collection to use struct inheritance.
svn: r12747
2008-12-08 20:48:25 +00:00
Sam Tobin-Hochstadt
08fa300d14 Make inference work in subtype tests.
Add test for top-arr.

svn: r12746
2008-12-08 18:26:58 +00:00
Sam Tobin-Hochstadt
ea0873adb2 Handle top-arr in infer. Add convenience binding for function top.
svn: r12745
2008-12-08 18:24:33 +00:00
Stevie Strickland
52b76b8dfa Removing the work that's now on unit-contracts.
svn: r12744
2008-12-08 17:09:33 +00:00
Stevie Strickland
bf5dddbd13 Adding current unit contract work over here.
svn: r12743
2008-12-08 17:06:53 +00:00
Stevie Strickland
dd5afccd82 Catch up to now.
svn: r12742
2008-12-08 17:02:26 +00:00
Sam Tobin-Hochstadt
8c4789a627 Initialize `infer' for env-lang.
svn: r12740
2008-12-08 16:54:13 +00:00
Matthew Flatt
4d8469b6cf inline fixnum multiplication
svn: r12731
2008-12-08 13:36:24 +00:00
Eli Barzilay
104fa42d97 Welcome to a new PLT day.
svn: r12730
2008-12-08 08:50:13 +00:00
Sam Tobin-Hochstadt
587ca08466 Don't fail early here.
svn: r12729
2008-12-08 03:37:24 +00:00
Eli Barzilay
eaa896f3fa set svn:eol-style
svn: r12728
2008-12-08 03:31:13 +00:00
Sam Tobin-Hochstadt
dd8e878cb4 Fix time-apply, add test
svn: r12727
2008-12-08 03:12:38 +00:00
Sam Tobin-Hochstadt
238b248ad5 Add `current-continuation-marks'
Add some exns
Test require substructs

svn: r12726
2008-12-08 03:10:12 +00:00
Matthew Flatt
ffab3dd835 add Waddell99 citation
svn: r12725
2008-12-08 00:07:42 +00:00
Matthew Flatt
d8c28545ea fix decompiler for recent .zo change
svn: r12722
2008-12-07 19:07:47 +00:00
Eli Barzilay
4bd58d9473 Welcome to a new PLT day.
svn: r12718
2008-12-07 08:50:11 +00:00
Eli Barzilay
bf8816007a Welcome to a new PLT day.
svn: r12715
2008-12-06 08:50:13 +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
Stevie Strickland
beb5f19530 Now to move the contract info appropriately into sigs from signatures.
svn: r12712
2008-12-05 17:55:47 +00:00
Stevie Strickland
1b4d2cb7bf Start on adding contracts to units. Here we're just adding contract(ed) forms,
but they're not (yet) used further in.

svn: r12711
2008-12-05 17:47:37 +00:00
Eli Barzilay
15ee54b301 Welcome to a new PLT day.
svn: r12710
2008-12-05 08:50:12 +00:00
Sam Tobin-Hochstadt
e6eb482de4 Enable require-typed-struct with substructures.
Fixes PR 9053.
Move test to succeed.
Add some new bindings.

svn: r12709
2008-12-05 00:25:02 +00:00
Matthew Flatt
66a0c27703 avoid shared mutation of break state across with-handlers procs
svn: r12706
2008-12-04 23:04:33 +00:00
Matthew Flatt
e1126a66ed some gc-related tests
svn: r12705
2008-12-04 23:04:10 +00:00
Ryan Culpepper
c47cbb564a macro stepper: reorg. lifting error checking
svn: r12703
2008-12-04 21:35:42 +00:00
Stevie Strickland
5eab2260cc S-S-S-S-S-S-Syncing
svn: r12695
2008-12-04 16:15:18 +00:00
Matthias Felleisen
34ba6054da run-simulation does not support recordings
svn: r12694
2008-12-04 14:40:36 +00:00
Ryan Culpepper
ac293ce4c7 macro stepper: small reorg.
svn: r12693
2008-12-03 22:24:13 +00:00
Matthew Flatt
97fafb6ce4 get rid of port-position tests on custom textual ports
svn: r12692
2008-12-03 21:29:06 +00:00
Matthew Flatt
8162eda54f fix buggy new test
svn: r12691
2008-12-03 20:56:50 +00:00
Matthew Flatt
c55d305eab more consistent form for a test
svn: r12690
2008-12-03 20:01:33 +00:00
Matthew Flatt
142fd53e90 R6RS test suite: no BOM -> big-endian output
svn: r12689
2008-12-03 20:00:13 +00:00
Matthew Flatt
1f2ebbb58e R6RS test suite corrections from Kent
svn: r12688
2008-12-03 19:47:29 +00:00
Eli Barzilay
ba00b59ddc Welcome to a new PLT day.
svn: r12686
2008-12-03 08:50:13 +00:00
Ryan Culpepper
7fd78779e4 macro stepper: improved 'provide' handling
svn: r12685
2008-12-03 05:59:18 +00:00
Ryan Culpepper
8cad79c2bf macro stepper: fixed disappearing term bug
svn: r12684
2008-12-03 05:27:54 +00:00
Jay McCarthy
da2fd6489d Propagate dispatcher signal
svn: r12683
2008-12-02 22:29:19 +00:00
Matthew Flatt
f11b46828c some doc clarifications and hyperlinks
svn: r12682
2008-12-02 20:26:32 +00:00
Ryan Culpepper
2648a3b03f macro stepper: simplified prefs/params, fixed menu bugs
svn: r12681
2008-12-02 19:54:36 +00:00
Matthew Flatt
c333fa8fb5 fix problems with custodian boxes, especially for a box whose custodian is shut down via an ancestor custodian
svn: r12680
2008-12-02 19:51:01 +00:00
Eli Barzilay
10c9b39bfe removed unused variable
svn: r12675
2008-12-02 14:39:36 +00:00
Eli Barzilay
bf8b409174 removed some bogus text
svn: r12674
2008-12-02 14:36:42 +00:00
Eli Barzilay
eb54b1a5b2 * Added `call-in-nested-thread*', and used it to improve
`call-with-limits'; specifically, it can now distinguish killing the
  main thread or shutting down the custodian from an out-of-memory
  error.
* This also makes it possible to have threads created and stay alive
  between evaluations.
* Added tests for this.

svn: r12673
2008-12-02 12:23:35 +00:00
Eli Barzilay
33d7e4b0d2 Welcome to a new PLT day.
svn: r12672
2008-12-02 08:50:20 +00:00
Eli Barzilay
4ee2883f8c use the new call-in-sandbox-context
svn: r12671
2008-12-02 05:29:27 +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
fc920b18bb set-eval-limits requires two arguments
svn: r12669
2008-12-02 00:15:58 +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
Eli Barzilay
12467b4ecd better organization for running resource limited code
svn: r12666
2008-12-01 21:28:28 +00:00
Eli Barzilay
0c2410739a cust -> user-cust
svn: r12665
2008-12-01 21:22:53 +00:00
Jay McCarthy
18b3cf5bbc Bug in insta
svn: r12661
2008-12-01 15:57:19 +00:00
Stevie Strickland
e94cadd86d Syncing -- nothing to see here.
svn: r12660
2008-12-01 15:11:00 +00:00
Matthew Flatt
6e9ccd3f43 better checking of case where a local name is used before it is defined (in an int-def context)
svn: r12659
2008-12-01 12:54:16 +00:00
Matthew Flatt
df62fbad79 fix typo (PR 9955)
svn: r12658
2008-12-01 11:27:35 +00:00
Eli Barzilay
30adf7980a switch to scheme/base for the sandbox interface and for use in tests
svn: r12656
2008-12-01 03:37:02 +00:00
Eli Barzilay
7ea8ab6592 switch to #lang, reformat
svn: r12655
2008-12-01 03:21:46 +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
Matthew Flatt
1fa53fc4bf Dave's patch to avoid out.xref warnings (a hack around the handin-server doc problem)
svn: r12649
2008-11-30 14:22:28 +00:00
Matthew Flatt
35599a8955 avoid duplicate subwindow callbacks in a text-field%
svn: r12648
2008-11-30 13:34:12 +00:00
Matthew Flatt
88b0e558c3 better syntax checking for scribble defform #:literals
svn: r12647
2008-11-30 13:25:10 +00:00
Eli Barzilay
d351d796ee Welcome to a new PLT day.
svn: r12644
2008-11-30 08:50:16 +00:00
Robby Findler
96651516e8 made close-current-tab be public
svn: r12643
2008-11-30 04:57:03 +00:00
Robby Findler
119b5bf0fa added the usual menus to the test window; also 'open' on the mac and drag and drop now work properly
svn: r12642
2008-11-30 04:47:23 +00:00
Greg Cooper
1e67e2fda7 workaround for duplicate text-field% events
svn: r12640
2008-11-29 21:47:37 +00:00
Robby Findler
333e0702c9 handles filename extensions better now, using new stuff matthew added
svn: r12639
2008-11-29 21:08:18 +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
Casey Klein
8bd2b94dea 1. Renamed check-metafunction' to check-metafunction-contract'.
2. Generator now eventually focuses probability on randomly chosen preferred
productions.

svn: r12636
2008-11-29 14:41:49 +00:00
Eli Barzilay
2f73042c99 Welcome to a new PLT day.
svn: r12634
2008-11-29 05:31:23 +00:00
Eli Barzilay
4ff0378fbf Welcome to a new PLT day.
svn: r12629
2008-11-28 08:50:04 +00:00
Greg Cooper
6d6d85a8fb - cleaned up public version of deep-value-now
- removed ft-qq (obsolete implementation of quasiquote)
- removed a bunch of commented-out code

svn: r12627
2008-11-28 02:33:40 +00:00
Matthew Flatt
daaab83572 libunwind license
svn: r12626
2008-11-27 19:47:11 +00:00
Matthew Flatt
3ccd8059a5 fix wxme exception handler
svn: r12625
2008-11-27 19:39:37 +00:00
Eli Barzilay
3094c95aee Welcome to a new PLT day.
svn: r12617
2008-11-27 08:50:19 +00:00
Robby Findler
2c78076fe6 svn: r12606 2008-11-27 00:46:56 +00:00
Robby Findler
2207df048d now using the normalized versions of all of these unicode thingies
svn: r12605
2008-11-27 00:46:25 +00:00
Robby Findler
48760756c6 svn: r12604 2008-11-27 00:45:45 +00:00
Stevie Strickland
144235d8c1 Go ahead and get the other new thing from today.
svn: r12603
2008-11-26 23:43:37 +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
Stevie Strickland
581800ad8c Splicing syntax parameterize, here I come!
svn: r12601
2008-11-26 22:42:32 +00:00
Matthew Flatt
2c48c2c817 splicing-syntax-parameterize and docs for scheme/splicing
svn: r12600
2008-11-26 21:31:58 +00:00
Kathy Gray
b983347a2b Order of printing test results switched.
svn: r12598
2008-11-26 17:32:26 +00:00
Eli Barzilay
c58daa9fc5 Welcome to a new PLT day.
svn: r12596
2008-11-26 08:50:13 +00:00
Ryan Culpepper
fc31124115 macro stepper: added index-based extra navigation
svn: r12595
2008-11-26 04:13:45 +00:00
Stevie Strickland
6f83ed1a80 Sync that beautiful trunk footage
svn: r12593
2008-11-25 21:18:04 +00:00
Jay McCarthy
c711f5b7e0 note
svn: r12592
2008-11-25 20:31:29 +00:00
Matthew Flatt
9d6fcd9873 add package docs
svn: r12591
2008-11-25 19:12:35 +00:00
Matthew Flatt
7a66101d30 remove broken define*-struct
svn: r12590
2008-11-25 18:14:57 +00:00
Matthew Flatt
ed536c002e scheme/package (and more int-def repairs)
svn: r12589
2008-11-25 17:58:21 +00:00
Jay McCarthy
ba54379202 Refine example
svn: r12588
2008-11-25 16:03:31 +00:00
Eli Barzilay
4f482b9f81 Welcome to a new PLT day.
svn: r12587
2008-11-25 08:50:17 +00:00
Matthew Flatt
b7addbab82 provide open*-package
svn: r12586
2008-11-25 03:13:06 +00:00
Matthew Flatt
5f3b7e5c6f another int-def binding simplification repair
svn: r12585
2008-11-25 03:08:08 +00:00
Eli Barzilay
06064b856b added the scribble tests
svn: r12584
2008-11-25 01:00:37 +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
f40ae63f45 R6RS test-suite patch from Taro Minowa (PR 9942)
svn: r12580
2008-11-24 21:15:22 +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
Stevie Strickland
702c1b7af2 Syncerating the countryside
Syncerating the peasants
Syncerating all the peoples
in the thatched-roof COTTAGES!
THATCHED-ROOF COTTAGES!

svn: r12578
2008-11-24 17:52:56 +00:00
Eli Barzilay
a9e05befe2 Welcome to a new PLT day.
svn: r12577
2008-11-24 08:50:14 +00:00
Eli Barzilay
a15933979a Welcome to a new PLT day.
svn: r12576
2008-11-23 08:50:10 +00:00
Eli Barzilay
5b9f0aa322 Implemented a `no-empty-edge-matches' function using the new
`make-regexp-tweaker', which produces a regexp that cannot match an
empty string at the beginning or the end of the input.  This:
* simplies a whole bunch of messy and fragile code
* makes `regexp-split' and friends usable with a pattern like #px"\\b"
  (which previously would match in every position, making it explode
  the string to 1-character strings)
* makes it even closer to what perl does, the only way that we produce
  a different result from perl now is that we don't blindly drop empty
  matches at the end like perl (it *does* keep empty matches in the
  beginning though)
The two tests that demonstrated the difference are now changed, and a
bunch of other tests added.

svn: r12575
2008-11-23 05:40:54 +00:00
Robby Findler
70e85a62a9 svn: r12574 2008-11-23 02:39:36 +00:00
Eli Barzilay
ecb39eedee added make-regexp-tweaker (not used yet), and some code reorganization
svn: r12573
2008-11-23 00:17:39 +00:00
Eli Barzilay
62a8873198 Welcome to a new PLT day.
svn: r12572
2008-11-22 08:50:19 +00:00
Jay McCarthy
f485ad3e8a Implementation note
svn: r12571
2008-11-21 18:13:34 +00:00
Jay McCarthy
d2a9872174 Using path-string? rather than path? in many places
svn: r12570
2008-11-21 17:59:08 +00:00
Jay McCarthy
65d3d41096 Using begin/collect
svn: r12569
2008-11-21 16:15:39 +00:00
Jay McCarthy
115f34a1e7 Using ....
svn: r12568
2008-11-21 16:08:24 +00:00
Stevie Strickland
998fe27185 Sync sync sync, programmer,
sync your branch to mine
sync sync sync, programmer,
sync it all the time

svn: r12567
2008-11-21 15:56:47 +00:00
Matthew Flatt
2480a1c4e8 extra int-def tests
svn: r12565
2008-11-21 14:01:32 +00:00
Matthew Flatt
58f9e02513 fix (mostly) expand tests suite
svn: r12564
2008-11-21 13:52:20 +00:00
Kathy Gray
344ef56604 Changing coverage default
svn: r12562
2008-11-21 13:21:26 +00:00
Eli Barzilay
9bdd4603cf Welcome to a new PLT day.
svn: r12559
2008-11-21 08:50:26 +00:00
Eli Barzilay
370ec9b8e9 show the client's ip in the apache-style log
svn: r12558
2008-11-21 08:27:14 +00:00
Ryan Culpepper
cacdcc55ac macro-debugger: fixed button alignment (PR 9932)
svn: r12557
2008-11-21 03:22:24 +00:00
Greg Cooper
cea8e15d2e try to make the debug-button properly centered
svn: r12556
2008-11-21 01:33:23 +00:00
Robby Findler
d539020c42 oops, undoing mistake
svn: r12555
2008-11-21 01:00:36 +00:00
Robby Findler
429e229ff7 fixed a redrawing bug in the search bar
svn: r12554
2008-11-21 00:59:40 +00:00
Jay McCarthy
daff0abe15 Extended example
svn: r12550
2008-11-20 23:57:32 +00:00
Sam Tobin-Hochstadt
e27ae4d457 bindings for the rest of scheme/bool
svn: r12548
2008-11-20 22:30:29 +00:00
Robby Findler
2382712f3f fixed exponential slowdown bug
svn: r12547
2008-11-20 22:03:43 +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
Jay McCarthy
746184ef5a Changing docs to have better explanation
svn: r12544
2008-11-20 20:41:59 +00:00
Stevie Strickland
75c57820da A sync a day keeps... actually, it doesn't keep anyone away, and tends to make
one run into other people's bugs sooner, but OH WELL.

svn: r12543
2008-11-20 19:36:17 +00:00
Jay McCarthy
52a561fd3e Adding docs and additional option for r12535
svn: r12542
2008-11-20 16:10:31 +00:00
Jay McCarthy
333ec0dfc1 Docs for r12529
svn: r12541
2008-11-20 16:04:50 +00:00
Jay McCarthy
0d902ddeaf Docs for r12526
svn: r12540
2008-11-20 15:57:42 +00:00
Matthew Flatt
8ccce66af7 round out inlining and optimization of simple allocating primitives
svn: r12539
2008-11-20 13:50:22 +00:00
Matthew Flatt
1a4b3abba7 decompiler repairs
svn: r12537
2008-11-20 13:47:06 +00:00
Eli Barzilay
ed8cd4b37f re-add the log file option
svn: r12536
2008-11-20 12:15:53 +00:00
Eli Barzilay
631a8be60c * Added #:log-file to `serve/servlet' (always using the
'apache-default format for now)
* Using a convenient `dispatcher-sequence' as a `sequencer:make'
  wrapper

svn: r12535
2008-11-20 12:11:37 +00:00
Eli Barzilay
44ae506526 typo
svn: r12534
2008-11-20 11:59:37 +00:00
Eli Barzilay
aa824d8e05 remove web-base-dir which does not make any sense now
svn: r12533
2008-11-20 11:42:28 +00:00
Eli Barzilay
827b76cb6f return a thunk that can kill the web server
svn: r12532
2008-11-20 09:54:05 +00:00
Eli Barzilay
beea721bc4 Use the new web-server's `serve/servlet' for the status servlet.
svn: r12531
2008-11-20 09:48:03 +00:00