Commit Graph

2231 Commits

Author SHA1 Message Date
Eli Barzilay
6387797aa4 removed collects/tests/profj
svn: r16088
2009-09-20 20:37:14 +00:00
Ryan Culpepper
282d36e363 syntax/parse: added explicit ~var and ~literal forms (no docs yet)
svn: r16077
2009-09-19 20:04:00 +00:00
Mike Sperber
ec0175bd48 Add missing `contract'.
svn: r16072
2009-09-19 17:23:04 +00:00
Kathy Gray
f300ba967a Changed syntax of check-member-of so that it will work in htdp-beginner
Updated docs to reflect this

svn: r16065
2009-09-18 14:19:50 +00:00
Kathy Gray
e3c2721052 Adding check-member-of and check-range to the htdp languages and updating the docs.
svn: r16064
2009-09-18 12:37:18 +00:00
Stevie Strickland
636adcc142 Refactoring all the private contract stuff into its own playpen.
svn: r16052
2009-09-17 20:55:37 +00:00
Stevie Strickland
70e8f21ba2 Refactoring scheme/private/contract into reasonably sized pieces.
svn: r16049
2009-09-17 19:45:56 +00:00
Stevie Strickland
aca0bcf82e First moving private/contract.ss to a different name. The diaspora from
that file into others will happen next.

svn: r16048
2009-09-17 17:42:45 +00:00
John Clements
93a2302bf3 cleaned up debugging code, still no automated testing
svn: r16015
2009-09-15 00:45:33 +00:00
Jon Rafkind
6137510396 make generators use a parameterized yield function
svn: r16010
2009-09-14 21:11:07 +00:00
Jay McCarthy
b2b557ab0b Fixing test
svn: r16007
2009-09-14 18:40:20 +00:00
Matthew Flatt
30c0dcf045 dynamic-require and 0 mode; repair to unsafe-fl ops; x86_64 for Mac OS X
svn: r15985
2009-09-11 23:05:50 +00:00
Sam Tobin-Hochstadt
49b30f9055 Remove obselete file.
Use syntax/parse instead of stxclass.

svn: r15983
2009-09-11 22:17:45 +00:00
Stevie Strickland
c7255c9daf Copy/paste error.
svn: r15978
2009-09-11 19:39:08 +00:00
Jon Rafkind
d0611c8871 add keyword tests for define-struct/contract
svn: r15974
2009-09-11 17:37:59 +00:00
Mike Sperber
b6ca1e1673 Zap a bunch more `define-contract' forms.
svn: r15971
2009-09-11 09:38:59 +00:00
Mike Sperber
9a613d0d57 Remove invalid-arity tests: these fail directly now that we copy the
arity to the enforcer.

svn: r15935
2009-09-09 15:17:40 +00:00
Sam Tobin-Hochstadt
4907d266df Move parse-type2 to parse-type.
Re-enable typed-scheme tests automatically.

svn: r15924
2009-09-08 20:02:03 +00:00
Sam Tobin-Hochstadt
63d318fd4b New type parser, written using syntax/parse.
- uses keywords with bindings
 - : macro in separate file so it can be used earlier
 - internal function in separate file
FilterSet/c and LatentFilterSet/c contracts
Avoid returning #f when `look-for-in-orig' fails
Add type for unsafe-cdr

svn: r15923
2009-09-08 19:51:34 +00:00
Matthew Flatt
8ae0ea9d14 unsafe ops (v4.2.1.8)
svn: r15899
2009-09-06 18:24:46 +00:00
Jon Rafkind
260ef74035 add define-struct/contract sub-typing tests
svn: r15888
2009-09-05 16:48:15 +00:00
Robby Findler
302cfd2800 updated to new coloring of set!'d variables
svn: r15875
2009-09-04 07:54:42 +00:00
Robby Findler
937d2efab3 added exists to provide/contract
svn: r15871
2009-09-04 04:52:02 +00:00
Sam Tobin-Hochstadt
9e25d28a28 remove extra whitespace
svn: r15863
2009-09-03 07:53:39 +00:00
Sam Tobin-Hochstadt
95cb438a9c New tests
svn: r15856
2009-09-01 22:22:37 +00:00
Stevie Strickland
acce62b181 Add in one test that uses unit/c (via define-unit/contract) instead of just
the signature based contracts.

svn: r15855
2009-09-01 22:00:15 +00:00
Ryan Culpepper
2acdfd6eb5 syntax/parse: fixed error-reporting bugs, added error-reporting tests
svn: r15853
2009-09-01 19:16:33 +00:00
Ryan Culpepper
43d10b5179 added syntax/keyword library
updated syntax/parse to add #:context argument

svn: r15828
2009-08-29 22:58:08 +00:00
Matthew Flatt
a12ec5fd23 improve speed of writing long byte strings with lots of escapes in WXME
svn: r15822
2009-08-28 03:45:38 +00:00
Jon Rafkind
40115cb251 add generator tests back in
svn: r15817
2009-08-27 16:42:17 +00:00
Eli Barzilay
caf1c21d3f removed tests for now
svn: r15813
2009-08-27 12:17:28 +00:00
Eli Barzilay
ec9fc2571a Added `in-producer'.
(Note that `test-generator' tests use quasiquote for the expected result).

svn: r15811
2009-08-27 09:15:52 +00:00
Jon Rafkind
11091ee8fe add a few generator tests
svn: r15809
2009-08-26 21:44:14 +00:00
Eli Barzilay
e9bad827c3 Change the location information: avoid adjusting the source information
of `@foo' to include the `@'.  This applies for both identifiers and
full @-forms.

