Commit Graph

12996 Commits

Author SHA1 Message Date
Eli Barzilay
442a505be7 Welcome to a new PLT day.
svn: r18571
2010-03-18 07:50:16 +00:00
Jay McCarthy
a1156ec3d3 Fix broken documentation examples
svn: r18569
2010-03-17 19:34:59 +00:00
Sam Tobin-Hochstadt
d58bf1521b added (disabled) optimization
svn: r18567
2010-03-17 19:25:21 +00:00
Sam Tobin-Hochstadt
e1eb4a4b93 Fix bug in match reported by jay.
svn: r18563
2010-03-17 18:21:09 +00:00
Sam Tobin-Hochstadt
31911dba55 add FlVector as a type
svn: r18559
2010-03-17 17:00:14 +00:00
Sam Tobin-Hochstadt
fe68168e3d these operations do not exist
svn: r18558
2010-03-17 16:51:04 +00:00
Noel Welsh
5f6aeb364f Check that the FlVector type is exported. Currently this test fails.
svn: r18557
2010-03-17 15:26:30 +00:00
Noel Welsh
39a1489403 Add FlVector types to Typed Scheme and bindings for all flvector operations in scheme/flonum and scheme/unsafe/ops.
svn: r18555
2010-03-17 14:49:29 +00:00
Eli Barzilay
2804c57264 Welcome to a new PLT day.
svn: r18553
2010-03-17 07:50:33 +00:00
Carl Eastlund
d9b7609e1e Fixed splicing-syntax-parameterize to splice require and provide forms.
svn: r18551
2010-03-16 23:04:46 +00:00
Eli Barzilay
123cd387f4 Welcome to a new PLT day.
svn: r18549
2010-03-16 07:50:36 +00:00
Kevin Tew
e7b6b4a3da place holder for place-channel tests
svn: r18548
2010-03-15 21:28:57 +00:00
Sam Tobin-Hochstadt
b9902e5145 Actual contracts for classes. Yay sstrickl!
svn: r18547
2010-03-15 18:21:15 +00:00
Stevie Strickland
4795a5bbc2 Sync to trunk, even though it's minor
svn: r18545
2010-03-15 11:13:15 +00:00
Stevie Strickland
5145638ac5 Since we're handling initialization and the result of this wrapper is a
real (sub)class, we need this to be #f.

svn: r18544
2010-03-15 09:19:50 +00:00
Stevie Strickland
bf56a108fe Need scheme/class's init for use in class/c form.
svn: r18543
2010-03-15 09:04:10 +00:00
Stevie Strickland
5a488ae7cb Add handling of by-name inits to commented-out class/c use in typed-scheme.
Also, fix class/c section of reference slightly by mentioning the role of
external contracts in class instantiation.

