Commit Graph

1378 Commits

Author SHA1 Message Date
Eli Barzilay
c69045008d Added a `file' "test suite", with only tests for inflate/deflate.
svn: r14147
2009-03-17 14:57:01 +00:00
Eli Barzilay
5d6b74d3b6 remove old net tests
svn: r14144
2009-03-17 11:42:31 +00:00
Eli Barzilay
b647ea2ae9 new copy of net tests, split into modules, and using my test macro
svn: r14143
2009-03-17 11:41:06 +00:00
Eli Barzilay
167bae8bdd add option for testing errors and non-exception raised values with a predicate
svn: r14141
2009-03-17 10:04:20 +00:00
Eli Barzilay
2008456d64 Converted the cgi tests to use my test macro, and included them in the
nightly testing.

svn: r14139
2009-03-17 07:04:16 +00:00
Jay McCarthy
b3cec49237 pr9106, include in release
svn: r14133
2009-03-16 19:26:36 +00:00
Jay McCarthy
f9c4e4eb54 pr7974 + include in release
svn: r14132
2009-03-16 18:45:16 +00:00
Jay McCarthy
65c8b62652 pr6711
svn: r14129
2009-03-16 18:28:56 +00:00
Eli Barzilay
6d31100a89 Start a proper preprocessor documentation, with tests included.
(proper "literate testing".)

svn: r14112
2009-03-15 22:05:52 +00:00
Eli Barzilay
87ab3142a8 cheap hack to make it possible to provide a custom failure message
svn: r14111
2009-03-15 22:04:03 +00:00
Jay McCarthy
04cdd975e9 Fixing xml snip bug
svn: r14087
2009-03-13 14:55:37 +00:00
Ryan Culpepper
e11a24fda8 macro stepper:
better module hiding
  display prefab structs
  updated tests

svn: r14085
2009-03-13 05:54:17 +00:00
Eli Barzilay
3537435564 dont show spaces at the end of a line when not needed
svn: r14077
2009-03-12 18:25:08 +00:00
Eli Barzilay
940a47a439 fix include references
svn: r14075
2009-03-12 17:22:45 +00:00
Sam Tobin-Hochstadt
f1840f4eeb sync to trunk
svn: r14074
2009-03-12 15:28:19 +00:00
Eli Barzilay
e366d25a85 better example for splice
svn: r14068
2009-03-12 08:15:39 +00:00
Eli Barzilay
ca30b05114 A complete rewrite of text output using port state now.
Also a few more text-controlling primitives.

svn: r14065
2009-03-12 02:27:12 +00:00
Robby Findler
53af4d6a9a moved tracing support from the htdp tool into drscheme proper
svn: r14054
2009-03-11 17:42:04 +00:00
Matthew Flatt
5269b2a05a test fix eqvhash table for characters
svn: r14047
2009-03-11 02:25:24 +00:00
Sam Tobin-Hochstadt
2ad93c7da5 new tests for struct providing
svn: r14033
2009-03-10 20:27:46 +00:00
Robby Findler
39fc578bf0 svn: r14030 2009-03-10 17:34:23 +00:00
Eli Barzilay
3658ea87e5 The scribble/text language works much better now, with
indentation-aware output being possible.

svn: r14025
2009-03-10 09:36:54 +00:00
Jay McCarthy
d5312fbe3b Non empty strings in redirect-to
svn: r14023
2009-03-09 17:08:37 +00:00
Sam Tobin-Hochstadt
f88d00edf8 sync to trunk
svn: r14005
2009-03-07 19:08:55 +00:00
Sam Tobin-Hochstadt
d1ac259bcc try to fix this test
svn: r13999
2009-03-06 23:37:05 +00:00
Matthew Flatt
282a404ada all expression forms tested for zo-marshal
svn: r13998
2009-03-06 23:27:10 +00:00
Matthew Flatt
946a39221a some zo-marshal repairs
svn: r13984
2009-03-06 17:37:28 +00:00
Matthew Flatt
f1e646c8f9 zo-marshal bug fixes and start at test suite
svn: r13979
2009-03-06 15:22:33 +00:00
Sam Tobin-Hochstadt
147cac076c handle subtyping for varargs functions
svn: r13962
2009-03-05 00:09:43 +00:00
Sam Tobin-Hochstadt
f106e88551 remove contract errors
svn: r13959
2009-03-04 20:31:46 +00:00
Sam Tobin-Hochstadt
8498619ab8 most test suites pass
svn: r13958
2009-03-04 20:26:34 +00:00
John Clements
4d9e3ebe56 ...
svn: r13942
2009-03-04 08:34:53 +00:00
John Clements
7a701cef2c ...
svn: r13939
2009-03-04 06:46:00 +00:00
Matthew Flatt
b4f6c524a1 added prop:print-converter
svn: r13938
2009-03-04 02:54:22 +00:00
Sam Tobin-Hochstadt
9d0ee637c7 Fix name of Type/c
Fix fold on Result.
Add comments.
New -struct constructor with opt args.
Fix tests to agree with contracts.

svn: r13934
2009-03-03 23:18:00 +00:00
Sam Tobin-Hochstadt
6271f648c6 fix some requires
svn: r13925
2009-03-03 21:53:02 +00:00
Sam Tobin-Hochstadt
4615d7573e subst-tests now pass
svn: r13923
2009-03-03 20:35:18 +00:00
Jay McCarthy
e1dab52b07 compat
svn: r13922
2009-03-03 20:02:31 +00:00
Jay McCarthy
a7126e20a5 dispatching
svn: r13914
2009-03-03 17:26:29 +00:00
Sam Tobin-Hochstadt
ea156c984c Fix bugs 10101 and 10100, patch from David Van Horn.
svn: r13902
2009-03-03 01:50:09 +00:00
Jay McCarthy
e51ea7f217 up
svn: r13896
2009-03-02 16:21:32 +00:00
Stevie Strickland
7d22b05e7c Make it so that we do more precise checking on the contract errors, so that
if the blame or objects involved change, we'll get an error instead of having
to manually detect it.

svn: r13886
2009-03-01 01:37:45 +00:00
Jay McCarthy
5fda17741b contracts and cleanup
svn: r13874
2009-02-27 20:29:48 +00:00
Eli Barzilay
adb21611cf set svn:eol-style
svn: r13868
2009-02-27 04:31:41 +00:00
Jay McCarthy
196ec00f16 new units, contracts, tests
svn: r13852
2009-02-26 17:09:26 +00:00
Eli Barzilay
b901c9769f avoid planet dependency
svn: r13832
2009-02-25 13:18:49 +00:00
Jay McCarthy
9657528134 plist
svn: r13830
2009-02-25 12:37:35 +00:00
Jay McCarthy
7c0273bf47 new tests
svn: r13829
2009-02-25 12:24:19 +00:00
Jay McCarthy
20fa57d6d0 tests
svn: r13825
2009-02-24 23:09:58 +00:00
Jay McCarthy
b95292a7be tests
svn: r13824
2009-02-24 23:09:22 +00:00
Jay McCarthy
c909836ba8 new tests
svn: r13823
2009-02-24 22:22:49 +00:00
Robby Findler
ab47ac0f10 fixed a problem with arrow-based requires
svn: r13808
2009-02-24 00:03:57 +00:00
Jon Rafkind
09c6c96099 add a test for const
svn: r13750
2009-02-19 22:15:58 +00:00
Robby Findler
f083e6b50d fixed an off-by-one error (flooring negative numbers should go towards zero whe moving pinholes to be consistent with overlay/xy)
svn: r13730
2009-02-18 22:50:48 +00:00
Stevie Strickland
7e1ea98876 Pull back Robby's allowance of all struct options just a bit, plus handle
the ones we do allow natively.

svn: r13727
2009-02-18 21:14:50 +00:00
Ryan Culpepper
59727cc4bc stxclass: added and- and or-patterns, box and vector patterns
svn: r13721
2009-02-18 04:01:52 +00:00
Stevie Strickland
7e8816ce0f * Add initial version of define-struct/contract
* Allow uncontracted exports of syntax from a with-contract form.

svn: r13717
2009-02-18 02:25:45 +00:00
Jay McCarthy
76853279c3 Moved to SU3
svn: r13712
2009-02-17 22:11:39 +00:00
Stevie Strickland
3ff2184a38 Add the first-order free variable contract checks I mentioned earlier.
svn: r13707
2009-02-17 20:50:56 +00:00
Stevie Strickland
9098c94e9c Add first-order checks for free variable contracts, and tests for everything.
svn: r13706
2009-02-17 20:48:04 +00:00
Stevie Strickland
cf916f51fa Forgot to add rename-transformers for unprotected ids.
svn: r13704
2009-02-17 19:58:26 +00:00
Stevie Strickland
c6b92782e2 Rename cstruct to struct/ctc, to avoid confusion with cstruct from the ffi.
svn: r13661
2009-02-16 14:50:59 +00:00
Stevie Strickland
340035bef7 Adding cstruct, which is like the struct signature form but with contracts.
svn: r13647
2009-02-16 02:51:12 +00:00
Sam Tobin-Hochstadt
02efc28dff Fix error message when polymorphic inference fails because of expected type.
Add test case.

svn: r13639
2009-02-16 02:12:13 +00:00
Sam Tobin-Hochstadt
c9377a1f9d sync again
svn: r13624
2009-02-15 22:03:05 +00:00
Stevie Strickland
1943083cf9 Fix nested with-contracts by checking explicitly for ssps. Apparently
painting the bindings causes the ssp to later fail when you try to access
the parameter.  Not sure if this is a bug or not, will talk to Matthew.

svn: r13621
2009-02-15 21:59:22 +00:00
Sam Tobin-Hochstadt
204806a13a revert back to regular parse type
svn: r13619
2009-02-15 21:57:30 +00:00
Sam Tobin-Hochstadt
738b8311af sync to trunk
svn: r13609
2009-02-15 17:45:53 +00:00
Stevie Strickland
534c50d900 Revise that test. The current behavior is correct, if odd.
svn: r13603
2009-02-15 08:40:54 +00:00
Stevie Strickland
b6fdabcd73 Going ahead and adding this test, but need to think about how to attack it.
svn: r13602
2009-02-15 08:31:13 +00:00
Stevie Strickland
62d82ca9be Clean up some bindings, moving them from defines to letrec-syntax.
svn: r13599
2009-02-15 05:20:30 +00:00
Stevie Strickland
cbcad0528c There is now a new form, define-unit/contract, that basically mixes
define-unit with the application of a unit contract.  So you can think
of it as a define/contract for units that keeps the static info needed
for link inference.

svn: r13584
2009-02-14 21:32:02 +00:00
Ryan Culpepper
44efc7cb48 stxclass:
fixed scoping of attributes (wrt declare)
  added 'attribute' form
  added internal/external literals form

svn: r13574
2009-02-14 12:17:14 +00:00
Stevie Strickland
387c8b210f * Fix unit/c so that less unnecessary code is generated.
* Fix contracts for signatures and units so that references to
   other signature members work appropriately.
 * Add text about signature and unit contracts to the Guide.

svn: r13562
2009-02-13 22:50:49 +00:00
Ryan Culpepper
f2204710fa stxclass: reorganized docs
svn: r13544
2009-02-13 03:23:07 +00:00
Stevie Strickland
8656e7e918 Fix up the contracts so that they properly refer to locally defined variables.
svn: r13527
2009-02-12 03:51:40 +00:00
Stevie Strickland
12110acfe3 Add test for non-unit check.
svn: r13526
2009-02-12 00:49:56 +00:00
Stevie Strickland
fbb5de4fa7 Adding the initial cut at unit/c.
svn: r13524
2009-02-11 22:46:48 +00:00
Jay McCarthy
57549a1759 formlets
svn: r13510
2009-02-09 22:48:10 +00:00
Jay McCarthy
79ef2483f3 formlets tests
svn: r13508
2009-02-09 22:03:45 +00:00
Jay McCarthy
1e67e759d7 hmac-sha1
svn: r13506
2009-02-09 18:21:01 +00:00
Jay McCarthy
0f96462369 docs/test
svn: r13505
2009-02-09 17:48:04 +00:00
Matthew Flatt
767766521c infix for literal prefab structs, quasiquote unquoting in value positions of hash-table literals, and related changes (v4.1.4.3)
svn: r13504
2009-02-09 15:27:51 +00:00
Jay McCarthy
fe078ee54b stuffers
svn: r13474
2009-02-06 23:23:21 +00:00
Jay McCarthy
4f952a65d2 abstracting stuffing
svn: r13469
2009-02-06 19:58:50 +00:00
Sam Tobin-Hochstadt
2b54135394 test fix
svn: r13456
2009-02-05 15:05:59 +00:00
Sam Tobin-Hochstadt
52d711e0bd use exact-integer? instead of integer?
use (Listof Any) instead of List

svn: r13437
2009-02-04 23:06:35 +00:00
Jay McCarthy
0888178644 Digest auth
svn: r13418
2009-02-04 18:59:26 +00:00
Jay McCarthy
0b816d2942 cookies
svn: r13397
2009-02-03 22:32:35 +00:00
Jay McCarthy
304b163623 bytes
svn: r13394
2009-02-03 20:21:05 +00:00
Jon Rafkind
51839c33a1 put correct value in the test
svn: r13380
2009-02-03 17:37:19 +00:00
Jay McCarthy
7f13cb3da8 prefer bytes
svn: r13377
2009-02-03 16:23:28 +00:00
Jon Rafkind
6ebd445726 add != to honu. start making some tests
svn: r13372
2009-02-03 01:47:33 +00:00
Jay McCarthy
99e9376a73 Fixing tests
svn: r13351
2009-02-02 16:40:06 +00:00
Eli Barzilay
858e7dd94e test forbidden nested calls
svn: r13342
2009-01-31 20:24:35 +00:00
Eli Barzilay
339aa71441 even better
svn: r13341
2009-01-31 20:23:11 +00:00
Eli Barzilay
3956dc1530 more improvements to all four variants of exits
svn: r13340
2009-01-31 20:06:36 +00:00
Eli Barzilay
4b7e4e4322 misc improvements, add test for (exit)
svn: r13339
2009-01-31 19:46:33 +00:00
Eli Barzilay
67471cc62b cheap hack to find which memory error test is causing problems
svn: r13335
2009-01-31 15:48:31 +00:00
Stevie Strickland
f6493e1c32 Abstraction of the boxes used for unit imports/exports to allow for adding
contracts in an already created unit.

svn: r13331
2009-01-31 01:39:23 +00:00