svn: r15792
2009-08-21 13:16:08 +00:00
Eli Barzilay
82f0d336d4 Added syntax property checking (only locations for now, but will be extended).
svn: r15791
2009-08-21 13:04:19 +00:00
Eli Barzilay
d863e07492 minor reorganization
svn: r15790
2009-08-21 11:40:29 +00:00
Eli Barzilay
1ea8c66511 In Scheme mode @|| will also throw an error instead of being read as a
comment.  This is to avoid confusing situations like

  (define foo (list x '@|| y))

which quoted the `y' since @|| was read as a comment.

svn: r15789
2009-08-21 11:11:21 +00:00
Robby Findler
d3ececcee6 cleaned up rotation
svn: r15782
2009-08-19 12:14:09 +00:00
Stevie Strickland
7d551aa0f2 Small change so that failures due to the implicit compound-unit/infer (like
init-depend failures) will show define-values/invoke-unit/infer as the
original source of the problem.

svn: r15780
2009-08-18 23:22:32 +00:00
Robby Findler
accd344975 started changing the representation so that the rotation angles are always at the bottom of the pictures
svn: r15774
2009-08-17 21:09:33 +00:00
Robby Findler
be2dc50990 moved tests into the tests collection
svn: r15773
2009-08-17 20:17:45 +00:00
Robby Findler
02e4426d06 PR 10406
svn: r15748
2009-08-16 09:56:24 +00:00
Robby Findler
485785176a drscheme now saves its compiled files in its own directory
svn: r15714
2009-08-12 19:44:14 +00:00
Eli Barzilay
7340beddde align expected and result on separate lines
svn: r15688
2009-08-08 07:21:39 +00:00
Eli Barzilay
ab544948e2 no plural if only one test
svn: r15687
2009-08-08 06:49:36 +00:00
Stevie Strickland
8ae58f1244 Primarily this is a change so that the negative party entering into
with-contract based contracts is the syntactic context of the with-contract
expression.  Also, there's some code cleanup.

svn: r15665
2009-08-03 21:15:44 +00:00
Sam Tobin-Hochstadt
1ea71ea94b New contracts for hashtables, vectors, boxes
svn: r15646
2009-07-30 21:15:16 +00:00
Robby Findler
b5b32d1d8e added automatic compilation to the module language, plus various other tweaks (contract library enhancement, bug fixes here and there)
svn: r15635
2009-07-30 05:17:40 +00:00
Eli Barzilay
1ce41ec179 * Improved tester definitions
* Testing read errors too now

svn: r15632
2009-07-30 03:17:50 +00:00
Eli Barzilay
d0f8970add @foo@bar' will now parse as a foo@bar' identifier. This used to be
the case in Scheme mode but not in text mode, and this commit makes
the text mode behave as the Scheme mode.  (Seems like a convenience
point that is not useful since people won't remember the difference.)

svn: r15622
2009-07-29 17:00:29 +00:00
Matthew Flatt
d807421a07 extended syntax colorer to support lexer-specific backup; fix problems with new color lexers
svn: r15617
2009-07-29 03:31:29 +00:00
Matthew Flatt
84485e14ad try reporting complex Scribble braces as regular braces
svn: r15614
2009-07-28 22:20:25 +00:00
Matthew Flatt
c261379a29 better coloring and bug fixes for Scribble notation
svn: r15613
2009-07-28 22:06:16 +00:00
Matthew Flatt
c1f5e3abb4 changed Scribble coloring for better tabbing
svn: r15612
2009-07-28 21:11:51 +00:00
Matthew Flatt
1ba7cf0926 #lang syntax coloring; Scribble syntax coloring
svn: r15607
2009-07-28 18:06:14 +00:00
Robby Findler
0c73b84692 PR 10344
svn: r15545
2009-07-24 04:37:34 +00:00
Robby Findler
305e3fc5df catching up with a change to collects/htdp/error.ss
svn: r15525
2009-07-22 04:06:56 +00:00
Robby Findler
c8366006df finally automated this
svn: r15523
2009-07-22 03:45:34 +00:00
Ryan Culpepper
a97a7f51b5 Please apply changes to release branch.
syntax/parse:
  - removed scribble docs for old stxclass collection
  - fixed bug in syntax-parse and #:declare
  - added attribute calculation option
  - renamed 'static-of' to 'static', added 'atom-in-list'
  - fixed kernel-literals to include all expanded-code forms
  - added tests

svn: r15488
2009-07-19 01:08:00 +00:00
Matthew Flatt
68a2257f2a better interaction of HtDP languages with scheme/match
svn: r15462
2009-07-16 16:11:12 +00:00
John Clements
ec9ce0ed04 updating...
svn: r15427
2009-07-11 03:59:39 +00:00
Eli Barzilay
a70bf64fd9 Newlines at EOFs
svn: r15380
2009-07-04 02:28:31 +00:00
Ryan Culpepper
3e63caa887 merged changes from /branches/ryanc/sp2:
added syntax/parse library and documentation
  added syntax/id-table library and documentation

svn: r15376
2009-07-03 19:47:25 +00:00
Matthew Flatt
8237ec1b6f fix custodian of tcp-accept-evt
svn: r15335
2009-06-30 12:59:55 +00:00
John Clements
7e7c5441eb ...
svn: r15301
2009-06-26 18:24:51 +00:00
Jay McCarthy
3141c3736f Adding struct* to scheme/match
svn: r15255
2009-06-24 19:36:26 +00:00
Jay McCarthy
ad53d3e60d Renaming permissive? to permissive-xexprs based on Matthias suggestion
svn: r15237
2009-06-22 21:00:24 +00:00
Jay McCarthy
f409c1e36d Adding string->xexpr from troels
svn: r15233
2009-06-22 19:46:22 +00:00
Robby Findler
ec44ee7df1 added hash/c
svn: r15210
2009-06-18 21:31:33 +00:00
Sam Tobin-Hochstadt
cfd65e7fa2 Use vector-immutableof' and box-immutable/c' to handle boxes and vectors.
svn: r15199
2009-06-17 20:49:13 +00:00
Eli Barzilay
66c855c2d3 Switch language readers to #lang s-exp
svn: r15188
2009-06-16 17:13:51 +00:00
Eli Barzilay
fbe5941a84 improved tests
svn: r15166
2009-06-13 17:47:54 +00:00
Carl Eastlund
6ae56e5348 Added a test for new datum->syntax type clauses.
svn: r15159
2009-06-12 23:36:08 +00:00
Sam Tobin-Hochstadt
7b82069fa0 Add NoFilter and NoObject to represent no information about filter/object.
Handle these properly in check-below (with test).
Use NoFilter and NoObject to make if typechecking work properly with filters.
Reject mismatched filters/objects (with test).

New version of require/typed that handles opaque and struct requires.
Reorganize docs around this.

svn: r15155
2009-06-12 19:04:39 +00:00
Matthew Flatt
e0e7b390a3 include zero-length strings in random inserts
svn: r15127
2009-06-09 21:32:09 +00:00
Eli Barzilay
3c746c1fd3 move require into evaluation
svn: r15124
2009-06-09 10:41:22 +00:00
Eli Barzilay
4240ac8cfc New `make-at-reader' in the API, update docs, adapt tests.
svn: r15121
2009-06-08 16:43:01 +00:00
Eli Barzilay
f08fb96f88 a little better
svn: r15118
2009-06-08 14:48:15 +00:00
Eli Barzilay
6977ddde54 Fix broken test, add many more
svn: r15117
2009-06-08 14:34:52 +00:00
Eli Barzilay
d521d21ad5 minor shuffling
svn: r15113
2009-06-07 21:43:36 +00:00
Eli Barzilay
dd68b710ae * Reorganize the scribble tests to separate files
* Finally moved the scribble reader tests with the rest so it can run
  with the nightly build.

svn: r15112
2009-06-07 21:42:38 +00:00
Eli Barzilay
575a348e8a fix bad syntax
svn: r15110
2009-06-07 09:21:41 +00:00
Jay McCarthy
e9db334ed0 Fixing an error in the detecting of bad Xexprs and displaying the error prettily
svn: r15080
2009-06-04 17:25:19 +00:00
Sam Tobin-Hochstadt
e14e58c8df hash table keys are contravariant, not covariant
svn: r15077
2009-06-04 14:38:59 +00:00
Matthew Flatt
122fd73ce8 fix test suite typo
svn: r15034
2009-06-01 12:19:51 +00:00
Eli Barzilay
82e256473d Finally it works.
svn: r15018
2009-05-30 06:48:49 +00:00
Matthew Flatt
7cc2a8c898 tests for quasiquote repair (merge to 4.2)
svn: r15004
2009-05-28 13:04:35 +00:00
Matthew Flatt
5c103eed59 fix problem with module->namespace and shadowing initial imports (pr 10264) (merge to 4.2)
svn: r14994
2009-05-26 23:44:11 +00:00
Sam Tobin-Hochstadt
d31926c434 sync to trunk
svn: r14978
2009-05-25 13:03:13 +00:00
Matthew Flatt
2b80e7d68d more random testing
svn: r14971
2009-05-24 12:25:28 +00:00
Sam Tobin-Hochstadt
c1eb25e47f move additional tests to test dir
svn: r14963
2009-05-23 23:00:23 +00:00
Sam Tobin-Hochstadt
a8ee2dc161 sync to trunk
svn: r14940
2009-05-22 21:42:46 +00:00
Sam Tobin-Hochstadt
e772687a58 Add unit tests for andmap of ..., Bot return to MV context
svn: r14929
2009-05-22 19:08:12 +00:00
Sam Tobin-Hochstadt
5b7249eea5 Add test of andmap.
svn: r14928
2009-05-22 19:04:22 +00:00
Robby Findler
611f1d1efd svn: r14927 2009-05-22 18:45:20 +00:00
Matthew Flatt
0b9730158e fix editor bugs related to line-wrapping, tab insertion, and pasting to the end of an editor that has been line-wrapped in the past (merge to 4.2)
svn: r14921
2009-05-22 16:24:17 +00:00
Robby Findler
ac9fa2e979 svn: r14918 2009-05-22 01:59:02 +00:00
Robby Findler
a4d87e926e fixed a bug
svn: r14909
2009-05-21 20:50:03 +00:00
Robby Findler
5e84de9166 stupid bug that only breaks the test suite sometimes
svn: r14905
2009-05-21 20:14:03 +00:00
Mike Sperber
975b825638 Fix paren typo.
svn: r14900
2009-05-21 15:57:40 +00:00
Mike Sperber
4c367c4778 One more schemeunit update.
svn: r14899
2009-05-21 15:56:55 +00:00
Mike Sperber
5e6360b2e3 Some updates to the deinprogramm tests:
- use schemeunit from collects
- tp-exn? is no more

svn: r14898
2009-05-21 15:51:46 +00:00
Ryan Culpepper
2e3a0bcd0d macro debugger:
fixed hiding bug with non-collection modules
  improved #%top-interaction elimination
Please apply changes for release.

svn: r14887
2009-05-20 22:43:39 +00:00
Matthew Flatt
de5bbaff40 fix bug parsing polar notation conbined with #e
svn: r14878
2009-05-20 00:18:15 +00:00
Sam Tobin-Hochstadt
0cd135c3bb Add test for unreachble code with expected type.
svn: r14869
2009-05-19 15:24:12 +00:00
Sam Tobin-Hochstadt
f712495009 add syntax locations to cond* macro
svn: r14868
2009-05-19 15:23:57 +00:00
Matthew Flatt
17a283a28d editor and documentation repairs (merge to 4.2)
svn: r14864
2009-05-19 01:02:41 +00:00
Matthew Flatt
63a7a9c77b more random mred testing
svn: r14863
2009-05-19 00:27:39 +00:00
Matthew Flatt
c4b4af817b random mred testing
svn: r14862
2009-05-18 23:31:33 +00:00
Sam Tobin-Hochstadt
676f827ab0 sync to trunk
svn: r14861
2009-05-18 22:19:46 +00:00
Jay McCarthy
ac8aca7b21 Native continuations in serial language, soft state, and typos. Eli, this may be put into the release.
svn: r14854
2009-05-18 17:46:15 +00:00
Eli Barzilay
8e79a2aed5 don't include the *-node in the topological-sort output
svn: r14835
2009-05-15 19:28:38 +00:00
Eli Barzilay
27e4c708c7 better layout for topological-sort
svn: r14834
2009-05-15 19:16:56 +00:00
Matthias Felleisen
305a38a0c0 arithmetic functions should be standard
svn: r14833
2009-05-15 18:26:16 +00:00
Matthias Felleisen
2453bc3c6e added functins for analyzing strings as 1-letter strings
svn: r14829
2009-05-15 16:21:57 +00:00
Sam Tobin-Hochstadt
7a24d39348 make struct-exec a little more interesting
svn: r14828
2009-05-15 15:47:57 +00:00
Sam Tobin-Hochstadt
af623cbdc7 add test of `apply values'
svn: r14816
2009-05-14 18:57:23 +00:00
Eli Barzilay
40467a005e added tests for topological-sort
svn: r14814
2009-05-14 15:33:25 +00:00
Eli Barzilay
9c99a32d29 added tests for topological-sort
svn: r14813
2009-05-14 15:33:20 +00:00
Sam Tobin-Hochstadt
b30338e0c5 Add start of type->contract test suite.
Add test for poly annotation failure.

svn: r14809
2009-05-14 14:45:07 +00:00
Eli Barzilay
76574dc619 tests need the structs too
svn: r14805
2009-05-14 07:36:46 +00:00
Sam Tobin-Hochstadt
88159e2479 add require
svn: r14798
2009-05-13 21:25:41 +00:00
Sam Tobin-Hochstadt
5f1b4a7daf Fix two tests
svn: r14797
2009-05-13 16:17:01 +00:00
Sam Tobin-Hochstadt
8de55a4207 sync to trunk
svn: r14795
2009-05-13 14:35:24 +00:00
Sam Tobin-Hochstadt
54eb4cc314 formatting
svn: r14791
2009-05-12 21:50:16 +00:00
Sam Tobin-Hochstadt
82c6720bc9 Fix more tests for false info
svn: r14787
2009-05-12 19:54:09 +00:00
Sam Tobin-Hochstadt
f24cbf9952 Fix more tests with truth info.
svn: r14784
2009-05-12 16:52:55 +00:00
Sam Tobin-Hochstadt
e796cd802b fix wrong results - 25 fails
svn: r14783
2009-05-12 15:30:15 +00:00
Sam Tobin-Hochstadt
c19b66d5db add tests for overlap
fix more typecheck tests - 29 failures

svn: r14782
2009-05-12 15:17:30 +00:00
Matthew Flatt
1809d9286e fix r6rs template problem with quoting ellipses
svn: r14780
2009-05-12 13:44:04 +00:00
Sam Tobin-Hochstadt
1ce4411ceb fix tests to handle identifiers, down to 38 fails
svn: r14775
2009-05-11 19:40:58 +00:00
Robby Findler
01af999556 svn: r14768 2009-05-10 21:53:09 +00:00
Matthew Flatt
440a60c8ad fix make-custom-weak-hash (PR 10232)
svn: r14762
2009-05-09 13:37:28 +00:00
Sam Tobin-Hochstadt
a828b89e92 Fix a lot of tests - 47 fail.
svn: r14757
2009-05-08 23:12:13 +00:00
Sam Tobin-Hochstadt
dcc2ff72d9 all tests now compile
svn: r14753
2009-05-08 21:38:30 +00:00
Sam Tobin-Hochstadt
9f3d719b4e Fix parsing of All to only use parse-values-type when appropriate.
Fix tests for new names.
Fix tests for parse-type not handling values.

svn: r14752
2009-05-08 20:26:27 +00:00
Sam Tobin-Hochstadt
0ddf7338cb sync to trunk
svn: r14750
2009-05-08 20:11:09 +00:00
Sam Tobin-Hochstadt
f6f9b20f17 Rename vars.
svn: r14749
2009-05-08 20:10:53 +00:00
Matthew Flatt
f08649a007 further improve procedure? and procedure-arity-includes? optimization on procedure names bound in a module top-level
svn: r14725
2009-05-05 23:08:24 +00:00
Matthew Flatt
4623a1ac07 some improvement in eliminating procedure? and procedure-arity-includes? statically
svn: r14723
2009-05-05 19:22:55 +00:00
Sam Tobin-Hochstadt
f730466e72 sync to trunk
svn: r14711
2009-05-04 13:51:07 +00:00
Matthew Flatt
83cd3964f4 fix file-descriptor leak in process[*]/ports (PR 10229)
svn: r14710
2009-05-04 12:22:01 +00:00
Matthew Flatt
57ff3c2486 fix foldr/foldr argument checking (PR 10215)
svn: r14706
2009-05-04 02:20:06 +00:00
Eli Barzilay
e3d9f396c4 compose now gets 0 or more inputs
svn: r14704
2009-05-04 02:10:01 +00:00
Matthew Flatt
16e483033c fix define after define* in package; doc repairs
svn: r14701
2009-05-03 23:49:22 +00:00
Eli Barzilay
a1d943146b added a nullary case to compose
svn: r14697
2009-05-03 20:41:37 +00:00
Eli Barzilay
3ca6ac2175 added stupid make-list and stupid const
svn: r14693
2009-05-03 16:17:48 +00:00
Sam Tobin-Hochstadt
83abdf9eae sync to trunk
svn: r14681
2009-05-01 21:19:11 +00:00
Eli Barzilay
ff73a5395e removed lots of "the the"s
svn: r14679
2009-05-01 21:02:51 +00:00
Matthew Flatt
2b8b10dd40 fix problem with package, define*, and macro-introduced identifiers
svn: r14671
2009-04-30 23:57:45 +00:00
Robby Findler
6d08558ab7 fixed a bug in my earlier bugfix (also PR 10221)
svn: r14662
2009-04-29 21:08:01 +00:00
Sam Tobin-Hochstadt
8b2381e109 sync to trunk
svn: r14653
2009-04-29 14:36:54 +00:00
Robby Findler
87c9aba9e0 added a little optimization to provide/contract
svn: r14646
2009-04-29 03:48:45 +00:00
Sam Tobin-Hochstadt
29e123ccf3 sync to trunk
svn: r14602
2009-04-24 21:30:40 +00:00
Sam Tobin-Hochstadt
2d7d94031d sync to trunk
svn: r14600
2009-04-24 21:22:59 +00:00
Matthew Flatt
cd09b30497 (v4.1.5.5) repair interaction of provides redirected by a rename-transformer, certification of access to unexported variables, and protected exports; also get rid of kernel-reprovide special case in export handling, because a more general export-sharing technique subsumed the special case long ago
svn: r14593
2009-04-24 14:59:09 +00:00
Jon Rafkind
2bd98fbdb2 fix one test, break another
svn: r14581
2009-04-21 23:49:34 +00:00
Jon Rafkind
ec615d4882 add some function tests
svn: r14580
2009-04-21 23:41:50 +00:00
Matthew Flatt
932fe179f8 drop a bad R6RS test (PR 10210)
svn: r14577
2009-04-21 16:44:41 +00:00
Sam Tobin-Hochstadt
60325b670c Fix handling of filters that refer to out-of-scope vars
svn: r14574
2009-04-21 16:13:00 +00:00
Sam Tobin-Hochstadt
b1b5fe4816 Add test for match improvements.
Improve handling of inference for let loop.  

svn: r14573
2009-04-21 15:35:05 +00:00
Eli Barzilay
434ec53b88 typed scheme tests keep failing
svn: r14559
2009-04-19 14:13:06 +00:00
Matthew Flatt
119c69e1ad fix some problems and inefficiencies in saving and loading wxme streams
svn: r14526
2009-04-15 22:27:43 +00:00
John Clements
08fec4f10e ...
svn: r14505
2009-04-14 03:09:41 +00:00
Matthew Flatt
3a68af494a fix method name 'equal?' i wxme test
svn: r14492
2009-04-11 22:40:04 +00:00
John Clements
df336f795b ...
svn: r14487
2009-04-11 00:53:59 +00:00
Sam Tobin-Hochstadt
929dc1d5b2 Fix polymorphic structure predicates.
svn: r14483
2009-04-10 00:07:11 +00:00
Sam Tobin-Hochstadt
69a3b7a70f Fix bug with structure keys and polymorphic structs.
Use `match*'
Add test

svn: r14482
2009-04-09 23:52:13 +00:00
Sam Tobin-Hochstadt
ac7e879360 Fix bug with match dots.
Fix handling of keywords.
Add keywords in call-with-input/output-port.

svn: r14469
2009-04-08 20:24:05 +00:00
Matthew Flatt
1d26e97a35 Scheme-implemented editor classes; on-demand instantiation of module phases
svn: r14445
2009-04-07 17:12:22 +00:00
Jay McCarthy
afe6599e23 converting to trunk schemeunit
svn: r14440
2009-04-06 22:57:20 +00:00
Jay McCarthy
df56a8e3c1 use hash-ref!
svn: r14438
2009-04-06 14:43:33 +00:00
Jay McCarthy
ceee79e07f mjadud bug
svn: r14426
2009-04-05 13:50:02 +00:00
Eli Barzilay
06636c1813 added in-sequences and in-cycle
svn: r14424
2009-04-05 08:29:17 +00:00
Eli Barzilay
9af9210aa2 added hash-ref! and hash-has-key?
svn: r14423
2009-04-05 04:35:12 +00:00
Eli Barzilay
50ec8211e2 reformat hash tests
svn: r14422
2009-04-05 02:43:47 +00:00
Sam Tobin-Hochstadt
2aab576237 Report more information for untyped imported identifiers
svn: r14418
2009-04-03 22:42:29 +00:00
Kathy Gray
d999a7c3ba Putting check ... inspect ... in part ii --- a working subset, sufficient for a demo
svn: r14417
2009-04-03 21:00:25 +00:00
Sam Tobin-Hochstadt
6d302a9304 Require that `require/typed' uses the contracted version of typed identifiers.
svn: r14415
2009-04-03 18:42:38 +00:00
Jay McCarthy
5b1ff07428 running help
svn: r14409
2009-04-02 21:02:25 +00:00
Eli Barzilay
810035ff52 added profile tests to nightly cycle
svn: r14398
2009-04-01 08:23:02 +00:00
Sam Tobin-Hochstadt
cd4305ca4f Add refinement types.
Add `parse-commmand-line'

svn: r14372
2009-03-31 03:33:04 +00:00
Sam Tobin-Hochstadt
b1f5b19563 merge to trunk a while ago
svn: r14353
2009-03-30 12:52:30 +00:00
Eli Barzilay
1fe2cee5c6 type
svn: r14344
2009-03-30 05:24:07 +00:00
Eli Barzilay
96d7291bfb statistical profiler, core and text interface part done
svn: r14340
2009-03-30 00:15:38 +00:00
Stevie Strickland
99aac7d745 Sam and I did some work to allow automatic inferred linking in
(define-values/)invoke-unit/infer.

svn: r14315
2009-03-27 13:47:12 +00:00
Eli Barzilay
896018f96b remove support files when a test is done
svn: r14245
2009-03-23 23:04:30 +00:00
Matthew Flatt
60bdcaed25 skip compiling deinprogramm tests
svn: r14244
2009-03-23 19:41:03 +00:00
Sam Tobin-Hochstadt
60e096913d First step to polymorphic functions in typed/untyped interface
- poly/c contract from Carl/Stevie
- generate the contracts
- test
- use in typed/srfi/14

svn: r14241
2009-03-23 18:29:07 +00:00
Sam Tobin-Hochstadt
40b4731106 Expand (require A ...) into (begin (require A) ...)
- docs (including discussion of require scoping)
- tests

svn: r14232
2009-03-23 14:13:10 +00:00
Mike Sperber
26f50142b2 Add test suites for DeinProgramm stuff.
svn: r14215
2009-03-22 14:30:39 +00:00
Sam Tobin-Hochstadt
6d8014783b Use 'no-free-identifier=? property with rename transformers.
Allow use of ... without bound when only one ... var in scope.

svn: r14214
2009-03-22 12:41:26 +00:00
Eli Barzilay
18fd48af97 Added `count'.
svn: r14210
2009-03-22 02:53:27 +00:00
Eli Barzilay
1048d204ca more time, for slower machines
svn: r14207
2009-03-22 01:30:13 +00:00
John Clements
27a67c9c1a ...
svn: r14204
2009-03-21 21:28:16 +00:00
Eli Barzilay
1db2b65978 Finished the docs+tests, added some minor utilities.
svn: r14199
2009-03-21 15:06:48 +00:00
Matthew Flatt
2109cec2f4 free-id=? propagation through module exports; add 'not-free-identifier=? syntax property to disable free-id=? propagation; add prop:rename-transformer and prop:set-transformer; fix scheme/local so that local syntax bindings are visible to later definitions (v4.1.5.3)
svn: r14191
2009-03-19 20:22:18 +00:00
Ryan Culpepper
d154493077 scheme/splicing: added splicing variants of local and letrec-syntaxes+values
svn: r14188
2009-03-19 13:45:45 +00:00
Matthew Flatt
645af327b4 fix htdp lang require test: merge to 4.1.5
svn: r14170
2009-03-18 11:53:42 +00:00
Matthew Flatt
e8cbe7ff81 splicing-let, etc.
svn: r14165
2009-03-17 23:09:38 +00:00
Sam Tobin-Hochstadt
0ed8d251bf Allow `apply' of non-uniform polymorphic functions to fixed-length list arguments.
Please backport.

svn: r14162
2009-03-17 21:18:50 +00:00
Matthew Flatt
9335e3cf28 doc updates for v4.1.5.2
svn: r14161
2009-03-17 21:06:42 +00:00
Eli Barzilay
9d0175ac2d Removed old (unused) gzip tests
svn: r14148
2009-03-17 15:01:17 +00:00
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
Jay McCarthy
d3f6fed328 Error messages
svn: r13321
2009-01-29 20:21:21 +00:00
Stevie Strickland
2f323578de Disallow unit/new-import-export if contracts are involved. This is not
planned to be permanent, but until I've figured out how to implement the
fix, just say no.

svn: r13311
2009-01-29 07:19:23 +00:00
Jay McCarthy
254f924ebb immediate marking
svn: r13299
2009-01-28 15:30:36 +00:00
Sam Tobin-Hochstadt
5baa4390d3 Fix handling of (or) in match.
svn: r13295
2009-01-27 19:57:59 +00:00
Sam Tobin-Hochstadt
2962c0bfa7 Fix handling of inexact integer literals.
svn: r13294
2009-01-27 17:55:10 +00:00
Eli Barzilay
f5ce61de97 * More time for quiet.ss and for run-automated-tests.ss
* Both will kill their timer when done, so it doesn't trigger later on

svn: r13292
2009-01-27 15:10:52 +00:00
Robby Findler
134138916f allows colons in the userinfo field of a url (ie, does not encode them)
svn: r13282
2009-01-25 20:12:08 +00:00
Eli Barzilay
79e4fc3e9b minor
svn: r13277
2009-01-25 03:52:59 +00:00
Eli Barzilay
c79acd6f61 minor
svn: r13276
2009-01-25 03:35:37 +00:00
Matthew Flatt
df4b9f41a8 add bitwise-bit-field
svn: r13266
2009-01-23 17:22:57 +00:00
Ryan Culpepper
98b9a62775 stxclass: fixed build bug, fixed tests
svn: r13265
2009-01-23 15:13:49 +00:00
Matthew Flatt
38c75a82d1 fix a bad interaction between 'make-syntax-delta-introducer' and the top-level environment
svn: r13258
2009-01-22 18:52:40 +00:00
Ryan Culpepper
eb9fe4847f stxclass: created stxclass collection, with docs
svn: r13255
2009-01-22 05:50:55 +00:00
Matthew Flatt
db12513b65 fix #:all-defined for 'define-package' by adjusting 'identifier-remove-from-definition-context'; add for-syntax 'package?' and 'package-export-identifiers'; adjust Scribble to find definitions of phase-1 exports
svn: r13253
2009-01-21 20:00:55 +00:00
Matthew Flatt
0c591f9fc4 fix a file-relative-path test for windows (merge to 4.1.4)
svn: r13215
2009-01-19 04:32:46 +00:00
Robby Findler
f486051cd9 changed some overly specific tests so they dont have to be run from my directories and updated to some new mz error messages
svn: r13204
2009-01-18 19:28:51 +00:00
Stevie Strickland
e1d5ced45e Only apply a single contract wrapping to a value contracted through unit
exporting/importing.  Also add some more unit contract tests.

svn: r13203
2009-01-18 10:38:52 +00:00
Stevie Strickland
e6999c8184 Just to ensure that nothing wonky goes on, change these to function names that
aren't in scheme/base.

svn: r13201
2009-01-18 05:54:58 +00:00
Stevie Strickland
92fa69c387 Add some tests that check interaction between with-contract (here
through define/contract) and unit contracts.

svn: r13183
2009-01-16 22:21:18 +00:00
Stevie Strickland
f6d571db40 Add a test that involves blame on a non-unit entity.
svn: r13182
2009-01-16 20:46:39 +00:00
Stevie Strickland
0fcf609e2b Syncing again
svn: r13178
2009-01-16 19:11:18 +00:00
Stevie Strickland
cc9925dd6b Add unit contracts from branches/sstrickl/unit-contracts.
svn: r13177
2009-01-16 19:03:11 +00:00
Matthew Flatt
2ef432d1bf benchmark tabulation option
svn: r13176
2009-01-16 18:31:03 +00:00
Stevie Strickland
b29b08dec0 Adding tests, because we should.
svn: r13175
2009-01-16 18:24:59 +00:00
Stevie Strickland
4fd8753c66 Start of a testing framework for unit contracts.
svn: r13173
2009-01-16 17:50:05 +00:00
Stevie Strickland
768117b201 Sync to trunk in preparation of merging (though unit-contracts will go first).
svn: r13171
2009-01-16 16:59:20 +00:00
Eli Barzilay
a76cdc248f added promise-forced? and promise-running?
svn: r13160
2009-01-16 05:46:07 +00:00
Eli Barzilay
b81ea02cab add more tests, mainly for catching exceptions and other raised values
svn: r13159
2009-01-16 05:18:37 +00:00
Stevie Strickland
ea3879fd8f Syncing again, whee.
svn: r13136
2009-01-15 02:35:34 +00:00
Ryan Culpepper
92a938dc6d macro stepper tests: updated
svn: r13133
2009-01-15 00:07:47 +00:00
Stevie Strickland
a4165d14b4 Change this to match how the error messages now come across.
svn: r13125
2009-01-14 21:39:43 +00:00
Stevie Strickland
d3f703b043 Fixing these back up to how they were before.
svn: r13123
2009-01-14 21:31:46 +00:00
Stevie Strickland
5ac3135cd6 Syncing up here as well.
svn: r13118
2009-01-14 18:27:06 +00:00
Eli Barzilay
d1a0086471 newlines at EOFs
svn: r13105
2009-01-14 03:10:47 +00:00
Stevie Strickland
2537508865 Syncing on up
svn: r13084
2009-01-13 01:05:50 +00:00
Matthew Flatt
2530e04720 add some-system-path<->string functions to scheme/path
svn: r13065
2009-01-11 14:47:51 +00:00
Matthew Flatt
4180d67e34 make scheme/path fuctions work on paths for any playform
svn: r13064
2009-01-11 13:52:26 +00:00
Stevie Strickland
22ee00b10f Oh, no! Aliens, bio-duplication, nude conspiracies.. oh my God,
Lyndon LaRouche was right!

svn: r13037
2009-01-08 14:55:23 +00:00
Jay McCarthy
f5aa64f90b send/formlet issue
svn: r13020
2009-01-06 15:37:23 +00:00
Eli Barzilay
e371bd8f4a completed Matthias's aborted commit
svn: r12999
2009-01-04 13:59:00 +00:00
Ryan Culpepper
b6312ff3ca macro stepper tests:
added regression test for PR 10000
  updated lifting tests for new variable name convention

svn: r12994
2009-01-03 19:58:06 +00:00
Matthew Flatt
d596401804 scheme/foreign: allow #f as NULL function pointer, allow callback as cpointer
svn: r12992
2009-01-03 18:51:15 +00:00
Robby Findler
6cc488603f PR 9999: fixed color-list->image and alpha-color-list->image so that they accept zeros for the widths and heights
svn: r12988
2009-01-03 17:36:46 +00:00
Robby Findler
97e00eef97 fixed a bug in the ->d contract checking (wrt tail dropping)
svn: r12987
2009-01-03 16:57:46 +00:00
Robby Findler
3af2ea45d0 changed ->d so that it only checks the contract just above, not many above
svn: r12986
2009-01-03 16:40:54 +00:00
Stevie Strickland
6d966c80af Syncing
svn: r12982
2009-01-03 03:09:06 +00:00
Matthew Flatt
b2d0a37f7b add propagated arguments to 'call-with-continuation-prompt'; streamline 'with-handlers' expansion; speed up slightly some JITted cross-module function calls
svn: r12979
2009-01-02 21:57:31 +00:00
Matthew Flatt
c7acb6d9ef fix pinhole bug created by recent cache-image-snip% changes
svn: r12975
2009-01-02 20:19:36 +00:00
Matthew Flatt
5e9b0c157a fix from Will for set-port-position test by getting a position that will be used later (PR 9993)
svn: r12965
2009-01-01 21:36:37 +00:00
Robby Findler
fb821d9041 added argmin and argmax to scheme/list and to the teaching languages
svn: r12960
2009-01-01 00:03:31 +00:00
Matthew Flatt
87274b2a97 procedure-rename
svn: r12952
2008-12-30 14:36:25 +00:00
Matthew Flatt
1642a84e69 add equal?/recur; implement equal? for image-snip% via properties
svn: r12950
2008-12-29 22:36:53 +00:00
Matthew Flatt
0cd2537a82 add equal<%> ad interface*
svn: r12946
2008-12-28 15:05:02 +00:00
Matthew Flatt
2083015b65 fix result checking for fxdiv
svn: r12938
2008-12-26 13:43:16 +00:00
Stevie Strickland
9e4d8d08b9 Syncing
svn: r12929
2008-12-23 03:20:02 +00:00
Matthew Flatt
82ead03b92 change _fpointer handling to work with function pointers in structs and other such uses; add 'function-ptr' casting operation
svn: r12913
2008-12-20 05:09:35 +00:00
Matthew Flatt
23e8624e41 fix the test-suite sandbox
svn: r12907
2008-12-19 20:58:56 +00:00
Stevie Strickland
0b1829e250 Sync up
svn: r12877
2008-12-17 14:28:56 +00:00
Eli Barzilay
f74dc2b8c7 Added `call-with-trusted-sandbox-configuration', and used in scribble
and in tests.

svn: r12871
2008-12-16 20:29:17 +00:00
Stevie Strickland
236370fd9f Syncing up this branch to get ready to clean it up for future possible
merging.

svn: r12870
2008-12-16 20:06:24 +00:00
Eli Barzilay
43124c2ec5 more adjustments
svn: r12863
2008-12-15 21:37:55 +00:00
Eli Barzilay
f8dff60a01 adjust limits on tight test, others two, clarified comments
svn: r12862
2008-12-15 21:32:50 +00:00
Matthew Flatt
25b27a8b08 more memory-accounting repairs, so that sandbox tests now pass
svn: r12861
2008-12-15 21:15:24 +00:00
Eli Barzilay
0786da10cb svn: r12860 2008-12-15 20:43:28 +00:00
Eli Barzilay
5141289bd7 * No nested code inspector for scribble sandboxes
* No nested inspectors or memory limit for testing sandboxes

svn: r12857
2008-12-15 18:29:59 +00:00
Eli Barzilay
04d0b55134 raise the limit for the problematic test, and compensate by doing more iterations
svn: r12855
2008-12-15 18:18:06 +00:00
Eli Barzilay
c62595772f Finally enabled using a sub code-inspector properly, with a new
'read-bytecode permission mode.  Added tests and (crappily)
documented.

svn: r12846
2008-12-15 01:07:00 +00:00
Eli Barzilay
9295a1dc27 * Fix memory test
* Better organization of `user-eval'
* Deal with cases when the evaluator dies outside of our control

svn: r12841
2008-12-13 23:26:44 +00:00
Eli Barzilay
39a69b30fd Don't set memory limits or test for them when there is no memory
accounting.

svn: r12839
2008-12-13 22:44:02 +00:00
Eli Barzilay
813eb20e35 termination message now indicates suicides too (both killing the
thread or shutting the custodian)

svn: r12838
2008-12-13 22:39:49 +00:00
Eli Barzilay
188489b34f * Added `exn:fail:sandbox-terminated' for all sandbox termination
kinds.
* The default exit handler kills the sandbox, with an appropriate
  termination message.
* Also, sending an eof to the sandbox shows 'eof as the reason
* Added some tests for these.
* Still need to deal with termination messages for evaluator suicide.

svn: r12837
2008-12-13 22:12:16 +00:00
Eli Barzilay
55f1df58e1 Make sure that the module is also instantiated under the evaluation
limits too (the instantiation was happening outside of the limited
thunk)

svn: r12830
2008-12-13 16:41:07 +00:00
Eli Barzilay
3fcc58c05e minor improvements
svn: r12789
2008-12-12 13:43:05 +00:00
Eli Barzilay
a1222d66ca * Implementer global sandbox memory limit and added
`sandbox-memory-limit' to set it
* Added `evaluator-alive?'
* Undo accidental commenting of most tests

svn: r12786
2008-12-12 12:45:08 +00:00
Eli Barzilay
a0d1baea00 When an expression evaluation dies out of memory, the sandbox stays alive
svn: r12785
2008-12-12 11:22:08 +00:00
Sam Tobin-Hochstadt
08fa300d14 Make inference work in subtype tests.
Add test for top-arr.

svn: r12746
2008-12-08 18:26:58 +00:00
Stevie Strickland
dd5afccd82 Catch up to now.
svn: r12742
2008-12-08 17:02:26 +00:00
Matthew Flatt
4d8469b6cf inline fixnum multiplication
svn: r12731
2008-12-08 13:36:24 +00:00
Sam Tobin-Hochstadt
dd8e878cb4 Fix time-apply, add test
svn: r12727
2008-12-08 03:12:38 +00:00
Sam Tobin-Hochstadt
238b248ad5 Add `current-continuation-marks'
Add some exns
Test require substructs

svn: r12726
2008-12-08 03:10:12 +00:00
Sam Tobin-Hochstadt
e6eb482de4 Enable require-typed-struct with substructures.
Fixes PR 9053.
Move test to succeed.
Add some new bindings.

svn: r12709
2008-12-05 00:25:02 +00:00
Matthew Flatt
e1126a66ed some gc-related tests
svn: r12705
2008-12-04 23:04:10 +00:00
Stevie Strickland
5eab2260cc S-S-S-S-S-S-Syncing
svn: r12695
2008-12-04 16:15:18 +00:00
Matthew Flatt
97fafb6ce4 get rid of port-position tests on custom textual ports
svn: r12692
2008-12-03 21:29:06 +00:00
Matthew Flatt
8162eda54f fix buggy new test
svn: r12691
2008-12-03 20:56:50 +00:00
Matthew Flatt
c55d305eab more consistent form for a test
svn: r12690
2008-12-03 20:01:33 +00:00
Matthew Flatt
142fd53e90 R6RS test suite: no BOM -> big-endian output
svn: r12689
2008-12-03 20:00:13 +00:00
Matthew Flatt
1f2ebbb58e R6RS test suite corrections from Kent
svn: r12688
2008-12-03 19:47:29 +00:00
Matthew Flatt
c333fa8fb5 fix problems with custodian boxes, especially for a box whose custodian is shut down via an ancestor custodian
svn: r12680
2008-12-02 19:51:01 +00:00
Eli Barzilay
eb54b1a5b2 * Added `call-in-nested-thread*', and used it to improve
`call-with-limits'; specifically, it can now distinguish killing the
  main thread or shutting down the custodian from an out-of-memory
  error.
* This also makes it possible to have threads created and stay alive
  between evaluations.
* Added tests for this.

svn: r12673
2008-12-02 12:23:35 +00:00
Eli Barzilay
e0917e1a5e * Added `call-in-sandbox-context'.
* Removed `get-namespace' since it's generalized in the above.
* Deal with killing the current thread (or the current custodian) in
  the sandbox code.  (Works only without per-expression limits --
  still need to find a solution for `call-with-limits'.)
* Added tests for this.

svn: r12670
2008-12-02 05:26:45 +00:00
Eli Barzilay
ab817097b4 * Create string/bytes output port in the user's custodian (at least
try to do so...).
* Add tests for output collection under resources -- some are
  commented since they're not working right, either a bug in this code
  that I don't see, or some problem with memory accounting.
* Clarify in the docs that output collection is still under resource
  limits.

svn: r12667
2008-12-01 22:19:58 +00:00
Stevie Strickland
e94cadd86d Syncing -- nothing to see here.
svn: r12660
2008-12-01 15:11:00 +00:00
Eli Barzilay
30adf7980a switch to scheme/base for the sandbox interface and for use in tests
svn: r12656
2008-12-01 03:37:02 +00:00
Stevie Strickland
581800ad8c Splicing syntax parameterize, here I come!
svn: r12601
2008-11-26 22:42:32 +00:00
Matthew Flatt
2c48c2c817 splicing-syntax-parameterize and docs for scheme/splicing
svn: r12600
2008-11-26 21:31:58 +00:00
Stevie Strickland
6f83ed1a80 Sync that beautiful trunk footage
svn: r12593
2008-11-25 21:18:04 +00:00
Eli Barzilay
06064b856b added the scribble tests
svn: r12584
2008-11-25 01:00:37 +00:00
Matthew Flatt
f40ae63f45 R6RS test-suite patch from Taro Minowa (PR 9942)
svn: r12580
2008-11-24 21:15:22 +00:00
Matthew Flatt
a0f91d905e revised internal-definitions context and a basic 'define-package' form
svn: r12579
2008-11-24 19:52:41 +00:00
Stevie Strickland
702c1b7af2 Syncerating the countryside
Syncerating the peasants
Syncerating all the peoples
in the thatched-roof COTTAGES!
THATCHED-ROOF COTTAGES!

svn: r12578
2008-11-24 17:52:56 +00:00
Eli Barzilay
5b9f0aa322 Implemented a `no-empty-edge-matches' function using the new
`make-regexp-tweaker', which produces a regexp that cannot match an
empty string at the beginning or the end of the input.  This:
* simplies a whole bunch of messy and fragile code
* makes `regexp-split' and friends usable with a pattern like #px"\\b"
  (which previously would match in every position, making it explode
  the string to 1-character strings)
* makes it even closer to what perl does, the only way that we produce
  a different result from perl now is that we don't blindly drop empty
  matches at the end like perl (it *does* keep empty matches in the
  beginning though)
The two tests that demonstrated the difference are now changed, and a
bunch of other tests added.

svn: r12575
2008-11-23 05:40:54 +00:00
Stevie Strickland
998fe27185 Sync sync sync, programmer,
sync your branch to mine
sync sync sync, programmer,
sync it all the time

svn: r12567
2008-11-21 15:56:47 +00:00
Matthew Flatt
2480a1c4e8 extra int-def tests
svn: r12565
2008-11-21 14:01:32 +00:00
Matthew Flatt
58f9e02513 fix (mostly) expand tests suite
svn: r12564
2008-11-21 13:52:20 +00:00
Jay McCarthy
daff0abe15 Extended example
svn: r12550
2008-11-20 23:57:32 +00:00
Stevie Strickland
75c57820da A sync a day keeps... actually, it doesn't keep anyone away, and tends to make
one run into other people's bugs sooner, but OH WELL.

svn: r12543
2008-11-20 19:36:17 +00:00
Matthew Flatt
8ccce66af7 round out inlining and optimization of simple allocating primitives
svn: r12539
2008-11-20 13:50:22 +00:00
Jay McCarthy
a687555c38 moving tests
svn: r12512
2008-11-19 22:22:02 +00:00
Stevie Strickland
537d98ac20 Mergerating.
svn: r12510
2008-11-19 20:34:37 +00:00
Sam Tobin-Hochstadt
4c0c3c0ff8 Fix dynamic context of use of match failure continuations.
svn: r12497
2008-11-18 21:17:36 +00:00
Sam Tobin-Hochstadt
d1fca9c04a Fix PR 9918.
svn: r12480
2008-11-17 23:58:05 +00:00
Jay McCarthy
54429dc56b Response/basic bug
svn: r12474
2008-11-17 17:07:51 +00:00
Stevie Strickland
573caad99f Syncing up to trunk.
svn: r12470
2008-11-17 16:03:30 +00:00
Matthew Flatt
69fdabf0a0 fix {s,u}int-list->bytevector (PR 9916)
svn: r12459
2008-11-15 18:54:30 +00:00
Matthew Flatt
c0fb0086e9 fix R6RS boolean=? and symbol=?
svn: r12456
2008-11-15 13:42:11 +00:00
Matthew Flatt
c73bb99cf6 fix struct type immutable-field handling and checking of prop:procedure values (PR 9914 and more)
svn: r12454
2008-11-15 02:49:54 +00:00
Stevie Strickland
3212d11712 Add all changes from branches/with-contract (which this branch will replace
eventually), plus a couple of fixes in contract-test.ss.

svn: r12451
2008-11-14 16:48:17 +00:00
Matthew Flatt
59f3f19f84 make the optimizer slightly smarter, so that it can see through more patterns of nested let and letrec procedure bindings
svn: r12434
2008-11-14 00:48:54 +00:00
Jay McCarthy
f64d8a5280 Exposing MIME headers to user
svn: r12431
2008-11-13 21:25:13 +00:00
Matthew Flatt
4dd202b960 ,
svn: r12430
2008-11-13 21:11:48 +00:00
Eli Barzilay
fc1b9cdf9d fix expected error messages
svn: r12429
2008-11-13 17:18:50 +00:00
Jay McCarthy
d56eed754b Redoing documentation layout
svn: r12418
2008-11-12 23:45:00 +00:00
Matthew Flatt
cc69a51813 inline 'list' and 'box' allocation
svn: r12417
2008-11-12 21:18:08 +00:00
Jay McCarthy
d0a5616cb0 Abstracting HTTP code to sub-module
svn: r12415
2008-11-12 18:44:29 +00:00
Matthew Flatt
4fe1da791c display-list[-to-file] to display-lines[-to-file]
svn: r12402
2008-11-12 03:25:24 +00:00
Matthew Flatt
68a329430d adjust excessively pessimistic fix to letrec-bound variable propagation (because a test case caught the change, so maybe it matters)
svn: r12401
2008-11-12 03:10:00 +00:00
Matthew Flatt
4bb9ef582f inline vector allocation
svn: r12399
2008-11-12 02:09:43 +00:00
Jay McCarthy
fd6dfdbbc4 Better SSL support
svn: r12396
2008-11-11 23:31:26 +00:00
Jay McCarthy
9c174affa7 Removing some old functions
svn: r12395
2008-11-11 23:04:49 +00:00
Jay McCarthy
35cb453ea9 Pulling out servlet creation routines
svn: r12394
2008-11-11 22:57:41 +00:00
Matthew Flatt
02277342ac substitute Scheme-implemented map, for-each, andmap, and ormap in scheme/base and mzscheme, since the JIT generates faster code for the common 1- and 2-argument cases
svn: r12393
2008-11-11 22:25:24 +00:00
Jay McCarthy
34c5db31ef Adding a barrier, making a better name, and support stateless in serve/servlet
svn: r12392
2008-11-11 22:24:44 +00:00
Matthew Flatt
a6d953b6f5 add port->string, file->string, etc.
svn: r12388
2008-11-11 17:55:14 +00:00
Jay McCarthy
4f8dfc7514 Merging the web language dispatcher into the standard one
svn: r12378
2008-11-10 22:32:51 +00:00
Jay McCarthy
f7481b0c08 Slowly merging the two servlet regimes
svn: r12377
2008-11-10 18:45:44 +00:00
Robby Findler
773aaca3ba made mutual recursion work for ->d
svn: r12366
2008-11-09 13:42:46 +00:00
Robby Findler
2394848555 function contracts now preserve tail recursion
svn: r12360
2008-11-09 02:31:25 +00:00
Eli Barzilay
b0a0c8c2ce avoid using the mzscheme tests in planet, added to nightly tests, but commented out
svn: r12354
2008-11-08 17:59:11 +00:00
Jay McCarthy
8a91afa69d Moving config:scripts back inside the adt barrier
svn: r12348
2008-11-07 23:22:11 +00:00
Jay McCarthy
7479f59e13 Expanding functionality of serve/servlet
svn: r12346
2008-11-07 18:54:23 +00:00
Jay McCarthy
3187b4849d Adding test
svn: r12345
2008-11-07 18:15:18 +00:00
Jay McCarthy
b90c1da006 New tests for password stuff
svn: r12343
2008-11-07 17:23:56 +00:00
Matthew Flatt
65eb7e7a18 call-with-immediate-continuation-mark
svn: r12339
2008-11-07 02:54:12 +00:00
Jay McCarthy
a8bc141a77 Generalizing dispatch-servlets
svn: r12338
2008-11-06 22:23:45 +00:00
Sam Tobin-Hochstadt
c4deb8e5e7 Fix handling of wrong size vectors.
Add tests.
Fixes PR9885.

svn: r12334
2008-11-06 20:23:40 +00:00
Jay McCarthy
cbecece203 Cleaning up timer/conn manager interface
svn: r12331
2008-11-06 17:01:27 +00:00
Jay McCarthy
61b44707cd Cleaning up interface and standardizing functions
svn: r12330
2008-11-06 16:47:00 +00:00
Matthew Flatt
4215289320 doc fixes
svn: r12328
2008-11-06 16:22:12 +00:00
Jay McCarthy
d9be3d0c4b Improving contracts on web lang
svn: r12322
2008-11-05 23:09:14 +00:00
Jay McCarthy
05f36015d5 Better contracts
svn: r12317
2008-11-05 22:31:55 +00:00
Jay McCarthy
07474ad477 Refactoring dispatch-passwords
svn: r12242
2008-11-05 19:00:07 +00:00
Jay McCarthy
005576bdad Bug in new default config, reported by mflatt
svn: r12233
2008-11-04 17:10:56 +00:00
Sam Tobin-Hochstadt
477fa5581e Store contract in Base type representation.
Fix tests, pattern matches.
Contract is *ignored* in equality testing.

svn: r12227
2008-11-03 23:58:29 +00:00
Eli Barzilay
a2babc6045 more time (for the solaris machine)
svn: r12223
2008-11-03 12:30:54 +00:00
Carl Eastlund
ac0888ee88 Added tests/planet/ to compile-omit-paths in info.ss
svn: r12208
2008-10-31 21:06:13 +00:00
Carl Eastlund
2949809542 Added new directory for planet tests; restored #lang planet test in lang.ss
svn: r12206
2008-10-31 20:09:43 +00:00
Eli Barzilay
c1cf821bd9 stupid typo
svn: r12204
2008-10-31 19:50:22 +00:00
Sam Tobin-Hochstadt
e69f6e126a Reorganize initial type definitions to use DSL.
Split special type names into base-types-extra.ss
Fix test require.
Base types are now require in main.ss

svn: r12203
2008-10-31 17:12:16 +00:00
Eli Barzilay
e2ac0f673b flush output ports to avoid confusing tests output
svn: r12201
2008-10-31 15:30:28 +00:00
Eli Barzilay
a6e8df0dda Removed misbehaving planet test.
svn: r12196
2008-10-31 14:56:46 +00:00
Robby Findler
bd375ef605 PR 9873 (hopefully)
svn: r12193
2008-10-31 12:40:05 +00:00
Jay McCarthy
fc64cf2b77 Changing web server default servlet handling
svn: r12178
2008-10-30 14:34:21 +00:00
Matthew Flatt
487df2362e fix more bugs with lib paths in exe creation
svn: r12175
2008-10-30 10:55:07 +00:00
Jay McCarthy
ba562277ed Updating test
svn: r12173
2008-10-29 22:42:58 +00:00
Jay McCarthy
2dbeb18164 Adding test case
svn: r12170
2008-10-29 22:19:10 +00:00
Sam Tobin-Hochstadt
acfba8a390 Fix types of syntax tests.
Test for double instantiation.

svn: r12164
2008-10-29 02:15:50 +00:00
Ryan Culpepper
05df5e36e0 stxclass cleanup, improved error messages
svn: r12149
2008-10-27 22:56:52 +00:00
Matthew Flatt
00d2aabaf0 jit tweaks
svn: r12144
2008-10-27 19:00:13 +00:00
Robby Findler
e7aef55f74 fixed up some of the platform inconsistencies
svn: r12129
2008-10-25 20:35:09 +00:00
Eli Barzilay
0ccbac0647 TS tests now work, and are not noisy when succeeding
svn: r12119
2008-10-24 19:50:24 +00:00
Sam Tobin-Hochstadt
d93505082f New test from John, fix tests to work with new code.
svn: r12108
2008-10-23 23:34:00 +00:00
Carl Eastlund
9aab8ed8c8 Added a test for #lang planet.
svn: r12104
2008-10-23 21:42:55 +00:00
Sam Tobin-Hochstadt
24c4d0b3fc Fix tests with even?
Add test for struct syntax info.

svn: r12095
2008-10-22 21:07:31 +00:00
Sam Tobin-Hochstadt
c6c4a049ee Add new test for better error reporting.
svn: r12082
2008-10-21 17:58:57 +00:00
Eli Barzilay
428d407045 typed-scheme tests fail enough to create a lot of noise
svn: r12081
2008-10-21 14:47:01 +00:00
Robby Findler
122f8d41dc PR 9852
svn: r12076
2008-10-20 20:08:05 +00:00
Robby Findler
eb7d9be3f0 fixed the contract? predicate so that it recognizes thigns that aren't yet turned into contract structs
svn: r12043
2008-10-15 12:54:37 +00:00
Sam Tobin-Hochstadt
e802682c4d add args to error
svn: r12036
2008-10-14 16:34:14 +00:00
Matthew Flatt
8b595ed120 make-syntax-delta-introducer and adjusted binding in scheme/unit forms
svn: r12032
2008-10-14 13:27:43 +00:00
Robby Findler
2ef287f107 added empty as a coerceable value
svn: r12025
2008-10-13 21:09:18 +00:00
Matthew Flatt
ec68bafa9c add eqv hash tables; add hash-update
svn: r12018
2008-10-13 16:21:18 +00:00
Robby Findler
86671cf6dc PR 9814
svn: r12001
2008-10-13 13:45:55 +00:00
Robby Findler
4c010b7d4a fixed PR 9770
svn: r11999
2008-10-13 00:53:23 +00:00
Eli Barzilay
078ce5f8c6 removed unused leftover file
svn: r11992
2008-10-11 19:17:17 +00:00
Eli Barzilay
98c8abeb3b use >>> for a marker, like the build does
svn: r11978
2008-10-08 16:09:45 +00:00
Sam Tobin-Hochstadt
665da912c8 New test for bug found by eli.
svn: r11969
2008-10-07 21:55:45 +00:00
Matthew Flatt
89f2315374 fix bug in exe creation where 'lib runtime-paths could be mis-parsed as mzlib paths
svn: r11966
2008-10-07 16:00:36 +00:00
Eli Barzilay
8217dddd56 * The module-path place is now optional, and #:language can be used
with an expression (evaluated as usual, not quoted), or with a thunk
  that is invoked before reading the body begins.
* Added some missing tests that were not used for some reason...
* Some other documentation improvements.
* Improved the code a little more.

svn: r11957
2008-10-07 10:56:29 +00:00
Sam Tobin-Hochstadt
c953007f63 Fix automated TS tests.
svn: r11953
2008-10-06 19:41:30 +00:00
Eli Barzilay
a1bbd7dd3c oops, revert this line
svn: r11938
2008-10-05 03:41:17 +00:00
Eli Barzilay
2899c1f1cc planet-requires moved to tests/typed-scheme/util-tests
svn: r11937
2008-10-05 03:40:55 +00:00
Eli Barzilay
202535a7f4 typo
svn: r11934
2008-10-04 20:33:22 +00:00
Eli Barzilay
8d06e0c707 rename holder -> keep
svn: r11932
2008-10-04 19:10:38 +00:00
Eli Barzilay
2886a95318 * Exported `cvector-ptr'
* Added `#:hold' to `_fun' for callbacks (will be changed to `#:keep'
  soon, but better to have a checkpoint)
* _cprocedure also has a `hold' argument, and is now using keyword
  arguments (it was getting crowded in the optional arguments
  department)
* Documented everything that changed, with a longish descrption for
  options for holding callback values.
* More tests, including tests for callbacks that would crash if the
  callback values are not held.

svn: r11931
2008-10-04 19:01:17 +00:00
Matthew Flatt
086f3c3b44 fix int-def context binding problems, fix scheme/splicing, change rnrs/base-6 to use scheme/splicing
svn: r11917
2008-09-30 22:03:55 +00:00
Robby Findler
07cfcb4f07 updated tests for newest stuff
svn: r11908
2008-09-29 21:06:13 +00:00
Sam Tobin-Hochstadt
b81ba54dae fix for automated running
svn: r11903
2008-09-29 15:15:50 +00:00
Sam Tobin-Hochstadt
cd6a37ff4c Fix error in use of tc-error/delayed.
Fix expansion of with-handlers:
add test

svn: r11875
2008-09-25 19:35:00 +00:00
Sam Tobin-Hochstadt
23db0aa366 Add test for assq
svn: r11871
2008-09-25 14:55:36 +00:00
Sam Tobin-Hochstadt
814bfb189e Test for print-convert of keyword.
svn: r11870
2008-09-25 14:53:55 +00:00
Sam Tobin-Hochstadt
89171c0329 Make contract error regexps more flexible.
svn: r11855
2008-09-24 19:55:29 +00:00
Sam Tobin-Hochstadt
9c08df4789 Add kw test
svn: r11850
2008-09-24 14:03:25 +00:00
Sam Tobin-Hochstadt
81b9f63852 Remove output redirection.
svn: r11849
2008-09-24 14:02:20 +00:00
Matthew Flatt
ce10c4a5fc fix 'module-langugage tracking
svn: r11832
2008-09-22 13:08:40 +00:00
Eli Barzilay
064eb9a147 Rename input files so they get compiled too.
(And also see that the resulting .dep files are good re `include')

svn: r11789
2008-09-17 14:26:40 +00:00
Eli Barzilay
ffde7e7b42 preprocessor tests
svn: r11787
2008-09-17 14:19:55 +00:00
Robby Findler
ce217355f8 PR 9761
svn: r11779
2008-09-16 20:26:15 +00:00
Eli Barzilay
26b9bd6c3d * Added text utilities
* begin/collect, and a begin/text that is based on it (ignoring
  inter-defns spaces)
* include/text, available as `include' in the scribble/text langauge
* tests, only for begin/collect for now

svn: r11772
2008-09-16 00:46:35 +00:00
Robby Findler
d165c586af PR 9760
svn: r11766
2008-09-15 21:58:59 +00:00
Eli Barzilay
f25da8fd7d require at least one test expression
svn: r11756
2008-09-15 09:57:56 +00:00
Eli Barzilay
99dc711ac0 Removed the redundant uncaught-exception-handler setting, use with-handlers except for the mzscheme tests
svn: r11755
2008-09-15 09:57:16 +00:00
Eli Barzilay
d32f0a9692 * Made run-automated-tests invoke the original exception handler when
need to
* comment out stepper tests for now
* lazy/main has a single batch of tests
* added lazy/main to the tests

svn: r11754
2008-09-15 08:01:06 +00:00
Eli Barzilay
1e40590ea4 Use a parameter for nested uses of test
svn: r11753
2008-09-15 07:19:41 +00:00
Eli Barzilay
c870eadf03 a nested (test ...) expression is implicitly in a 'do' block for convenicnce
svn: r11749
2008-09-14 22:15:20 +00:00
Robby Findler
85e489219c a bunch more values are now converted into contracts automatically
svn: r11729
2008-09-13 22:35:09 +00:00
John Clements
bafd239ef0 changed result of check-expect
svn: r11721
2008-09-13 06:32:42 +00:00
Matthew Flatt
72055191b4 add printable<%>
svn: r11705
2008-09-12 22:50:09 +00:00
John Clements
5895f67bfe fixed stepper tests
svn: r11694
2008-09-12 18:19:33 +00:00
John Clements
92df21d9df added stepper to automatic tests
svn: r11652
2008-09-11 21:12:50 +00:00
Sam Tobin-Hochstadt
4f5a412230 Merge in keywords branch and directory reorg.
svn: r11643
2008-09-11 14:07:10 +00:00
John Clements
041cfa3264 ...
svn: r11638
2008-09-11 05:22:37 +00:00
John Clements
a115dc3d8b re-added run-nightly-tests.ss
svn: r11632
2008-09-10 15:31:33 +00:00
Eli Barzilay
bb470554a5 optimizations: use vectors instead of move-procs, avoid mapping symbols, tighten loops, use bytes, keep only min+max solutions etc
svn: r11624
2008-09-10 00:52:11 +00:00
John Clements
d7d9d32b26 moved mz tests to scheme/base
svn: r11622
2008-09-09 22:43:23 +00:00
Eli Barzilay
59af2e57d2 a vector version
svn: r11585
2008-09-09 08:32:31 +00:00
Eli Barzilay
9c5166ac6a misc improvements
svn: r11584
2008-09-09 08:31:33 +00:00
Eli Barzilay
d574d1461a new shootout comment, indentation, parens, etc
svn: r11583
2008-09-09 04:21:56 +00:00
Robby Findler
805d4eb73f refined searching
svn: r11581
2008-09-09 03:43:57 +00:00
Matthew Flatt
1a8b6cb824 fix mistakes in augment corrections; fix runtime-path handling of lib paths
svn: r11577
2008-09-08 19:44:32 +00:00
Matthew Flatt
74addc1b71 fix checking of augment on a method that is overridable but was formerly augmentable
svn: r11574
2008-09-08 14:41:56 +00:00
Eli Barzilay
9e3e6b7444 New gmp-based solution, based on the perl solution
svn: r11572
2008-09-08 09:40:11 +00:00
Robby Findler
4f24a1c0cd fixed a bug replating to zero sized images
svn: r11569
2008-09-07 13:28:44 +00:00
Robby Findler
2ece9d9e95 PR 9729
svn: r11567
2008-09-07 12:46:17 +00:00
Matthew Flatt
a0b85a2210 add linker flags for linux for embeddig test
svn: r11565
2008-09-07 12:43:34 +00:00
Matthew Flatt
fb1ee7d8cf add test for embedding MzScheme and resetting via scheme_basic_env
svn: r11564
2008-09-07 12:41:20 +00:00
Robby Findler
44b62899fa improved blame error message when there is no source location
svn: r11526
2008-09-02 16:12:13 +00:00
Matthew Flatt
2b98280729 fix module-path-index spec and use related to resolved module paths
svn: r11523
2008-09-02 13:54:43 +00:00
Eli Barzilay
093fe73855 * Minor extension (#:wrapper2 can accept an stx? boolean too)
* Added a more sophisticated test (scribble syntax with an arbitrary
  language), based on documentation example
* Documentation

svn: r11502
2008-09-01 04:23:50 +00:00
Eli Barzilay
3b5cf38853 typo
svn: r11498
2008-08-31 17:59:59 +00:00
Eli Barzilay
7d6bc32ed9 * Extended syntax/module-reader to deal with many more situations
using keywords, and allowing arbitrary code in the reader module
* Added tests for the new functionality
* Used the new stuff for the r5rs, r6rs, and honu readers

svn: r11495
2008-08-31 06:25:41 +00:00
Eli Barzilay
711401bd55 * Rename files to follow `foo-tests.ss' for files that are sets of tests.
* Group syntax tests into their own file.

svn: r11494
2008-08-30 23:03:14 +00:00
Matthew Flatt
ae9e317b44 fix more problems collapsing planet paths
svn: r11489
2008-08-29 21:45:38 +00:00
Matthew Flatt
797c141ede fix problems collapsing planet module paths
svn: r11488
2008-08-29 21:35:40 +00:00
Jay McCarthy
08e2704d8d Fixing web-cell bug
svn: r11485
2008-08-29 18:22:28 +00:00
Jay McCarthy
5d4338ff24 New tests
svn: r11484
2008-08-29 18:13:40 +00:00
Eli Barzilay
20e9673028 more base64-related changes
svn: r11470
2008-08-28 21:00:53 +00:00
Jay McCarthy
233dbc86e4 Moving tests into common directory
svn: r11440
2008-08-26 21:20:29 +00:00
Jay McCarthy
a194dfe369 Removing old web-server tests
svn: r11439
2008-08-26 21:19:06 +00:00
Eli Barzilay
c3985c706c Change parsing of old versions:
NNNpN -> N.NN.N
  NNN.N -> N.NN.0.N
This is better than mapping NNN.N to N.NN.N, because it follows the
fact that NNN.N were not release versions, so they're mapped to
numbers that are not release versions now.

svn: r11398
2008-08-23 07:06:33 +00:00
Eli Barzilay
b5fb8569cc * Deal with NNNpN versions as N.NN.N (eg, 103p1 => 1.03.1),
* Some more sane checks -- refuse old-style versions when it's higer
  than 380
* Added tests for these
* Move sanity check to tests (where it will do the same since it runs
  every day)

svn: r11397
2008-08-23 06:49:06 +00:00
Robby Findler
7f31137562 PR 9696
svn: r11381
2008-08-22 12:52:01 +00:00
Robby Findler
5c8864ac65 added (now properly failing) test case for PR 9696
svn: r11376
2008-08-22 03:54:39 +00:00
Robby Findler
a9592f0d46 added a test for values that print out as part of the scheme language top-level printing
svn: r11375
2008-08-21 22:54:52 +00:00
Matthew Flatt
408f2034d0 fix r6rs test suite problems with flushing on custom ports, and add more expt tests
svn: r11372
2008-08-21 19:51:07 +00:00
Sam Tobin-Hochstadt
252086b7ff Add test with or and multiple values from clklein.
svn: r11359
2008-08-20 19:52:13 +00:00
Matthew Flatt
6516518ae5 fix cm-accomplice and avoid redundant reader-module dependencies
svn: r11354
2008-08-20 13:29:42 +00:00
Matthew Flatt
ebab4270bf fix letrec compilation when call/cc is used on the RHS of something that otherwise looks like it could be let*; add #%in annotations to decompiler output
svn: r11329
2008-08-19 15:18:09 +00:00
Matthew Flatt
13182685e6 nbody binary arithmetic etc.
svn: r11319
2008-08-19 03:29:04 +00:00
Matthew Flatt
ebb811b491 fix R6RS log to accept 2 arguments
svn: r11197
2008-08-12 00:56:07 +00:00
Matthew Flatt
178c30e6e4 fix lcm on 0
svn: r11194
2008-08-11 23:55:32 +00:00
Matthew Flatt
19ae0c3741 adjust tests based on mistakes (as far as I can tell) in R6RS on string-titlecase and expt
svn: r11184
2008-08-11 18:01:52 +00:00
Chongkai Zhu
60f30c3a90 for v4.1
svn: r11180
2008-08-10 17:06:22 +00:00
Robby Findler
29b59ecaba adjusted require syntax
svn: r11178
2008-08-10 05:18:38 +00:00
Eli Barzilay
4632119a2a allow 15 minutes for the tests
svn: r11175
2008-08-10 02:04:25 +00:00
Eli Barzilay
a7248560da Protect against user code changing the namespace, plus tests. (PR9644)
svn: r11138
2008-08-08 08:56:00 +00:00
Eli Barzilay
372bbefdb3 * Added a `call-without-reset-highlighting' to "rep.ss"
* When the language does not have #%top-interaction binding, don't
  throw an error, just disable the repl (useful, for example, with
  setup/infotab as a langauge)
* To do that, used the above new method so that the original error
  highlighting is kept
* Updated tests, and added a test for using setup/infotab, verifying
  that no error is displayed.

svn: r11137
2008-08-08 08:25:17 +00:00
Matthew Flatt
d0419345d8 clean up extended in-vector, in-string, and in-bytes
svn: r11124
2008-08-07 12:13:21 +00:00
Eli Barzilay
e1f7ee507a Moved time-keystrokes to tests/drscheme
svn: r11120
2008-08-07 05:57:25 +00:00
Robby Findler
a4aaa18f9c added a scheme/load test
svn: r11118
2008-08-07 01:36:48 +00:00
Robby Findler
5b33922526 renamed paste-in to a more accurate name
svn: r11117
2008-08-07 01:31:07 +00:00
Eli Barzilay
3ae6db6f65 Another improvement + test
svn: r11116
2008-08-07 00:38:36 +00:00
Eli Barzilay
78170587c2 * Fixed a minor bug in the module language
* More test improvement, remove test-debugging `sleep'
* Add tests for new module language behavior with misc errors

svn: r11115
2008-08-06 21:16:51 +00:00
Eli Barzilay
2d553df7ef very improved module-language tests, update them to work with the new messages
svn: r11109
2008-08-06 20:10:28 +00:00
Eli Barzilay
8d6438c526 set svn:eol-style
svn: r11100
2008-08-06 05:58:02 +00:00
Robby Findler
3f14a1325c all drs test suites now passing except module language
svn: r11091
2008-08-05 20:27:17 +00:00
Eli Barzilay
12390fb891 improvements
svn: r11078
2008-08-05 11:36:33 +00:00
Robby Findler
38c7cbd6de svn: r11075 2008-08-04 22:53:21 +00:00
Noel Welsh
ed0bd51c8b Add support for start/stop/step parameters to in-vector comprehension forms. Vector like comprehensions (strings etc) actually support this as well, when used in the body of the for comprehension. However this will not be documented as support do not extend to sequences defined outside a comprehension.
svn: r11068
2008-08-04 18:38:47 +00:00
Sam Tobin-Hochstadt
4ba9376131 These tests now pass.
svn: r11067
2008-08-04 18:36:38 +00:00
Eli Barzilay
c4f62cfc13 use schemeunit version 2
svn: r11049
2008-08-03 14:47:02 +00:00
Eli Barzilay
6994edd977 * Revised lazy/force so it actually works:
- `!!' now scans the same kind of data that `make-reader-graph'
    handles (except that hash-tables are not implemented)
  - this means no structs, no mpairs, and a bunch of other stuff
  - `!!!' is gone (lazy procedures are not wrapped)
  - dealing with multiple values moved into lazy/lazy.ss itself (and
    in the future everything will move in there)
* Removed lazy/promise, and use scheme/promise instead.  Also remove
  the docs for lazy/promise that were bogus (since scheme/promise *is*
  doing the same thing now).
* Other adjustments to the docs.  They should be considered incomplete
  now, and will need a major rewrite when the whole thing works again
  (multiple values things are just commented out for now).
* Added a test macro and a quick test suite for lazy/promise.
* The lazy tests are added to the nightly build tests

svn: r11042
2008-08-03 06:28:25 +00:00
Sam Tobin-Hochstadt
28c5e71b01 Fix bug 9649.
svn: r11029
2008-08-01 20:57:48 +00:00
Matthew Flatt
eb88bee42b R6RS test suite contributions
svn: r11026
2008-08-01 20:23:32 +00:00
Matthew Flatt
f4df83106e fix r6rs syntax-case yet again (PR 9647)
svn: r11024
2008-08-01 17:45:21 +00:00
Matthew Flatt
70137b8789 update Ypsilon instructions
svn: r11018
2008-08-01 13:05:22 +00:00
Matthew Flatt
ea0a7cdfb5 add divide-by-zero tests for div, mod, etc.
svn: r11014
2008-07-31 20:45:17 +00:00
Matthew Flatt
c13fa1d24c adjust test to not require distinguished 0.0 and -0.0; add some fixnum overflow tests
svn: r11011
2008-07-31 20:18:38 +00:00
Sam Tobin-Hochstadt
14b180d5a7 add test
svn: r11009
2008-07-31 19:26:13 +00:00
Sam Tobin-Hochstadt
72a2b55c13 Dynamic require only requires Schemeunit 2
svn: r11007
2008-07-31 12:44:25 +00:00
Matthew Flatt
8140b3644e add 'bitwise-bit-set?' and 'in-value' (v4.0.2.6)
svn: r10971
2008-07-29 19:27:33 +00:00
Matthew Flatt
27375c0d5a fix equal? on transparent R6RS records
svn: r10949
2008-07-28 20:30:25 +00:00
Robby Findler
eaf979b749 added a search anchor to drschemes new search facility
svn: r10946
2008-07-28 18:40:34 +00:00
Matthew Flatt
616ec71325 fix for/or and for/and when one of the clauses binds multiple values
svn: r10926
2008-07-26 21:38:39 +00:00
Matthew Flatt
35638a8c5a fix R6RS syntax->datum and fix broken tests (as reported by Will)
svn: r10924
2008-07-26 20:38:02 +00:00
Matthew Flatt
c1983f1984 fix syntax-case tests
svn: r10922
2008-07-26 20:29:40 +00:00
Matthew Flatt
e7e188143f update R6RS test readme, espeically for Ypsilon
svn: r10919
2008-07-26 12:31:17 +00:00
Matthew Flatt
949032b03e fix UTF-16 encoding tests again (assume BE when no BOM)
svn: r10909
2008-07-25 13:07:59 +00:00
Matthew Flatt
5ff90cdd42 fix checkable menu delete/restore
svn: r10908
2008-07-25 12:38:43 +00:00
Matthew Flatt
9fece2f96b more repairs from Will
svn: r10907
2008-07-25 12:38:03 +00:00
Matthew Flatt
49a015e890 R6RS test suite fixes from Will
svn: r10904
2008-07-25 01:06:27 +00:00
Matthew Flatt
2c0b17cf19 fix bytevector-ieee-native-... tests (from Aziz) and checking in implementation
svn: r10893
2008-07-24 09:56:36 +00:00
Matthew Flatt
e137994b5c add on-reflow to text% and auto-size to message%
svn: r10890
2008-07-24 01:35:31 +00:00
Matthew Flatt
e7eefb84c5 change display of multiple-value failures in r6rs test suite
svn: r10889
2008-07-24 00:27:33 +00:00
Matthew Flatt
643b24c3b7 change the way multiple-value results are compared in r6rs test suite
svn: r10888
2008-07-24 00:23:05 +00:00
Matthew Flatt
5a5f52d99c add run-via-eval (from Aziz)
svn: r10887
2008-07-23 22:34:07 +00:00
Matthew Flatt
a1ee4b8703 update r6rs test suite notes
svn: r10885
2008-07-23 21:23:51 +00:00
Matthew Flatt
2db7898f70 more r6rs test missing record-type-descriptors
svn: r10884
2008-07-23 20:58:43 +00:00
Matthew Flatt
84003497a0 use function for fx/carry tests
svn: r10881
2008-07-23 16:18:47 +00:00
Matthew Flatt
f7767aefaa slight improvement to R6RS carry-test expansion
svn: r10879
2008-07-23 15:51:13 +00:00
Matthew Flatt
7bd75641c7 r6rs test changes: change utf-8 to latin-1 as suggested by Will, and add missing tests for some carry functions
svn: r10878
2008-07-23 15:40:09 +00:00
Matthew Flatt
d343751862 another r6rs test
svn: r10875
2008-07-23 13:19:30 +00:00
Matthew Flatt
7a21aff2e6 r6rs test fixes from leppie
svn: r10874
2008-07-23 13:17:10 +00:00
Matthew Flatt
8e1add79c9 R6RS syntax vector repair (PR 9625)
svn: r10870
2008-07-23 12:25:41 +00:00
Matthew Flatt
fe84c8c6a3 protect nan? test by real?, as Aziz points out; also fix nan?, finite?, and infinite? to insist on real arguments
svn: r10869
2008-07-23 01:06:26 +00:00
Matthew Flatt
4947ae6711 finish fishing records/syntactic tests
svn: r10868
2008-07-23 00:57:42 +00:00
Matthew Flatt
41f89d35f8 R6RS test repairs form Aziz
svn: r10867
2008-07-23 00:50:22 +00:00
Matthew Flatt
837429315a refine r6rs test suite notes, again
svn: r10866
2008-07-22 22:01:13 +00:00
Matthew Flatt
6f6a3f27d0 refine r6rs test suite notes
svn: r10864
2008-07-22 21:42:39 +00:00
Matthew Flatt
6c43d23bc4 add editor-scroll-to method of editor<%>
svn: r10860
2008-07-22 13:17:09 +00:00
Matthew Flatt
a690f715c5 some r6rs test suite fixes
svn: r10857
2008-07-21 23:10:59 +00:00
Matthew Flatt
9af18d6971 R6RS tests: sps files for more convenient testing, README on how to run
svn: r10854
2008-07-21 22:16:19 +00:00
Matthew Flatt
ec75a07fc6 .ss -> .sls for portable R6RS tests
svn: r10853
2008-07-21 20:51:33 +00:00
Matthew Flatt
a3bf5c9523 fix spectral-norm benchmark
svn: r10851
2008-07-21 20:38:51 +00:00
Matthew Flatt
319c7406a2 fix shootout problems
svn: r10850
2008-07-21 20:01:30 +00:00
Matthew Flatt
5ff75bac42 allow duplicate struct properties if the values are eq?; add position-locations to text%
svn: r10849
2008-07-21 18:54:09 +00:00
Matthew Flatt
763d37d775 properties can now effectively inherit properties (v4.0.2.5)
svn: r10848
2008-07-21 17:04:25 +00:00
Matthew Flatt
1091050692 more shootout clean-up
svn: r10841
2008-07-19 14:47:13 +00:00
Matthew Flatt
55a44ae5bc shootout benchmarks
svn: r10840
2008-07-19 14:27:00 +00:00
Matthew Flatt
b8672845fc shootout benchmarks
svn: r10839
2008-07-19 02:40:34 +00:00
Matthew Flatt
83e7774bee shootout benchmark improvements
svn: r10837
2008-07-19 01:00:27 +00:00
Matthew Flatt
b8aa628d1e shootout updates
svn: r10836
2008-07-19 00:11:10 +00:00
Matthew Flatt
69d604c0be fix udp test and update docs related to socket re-binding
svn: r10835
2008-07-18 21:33:11 +00:00
Matthew Flatt
6e668cbb00 fix R6RS template handling of consecutive ellipses
svn: r10824
2008-07-17 17:55:52 +00:00
Matthew Flatt
04af3c8f01 fix logger name handling
svn: r10823
2008-07-17 17:41:05 +00:00
Matthew Flatt
a14a6d7272 fix R6RS parsing ofr numbers that start with two # things, like #i#xe/f
svn: r10822
2008-07-17 17:38:06 +00:00
Matthew Flatt
9af00fcfb4 v4.0.2.4: logging
svn: r10818
2008-07-17 15:20:17 +00:00
Stevie Strickland
91291ba2bc Add the forall Unicode symbol as an acceptable replacement for the
All type constructor.

svn: r10797
2008-07-16 17:37:05 +00:00
Stevie Strickland
0cd54c9e33 Merging in the following code:
svn merge -r10197:10773 http://svn.plt-scheme.org/plt/branches/samth/dots
svn merge -r10210:10737 http://svn.plt-scheme.org/plt/branches/samth/dots-tests

This adds non-uniform variable-arity polymorphism to Typed Scheme.

svn: r10778
2008-07-15 19:03:59 +00:00
Eli Barzilay
a0d4bc8393 removed leftovers
svn: r10770
2008-07-14 15:37:56 +00:00
Eli Barzilay
19095ff14b * Added `version->integer'
* Added tests (mostly just that for now)
* Documented `version/utils'

svn: r10756
2008-07-14 07:56:18 +00:00
Matthew Flatt
0f97bbcd9e improve regexp to see through certain groupings to pick a 'regmust' string to speed up match failures (PR 9602)
svn: r10750
2008-07-13 21:36:58 +00:00
Stevie Strickland
05e54f0dfe I thought I checked this in, but apparently not! Oops. 2008-07-13 04:35:54 -04:00
Matthew Flatt
de3b46aa5b refine fix of equal? on immutable hash tables and add a test
svn: r10707
2008-07-10 13:50:56 +00:00
Matthew Flatt
a4cc0f7890 %-encoding extension in module paths; new r6rs library name encoding
svn: r10697
2008-07-09 15:41:38 +00:00
Eli Barzilay
7d50e61c7f * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689
2008-07-09 07:18:06 +00:00
Matthew Flatt
bdbcd1a56c doc corrections/clarifications for 'when' and 'lambda'
svn: r10674
2008-07-08 14:55:06 +00:00
Sam Tobin-Hochstadt
717a812835 Add new test for force/delay.
Fix tests that have errors to have appropriate parameters.
2008-07-07 17:15:10 -04:00
Sam Tobin-Hochstadt
f2699abe65 Int is not a type 2008-07-07 15:36:45 -04:00
Sam Tobin-Hochstadt
41c9a2eaf1 Fix exn-pred handling. 2008-07-07 15:19:50 -04:00
Sam Tobin-Hochstadt
477cba1b0b More failure tests. 2008-07-07 15:06:21 -04:00
Sam Tobin-Hochstadt
88cbe63879 Add failure cases. 2008-07-07 14:49:19 -04:00
Sam Tobin-Hochstadt
2714b3a84a Since this is now in a different loc, need to fix up the require. 2008-07-07 12:56:19 -04:00
Sam Tobin-Hochstadt
3dbf0f7ccc Adding Sam's test for value dots. 2008-07-07 12:54:45 -04:00
Robby Findler
7be05fcf8b added zero size rectangles, ellipses, circles, and strings
svn: r10610
2008-07-05 01:58:36 +00:00
Robby Findler
4993e26b0a PR 9442
svn: r10603
2008-07-04 20:22:33 +00:00
Matthew Flatt
ec12a7f459 fix pretty-print hash table test
svn: r10568
2008-07-03 00:33:05 +00:00
Eli Barzilay
f3559964fb Added split-at' and split-at-right', with documentation and tests,
and made srfi/1 use it.

svn: r10558
2008-07-02 13:12:26 +00:00
Eli Barzilay
1002366103 * Implemented drop' instead of a synonym for list-tail' (so error
messages are better; speed should be comparable)
* added `take-right' and `drop-right' to scheme/list, with tests and
  documentation
* also, minor documentation bug (wrong result type for `drop' can
  return `any/c')
* drop the implementation of them from srfi/1, reprovide the
  scheme/list versions

svn: r10555
2008-07-02 10:04:57 +00:00
Matthew Flatt
6cbd467e17 expand pretty-print tests (PR 9567)
svn: r10552
2008-07-02 01:45:09 +00:00
Stevie Strickland
b90e1505d3 Example of nested polydots. 2008-07-01 14:43:44 -04:00
Sam Tobin-Hochstadt
4578b926c0 Add file for carl. 2008-07-01 11:58:28 -04:00
Sam Tobin-Hochstadt
bbae111229 Extra require.
Compile files first.
2008-07-01 11:27:05 -04:00
Matthew Flatt
44c5a75739 fix some phase problems in program-processing programs
svn: r10503
2008-06-29 15:11:20 +00:00
Matthew Flatt
69b4ffc7c0 fix pretty-print so that special handling of 'lambda', 'quote', etc. doesn't hide sharing that shoul dbe displayed
svn: r10482
2008-06-27 22:07:28 +00:00
Matthew Flatt
e62bb306fa fix R6RS string->number (PR 9546), document non-conformace of initial handler (PR 9547)
svn: r10457
2008-06-26 13:13:10 +00:00
Matthew Flatt
da82fe2a2d eval and phases (4.0.1.2)
svn: r10452
2008-06-25 18:54:38 +00:00
Sam Tobin-Hochstadt
15eb016e25 Fix PR 9540
svn: r10448
2008-06-24 23:52:16 +00:00
Sam Tobin-Hochstadt
97c5444b88 Check number of type errors. 2008-06-24 14:05:24 -04:00
Sam Tobin-Hochstadt
d7cf0a10c0 new test 2008-06-24 11:43:06 -04:00
Matthew Flatt
3f60a478ad use new 'serialized=?' to tighten setup scribble fixpoint
svn: r10428
2008-06-23 19:28:08 +00:00
Stevie Strickland
e4a0dc82b3 Let's also try out the abstracted version of this function. 2008-06-21 21:09:03 -04:00
Stevie Strickland
48961eb551 Remove the bits and pieces used to diagnose the original file, and add the
non-outer-apply versions (that have no reason not to work).
2008-06-20 17:50:15 -04:00
Stevie Strickland
ce58c4c676 Revert last change. 2008-06-20 15:47:22 -04:00
Sam Tobin-Hochstadt
b2edd9d197 Remove no-longer-needed inst. 2008-06-20 15:27:59 -04:00
Sam Tobin-Hochstadt
89cb3a4b09 Small changes needed after changes to infer. 2008-06-20 14:46:24 -04:00
Sam Tobin-Hochstadt
bec9c11fd4 Correct and incorrect uses of dotted identity 2008-06-20 13:07:42 -04:00
Stevie Strickland
a1f078fb59 Another change. 2008-06-19 19:12:39 -04:00
Stevie Strickland
af12feb729 Another example, putting in starred for dots. 2008-06-19 19:10:05 -04:00
Sam Tobin-Hochstadt
2bf691991c New test 2008-06-19 18:04:30 -04:00
Sam Tobin-Hochstadt
e62598ef08 More tests! 2008-06-19 16:55:26 -04:00
Sam Tobin-Hochstadt
2a7dbe2a80 Add unit test for dotted instantiation, and add version of
fold-left/fold-right that explicitly instantiates the
recursive call.
2008-06-19 14:59:19 -04:00
Sam Tobin-Hochstadt
36408a32d5 Fix test to expecte effects.
Remove useless annotation.
2008-06-19 13:23:27 -04:00
Sam Tobin-Hochstadt
1af866586e Fix tests, add filter tests. 2008-06-19 12:41:06 -04:00
Kathy Gray
08015efba8 Indenter bug corrections; indented files according to indenter
svn: r10371
2008-06-19 13:40:25 +00:00
Stevie Strickland
8256f922f9 Instantiation... seems to be broken. Adding unit tests to alert us to that
fact.
2008-06-18 18:22:16 -04:00
Sam Tobin-Hochstadt
8a66c759dc Fix identifier issues in fold-left/fold-right. 2008-06-18 17:36:12 -04:00
Sam Tobin-Hochstadt
b5bfb18961 Tests in here that now succeed 2008-06-18 17:22:16 -04:00
Stevie Strickland
f1211df156 I don't know why this wasn't caught before, but with recent changes, it's now
caught correctly.
2008-06-18 16:16:11 -04:00
Stevie Strickland
449a784c1d Remove this, as it isn't needed. 2008-06-18 16:03:45 -04:00
Stevie Strickland
f80711bc9e Split this out into what should succeed and what should fail. 2008-06-18 15:07:00 -04:00
Stevie Strickland
0c6ad7f08b Forgot to add stars here. 2008-06-18 15:06:48 -04:00
Stevie Strickland
467b138cda New test for lambda formal list mismatches. 2008-06-18 15:03:12 -04:00
Stevie Strickland
4b3508a890 Add * where appropriate. 2008-06-18 13:01:43 -04:00
Kathy Gray
1862bffc93 Testengine test file (in wrong directory, probably).
svn: r10338
2008-06-18 12:20:17 +00:00
Sam Tobin-Hochstadt
8e498458aa More tests. Not all of them pass yet, but we are hopeful. 2008-06-17 18:10:41 -04:00
Sam Tobin-Hochstadt
3f180f88da New tests 2008-06-17 16:24:30 -04:00
Sam Tobin-Hochstadt
59e2dc4dea New tests 2008-06-17 14:28:41 -04:00
Sam Tobin-Hochstadt
93c937f909 Adding testcases for dotted function application to rest args via apply. 2008-06-17 12:58:15 -04:00
Sam Tobin-Hochstadt
c7733e5e34 Use map instead of map* 2008-06-17 10:46:39 -04:00
Stevie Strickland
bcb205a930 Add examples of each. 2008-06-16 19:02:45 -04:00
Sam Tobin-Hochstadt
a43b2f5681 Change map* to map. 2008-06-16 13:28:27 -04:00
Sam Tobin-Hochstadt
27073e07fd More testing. 2008-06-13 17:04:22 -04:00
Matthew Flatt
1d34ff568a check-expect tests for HtDP languages
svn: r10258
2008-06-13 17:40:20 +00:00
Eli Barzilay
87bb5ee526 use proper tmp directory, remove temp file
svn: r10254
2008-06-13 17:06:05 +00:00
Stevie Strickland
df91f204d2 Test cases that should succeed and fail for star/dots mixes. 2008-06-13 12:08:43 -04:00
Stevie Strickland
6da5171b28 Add fixed-args mismatch between starred/dotted functions. 2008-06-12 14:08:23 -04:00
Kathy Gray
7f085f7e2b Switching to scheme/base instead of mzscheme
Addition of support for stm (to-scheme.ss only)

svn: r10232
2008-06-12 14:46:43 +00:00
Matthew Flatt
930650491f fix mod-collapse bug with 'up' elements relative to planet paths
svn: r10229
2008-06-12 12:18:30 +00:00
Sam Tobin-Hochstadt
eb9147a0fa Add new tests 2008-06-11 17:16:58 -04:00
Sam Tobin-Hochstadt
97847c32c4 Added new test for constraint solving on starred functions with different fixed arg lengths. 2008-06-11 11:41:46 -04:00
Sam Tobin-Hochstadt
4ae4141257 Changes to tests for ... 2008-06-10 16:40:05 -04:00
Matthew Flatt
301a91e0ad fix moddep test for Windows
svn: r10186
2008-06-07 12:15:06 +00:00
Sam Tobin-Hochstadt
d9134861c4 Run tests in new namespaces.
svn: r10180
2008-06-06 17:19:53 +00:00
Matthew Flatt
26d4346984 moddep tests
svn: r10179
2008-06-06 15:57:56 +00:00
Matthew Flatt
5f5c70eafb fix some docs and tests
svn: r10176
2008-06-06 15:39:59 +00:00
Noel Welsh
a33a97de59 NHW: Fix an error in the require statement for SRFI 66.
svn: r10169
2008-06-06 13:21:07 +00:00
Sam Tobin-Hochstadt
e9356d145d Run when just required.
svn: r10162
2008-06-05 21:43:06 +00:00
Sam Tobin-Hochstadt
5a8bc6fabb Add new tests.
Fix old tests for new Struct datatype.

svn: r10161
2008-06-05 21:42:44 +00:00
Matthias Felleisen
4af4565d2a added empty-string test for text
svn: r10156
2008-06-05 21:15:37 +00:00
Matthew Flatt
6aa847ca67 update MrEd gc test for v4
svn: r10122
2008-06-04 11:45:41 +00:00
John Clements
d8dd8c1d50 ...
svn: r10120
2008-06-04 06:01:51 +00:00
Chongkai Zhu
f922f37bf6 SRFI tested for v4
svn: r10114
2008-06-03 22:28:59 +00:00
Eli Barzilay
4654408229 portable
svn: r10112
2008-06-03 18:47:14 +00:00
Robby Findler
eec9d1e4bb minor fixes uncovered by test suites:
svn: r10111
2008-06-03 18:18:17 +00:00
Eli Barzilay
364c048008 removed some for-syntax requires that are no longer needed for runtime-path
svn: r10100
2008-06-03 00:02:59 +00:00
Robby Findler
c16212375c svn: r10079 2008-06-01 18:59:33 +00:00
Robby Findler
1ef3f03a27 svn: r10078 2008-06-01 18:45:13 +00:00
Robby Findler
5d75495c3b svn: r10077 2008-06-01 18:42:27 +00:00
Sam Tobin-Hochstadt
d9aa32446f Add automated tests for match and typed-scheme.
svn: r10043
2008-05-30 16:00:43 +00:00
Matthew Flatt
a78bf662b2 adjust search-page sizing of 'provided from' to use a CSS entry, which scales by the magic 82% instead of 80% (because 80% drops just below the threshold of anti-aliasing the default monospace font in Safari)
svn: r10036
2008-05-30 13:25:54 +00:00
Robby Findler
612f26972e improved the error reporting in the REPL and misc other minor changes
svn: r10014
2008-05-29 04:55:43 +00:00
Matthew Flatt
536ec96549 add missing syntax-case tests
svn: r9987
2008-05-27 20:22:08 +00:00
Matthew Flatt
fadfbf73e1 repir boolean=? test
svn: r9948
2008-05-24 22:27:29 +00:00
Matthew Flatt
344b225e20 add boolean=? to r6rs
svn: r9947
2008-05-24 22:26:02 +00:00
Matthew Flatt
7ec0f13a7d fix r6rs exists
svn: r9946
2008-05-24 17:25:39 +00:00
Sam Tobin-Hochstadt
a973a8cbd5 Don't statically require mred in tests.
svn: r9928
2008-05-22 16:36:06 +00:00
Sam Tobin-Hochstadt
833bebbd3b fix test
svn: r9924
2008-05-21 20:10:39 +00:00
Robby Findler
c5f4bc9e20 emptied the namespace when executing a module
svn: r9923
2008-05-21 17:43:14 +00:00
Sam Tobin-Hochstadt
e8123b83ec move to correct dir
svn: r9909
2008-05-20 20:40:48 +00:00
Sam Tobin-Hochstadt
c44d686a15 Finally fixed metric.ss
svn: r9908
2008-05-20 20:40:14 +00:00
Sam Tobin-Hochstadt
1d67f058fc New test for non-linearity + ...
svn: r9869
2008-05-16 19:55:28 +00:00
Matthew Flatt
84d010b567 fix r6rs fixnum-width
svn: r9856
2008-05-15 18:59:53 +00:00
Matthew Flatt
41ad955597 R6RS repairs (PRs 9361 and 9371)
svn: r9844
2008-05-15 13:23:16 +00:00
Robby Findler
9f69672740 fixed bug from the mailing list
svn: r9830
2008-05-14 11:46:49 +00:00
Ryan Culpepper
75320261cf moved stxclass test module
svn: r9816
2008-05-12 19:00:45 +00:00
Matthew Flatt
24739359e4 Ryan's macro-stepper patches
svn: r9794
2008-05-10 11:02:47 +00:00