Commit Graph

16911 Commits

Author SHA1 Message Date
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
Matthew Flatt
23ad685d67 bump version
svn: r18132
2010-02-17 21:44:22 +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
Kevin Tew
377d9be7ee fix compile error on places
svn: r18129
2010-02-17 21:26:38 +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
Stevie Strickland
3525510a31 svn merge ^/trunk
Let's see if merge tracking fails on this branch like so many others.

svn: r18126
2010-02-17 21:00:52 +00:00
Matthew Flatt
008e7b3121 under linux, run write-barrier signal handler on alternate stack
svn: r18124
2010-02-17 20:43:34 +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
Kevin Tew
81d38e6acb places gc testing support code
svn: r18122
2010-02-17 20:35:46 +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
Matthew Flatt
ea90a07c86 chage some quadratic-time parts of internal-defn expansion to linear
svn: r18109
2010-02-17 14:12:07 +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