Commit Graph

1804 Commits

Author SHA1 Message Date
Robby Findler
3159a06389 (hopefully) sorted out polygons; added a few other polygon-based primitives
svn: r16570
2009-11-06 14:34:25 +00:00
Robby Findler
693ba9b9e8 allow overlaying of 0x0 images
svn: r16558
2009-11-05 14:55:07 +00:00
Mike Sperber
2a8e5d64be Make the DeinProgramm / DMdA one-of' / case' contracts use beginner-equal?.
svn: r16556
2009-11-05 10:10:17 +00:00
Ryan Culpepper
0feac0f636 syntax/parse:
tweaked error selection algorithm
  added tests

svn: r16533
2009-11-04 00:31:24 +00:00
Sam Tobin-Hochstadt
149e695a55 New `scheme/vector' library.
svn: r16511
2009-11-03 04:16:48 +00:00
Kevin Tew
9611f21611 Allow concurrent testing
svn: r16506
2009-11-02 23:24:08 +00:00
Matthew Flatt
70560372b7 unsafe-{string,bytes}-{ref,set,length}
svn: r16490
2009-10-31 02:19:57 +00:00
Sam Tobin-Hochstadt
40bc4cb77a remove dead examples
svn: r16480
2009-10-30 16:27:55 +00:00
Sam Tobin-Hochstadt
93a504a817 Add failing test to xfail.
Remove old dead code.

svn: r16479
2009-10-30 16:26:48 +00:00
Robby Findler
d48bc1f1c1 undid my broken commit
svn: r16478
2009-10-30 16:11:34 +00:00
Jay McCarthy
d84879db34 Moving tests
svn: r16477
2009-10-30 16:00:44 +00:00
Eli Barzilay
27f1489403 extra flushing
svn: r16468
2009-10-30 07:50:49 +00:00
Eli Barzilay
fdb074407d have at least one more difference from the first test
svn: r16464
2009-10-30 07:20:02 +00:00
Eli Barzilay
f03518f7cc try to sort outputs out
svn: r16463
2009-10-30 06:42:51 +00:00
Sam Tobin-Hochstadt
b7db9e4e67 add back test, but fixed
svn: r16462
2009-10-30 03:19:50 +00:00
Eli Barzilay
e81bbf3b90 undo the fake-error-output change
svn: r16461
2009-10-30 02:54:45 +00:00
Eli Barzilay
8061c07a9d fix one broken test, remove another bogus test
svn: r16460
2009-10-30 02:28:38 +00:00
John Clements
e4ccfc0e25 removed extra arg from call to 'go'
svn: r16457
2009-10-29 19:23:08 +00:00
John Clements
5b06af8c10 removed non-compiling test-suite
svn: r16456
2009-10-29 19:16:40 +00:00
John Clements
0263431ae0 ...
svn: r16455
2009-10-29 19:16:06 +00:00
Stevie Strickland
cf78f9173c These tests are so outdated, that if they ever get put back, they'll have
to change almost completely anyway.  Jettison the whole mess.

svn: r16454
2009-10-29 19:08:40 +00:00
Sam Tobin-Hochstadt
653d0ccd66 Add in-port', port->list', `file->list'.
Add documentation, tests for above.
Allow procedure argument to `fold-files' to return 2 values in all cases.
Document, test.

svn: r16453
2009-10-29 18:49:34 +00:00
Stevie Strickland
4bad2f34c1 Fix another of the tests for units.
svn: r16452
2009-10-29 18:38:08 +00:00
Robby Findler
4ddbe71e2d fixed the comparison contracts so they work right wrt to complex numbers
svn: r16445
2009-10-28 16:04:39 +00:00
Robby Findler
b17d6cfc2c fixed up for our modern times
svn: r16437
2009-10-26 19:48:58 +00:00
Matthew Flatt
9dc53f261e unsafe variants of shootout benchmarks
svn: r16432
2009-10-26 16:53:45 +00:00
Ryan Culpepper
e273dae9b1 macro-stepper: made syntax display faster, esp for early terms
calculate arrows etc wrt known binders instead of all binders

svn: r16416
2009-10-22 22:00:49 +00:00
Jay McCarthy
98488a89ef DrDr bugs and spurious errors
svn: r16412
2009-10-22 18:45:02 +00:00
Jay McCarthy
d557687494 DrDr related changes
svn: r16403
2009-10-21 20:32:19 +00:00
Sam Tobin-Hochstadt
a3082cba0b fix test result
svn: r16398
2009-10-21 14:46:36 +00:00
Ryan Culpepper
c7d95a21c2 syntax/parse:
dependence on scheme/match eliminated
  fail-when, etc use conditional value if syntax
  error message typos (bad tildes) fixed

svn: r16393
2009-10-20 23:17:30 +00:00
Sam Tobin-Hochstadt
37106bd6f7 Add `typed/scheme/system'
Special handling of (letrec ([x e]) x)
Allow functions with optional keyword args to be inferred when kws not supplied.
Infer instantiations for kw functions in simple cases.
Add `Path-String' type
Fix types of `filter', `with-{input-to,output-from}-file'
Add `port->lines'
New 'metrics.ss' test

svn: r16385
2009-10-20 18:30:37 +00:00
Kevin Tew
ac7853dc00 Allow binding to ephemeral ports
svn: r16382
2009-10-20 17:00:20 +00:00
Stevie Strickland
c17885638a * Fix with-contract so that all uncontracted names are automatically exported
* Also allow mutation of contracted names that flow in/out of with-contract.

svn: r16376
2009-10-19 23:17:30 +00:00
Eli Barzilay
3d60fe640b misc prop fixes
svn: r16374
2009-10-19 22:36:12 +00:00
Stevie Strickland
0385b2f89d Fix require-for-syntax -> require + for-syntax
svn: r16367
2009-10-19 16:11:52 +00:00
Sam Tobin-Hochstadt
6a83901a8b Don't error for branches with wrong number of results where return type is Bot.
Allow case-lambda to be subtype of equiv union type.
Add types for path?, fold-files, assert

svn: r16357
2009-10-18 01:10:00 +00:00
Robby Findler
b5dd323d94 fixed up problems uncovered by dr dr
svn: r16355
2009-10-17 21:28:45 +00:00
Robby Findler
931cb35fa4 fixed up these files to be friendlier to the dr dr
svn: r16354
2009-10-17 21:23:35 +00:00
Matthew Flatt
110ea411d1 clean up some tests
svn: r16350
2009-10-17 14:50:52 +00:00
Eli Barzilay
87a169a33e drdr props to ignore Windows-only files; svn:ignore; make plot/run-tests.ss independent of where they are running from
svn: r16346
2009-10-17 02:17:09 +00:00
Jay McCarthy
46734639fb Cleaning up DrDr properties
svn: r16342
2009-10-16 19:29:57 +00:00
Robby Findler
40547e86a2 added a little more automation to the drscheme test suite
svn: r16341
2009-10-16 17:26:32 +00:00
Jon Rafkind
25bd680141 add example syntax-rules honu macro
svn: r16334
2009-10-15 23:38:19 +00:00
Jay McCarthy
c40c3a9884 DrDr properties and stderr change
svn: r16329
2009-10-15 19:42:48 +00:00
Robby Findler
11e87632dc rearranged things so that 2htdp/image has its core snip stuff loaded into drscheme so that saving files with 2htdp/image images in them works
svn: r16317
2009-10-13 23:06:24 +00:00
Robby Findler
3aae13cb60 fixed a bug in rotating non-polygons
svn: r16315
2009-10-13 22:16:17 +00:00
Robby Findler
339860d340 a little more progress (got ellipses bounding boxes right!)
svn: r16307
2009-10-13 17:30:40 +00:00
Robby Findler
7dbd784048 PR 10518
svn: r16282
2009-10-08 16:32:37 +00:00
Robby Findler
e87712fdda an attempt to fix up the bounding boxes on ellipses
svn: r16281
2009-10-08 14:20:04 +00:00
Matthew Flatt
f6d34ab964 add unsafe-flabs and unsafe-fxabs (4.2.2.4)
svn: r16234
2009-10-04 03:25:56 +00:00
Matthew Flatt
20681d40de tests for bitwise-bit-field repair
svn: r16233
2009-10-04 01:41:18 +00:00
Matthew Flatt
9852bb16a2 unboxing of intermediate results in some 'unsafe-fl' combinations
svn: r16229
2009-10-03 14:10:55 +00:00
Matthew Flatt
01d15eb9b6 add unsafe-fx->fl; avoid some gcc warnings
svn: r16221
2009-10-02 19:45:41 +00:00
Sam Tobin-Hochstadt
6efd0abc13 Fix bug with use of match with ... and annotation.
svn: r16216
2009-10-02 16:20:30 +00:00
Robby Findler
d0b4dc24ec added scaling to 2htdp/image
svn: r16211
2009-10-02 11:20:30 +00:00
Robby Findler
2fbb31c6ad a little more progress on images, plus some documentation
svn: r16202
2009-10-01 19:21:45 +00:00
John Clements
352a74cc05 ...
svn: r16199
2009-10-01 17:46:44 +00:00
Eli Barzilay
b280232aea mu
svn: r16160
2009-09-29 04:38:02 +00:00
Jon Rafkind
230fcf49df add simple trace tests
svn: r16158
2009-09-29 04:30:31 +00:00
Robby Findler
53a796d7af first (broken) attempt at bounding boxes for ellipses
svn: r16145
2009-09-28 16:26:03 +00:00
Robby Findler
982f533d28 split up image into core library (required for copy & paste) and other stuff (implementation of the combinators, mostly)
svn: r16141
2009-09-28 11:36:13 +00:00
Robby Findler
68d461f60a renamed 2htdp/picture to 2htdp/image
svn: r16140
2009-09-28 11:04:23 +00:00
Matthew Flatt
95235a4522 fix problem with regexp-match*, etc. and byte regexps (merge to 4.2.2)
svn: r16133
2009-09-26 18:50:41 +00:00
Robby Findler
c91a9847aa more progress on picture.ss; hopefully this is a final version of the internal data definitions
svn: r16132
2009-09-26 15:39:00 +00:00
Robby Findler
9b8c2d15cc added a test case for just creating a snip% (but the test case doesnt run yet)
svn: r16131
2009-09-26 15:38:35 +00:00
Matthew Flatt
be2c552788 fix cleanse-path security-guard test
svn: r16125
2009-09-25 14:16:44 +00:00
Robby Findler
6ac7ad9a3c svn: r16110 2009-09-22 10:10:46 +00:00
Robby Findler
5fb6d5ef47 brought test suites up to date
svn: r16105
2009-09-21 22:43:39 +00:00
Kathy Gray
8daec2e15d Removed tests/profj. Moved the test-engine test file out of the profj tests into its own directory
svn: r16101
2009-09-21 12:42:27 +00:00
Ryan Culpepper
68667c15a6 syntax/parse: removed tests/stxclass to tests/stxparse
svn: r16098
2009-09-20 23:57:56 +00:00
Ryan Culpepper
5ababfac9c syntax/parse: added ~parse action pattern
svn: r16097
2009-09-20 23:49:41 +00:00
Eli Barzilay
95f81d4b50 restored collects/tests/profj, since kathy needs to get the profj tests out, and since it also includes the test-engine tests
svn: r16095
2009-09-20 22:29:02 +00:00
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