Commit Graph

1750 Commits

Author SHA1 Message Date
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