Commit Graph

118 Commits

Author SHA1 Message Date
Matthew Flatt
e3b4751adb catch up test suite for recent changes
svn: r8055
2007-12-18 22:07:30 +00:00
Robby Findler
49f198dad7 fixed naming bugs and added a test suite to ensure that I preserve backwards compatibility with the old version of mzlib's contract system
svn: r8050
2007-12-18 20:49:33 +00:00
Robby Findler
a3f3dcb64d added keywords to ->*
svn: r8049
2007-12-18 20:19:11 +00:00
Robby Findler
0e43e1da8c added keywords to -> contract
svn: r8041
2007-12-17 23:48:30 +00:00
Robby Findler
116241eee5 converted the contract test suite to use scheme/base and fixed bugs along the way
svn: r8032
2007-12-16 22:45:52 +00:00
Robby Findler
9a0498b44d moved class, contracts, serialize, and traits into scheme/ and changed the class and contract interface so that contracts no longer depend on the class system (instead its the other way around)
svn: r8017
2007-12-15 18:46:55 +00:00
Robby Findler
a295a42c15 improved contract library so that structs without mutators work and it now passes the test suite
svn: r7879
2007-11-30 22:50:01 +00:00
Robby Findler
47a4b69e5d some progress on the contract test suite
svn: r7850
2007-11-28 04:38:23 +00:00
Matthew Flatt
8138758ea5 fix some tests
svn: r7847
2007-11-27 17:58:59 +00:00
Matthew Flatt
391892a848 3.99.0.3: improved namespace API
svn: r7756
2007-11-18 02:06:57 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Robby Findler
359196ae82 improved contract libraries handling of #%app for provide/contract'd variables
svn: r7590
2007-10-29 21:07:43 +00:00
Robby Findler
992eff0c63 added a test
svn: r7477
2007-10-10 20:42:42 +00:00
Robby Findler
0dacc38c53 added failing test case pointed out by Matthew
svn: r7400
2007-09-22 15:49:37 +00:00
Robby Findler
bd93217061 refactored the contract system so that contracts do not depend on the class system, and now the class contracts are exported from class.ss
svn: r7357
2007-09-17 02:27:05 +00:00
Robby Findler
b7c441833e tried to improve size of generated code for structs
svn: r7348
2007-09-15 19:57:28 +00:00
Robby Findler
33311ab211 few minor improvements to the code generated by the contract library
svn: r7339
2007-09-14 21:27:53 +00:00
Robby Findler
67dd80eb78 changes noticed by Matthew
svn: r6980
2007-07-29 18:56:32 +00:00
Robby Findler
2dfd35e5c7 added parameter/c
svn: r6770
2007-06-29 16:44:18 +00:00
Robby Findler
ce0b5fec2f added a test case for the bug Shu-yu just fixed
svn: r6675
2007-06-16 17:29:19 +00:00
Robby Findler
ea5b3493f3 fixed define-contract-struct so that it defines (via define-syntax) the struct name, following the define-struct covention
svn: r6664
2007-06-14 21:14:14 +00:00
Robby Findler
3857b95a7b fixed PR 8737
svn: r6596
2007-06-12 15:23:54 +00:00
Robby Findler
e41ff4705e improved error checking for provide/contract struct clauses
svn: r6155
2007-05-05 17:50:19 +00:00
Robby Findler
047346c1c8 fixed bugs in test suite
svn: r6104
2007-04-30 19:39:15 +00:00
Robby Findler
5ac3fdd86e added unsafe list contract combinators
svn: r6096
2007-04-29 21:46:27 +00:00
Robby Findler
ddf5ddaf68 fixed a bug in structs
svn: r6059
2007-04-27 22:02:14 +00:00
Robby Findler
db8cba03aa added unconstrained-domain->
svn: r5967
2007-04-17 18:54:19 +00:00
Robby Findler
058bb56915 added guilty-party
svn: r5783
2007-03-17 21:39:59 +00:00
Robby Findler
81ce545d63 added define-opt/c
svn: r5515
2007-01-31 01:12:19 +00:00
Robby Findler
4ad8fdadea merged the opt/c changes back into the trunk (finally!)
svn: r5481
2007-01-28 02:54:16 +00:00
Robby Findler
d47247507f changed the strategy of the preferences library in the framework to use a different key at the file.ss level (and thus save the prefs on each call to preferences:set)
svn: r5058
2006-12-07 22:32:31 +00:00
Robby Findler
302fa08dd8 added in attribute tests (but commented out for now)
svn: r4818
2006-11-10 03:28:09 +00:00
Robby Findler
18288da493 add tail call behavior test for -> contract
svn: r4779
2006-11-05 02:06:19 +00:00
Robby Findler
4a6cee9cf8 fixed bug where the name has disappeared from a contract violation (and added test cases, of course)
svn: r4235
2006-09-04 02:07:01 +00:00
Robby Findler
a39db76867 added a test
svn: r4215
2006-09-01 15:51:13 +00:00
Robby Findler
97e613ac54 fixed buggy test suite
svn: r3998
2006-08-09 14:07:02 +00:00
Eli Barzilay
bb5b45b181 re-do changes that were undone in r3843
svn: r3859
2006-07-28 08:15:46 +00:00
Eli Barzilay
5099b078c6 Undo the following revisions:
r3839
  r3825
  r3823
  r3821
  r3820 (undo only the changes in drscheme/private/debug.ss)
  r3792
  r3791