svn: r18542
2010-03-15 08:57:41 +00:00
Stevie Strickland
c7c8f7061e Add documentation, and also add tests for appropriate init-field behavior.
svn: r18541
2010-03-15 08:47:09 +00:00
Stevie Strickland
924842d9e9 * Fix inits so that we either call the previous class/c wrapper's init
or let continue-make-super take control if we were the first wrapper
* Fix up handling of init/contract sorting so that things are performed
  at the right phase (at least if we're going to treat names as symbols).
* Fix up new tests so that all contract layers are tested.

svn: r18540
2010-03-15 08:29:22 +00:00
Eli Barzilay
958b1b38ba Welcome to a new PLT day.
svn: r18539
2010-03-15 07:50:37 +00:00
Stevie Strickland
7ec061cdbf * Factor out zipping of inits/contracts of the init closure
* Add tests for higher-order behavior

svn: r18538
2010-03-15 07:37:25 +00:00
Stevie Strickland
f9e404afbc * Fix bug in #:name for init contracts
* Apply appropriate projections to init arguments.

svn: r18537
2010-03-15 07:25:54 +00:00
Stevie Strickland
2f9717ca72 Start on the init function. First step -- just replace it if we have init
contracts, but don't add any checking (yet).

svn: r18536
2010-03-15 07:05:31 +00:00
Stevie Strickland
9640ea4e2c Sort the init contract forms.
svn: r18535
2010-03-15 07:03:54 +00:00
Stevie Strickland
1bd29dd7e9 Okay, we're going to add back init contracts, which I'd somewhat done before.
In this version, we're not going to have any reasonable first-order checks as
to whether or not the class actually accepts the initialization arguments that
are being contracted.  I'm also just going to handle by-name at first, since
that's all I originally discussed in the paper.

svn: r18534
2010-03-15 06:49:49 +00:00
Matthew Flatt
e0c0645479 doc Scribble 'exact-chars and 'tt-chars style propeties
svn: r18533
2010-03-14 12:14:32 +00:00
Eli Barzilay
2edb341b00 Welcome to a new PLT day.
svn: r18532
2010-03-14 07:50:32 +00:00
Stevie Strickland
7b831e86a6 Correct with-type so it handles result types of the form (values t ...).
svn: r18531
2010-03-14 02:32:20 +00:00
Eli Barzilay
036781d453 Welcome to a new PLT day.
svn: r18528
2010-03-13 08:50:34 +00:00
Robby Findler
861c494693 added a keyword argument to filled-rectangle to make it avoid using a pen
svn: r18527
2010-03-12 20:50:26 +00:00
Sam Tobin-Hochstadt
9035e2e584 Prevent unbound identifiers from being in the base env.
Fix some bugs caught by this.

svn: r18526
2010-03-12 16:25:40 +00:00
Sam Tobin-Hochstadt
3edf8cdac6 Fix `match-lambda**'. Patch from Madoka Machitani.
svn: r18525
2010-03-12 14:16:43 +00:00
Matthias Felleisen
404e0e30a1 stop clause for release
svn: r18524
2010-03-12 13:24:45 +00:00
Noel Welsh
97924ffc65 Add tests for all the fixnum operations. This only checks that the operations have types; semantics and completely specified types aren't rigourously checked.
svn: r18523
2010-03-12 12:13:10 +00:00
Noel Welsh
a8b5f4275a Add scheme/fixnum to the list of require'd modules, meaning the type declarations for fixnum operations are actually bound to the correct functions and so Typed Scheme programs using fixnum ops will actually compile.
svn: r18522
2010-03-12 10:58:26 +00:00
Eli Barzilay
f7058ff636 Welcome to a new PLT day.
svn: r18521
2010-03-12 08:50:27 +00:00
Matthias Felleisen
b4da375084 improved release test
svn: r18519
2010-03-12 03:28:26 +00:00
Matthias Felleisen
d4adb4456d added on release
svn: r18518
2010-03-12 03:21:23 +00:00
Matthias Felleisen
b8a8ca533e added on-release
svn: r18517
2010-03-12 03:21:06 +00:00
Matthias Felleisen
9a6e94903e added release handler
svn: r18515
2010-03-12 01:36:02 +00:00
Matthias Felleisen
2655495b56 fixed bug in on-tick syntax pattern
svn: r18514
2010-03-12 01:33:57 +00:00
Matthias Felleisen
b7b9e8dde6 fixed bug in on-tick syntax pattern
svn: r18513
2010-03-12 01:33:33 +00:00
Matthew Flatt
edfd0812c6 fix Scribble latex rendering when a section title has a ssquare bracket
svn: r18512
2010-03-11 14:24:41 +00:00
Matthew Flatt
1af4bb9cfb fix problem with 'make-meta-reader' and passing a module path to the next reader in the chain
svn: r18511
2010-03-11 14:00:01 +00:00
Eli Barzilay
fafb35fb86 Welcome to a new PLT day.
svn: r18510
2010-03-11 08:50:33 +00:00
Eli Barzilay
0b72196247 add the reader collection
svn: r18509
2010-03-11 05:16:21 +00:00
Sam Tobin-Hochstadt
b3be4f32f7 Null does not overlap with structs.
svn: r18508
2010-03-10 23:43:47 +00:00
Matthew Flatt
826fbdf16f add scribble/jfp
svn: r18507
2010-03-10 22:17:51 +00:00
Robby Findler
c1640d005f svn: r18506 2010-03-10 12:51:20 +00:00
Eli Barzilay
4441266553 Welcome to a new PLT day.
svn: r18505
2010-03-10 08:50:27 +00:00
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