Stevie Strickland
40b35a2b73
Now that we have a way of marking procedures as methods at runtime,
...
fix up all projection applications and uncomment out the tests for
appropriate method arity errors.
svn: r18504
2010-03-10 04:07:00 +00:00
Matthew Flatt
a94e6f2ea9
fix (_bytes o n) as an FFI result type
...
svn: r18502
2010-03-10 02:18:05 +00:00
Stevie Strickland
86a26d7947
Sync up to trunk.
...
svn: r18500
2010-03-10 01:11:31 +00:00
Sam Tobin-Hochstadt
24b9078560
update docs to use `define-type'
...
document `define-predicate'
svn: r18498
2010-03-10 00:17:33 +00:00
Sam Tobin-Hochstadt
c24daa5dbb
Add `define-predicate'
...
svn: r18497
2010-03-10 00:10:03 +00:00
Stevie Strickland
0982626a67
Add test cases, which let us see where we're failing at the moment.
...
svn: r18496
2010-03-09 23:56:20 +00:00
Stevie Strickland
cd3499dea5
Initial cut at documentation.
...
svn: r18495
2010-03-09 23:22:35 +00:00
Eli Barzilay
89aa9b6ed5
Welcome to a new PLT day.
...
svn: r18491
2010-03-09 08:50:28 +00:00
Matthias Felleisen
46d66b4542
bug report 10816
...
svn: r18490
2010-03-09 02:06:32 +00:00
Matthew Flatt
911d80a144
scribble: use 'attributes' properties when rendering table cells
...
svn: r18488
2010-03-08 21:31:31 +00:00
Matthew Flatt
5f8e4b46fe
redex: combine picts with htl-append instead of hbl-append for metafunction rendering
...
svn: r18487
2010-03-08 21:31:02 +00:00
Robby Findler
99638b8853
got rid of loa, since I can no longer remember what it was and it does not run
...
svn: r18486
2010-03-08 12:13:41 +00:00
Eli Barzilay
afa3790620
Welcome to a new PLT day.
...
svn: r18485
2010-03-08 08:50:28 +00:00
Eli Barzilay
0d4c9cd350
Welcome to a new PLT day.
...
svn: r18484
2010-03-07 08:50:35 +00:00
Robby Findler
9c88dc49b2
minor cleanup to make parsing the docs easier
...
svn: r18483
2010-03-06 14:08:25 +00:00
Robby Findler
3bcea5bbe0
made another method final
...
svn: r18482
2010-03-06 12:54:30 +00:00
Mike Sperber
ee16c70c41
Synch German string constants with latest.
...
svn: r18481
2010-03-06 11:09:25 +00:00
Eli Barzilay
ece4ecd49c
Welcome to a new PLT day.
...
svn: r18480
2010-03-06 08:50:35 +00:00
Matthew Flatt
4673b36dcf
adjust inlining heuristics again
...
svn: r18479
2010-03-06 03:44:07 +00:00
Robby Findler
7c3025ecde
fixed some more bugs found by random testing
...
svn: r18478
2010-03-06 01:35:19 +00:00
Sam Tobin-Hochstadt
87f978e59e
Fix PR 10813
...
svn: r18477
2010-03-05 21:52:54 +00:00
Robby Findler
c2d9b0dc3e
set the locked state flags during the initialization of a text% object (this bug found by random test case generation)
...
svn: r18475
2010-03-05 19:43:50 +00:00
Eli Barzilay
e03a56995d
Welcome to a new PLT day.
...
svn: r18473
2010-03-05 08:50:27 +00:00
Ryan Culpepper
68c4c11514
macro-debugger:
...
fixed bug re eval'd top-level forms that cause errors
fixed bug re lazy phase 1 init and #%top-interaction unwrapping
svn: r18472
2010-03-05 01:40:42 +00:00
Matthew Flatt
62a53f3de7
add 'where/hidden' and 'side-condition/hidden' to redex; adjust typesetting to keep metafunction side conditions in original order
...
svn: r18471
2010-03-04 23:20:52 +00:00
Sam Tobin-Hochstadt
e703d52b94
fix PR10810
...
svn: r18470
2010-03-04 21:42:55 +00:00
Stevie Strickland
bf60da75e1
Refactor out new has-contract?/value-contract functionality so that it's
...
the responsibility of the (higher-order) contract to add the contract
(plus possibly more in the future) to the wrapped value.
svn: r18469
2010-03-04 21:10:44 +00:00
Robby Findler
0d8fbe6d06
made the docs match the implementation
...
svn: r18468
2010-03-04 19:31:03 +00:00
Robby Findler
2cfd1f423c
removed unimplemented stuff
...
svn: r18467
2010-03-04 17:19:34 +00:00
Robby Findler
6d4a546ca8
tightened up the contract in the docs for key-event%s methods so they limit the symbols to just the legal ones
...
svn: r18466
2010-03-04 17:14:59 +00:00
Casey Klein
ff0eb1757a
Fixed bugs found with random testing.
...
svn: r18465
2010-03-04 16:37:12 +00:00
Sam Tobin-Hochstadt
80fcee2577
Fix PR 10806.
...
svn: r18464
2010-03-04 13:45:25 +00:00
Matthew Flatt
82af25486e
one more doc fix for PR 10803
...
svn: r18463
2010-03-04 13:16:46 +00:00
Eli Barzilay
28948c723a
typos (most of PR10803)
...
svn: r18462
2010-03-04 09:08:14 +00:00
Eli Barzilay
d9791aeb26
Welcome to a new PLT day.
...
svn: r18461
2010-03-04 08:50:35 +00:00
Robby Findler
07f280419a
added has-contract? and get-contract
...
svn: r18460
2010-03-04 03:58:33 +00:00
Casey Klein
cd2fc95d4e
Fixes typos in r18451
...
svn: r18459
2010-03-04 00:14:40 +00:00
Stevie Strickland
5fe0a790c1
Change how contracts for multiple values are handled to be a little cleaner
...
syntactically.
svn: r18458
2010-03-04 00:04:07 +00:00
Stevie Strickland
f2788561d3
Add the ability to contract more than one value returned from a with-contract
...
block in expression position.
svn: r18456
2010-03-03 21:54:18 +00:00
Kevin Tew
636526d6f1
Places docs edits
...
svn: r18455
2010-03-03 21:42:24 +00:00
Robby Findler
6fc4add369
corrected a bug in the docs
...
svn: r18453
2010-03-03 21:15:13 +00:00
Stevie Strickland
3404c0e27a
Factor out _all_ the first-order checks into a single procedure, and rework
...
that procedure so that you feed it #f instead of a (no longer possible) dummy
blame value for the first-order case.
svn: r18452
2010-03-03 20:49:37 +00:00
Robby Findler
7c1b076ee1
svn: r18451
2010-03-03 19:13:43 +00:00
Jay McCarthy
eec0ff66c6
Adding a custom printer similar to hasheq's for sets
...
svn: r18450
2010-03-03 18:01:04 +00:00
Robby Findler
16b60586a5
used exact-integer? instead of (and/c exact? integer?)
...
svn: r18449
2010-03-03 17:41:44 +00:00
Stevie Strickland
77f2555b9c
Remove now-redundant object? check in is-a?
...
svn: r18448
2010-03-03 17:04:41 +00:00
Jay McCarthy
62e077e90d
Applying Dave Gurnell's serialization patch
...
svn: r18447
2010-03-03 16:55:42 +00:00
Robby Findler
a02520d692
tightened up inserts contract
...
svn: r18446
2010-03-03 16:42:45 +00:00
Robby Findler
71911772c6
fixed a bug found by the random tester
...
svn: r18445
2010-03-03 16:34:13 +00:00
Mike Sperber
f644aab23e
Fix translation typo.
...
svn: r18444
2010-03-03 14:45:32 +00:00
Stevie Strickland
3fb2e1d9ae
Check that we have an object before trying to unwrap it in class-field-*.
...
svn: r18443
2010-03-03 14:39:44 +00:00
Eli Barzilay
ce23d92a95
Welcome to a new PLT day.
...
svn: r18441
2010-03-03 08:50:15 +00:00
Ryan Culpepper
cec810a9df
syntax/parse:
...
added parameterized conventions
fixed description for "str" stxclass
fixed bug in multiple #:declare directives
svn: r18439
2010-03-03 05:50:15 +00:00
Jay McCarthy
a6214b7731
- Removing planet package installation
...
- Fixing responsible for DrDr imagined code
- Code reorganization
- Handling environment variables in hash-table and with env
- Removing futures-build
- Cleaning up committer email content
svn: r18434
2010-03-02 20:46:18 +00:00
Sam Tobin-Hochstadt
b020c8dc21
fix some unfortunate bugs
...
svn: r18433
2010-03-02 20:37:36 +00:00
Casey Klein
d82fdbc317
Improved handling of syntax errors in `reduction-relation'
...
svn: r18431
2010-03-02 19:00:55 +00:00
Matthew Flatt
fced29e946
fix regexp bug in unicode-category patterns
...
svn: r18427
2010-03-02 15:09:47 +00:00
Eli Barzilay
620faa9b88
Welcome to a new PLT day.
...
svn: r18425
2010-03-02 08:50:28 +00:00
Stevie Strickland
f37f81cdb2
Maintain source locations appropriately.
...
svn: r18422
2010-03-01 23:47:31 +00:00
Sam Tobin-Hochstadt
65b12a2af3
Use `current-contract-region' appropriately.
...
Maintain source locations.
Fix PR 10776.
svn: r18421
2010-03-01 23:43:15 +00:00
Sam Tobin-Hochstadt
3ea26dee84
Re-enable printing
...
svn: r18420
2010-03-01 22:56:03 +00:00
Sam Tobin-Hochstadt
33db456f9e
fix PR 10735
...
svn: r18419
2010-03-01 22:51:42 +00:00
Sam Tobin-Hochstadt
12257912e3
Fix bug 10763.
...
svn: r18418
2010-03-01 22:48:11 +00:00
Sam Tobin-Hochstadt
079c430e89
fix doc typo
...
svn: r18417
2010-03-01 22:32:48 +00:00
Sam Tobin-Hochstadt
78c14e434b
Add `with-type' for defintions, add #:result keyword.
...
Fix contract for top-arr.
Remove static version of printing conditional.
Fix brokenness in print-converting.
svn: r18416
2010-03-01 22:31:24 +00:00
Sam Tobin-Hochstadt
83cdaac011
Allow `path-up' to take multiple paths.
...
svn: r18415
2010-03-01 21:27:03 +00:00
Sam Tobin-Hochstadt
1c1a2dde38
Fix pconvert of hashtables.
...
svn: r18414
2010-03-01 20:27:55 +00:00
Carl Eastlund
5165706529
Added an example for current-blame-format.
...
svn: r18413
2010-03-01 19:58:17 +00:00
Robby Findler
ce57869e4c
PR 10791
...
svn: r18412
2010-03-01 19:28:45 +00:00
Robby Findler
d7f8c62371
fixed immutable boxes and vectors
...
svn: r18407
2010-03-01 14:47:38 +00:00
Robby Findler
eeb5a8df0a
svn: r18404
2010-03-01 12:25:55 +00:00
Eli Barzilay
d90c0e548b
Welcome to a new PLT day.
...
svn: r18403
2010-03-01 08:50:30 +00:00
Matthew Flatt
2d34378d46
add margin ref->guide cross-reference for futures
...
svn: r18402
2010-03-01 02:33:57 +00:00
Matthew Flatt
2ddfa89a7a
add missing doc files
...
svn: r18401
2010-03-01 01:45:49 +00:00
Matthew Flatt
baf34c0194
fix dist-specs, since separate futures manual is gone
...
svn: r18398
2010-02-28 22:17:01 +00:00
Matthew Flatt
e71bd71035
enable futures by default on Mac OS X and Linux x86/x86_64; future docs to ref and guide
...
svn: r18396
2010-02-28 22:06:59 +00:00
Matthew Flatt
2e0e4b8b95
enable parallel futures under Windows (enabled by default)
...
svn: r18395
2010-02-28 17:12:02 +00:00
Eli Barzilay
bf409d7c5d
Welcome to a new PLT day.
...
svn: r18394
2010-02-28 08:50:27 +00:00
Stevie Strickland
2fe1623e3a
Add an initial attempt at illustrating class contracts to the section of
...
the Guide on classes.
svn: r18393
2010-02-27 22:20:06 +00:00
Stevie Strickland
dd96465208
Okay, finalized initial version of this, which I'll probably go ahead and
...
merge to trunk.
svn: r18392
2010-02-27 21:32:11 +00:00
Stevie Strickland
75dd3eeb2b
Syncing up to get that bugfix on trunk.
...
svn: r18391
2010-02-27 21:02:36 +00:00
Stevie Strickland
16dbb0edc1
Fix bug in field mutation on contracted objects.
...
svn: r18390
2010-02-27 20:59:40 +00:00
Stevie Strickland
5dd72c23c8
Checkin of current prose so I can switch to trunk and fix a bug.
...
svn: r18389
2010-02-27 20:57:14 +00:00
Eli Barzilay
cd076ae512
Fix bad assumption that paths can be turned to require specs (which breaks on
...
Windows).
svn: r18388
2010-02-27 20:20:25 +00:00
Sam Tobin-Hochstadt
68c46cca9a
fix with-types requires on windows
...
svn: r18387
2010-02-27 19:21:42 +00:00
Stevie Strickland
3f0f5373dd
Sync up to trunk.
...
svn: r18386
2010-02-27 19:16:28 +00:00
Stevie Strickland
54b81b3bdb
Fix bug introduced by last commit.
...
svn: r18385
2010-02-27 18:04:47 +00:00
Stevie Strickland
9f17622e1a
Cleanups here, moving some of the other parts to syntax-parse.
...
svn: r18383
2010-02-27 17:41:43 +00:00
Sam Tobin-Hochstadt
6c4b1234bf
remove obsolete doc files
...
eliminate repeated expansion
svn: r18382
2010-02-27 16:24:22 +00:00
Sam Tobin-Hochstadt
31f0b5e305
Fix tests to use `test-suite' to delay execution.
...
Move hiding of errors down in stack.
svn: r18381
2010-02-27 15:07:45 +00:00
Robby Findler
92f9725593
added support for showing the phases to the module browser you get from the Scheme menu
...
svn: r18380
2010-02-27 12:59:19 +00:00
Robby Findler
183823033a
added an underlined M to the Module Browser menu item in the Scheme menu
...
svn: r18379
2010-02-27 12:46:40 +00:00
Robby Findler
78dc617a14
PR 10786
...
svn: r18378
2010-02-27 12:40:38 +00:00
Eli Barzilay
508b2ca269
Welcome to a new PLT day.
...
svn: r18377
2010-02-27 08:50:29 +00:00
Matthew Flatt
2caaf05ca6
doc addition and prose tweaks
...
svn: r18376
2010-02-27 03:40:15 +00:00
Stevie Strickland
8e3a67936e
Add `unregister-type'
...
Add type regions.
Untyped lexical vars not an internal error.
svn: r18374
2010-02-27 01:26:16 +00:00
Stevie Strickland
0900b6c2e3
Fix use of defform*/subs.
...
svn: r18373
2010-02-27 01:18:17 +00:00
Stevie Strickland
7dacfaea85
Add with-contract for expression positions.
...
svn: r18372
2010-02-27 01:05:03 +00:00
Stevie Strickland
e54f1c3a5e
scheme/contract => scheme/contract/base
...
svn: r18371
2010-02-27 01:03:55 +00:00
Stevie Strickland
9dafea226e
Keeping unfinished guide stuff here, will merge to trunk once done.
...
svn: r18370
2010-02-26 23:37:05 +00:00
Jay McCarthy
1f4ab946e1
Removing reliance on SXML and adding little xpath evaluator for xexprs
...
svn: r18366
2010-02-26 21:16:56 +00:00
Eli Barzilay
d35b0b30cd
added batch file trampoline (found by Ben Goetter)
...
svn: r18365
2010-02-26 21:05:32 +00:00
Sam Tobin-Hochstadt
144a25ffd4
whoops
...
svn: r18364
2010-02-26 21:04:00 +00:00
Sam Tobin-Hochstadt
d61e50410b
fix srfi 19 nanoseconds
...
svn: r18363
2010-02-26 20:50:35 +00:00
Sam Tobin-Hochstadt
5d3e46bb2f
fix no-check
...
svn: r18362
2010-02-26 20:50:14 +00:00
Sam Tobin-Hochstadt
21d0dfcf09
use new schemeunit
...
svn: r18361
2010-02-26 20:44:30 +00:00
Jay McCarthy
dd31aa9512
Switching many uses of old Schemeunit to new
...
svn: r18360
2010-02-26 20:39:56 +00:00
Jay McCarthy
b12c65cca9
Only warn when a planet package is already installed. (It is not an error.)
...
svn: r18359
2010-02-26 20:21:56 +00:00
Stevie Strickland
4b67d441e7
Forgot to document set-field!, which came in with cc-phase2.
...
svn: r18358
2010-02-26 20:04:26 +00:00
Sam Tobin-Hochstadt
d06b3ed1df
add inst to no-check
...
svn: r18357
2010-02-26 19:59:40 +00:00
Matthew Flatt
a2bf0d3d25
fix text% insert bug
...
svn: r18356
2010-02-26 19:50:05 +00:00
Matthew Flatt
02583a1a08
ad hoc car/cdr optimizations
...
svn: r18354
2010-02-26 19:14:56 +00:00
Jay McCarthy
488af4f644
- Adding some spacing between buttons
...
- Unifying responsible computations
- Separate emails by responsible
- Don't send committer email unless new
- Show committer new conditions
- Show new conditions on dir pages
- Adding notification logging to time.ss
- Making the front page look cleaner
- Hiding changed files in commit messages by default
- Time.ss now makes sure it runs on every file before quiting
- Improving duration formatting in graphs (from SamTH)
svn: r18352
2010-02-26 18:25:31 +00:00
Sam Tobin-Hochstadt
013b12b19d
fix obvious bug pointed out by noel
...
svn: r18351
2010-02-26 15:15:43 +00:00
Sam Tobin-Hochstadt
2bda690d2d
remove error printf for drdr
...
svn: r18349
2010-02-26 14:37:51 +00:00
Eli Barzilay
32f6302abd
Welcome to a new PLT day.
...
svn: r18347
2010-02-26 08:50:36 +00:00
Robby Findler
700a530f4e
PR 10783 addendum
...
svn: r18346
2010-02-26 03:38:00 +00:00
Sam Tobin-Hochstadt
2e90dfc081
Re-enable typechecking of auto-language.ss
...
Add `syntax-e' as a path.
Turn on contracts for objects.
Refactor Noel's additions.
Fix `require/typed' at the REPL.
svn: r18345
2010-02-26 00:25:23 +00:00
Sam Tobin-Hochstadt
7accc0bd7d
Need to unwrap objects at two other points:
...
* When the C++ code uses direct access on objects (look for check_valid)
* In the functions returned by class-field-accessor/mutator
svn: r18344
2010-02-25 23:42:13 +00:00
Matthew Flatt
8dea570071
fix binding of variables when using defproc and MIT-style curry notation
...
svn: r18343
2010-02-25 22:51:36 +00:00
Ryan Culpepper
6bb3b5f1b6
macro-debugger: another internal error bug
...
svn: r18342
2010-02-25 22:15:02 +00:00
Robby Findler
ca8459a3a0
changed to schemeunit so the tests can be in a module and so we dont see random values in the printed output
...
svn: r18341
2010-02-25 21:32:48 +00:00
Robby Findler
39dd21c240
PR 10783
...
svn: r18340
2010-02-25 20:57:45 +00:00
Jay McCarthy
2c408dbcdd
* Allowing for restarting with 'n' on win/defeat
...
* Disallowing passing on a turn when clicking a cell twice
Patch from Everett Morse, BYU.
svn: r18339
2010-02-25 20:54:24 +00:00
Carl Eastlund
8b93f081bc
Renamed make-set{,eq,eqv} to set{,eq,eqv} for uniformity with list, vector, etc.
...
svn: r18338
2010-02-25 19:46:36 +00:00
Jon Rafkind
2f6c2377f9
fix remq example
...
svn: r18337
2010-02-25 17:14:58 +00:00
Jay McCarthy
24d76d0e82
Allowing any module path in mutators for the collector
...
svn: r18336
2010-02-25 16:24:36 +00:00
Robby Findler
f39e8ebe0c
exported and documented label-string?
...
svn: r18335
2010-02-25 13:03:38 +00:00
Noel Welsh
dcb01829a0
Fix order of cases in case-lambda expressions for some unsafe-fx operations.
...
Add the safe equivalents of the unsafe-fx operations.
svn: r18334
2010-02-25 13:00:55 +00:00
Noel Welsh
3d95ef650c
Add types for unsafe fixnum operations. This allows support for some sequences; in particular in-range now works in some cases (though still requires type annotations).
...
svn: r18333
2010-02-25 11:48:33 +00:00
Eli Barzilay
35255c1415
Welcome to a new PLT day.
...
svn: r18332
2010-02-25 08:50:34 +00:00
Ryan Culpepper
ea19a1bda3
macro-debugger:
...
fixed bug re (maybe?) lazy phase 1 initialization
fixed popup-menu bug in syntax browser
cleaned up signal mapping
svn: r18331
2010-02-25 02:05:26 +00:00
Stevie Strickland
1f10c4e422
Have external field accessors/mutators just redirect to the old object
...
themselves. Also, have all objects carry the prop:unwrap property.
svn: r18330
2010-02-24 23:32:44 +00:00
Robby Findler
3955ef69b4
try to debug new drdr failure
...
svn: r18329
2010-02-24 21:46:53 +00:00
Ryan Culpepper
e6c4518ae8
macro-debugger:
...
fixed internal error in reporting internal errors
made debug files more readable
fixed wrong ordering of local contexts
svn: r18328
2010-02-24 21:39:16 +00:00
Jay McCarthy
3f4e7c0069
- Adding icons for navigation (from http://momenticons.com/ )
...
- Adding next rev button
svn: r18327
2010-02-24 20:07:54 +00:00
Robby Findler
df049ea35e
normalized the output so drdr won't say that this is changing
...
svn: r18326
2010-02-24 19:46:24 +00:00
Robby Findler
872ace8cd5
added some comments about the new graphs
...
svn: r18325
2010-02-24 19:01:32 +00:00
Jay McCarthy
7a294ffd7e
- Allowing non-UTF8 output to be displayed in some way.
...
** http://drdr.plt-scheme.org/18034/collects/tests/mzscheme/benchmarks/shootout/mandelbrot-generic.ss
- Adding Robby's new graphing system
- Catching file difference errors
- Handling new files differently
svn: r18324
2010-02-24 18:49:44 +00:00
Robby Findler
2ce01fd5ce
PR 10704
...
svn: r18323
2010-02-24 17:58:59 +00:00
Stevie Strickland
9f9e83b671
Yes, I know that we get different results for how it prints out. This needs
...
to be fixed. But for now, I'm commenting this out with a note to myself to
get this fixed.
svn: r18322
2010-02-24 17:46:51 +00:00
Robby Findler
50a6a585b1
fixed some repl-printing related bugs that would make 'write' sensitive to pretty-print's parameters in drscheme's repl
...
svn: r18321
2010-02-24 17:35:09 +00:00
Stevie Strickland
232db39f54
Sync up to trunk to prepare for the grand merge.
...
svn: r18319
2010-02-24 16:38:32 +00:00
Stevie Strickland
af0387e3a6
Fuck you, C, and the flea-bitten, mange-covered, syphilis-ridden horse you
...
rode in on.
svn: r18318
2010-02-24 16:35:30 +00:00
Eli Barzilay
e9c0ba7398
do a post-redirect-get to avoid the usual problems
...
svn: r18317
2010-02-24 11:15:37 +00:00
Eli Barzilay
38d201cd38
Welcome to a new PLT day.
...
svn: r18316
2010-02-24 08:50:36 +00:00
Jay McCarthy
25e403156a
Adding DrDr source to meta.
...
svn: r18315
2010-02-24 04:07:08 +00:00
Stevie Strickland
60b6c81f9f
Okay, updates to all this crapola. Going to try and see what happens if I
...
only attach prop:unwrap to wrapped objects.
svn: r18313
2010-02-23 23:56:08 +00:00
Jay McCarthy
587f318cd2
Fixing one use of delay
...
svn: r18311
2010-02-23 22:33:25 +00:00
Jay McCarthy
652cdcf902
Changing bindings parser on requests to promises.
...
svn: r18310
2010-02-23 22:29:22 +00:00
Sam Tobin-Hochstadt
08e10674ea
new TS guide
...
svn: r18309
2010-02-23 22:09:40 +00:00
Stevie Strickland
f60645da2c
ARGHGHGHGHGHGHGHGGHGH
...
svn: r18308
2010-02-23 21:43:08 +00:00
Sam Tobin-Hochstadt
1616e27b4b
fix comment, add test
...
svn: r18307
2010-02-23 21:36:53 +00:00
Stevie Strickland
e1cd160a40
Now that the C code is back at a compile-ready point, I'll check in.
...
svn: r18306
2010-02-23 20:57:22 +00:00
Jay McCarthy
a4dfbfb1d6
Fixing mutator-cond
...
svn: r18305
2010-02-23 19:43:36 +00:00
Stevie Strickland
472ef1e873
Other cleanups.
...
svn: r18303
2010-02-23 15:59:22 +00:00
Stevie Strickland
1eeb27fc30
Small fixes in make-wrapper-class/object.
...
svn: r18302
2010-02-23 15:58:00 +00:00
Stevie Strickland
aa7062a35e
Fix up kernel.ss to include unwrapper, also fix arity check now that it takes
...
one more.
svn: r18300
2010-02-23 15:01:04 +00:00
Stevie Strickland
6583b0b77c
My first foray into the C side of things.
...
svn: r18299
2010-02-23 14:55:24 +00:00
Stevie Strickland
88a6038705
Grab Matthew's addition of objscheme_unwrap so I can see about making
...
object contracts work even for primitive things.
svn: r18298
2010-02-23 14:10:34 +00:00
Stevie Strickland
09425bc801
Keep the original class in the supers list. Also, copy over the no-super-init?
...
flag.
svn: r18296
2010-02-23 12:51:27 +00:00
Robby Findler
05efd5be38
brought back the diamond prefix on the tabs for when files arent saved; changed the default choince to star for linux
...
svn: r18295
2010-02-23 12:36:55 +00:00
Stevie Strickland
ff065ca1d8
Grab the fix for get-tab-count.
...
svn: r18294
2010-02-23 10:30:29 +00:00
Stevie Strickland
1c31d939d4
There's no check that frame isn't #f here, and this seems to be the root of
...
the failure I was noticing whenever popup windows were triggered (e.g., hitting
the backtrace button or trying to submit a bug report).
svn: r18293
2010-02-23 10:24:09 +00:00
Eli Barzilay
2406ac6011
Welcome to a new PLT day.
...
svn: r18292
2010-02-23 08:50:34 +00:00
Stevie Strickland
8cc22294ff
Sync up to trunk.
...
svn: r18291
2010-02-23 07:25:24 +00:00
Stevie Strickland
6326731a15
Fix the tests that break due to semantic changes in object-contract.
...
svn: r18290
2010-02-23 04:34:05 +00:00
Stevie Strickland
70b5fe6294
Of course, it would help if this was correct.
...
svn: r18289
2010-02-23 04:18:29 +00:00
Stevie Strickland
e4f7f0032e
Get rid of the loop that's no longer a loop, and also add in the necessary
...
object unwrapping.
svn: r18288
2010-02-23 04:13:09 +00:00
Stevie Strickland
e9a6aa31ca
Remove a load of crap from mzlib's object-contract that's no longer needed.
...
svn: r18287
2010-02-23 04:03:39 +00:00
Stevie Strickland
978a9586f5
We no longer need the #:error thing here, because we've fixed object-contract
...
for real now.
svn: r18286
2010-02-23 04:02:03 +00:00
Stevie Strickland
14ab0175c3
Okay, expanding field accesses and mutations to basically inline the
...
unwrapping operation helps a bit, especially with inherited fields.
Unfortunately, as one might expect, TANSTAAFL applies here. In order
to make sure that we keep the contracted objects around as much as
possible to make sure there are no holes, we end up making local and
inherited field access codes 2-3x more than they did before. However,
this is still something on the order of 5x faster than external
access. But blah.
CONTRACTS ARE NOT FREE. Just ask your local lawyer.
svn: r18285
2010-02-23 03:15:43 +00:00
Sam Tobin-Hochstadt
f2ee3aa7b6
Fix bad hashtable type inference.
...
svn: r18284
2010-02-23 02:05:40 +00:00
Matthias Felleisen
2e791579ad
fixed small typo in on-tick for universe
...
svn: r18283
2010-02-23 02:01:18 +00:00
Stevie Strickland
53381bbf03
Remove unwrapping in find-method/who until I figure out what I actually need
...
to do.
Also fix up is-a? and subclass? so that they should work the same when
contracts are removed from a program.
svn: r18282
2010-02-23 01:15:11 +00:00
Stevie Strickland
f1b0bfdd79
Yeah, accessors need arguments.
...
svn: r18281
2010-02-23 00:46:47 +00:00
Stevie Strickland
cfdb9dd39b
Time to unveil object/c.
...
svn: r18280
2010-02-23 00:43:25 +00:00
Stevie Strickland
ab2561e08a
Now we don't need to recur down to unwrap something, but if we get a wrapped
...
primitive object in a method send, we need to unwrap all objects for its
method.
svn: r18279
2010-02-23 00:40:59 +00:00
Sam Tobin-Hochstadt
88817e6bd3
fix obvious bogosity
...
svn: r18278
2010-02-23 00:01:47 +00:00
Stevie Strickland
2af44afb17
Now I see -- I was handling local fields in an incorrect manner. We don't
...
want later projections to affect local accesses or mutations -- so we just
have to add the unwrap check in case it's a wrapped object.
svn: r18277
2010-02-22 22:43:47 +00:00
Stevie Strickland
0e3af71176
So now object-contract works again, but we seem to have introduced a bug
...
in the class/c inherit-field form, so now time to fix that.
svn: r18276
2010-02-22 22:26:27 +00:00
Stevie Strickland
a3a1d0d9c7
Fix shadowing in make-wrapper-class. Now delay lookup for
...
accessors/mutators used for internal field access. This fixes public
fields, but not private fields. Next should fix that up.
Will definitely need to benchmark all this delay though.
svn: r18275
2010-02-22 22:10:30 +00:00
Stevie Strickland
d820493feb
First cut of converting object-contract to share a common base that
...
object/c will also use.
svn: r18274
2010-02-22 21:55:32 +00:00
Eli Barzilay
275de1b3f4
typo (PR10671)
...
svn: r18273
2010-02-22 21:27:20 +00:00
Eli Barzilay
177f572cda
Russian and Ukranian translation files from Sergey Semerikov
...
svn: r18272
2010-02-22 21:27:17 +00:00
Ryan Culpepper
d4b0f917df
rewrote schemeunit test
...
svn: r18271
2010-02-22 21:12:11 +00:00
Stevie Strickland
815dd80923
Sync up to catch my fix.
...
svn: r18270
2010-02-22 20:58:53 +00:00
Stevie Strickland
11b8fd4204
Fix vector creation for internal field access.
...
svn: r18269
2010-02-22 20:57:36 +00:00
Ryan Culpepper
d4eee108f4
schemeunit:
...
added ryanc to plt:responsible
test-suite list trampoline, make-test-suite
svn: r18268
2010-02-22 20:48:31 +00:00
Sam Tobin-Hochstadt
8a11336b51
revert this change, since it breaks insert large letters
...
svn: r18267
2010-02-22 20:06:34 +00:00
Robby Findler
18e8f00572
added a preference to remember the log viewer's setting
...
svn: r18266
2010-02-22 19:45:17 +00:00
Stevie Strickland
c2fcdbba65
Class Contracts Phase 2: Object/c Boogaloo
...
This isn't just a copy of trunk r18264 -- it has a slight difference in how
local field accessors and mutators are handled that will eventually play a
larger role.
svn: r18265
2010-02-22 19:09:42 +00:00
Robby Findler
f1e7c7e4b0
Probably fix for PR 10773
...
svn: r18264
2010-02-22 18:04:04 +00:00
Sam Tobin-Hochstadt
e417da3598
Switch to the current version of schemeunit.
...
svn: r18263
2010-02-22 17:58:18 +00:00
Jay McCarthy
1eea5163cc
Supporting byte-regexps and boxes in tester. Improving speed/allocation of parser and noting places where we could do better. Updating struct contracts in code and docs.
...
svn: r18262
2010-02-22 15:47:57 +00:00
Mike Sperber
21ca9596b5
Synch German string constants with latest.
...
svn: r18261
2010-02-22 10:20:30 +00:00
Eli Barzilay
e946fffe90
Welcome to a new PLT day.
...
svn: r18260
2010-02-22 08:50:35 +00:00
Carl Eastlund
1d6111c532
Renamed simple-contract and simple-flat-contract to make-contract and make-flat-contract.
...
svn: r18259
2010-02-22 02:51:16 +00:00
Matthew Flatt
ed2010bd70
fix text renderer
...
svn: r18255
2010-02-21 13:04:06 +00:00
Robby Findler
1d378bc6d7
fixed a broken reference
...
svn: r18254
2010-02-21 12:37:06 +00:00
Eli Barzilay
cbb86e58c2
Welcome to a new PLT day.
...
svn: r18253
2010-02-21 08:50:54 +00:00
Ryan Culpepper
48ea3224f8
schemeunit: fixed some properties and dangling requires
...
svn: r18252
2010-02-21 04:49:09 +00:00
Stevie Strickland
6f3b676fa5
Syncing up.
...
svn: r18249
2010-02-21 03:37:21 +00:00
Stevie Strickland
a0769da5ea
Add the contract shorthands for -> and ->* to use for methods where we don't
...
care about properties of this.
svn: r18248
2010-02-21 02:54:06 +00:00
Robby Findler
71b4df4a29
removed some more one-of/c's in favor of or/c
...
svn: r18247
2010-02-21 02:29:12 +00:00
Robby Findler
ad352387c9
added string constants for the menus added in the previous commit
...
svn: r18246
2010-02-21 02:09:25 +00:00
Robby Findler
95debe6353
added keyboard shortcuts for the first 9 tabs to the windows menu (on the mac)
...
svn: r18245
2010-02-21 02:06:57 +00:00
Robby Findler
5ad04e3b2c
changed some defconstructor/make's into defconstructor's
...
svn: r18244
2010-02-21 02:06:28 +00:00
Ryan Culpepper
3b630af6f9
schemeunit:
...
moved internal modules to schemeunit/private
moved tests to tests/schemeunig
added schemeunit/gui
drscheme:
fixed bug in show-backtrace-window
svn: r18243
2010-02-21 01:03:42 +00:00
Stevie Strickland
e72928d444
Yeah, I should add augride here.
...
svn: r18242
2010-02-21 00:26:58 +00:00
Stevie Strickland
c6e671581f
Want to call this something more generic, as method contracts have specific
...
restrictions, but contracts on fields do not.
svn: r18241
2010-02-21 00:22:37 +00:00
Stevie Strickland
ffa34e1f7d
Add augride, which is like augment but enables the contract writer to give
...
subclasses an idea of whether a method can be augmented (augment) or whether
a method augmentation can be overridden (augride).
svn: r18240
2010-02-21 00:17:42 +00:00
Stevie Strickland
5df617e4d4
Forgot to add this to the literals list.
...
svn: r18239
2010-02-20 23:45:55 +00:00
Stevie Strickland
d67058c1ac
Document inherit.
...
svn: r18238
2010-02-20 22:58:21 +00:00
Stevie Strickland
f72ca7bb1b
Now inherit works (and tests!)
...
svn: r18237
2010-02-20 22:54:11 +00:00
Stevie Strickland
370792b881
Refactoring done, and I think that's actually cleaned up things a bit. Now
...
to handle inherit.
svn: r18236
2010-02-20 22:44:53 +00:00
Stevie Strickland
b589c3c230
More preparation to move all the int-method/dynamic-proj expansion into
...
class/c-proj instead of compose-class.
svn: r18235
2010-02-20 22:00:45 +00:00
Stevie Strickland
66ce493ede
Adding original class field (we'll see what this is for in a sec.)
...
svn: r18234
2010-02-20 21:48:00 +00:00
Stevie Strickland
a0fdeff509
First order checks.
...
svn: r18233
2010-02-20 21:34:57 +00:00
Stevie Strickland
a4d6252d16
Start inherit contracts (which are useful for mixins). Tests, plus parsing.
...
svn: r18232
2010-02-20 21:28:20 +00:00
Stevie Strickland
6ae1a713df
One more small edit.
...
svn: r18231
2010-02-20 21:06:59 +00:00
Stevie Strickland
50482d7016
Small fixes, go back to the original section title.
...
svn: r18230
2010-02-20 21:06:22 +00:00
Stevie Strickland
7e5e4a50fa
Check in an initial cut of class/c documentation.
...
svn: r18229
2010-02-20 20:32:17 +00:00
Stevie Strickland
a169105ed0
Sync up to trunk, because keeping up to date is the right thing to do (and
...
hopefully it'll get rid of the issues in tests/future/future.ss).
svn: r18228
2010-02-20 19:36:15 +00:00
Robby Findler
92717e0f0b
used stderr when tests fail
...
svn: r18226
2010-02-20 17:16:54 +00:00
Robby Findler
ac2c537b8f
clarified bitwise-bit-field and bitwise-bit-set?
...
svn: r18225
2010-02-20 15:20:27 +00:00
Matthew Flatt
eb46f95246
doc corrections
...
svn: r18224
2010-02-20 14:58:10 +00:00
Matthew Flatt
457a2da675
try again to fix tests
...
svn: r18223
2010-02-20 13:39:51 +00:00
Matthew Flatt
e38e8d88e0
basic set library
...
svn: r18222
2010-02-20 13:00:48 +00:00
Matthew Flatt
d2bdc2eca8
fix test problems
...
svn: r18221
2010-02-20 12:23:01 +00:00
Stevie Strickland
c59805ab9e
Syncing up to trunk before I go to bed, so setup-plt can run while I
...
sleep.
svn: r18220
2010-02-20 10:59:49 +00:00
Stevie Strickland
c5c22e117c
Tests to make sure the first-order parts of method contracts are attributed
...
to the correct source upon failure.
svn: r18219
2010-02-20 10:46:54 +00:00
Stevie Strickland
cd4aa4c6f6
Forgot about the no-contract forms, so needed to add tests for those, also.
...
svn: r18218
2010-02-20 10:40:50 +00:00
Stevie Strickland
7830d55b42
Okay, that does it for augment, which means I'm done with coding. Now just
...
documentation and benchmarking, then this can go on trunk.
svn: r18217
2010-02-20 10:09:37 +00:00
Stevie Strickland
37e1cd2e2c
A few more tests to make sure we have everything right for augment once
...
implemented.
svn: r18216
2010-02-20 09:48:38 +00:00
Stevie Strickland
67d47e0a1d
Fixes in override ctcs and test suite. I thought I ran it, so I find it
...
weird that I found these on a subsequent run when adding some quick augment
tests to start the next batch. (Oh, those are included also.)
svn: r18215
2010-02-20 09:40:41 +00:00
Stevie Strickland
b5e2d5f93e
Okay, now override contracts are done, so only augments remain.
...
svn: r18214
2010-02-20 09:30:40 +00:00
Stevie Strickland
3c1004fd05
Okay, we should be fixed up in compose-class, now we just need to start
...
handling the projections in class/c-proj.
svn: r18213
2010-02-20 09:14:14 +00:00
Eli Barzilay
190af1efe9
Welcome to a new PLT day.
...
svn: r18212
2010-02-20 08:50:36 +00:00
Stevie Strickland
28046b832b
Another step towards it -- here we're extending the int-methods vector
...
appropriately on subclassing after a contract boundary. Next is adding
in the projections.
svn: r18211
2010-02-20 08:43:54 +00:00
Stevie Strickland
a7017afe5a
Step 1: Cut a ...
...
Wait, no. Here we add the dynamic idxs, which will get incremented whenever
we pass through a contract boundary with an override (or later, augment)
contract.
svn: r18210
2010-02-20 08:21:09 +00:00
Stevie Strickland
3b125d58fc
Tests for internal dynamic dispatch (Java-only)
...
svn: r18209
2010-02-20 08:08:17 +00:00
Stevie Strickland
90d8d3763a
Forgot to put this here.
...
svn: r18208
2010-02-20 06:36:28 +00:00
Stevie Strickland
ead01c9232
There's an app... err, function for that.
...
svn: r18207
2010-02-20 05:32:13 +00:00
Stevie Strickland
98e3695a20
Also change some old code to use vector-copy! as appropriate.
...
svn: r18206
2010-02-20 05:25:36 +00:00
Stevie Strickland
7b7d70a993
I should just use vector-copy! where applicable.
...
svn: r18205
2010-02-20 05:20:15 +00:00
Stevie Strickland
aaf9a5aeac
Apply the inherit-field projections appropriately.
...
svn: r18204
2010-02-20 04:18:49 +00:00
Stevie Strickland
fcee6788d7
Parsing and first order checks for internal field access contracts.
...
svn: r18203
2010-02-20 04:02:59 +00:00
Stevie Strickland
d87794a8d2
External field contracts FTW!
...
svn: r18202
2010-02-20 03:52:47 +00:00
Stevie Strickland
1688a6c3f7
Change how fields are accessed in prep for contract wrapping.
...
svn: r18201
2010-02-20 01:35:46 +00:00
Stevie Strickland
30864fc1d0
I dunno why, but this reads much better to me.
...
svn: r18200
2010-02-20 00:08:49 +00:00
Stevie Strickland
95438db40f
Add set-field!. Because it's useful, because we have get-field, so why
...
not it, and because it's an easy way to later test external field contracts.
svn: r18199
2010-02-19 23:55:39 +00:00
Sam Tobin-Hochstadt
33c18b3985
providing static struct information to untyped code works
...
svn: r18198
2010-02-19 23:27:06 +00:00
Sam Tobin-Hochstadt
d9fabc314b
add map/values from carl, and `debug' prints exceptions
...
svn: r18197
2010-02-19 23:25:14 +00:00
Robby Findler
f7447ee6ae
added alt-1 thru alt-9 as keyboard shortcuts to switch between tabs
...
svn: r18196
2010-02-19 23:15:29 +00:00
Stevie Strickland
de859a8879
Fix up Sam's use of make-provide/contract-transformer after Robby's change
...
to it for bug 10645.
svn: r18195
2010-02-19 21:57:03 +00:00
Jay McCarthy
7d1a739df5
Adding comments and specs to parser.
...
Clarifying comments in marshaller. Supporting small numbers, small symbols, small marshalleds, small (proper) lists, small svectors, all-from-module long form
Improving inequality detector in tester: regexps and uninterned symbols
Correcting doc contract
svn: r18194
2010-02-19 19:47:15 +00:00
Robby Findler
7aa6ea4c76
PR 10645
...
svn: r18193
2010-02-19 19:43:14 +00:00
James Swaine
9170687148
moved futures random tests into /collects/tests/future
...
svn: r18192
2010-02-19 19:26:55 +00:00
James Swaine
cb12a81daf
added test notes to futures test suite
...
svn: r18191
2010-02-19 19:21:03 +00:00
James Swaine
a7332c09a2
moved futures tests to collects/tests/future directory
...
svn: r18190
2010-02-19 19:17:59 +00:00
Stevie Strickland
e9264b1fac
Syncing up before class.
...
svn merge ^/trunk
svn: r18188
2010-02-19 16:43:03 +00:00
Robby Findler
47b5892c92
probable fix to problems with this file (make sure find-relative-path's first argument is a directory)
...
svn: r18187
2010-02-19 15:29:54 +00:00
Robby Findler
94880b4733
changed some one-of/c's to or/c's
...
svn: r18185
2010-02-19 15:03:12 +00:00
Eli Barzilay
94666a89cd
Welcome to a new PLT day.
...
svn: r18183
2010-02-19 08:50:39 +00:00
Ryan Culpepper
cb16dde709
macro-debugger: some work on syntax snips
...
svn: r18182
2010-02-19 05:45:54 +00:00
Stevie Strickland
6777fc31a3
Rewrite this a little to make it clear that we're now only checking the
...
super class's beta-methods vector to make sure this is even an overrideable
method.
svn: r18181
2010-02-19 04:59:05 +00:00
Stevie Strickland
55d39b0035
It was a good thing I decided to add some super/inner mixed examples here,
...
because it pointed out a bug in my implementation where we weren't getting
the right version of the super method (which gets the projection).
svn: r18180
2010-02-19 04:40:10 +00:00
Stevie Strickland
5cc68fdd0f
In some ways, I'm still trying to decide exactly what some of these forms mean.
...
For example, if we're in the java part of a beta-java chain, can we still add
an inner contract? If so, it should affect each java-style overriding method
until we reach the next beta-style augmenting method.
It can just be confusing, because one might thing that inner in a
contract => needs an augmenting method in the subclass, super => needs
an overriding method in the subclass. The latter is true, since only
the next immediate method can reach the super class's implementation,
but inner jumps to the next augmenting method, so the former isn't
necessarily true.
svn: r18179
2010-02-19 04:27:44 +00:00
Matthias Felleisen
982820fba2
fixed double-def of empty-scene
...
svn: r18177
2010-02-19 01:06:11 +00:00
Stevie Strickland
b59955bc01
Ah, that'd be the issue. THE TESTS WERE WRONG. All's well, and I've even
...
added a couple more tests to make sure we apply the projections in the right
order.
svn: r18176
2010-02-19 00:34:27 +00:00
Stevie Strickland
7fe863e792
Inner tests! They almost all fail! BUT WE SHALL CHANGE THAT.
...
svn: r18175
2010-02-19 00:09:47 +00:00
Stevie Strickland
2b92ea9225
Start inner projections work. Next, test cases, then I'll fix the test
...
cases by implementing the rest.
svn: r18174
2010-02-18 23:54:56 +00:00
Stevie Strickland
da7473b867
TEST DRIVEN DEVELOPMENT.
...
svn: r18173
2010-02-18 23:35:58 +00:00
Stevie Strickland
6fcb61cc11
Add some test cases for super.
...
svn: r18172
2010-02-18 23:34:35 +00:00
Stevie Strickland
f8d5234148
Simplify the test case. Also, spam both my and Sam's inboxes.
...
svn: r18171
2010-02-18 23:24:15 +00:00
Stevie Strickland
38522f0dca
A tricky case, this.
...
svn: r18170
2010-02-18 23:22:51 +00:00
Stevie Strickland
301ac0e5f3
The simplest of all the contract features to handle.
...
svn: r18169
2010-02-18 23:17:48 +00:00
Stevie Strickland
cc52bcd197
Start throwing in higher-order checks.
...
svn: r18168
2010-02-18 23:09:42 +00:00
Stevie Strickland
8d9eda1459
I think that finishes all the first order tests.
...
svn: r18167
2010-02-18 22:53:35 +00:00
Ryan Culpepper
b68494250f
scheme/pretty: added quasisyntax reader macro
...
macro-debugger: added change layout menu items
svn: r18166
2010-02-18 22:53:11 +00:00
Stevie Strickland
b15dd9e689
You'll gasp, you'll cheer, you'll scream! MORE TESTS.
...
svn: r18165
2010-02-18 22:44:58 +00:00
Stevie Strickland
ce04db35a0
Rename tests to be more specific, start inner tests, fix introduced bug.
...
svn: r18164
2010-02-18 22:27:34 +00:00
Stevie Strickland
690b82da14
Check lots of crazy special cases for super contracts.
...
svn: r18163
2010-02-18 22:16:29 +00:00
Stevie Strickland
a7d8507e3c
Actually, these have slightly different conditions. super contracts require
...
an overrideable method (augride is okay), whereas override contracts require
a method which has never been augmentable (i.e. no pubments or overments).
svn: r18162
2010-02-18 22:11:01 +00:00
Stevie Strickland
87c5e94fc3
Filter out overrideable checks for both super and override contracts, add
...
check against final methods (and change check for augmentable ones).
svn: r18161
2010-02-18 22:06:41 +00:00
Stevie Strickland
7abafad8b1
Tests of super contracts. Failing test here, because we're not checking for
...
non-final public methods when adding super (or later, override) contracts.
We should check for that in both cases, as the contract suggests that the
method in question is overrideable.
svn: r18160
2010-02-18 21:54:27 +00:00
Stevie Strickland
0971d37b70
Add first order checks for public fields and methods for both class/c
...
and object/c.
svn: r18159
2010-02-18 21:50:55 +00:00
Stevie Strickland
6e462ecb38
Forgot to quote the test expressions, which showed up once I added a
...
testcase for a blame error.
svn: r18158
2010-02-18 21:42:20 +00:00
Stevie Strickland
eeb2b52731
Start the MASSIVE TESTSUITE.
...
svn: r18157
2010-02-18 21:37:55 +00:00
Sam Tobin-Hochstadt
d9f24d94e7
disable contracts
...
svn: r18156
2010-02-18 21:25:06 +00:00
Jay McCarthy
fb73b168d1
Adding testing for zo parser/marshaller/decompiler
...
svn: r18155
2010-02-18 21:07:05 +00:00
Robby Findler
8424dea37b
avoid doing mac os x-specific tests unless under mac os x
...
svn: r18154
2010-02-18 20:36:03 +00:00
Stevie Strickland
126c3958b2
Add in different method tables for super calls and internal dynamic dispatch.
...
Eventually the latter will become a table to vectors of methods instead, but
until I start handling override/augment contracts, we can use the simplified
version.
svn: r18153
2010-02-18 19:50:59 +00:00
Stevie Strickland
ebb065aca8
Before I start moving stuff over today...
...
svn merge ^/trunk
svn: r18152
2010-02-18 19:45:16 +00:00
Kevin Tew
202c056c53
tests file.ss use random port
...
svn: r18151
2010-02-18 18:54:53 +00:00
Jay McCarthy
25dbc6a418
Test cleanup
...
svn: r18150
2010-02-18 16:14:41 +00:00
Robby Findler
b51f3e0940
more debugging information printed
...
svn: r18148
2010-02-18 13:54:39 +00:00
Eli Barzilay
3ec0cb2731
Welcome to a new PLT day.
...
svn: r18146
2010-02-18 08:50:32 +00:00
Stevie Strickland
b18283b626
Keeping up with trunk.
...
svn merge ^/trunk
svn: r18145
2010-02-18 04:34:09 +00:00
Stevie Strickland
eea685c1cf
I didn't fix object-contract from mzlib/contract, just from scheme/contract.
...
I don't plan on fixing the former at the moment, so I'll just add back these
two accessors so that it's happy.
svn: r18144
2010-02-18 04:22:45 +00:00
Stevie Strickland
43613389a7
Add class/c and object/c forms, including first-order checks and basic
...
projections that only perform first-order checks. To add full projections,
also need to change the class struct.
svn: r18143
2010-02-18 04:02:12 +00:00
Robby Findler
2eab591c0f
added schemeunit to the distribution
...
svn: r18142
2010-02-18 02:02:35 +00:00
Ryan Culpepper
f4321256a5
compiler/zo-parse: fixed to work on Mac/PPC
...
zo writer seems to always write integers in little-endian order
svn: r18141
2010-02-17 23:36:58 +00:00
Robby Findler
124dbe9b93
added empty-scene
...
svn: r18138
2010-02-17 23:21:57 +00:00
Robby Findler
a7dbbc2fa6
minor tweaks to the language dialog that were mentioned a while back, but that I only just got to
...
svn: r18137
2010-02-17 23:10:10 +00:00
Robby Findler
12dc4f3421
PR 10728
...
svn: r18136
2010-02-17 23:07:44 +00:00
Jay McCarthy
8f7e5b3803
Making the atomic renaming truly atomic with an option to rename I didn't realize existed. :'(
...
svn: r18134
2010-02-17 22:04:57 +00:00
Jay McCarthy
c2bfa60e31
Adding documentation for symbol-unreadable?
...
svn: r18133
2010-02-17 22:02:24 +00:00
Jay McCarthy
2ffa8cb34f
Forgot to add a file
...
svn: r18131
2010-02-17 21:38:06 +00:00
Jay McCarthy
a8d00cc3b3
Added new primitive: symbol-unreadable?
...
Updated Scheme implementation of zo parsing and marshaling
- Separated the structs into a different file and added contracts
- Implemented stxobj marshalling
- Fixed many small bugs in parser and marshaller
- Added new structs for new parser cases
Done by Blake Johnson (BYU)
Committed by Jay
svn: r18130
2010-02-17 21:33:00 +00:00
Robby Findler
66e329c21b
updated pconvert to use the new arguments to make-hash and friends
...
svn: r18128
2010-02-17 21:20:39 +00:00
Matthew Flatt
746b85fa6b
fix cm problem related to new race-condition avoidance
...
svn: r18127
2010-02-17 21:10:05 +00:00
Robby Findler
5763cc0104
added some debugging printouts to try to find out how to make this work in drdr
...
svn: r18123
2010-02-17 20:38:07 +00:00
Stevie Strickland
fa5ed2c160
Fix object-contract's first-order property to do some reasonable first-order
...
checking, instead of always failing.
svn: r18121
2010-02-17 19:09:49 +00:00
Matthew Flatt
91d725fbb9
add optional initialization argument to make-hash (and variants)
...
svn: r18120
2010-02-17 17:44:29 +00:00
Jay McCarthy
0cab35fdcb
Adding names to datatype generated contracts
...
svn: r18119
2010-02-17 16:24:01 +00:00
Jay McCarthy
c503baac47
Fixing inferred names by using stx-param to track original binding
...
svn: r18118
2010-02-17 16:10:37 +00:00
Jay McCarthy
9a468dd9d0
Fixing error message re Robby and rearranging tests a little
...
svn: r18117
2010-02-17 16:04:13 +00:00
Robby Findler
d2d84ae674
oops, missed one spot
...
svn: r18116
2010-02-17 16:00:13 +00:00
Jay McCarthy
a627c56fb5
Removing DrScheme tool and rearranging docs
...
svn: r18115
2010-02-17 15:53:11 +00:00
Robby Findler
445ec5c145
refactored the mutator test case generator to make testing more tractable and added some tests (and fixed a bug)
...
svn: r18113
2010-02-17 15:37:27 +00:00
Robby Findler
6565005468
checking this in to be able to show it to Jay
...
svn: r18111
2010-02-17 15:14:49 +00:00
Robby Findler
589377d885
moved (without using svn mv) random-mutator.ss into private/random-mutator.ss in order to set up better tests
...
svn: r18110
2010-02-17 14:28:10 +00:00
Eli Barzilay
526c76ddca
Welcome to a new PLT day.
...
svn: r18108
2010-02-17 08:50:32 +00:00
Sam Tobin-Hochstadt
1039e68e03
New representation for free variables, now stored in struct.
...
Interning now merely used to create key, eq? not = for types.
svn: r18107
2010-02-17 00:09:38 +00:00
Sam Tobin-Hochstadt
0920b493c8
Improve some framework contracts, and provide scheme/base at phase 1 from typed/scheme.
...
svn: r18106
2010-02-17 00:02:44 +00:00
Jay McCarthy
136531d1e2
Fixing a stupid typo. I has a dumb.
...
svn: r18105
2010-02-16 23:04:48 +00:00
Jay McCarthy
50af456c38
Normalizing PLAI wrt tree
...
svn: r18104
2010-02-16 20:23:32 +00:00
Jay McCarthy
8e0addc8c7
Adding more race condition protection to the compiler for DrDr and parallel setup-plt
...
svn: r18103
2010-02-16 20:17:15 +00:00
Stevie Strickland
35afebaea3
Change object-contract to use find-method/who (already exported for Typed
...
Scheme) to look for the appropriate method to wrap, which makes Robby's
object-contracts appropriately translucent during contract wrapping.
svn: r18102
2010-02-16 19:58:07 +00:00
Jay McCarthy
520b4feedc
Adding PLAI software to the core
...
svn: r18101
2010-02-16 18:56:44 +00:00
Matthew Flatt
6f0d6b28de
some mz and ffi changes from the mr2 branch
...
svn: r18099
2010-02-16 17:55:28 +00:00
Eli Barzilay
da6b25befa
Welcome to a new PLT day.
...
svn: r18096
2010-02-16 08:50:31 +00:00
Mike Sperber
d64254f49f
DMdA Contract bug fix: In yet another place, make sure that the
...
enforcer calls `contract-violation' in tail position.
svn: r18095
2010-02-16 07:51:02 +00:00
Mike Sperber
30e8c7d039
Zap obsolete comment.
...
svn: r18094
2010-02-16 07:39:22 +00:00
Carl Eastlund
52f2ec2e30
Corrected types of hash-update and hash-update!
...
svn: r18093
2010-02-16 00:55:03 +00:00
Carl Eastlund
08b53c715d
Added types for full exception hierarchy.
...
svn: r18092
2010-02-15 23:22:40 +00:00
Robby Findler
b73613460b
added a test that saves and reopens a file in the teaching languages
...
svn: r18088
2010-02-15 18:39:15 +00:00
Sam Tobin-Hochstadt
89da613073
remove debugging code
...
svn: r18087
2010-02-15 18:36:26 +00:00
Eli Barzilay
cdaad4819d
Welcome to a new PLT day.
...
svn: r18086
2010-02-15 08:50:38 +00:00
Carl Eastlund
400abdf455
Language level switching works with type enforcement turned off.
...
Contracts for Any and polymorphic types are proving problematic.
svn: r18085
2010-02-15 02:39:33 +00:00
Eli Barzilay
0e587c15ca
Welcome to a new PLT day.
...
svn: r18082
2010-02-14 08:50:31 +00:00
Eli Barzilay
925862ef7d
Welcome to a new PLT day.
...
svn: r18078
2010-02-13 08:50:31 +00:00
Carl Eastlund
1b28ea1a6c
Added automatic blame-tracking to poly/c contract in unstable (and updated use in Typed Scheme).
...
svn: r18075
2010-02-12 23:03:11 +00:00
Sam Tobin-Hochstadt
90c8fcff11
Generate proper contracts for polymorphic struct types.
...
Document `Nothing'.
svn: r18074
2010-02-12 21:57:58 +00:00
Casey Klein
b3d9330672
Improved syntax error handling and cleaned up syntax error tests.
...
svn: r18070
2010-02-12 18:51:14 +00:00
Ryan Culpepper
ab71219408
syntax/parse: removed conventions debugging output
...
svn: r18067
2010-02-12 18:31:30 +00:00
Casey Klein
02f88787ff
Fixed pattern parsing so that the components of variable-except,
...
variable-prefix, and cross patterns are treated as identifiers, not
arbitrary patterns.
svn: r18064
2010-02-12 16:34:38 +00:00
Sam Tobin-Hochstadt
e99b1d028c
Fix printing of `Number' - reported by Noel.
...
Provide `assert' from `typed/scheme'
svn: r18062
2010-02-12 15:49:58 +00:00