They will be re-done after v352 is released

svn: r3843
2006-07-27 17:12:18 +00:00
Robby Findler
967cd9ab14 fixed PR 8190
svn: r3839
2006-07-27 14:10:55 +00:00
Robby Findler
c937d4aa28 added more or/c tests
svn: r3793
2006-07-24 14:51:52 +00:00
Robby Findler
73ce86e94b fixed PR 8166
svn: r3701
2006-07-13 19:29:04 +00:00
Robby Findler
0d07f36ab7 added first order checking and some stop-gap checking for sub-structs
svn: r3675
2006-07-10 20:57:33 +00:00
Robby Findler
49667529da improved running time of contracts and moved some provide/contracts to the bottom of files (not necc yet, but may become necc)
svn: r3665
2006-07-09 21:07:04 +00:00
Eli Barzilay
bbf54efde9 Better output: using quiet.ss will show nothing except for section
headers and errors (if any).  Also, using quiet.ss will exit with an
error code if there were errors.

svn: r3655
2006-07-07 23:46:35 +00:00
Robby Findler
79ae279b79 extended or/c to support multiple higher-order contracts
svn: r3606
2006-07-06 02:08:12 +00:00
Robby Findler
6cd4b0009b generalized and/c
svn: r3422
2006-06-20 20:49:18 +00:00
Robby Findler
1159ef9df1 removed tests that I cannot fix
svn: r3207
2006-06-03 21:56:55 +00:00
Robby Findler
1c97b4c21f fixed PR 7999 and added one-of/c to the contract library
svn: r2650
2006-04-10 03:54:55 +00:00
Robby Findler
0f122fbc0d added a test or two
svn: r2565
2006-04-01 02:34:04 +00:00
Robby Findler
940fbc81a9 improved internal contract stuff
svn: r2547
2006-03-30 19:06:27 +00:00
Robby Findler
2a39639d98 more tests
svn: r2504
2006-03-25 04:31:48 +00:00
Robby Findler
dba28564ea more tests
svn: r2501
2006-03-25 00:23:23 +00:00
Robby Findler
4aed9bd393 added some tests as I refactor the contract library
svn: r2497
2006-03-24 16:07:34 +00:00
Robby Findler
8617ca8fcd defeats the inlining optimization by making procedure bodies big in order to do lazy contract checking
svn: r2486
2006-03-22 21:12:53 +00:00
Robby Findler
ab80f98943 added another contract-greater test
svn: r2483
2006-03-22 15:22:09 +00:00
Robby Findler
bb9b8eb90e finished lazy data structure contracts
svn: r2458
2006-03-19 00:03:48 +00:00
Robby Findler
d8217b9d27 added first stages of improvments to contract library to support lazy structure contracts. not yet complete, but contract system is in working order, so committing
svn: r2452
2006-03-18 05:33:08 +00:00
Robby Findler
7249080888 svn: r2393 2006-03-08 17:23:45 +00:00
Robby Findler
873e71a9dd fixed PR 7927
svn: r2341
2006-03-02 02:48:40 +00:00
Robby Findler
106c19a461 added tests for or/c ordering and and/c ordering and fixed name of the or/c contract (so it doesn't claim to be a union contract anymore)
svn: r2100
2006-02-03 04:07:25 +00:00
Robby Findler
12c7c0b6c6 added this, bound in ->r and ->pp contracts, when used in object-contract
svn: r1841
2006-01-16 18:42:11 +00:00
Robby Findler
71a5040785 fixed pr 7628, ->d now checks the domain contract before partially applying the range function
svn: r1042
2005-10-11 12:57:57 +00:00
Robby Findler
461193f073 ,
svn: r532
2005-08-02 04:12:48 +00:00
Robby Findler
b01290c3ef fixed bug in provide/contract
svn: r411
2005-07-21 00:22:36 +00:00
Robby Findler
4b0e802fe4 fixed bugs dealing with super structs in provide/contract and fixed (newly exposed) bugs in mrflow
svn: r391
2005-07-18 13:06:30 +00:00
Robby Findler
20aa3cef02 made struct library work better with copy-struct; still not perfect
svn: r381
2005-07-16 04:41:29 +00:00
Robby Findler
06b511f323 added recursive contracts and fixed a bug or two
svn: r81
2005-06-09 18:56:19 +00:00
Eli Barzilay
017d151d59 Adding collects, with all the right properties (except eoln-style).
svn: r3
2005-05-27 18:56:37 +00:00