Commit Graph

520 Commits

Author SHA1 Message Date
Robby Findler
90de53d2b2 finished ->d
svn: r8166
2007-12-30 23:36:58 +00:00
Matthew Flatt
1d8b21f53b disallow empty application; rename regexp-match/fail-without-reading to regexp-try-match
svn: r8152
2007-12-29 13:51:32 +00:00
Matthew Flatt
6ccffdffdb JIT inlines some floating-point ops
svn: r8144
2007-12-28 22:11:41 +00:00
Matthew Flatt
53bf8bae8e 3.99.0.7: add prop:equal+hash
svn: r8137
2007-12-27 16:19:35 +00:00
Matthew Flatt
c0872f69ea equal? and hashing work on cyclic values
svn: r8132
2007-12-27 11:07:14 +00:00
Matthew Flatt
9f4f7670d1 fix exn-handler test
svn: r8125
2007-12-26 12:02:13 +00:00
Robby Findler
342eb86c10 finished the new ->*
svn: r8086
2007-12-20 20:35:58 +00:00
Matthew Flatt
d794bde875 liberalize un{quote,syntax}-spliciing to allow a non-list at the end of an enclosing list
svn: r8083
2007-12-20 14:00:15 +00:00
Matthew Flatt
c4960b7418 turn shared.ss test suite back on, tweak docs
svn: r8076
2007-12-19 22:25:12 +00:00
Matthew Flatt
f70ea2d03a shared
svn: r8069
2007-12-19 21:32:07 +00:00
Matthew Flatt
19a6edc664 finish fixing sandboxed test suites
svn: r8062
2007-12-19 14:46:30 +00:00
Matthew Flatt
36c5684876 put mzlib test suites into separate sandboxes
svn: r8058
2007-12-19 04:12:02 +00:00
Matthew Flatt
e3b4751adb catch up test suite for recent changes
svn: r8055
2007-12-18 22:07:30 +00:00
Robby Findler
49f198dad7 fixed naming bugs and added a test suite to ensure that I preserve backwards compatibility with the old version of mzlib's contract system
svn: r8050
2007-12-18 20:49:33 +00:00
Robby Findler
a3f3dcb64d added keywords to ->*
svn: r8049
2007-12-18 20:19:11 +00:00
Robby Findler
0e43e1da8c added keywords to -> contract
svn: r8041
2007-12-17 23:48:30 +00:00
Robby Findler
116241eee5 converted the contract test suite to use scheme/base and fixed bugs along the way
svn: r8032
2007-12-16 22:45:52 +00:00
Robby Findler
9a0498b44d moved class, contracts, serialize, and traits into scheme/ and changed the class and contract interface so that contracts no longer depend on the class system (instead its the other way around)
svn: r8017
2007-12-15 18:46:55 +00:00
Eli Barzilay
d2f12f294c fix expected error message on redefinitions
svn: r7954
2007-12-11 11:57:35 +00:00
Eli Barzilay
41133f5341 fix else binding after its destroyed
svn: r7953
2007-12-11 11:54:58 +00:00
Eli Barzilay
ddc2ade271 avoid requiring mzscheme
svn: r7951
2007-12-11 11:28:50 +00:00
Eli Barzilay
29318f1be2 fixed with-output-to-file
svn: r7948
2007-12-11 04:27:56 +00:00
Matthew Flatt
9b96716432 improve arity error messages when keywords are involved
svn: r7887
2007-12-02 15:45:51 +00:00
Matthew Flatt
58684c1b0b doc corrections in quick and guide
svn: r7880
2007-12-01 01:47:32 +00:00
Robby Findler
a295a42c15 improved contract library so that structs without mutators work and it now passes the test suite
svn: r7879
2007-11-30 22:50:01 +00:00
Matthew Flatt
51fe0a2256 fix test
svn: r7861
2007-11-29 19:16:38 +00:00
Matthew Flatt
9a3f044337 fix uni-norm.ss test suite
svn: r7852
2007-11-28 16:21:26 +00:00
Robby Findler
47a4b69e5d some progress on the contract test suite
svn: r7850
2007-11-28 04:38:23 +00:00
Matthew Flatt
8138758ea5 fix some tests
svn: r7847
2007-11-27 17:58:59 +00:00
Matthew Flatt
2c6a894474 fix mismatch between identifier and datums in module paths; revive HtDP language tests; fix quick's cache
svn: r7833
2007-11-26 00:38:58 +00:00
Matthew Flatt
5f312dcbde doc fixes
svn: r7832
2007-11-25 19:48:41 +00:00
Matthew Flatt
3abf3eb098 repair mz test suite
svn: r7760
2007-11-18 04:34:49 +00:00
Matthew Flatt
416cffff77 fix (magnitude +inf.0+inf.0i)
svn: r7759
2007-11-18 03:59:10 +00:00
Matthew Flatt
391892a848 3.99.0.3: improved namespace API
svn: r7756
2007-11-18 02:06:57 +00:00
Matthew Flatt
b8d9e4f406 mzc -e fixes
svn: r7714
2007-11-14 01:25:01 +00:00
Matthew Flatt
39cedb62ed v3.99.0.2
svn: r7706
2007-11-13 12:40:00 +00:00
Robby Findler
359196ae82 improved contract libraries handling of #%app for provide/contract'd variables
svn: r7590
2007-10-29 21:07:43 +00:00
Robby Findler
992eff0c63 added a test
svn: r7477
2007-10-10 20:42:42 +00:00
Eli Barzilay
6c13e101bf fix bad input to raise an error as usual, added tests
svn: r7445
2007-10-07 18:12:11 +00:00
Robby Findler
0dacc38c53 added failing test case pointed out by Matthew
svn: r7400
2007-09-22 15:49:37 +00:00
Matthew Flatt
b9a0d860c0 experiment with alpha setting in dc<%>, plus some slideshow experiments and other minor changes
svn: r7399
2007-09-22 13:48:22 +00:00
Eli Barzilay
cae0931777 allow raw result from md5
svn: r7366
2007-09-17 16:54:54 +00:00
Robby Findler
bd93217061 refactored the contract system so that contracts do not depend on the class system, and now the class contracts are exported from class.ss
svn: r7357
2007-09-17 02:27:05 +00:00
Matthew Flatt
20890b1cf3 fix date test for machines with 64-bit dates
svn: r7355
2007-09-16 14:41:39 +00:00
Matthew Flatt
001404dec0 371.3
svn: r7350
2007-09-15 22:27:14 +00:00
Robby Findler
b7c441833e tried to improve size of generated code for structs
svn: r7348
2007-09-15 19:57:28 +00:00
Eli Barzilay
eb72a0dd93 do not trust require spec from user code
svn: r7343
2007-09-15 07:09:06 +00:00
Robby Findler
33311ab211 few minor improvements to the code generated by the contract library
svn: r7339
2007-09-14 21:27:53 +00:00
John Clements
c77bf466a5 tests for minor bug fixes in date.ss
svn: r7310
2007-09-11 05:03:59 +00:00
Matthew Flatt
1ce720cffd add simple optimization of procedure? applied to an id whose value is known to be a procedure
svn: r7308
2007-09-10 21:13:57 +00:00
Matthew Flatt
50e42bcfeb test procedure-reduce-arity
svn: r7270
2007-09-03 17:08:01 +00:00
Matthew Flatt
e4cbc4e6a9 371.2
svn: r7263
2007-09-02 17:39:32 +00:00
Eli Barzilay
392f99b717 new thread breaking in sandbox, improved with-limits to use call-in-nested-thread
svn: r7123
2007-08-19 23:27:14 +00:00
Eli Barzilay
7d09bb70b8 typo(?)
svn: r7114
2007-08-18 05:40:27 +00:00
Matthew Flatt
c7c3d60b16 checkpoint new GUI toolbox docs
svn: r7109
2007-08-17 16:19:31 +00:00
Noel Welsh
99c1ee330c Add SRFIs 35 and 64 to the documentation, and add them to the test script (which only checks they load)
svn: r7078
2007-08-10 10:13:35 +00:00
Eli Barzilay
0e2a1a465a changed default current-alist-separator-mode to amp, added semi-or-amp mode
svn: r7057
2007-08-08 15:30:03 +00:00
Noel Welsh
39d78f3fbf Wrap a parameter/c contract around current-proxy-servers, so it may be used in calls to parameterize. Add test for same.
svn: r7030
2007-08-06 13:58:22 +00:00
Robby Findler
67dd80eb78 changes noticed by Matthew
svn: r6980
2007-07-29 18:56:32 +00:00
Robby Findler
23d245c09f fixed PR 8830
svn: r6979
2007-07-29 03:39:44 +00:00
Eli Barzilay
418df561e7 PR8809 (value-less keys in the query parts) -- see message in the PR log
svn: r6931
2007-07-18 03:42:23 +00:00
Carl Eastlund
33b4228a4e Updated ellipsis error message in htdp languages.
Updated test cases for ellipsis error message.
Fixed problem with htdp advanced tests introduced with previous ellipsis updates.
Fixed htdp tests for updated undefined variable error message.

svn: r6887
2007-07-10 21:23:33 +00:00
Matthew Flatt
9764065c6a 370.5
svn: r6832
2007-07-07 08:31:19 +00:00
Robby Findler
2dfd35e5c7 added parameter/c
svn: r6770
2007-06-29 16:44:18 +00:00
Matthew Flatt
b883f4ef76 fix problem with recursive reads on hash tables, sfix syntax-quoted hash tables in marhsaled compiled code, and add a bit more new documentation
svn: r6759
2007-06-28 22:59:06 +00:00
Carl Eastlund
5b67fcbb86 Added binding for .., ..., ...., ....., and ...... in htdp languages.
Uses of these dots expand to an expression generating a runtime error
stating "expected a finished expression, but found a placeholder".
Students may write and run unfinished templates (as usual), but will get an
error message that is more specific and hopefully more useful than unbound variable.

Added tests for this functionality.

svn: r6743
2007-06-26 15:41:01 +00:00
Matthew Flatt
d518f24039 370.4
svn: r6710
2007-06-20 21:11:38 +00:00
Robby Findler
ce0b5fec2f added a test case for the bug Shu-yu just fixed
svn: r6675
2007-06-16 17:29:19 +00:00
Matthew Flatt
441c509549 fix to 64-bit problems and let-values optimization (PRs 8748 and 8744)
svn: r6668
2007-06-15 22:54:56 +00:00
Robby Findler
ea5b3493f3 fixed define-contract-struct so that it defines (via define-syntax) the struct name, following the define-struct covention
svn: r6664
2007-06-14 21:14:14 +00:00
Matthew Flatt
2385d8bd93 fix trait bug found by Ryan
svn: r6653
2007-06-13 22:47:17 +00:00
Robby Findler
3857b95a7b fixed PR 8737
svn: r6596
2007-06-12 15:23:54 +00:00
Matthew Flatt
7d7cae8bf2 get rid of for-values, change document format for mini-grammars
svn: r6549
2007-06-09 01:13:52 +00:00
Matthew Flatt
63ce7b93fb 370.3
svn: r6545
2007-06-08 08:03:06 +00:00
Matthew Flatt
d2f0b1756c schemeblock improvements and reference-manual work
svn: r6468
2007-06-04 06:34:16 +00:00
Matthew Flatt
e9385a910e 370.2
svn: r6369
2007-05-29 03:26:32 +00:00
Matthew Flatt
3c25a6ad93 make scribble reader section fit narrower column
svn: r6265
2007-05-24 10:36:03 +00:00
Robby Findler
3d4f153275 fixed default value of parameter
svn: r6234
2007-05-19 23:05:09 +00:00
Noel Welsh
afa7382c9c This file tests that all SRFIs load in Mz/DrScheme as required for the SRFI verifications test.
svn: r6186
2007-05-10 08:21:55 +00:00
Matthew Flatt
ffff979bd7 fix equal-hashing of characters, and also correct potential 3m allocations problem (at least on 64-bit machines, for now) in MzScheme/MrEd start-up
svn: r6156
2007-05-05 23:43:25 +00:00
Robby Findler
e41ff4705e improved error checking for provide/contract struct clauses
svn: r6155
2007-05-05 17:50:19 +00:00
Eli Barzilay
e374d7a051 more memory!
svn: r6141
2007-05-04 09:43:58 +00:00
Robby Findler
fa2b488b75 fixed a bug in the star image constructing function
svn: r6130
2007-05-03 19:13:19 +00:00
Robby Findler
ff700eae1b added test case to catch broken shrink
svn: r6121
2007-05-03 01:35:27 +00:00
Matthew Flatt
448cba2fb5 fix HtDP require so that it correctly binds fo lib and planet paths
svn: r6120
2007-05-02 22:40:48 +00:00
Eli Barzilay
e4b7d760d5 more memory for limited memory test
svn: r6119
2007-05-02 09:31:39 +00:00
Matthew Flatt
60cb899ba1 require in the HtDP languages
svn: r6116
2007-05-02 01:18:57 +00:00
Matthew Flatt
0cba826ae5 369.12
svn: r6115
2007-05-01 23:46:51 +00:00
Robby Findler
bce27f35f0 the image library now accepts inexacts and non-integral numbers in many places
svn: r6112
2007-05-01 15:30:35 +00:00
Robby Findler
047346c1c8 fixed bugs in test suite
svn: r6104
2007-04-30 19:39:15 +00:00
Robby Findler
5ac3fdd86e added unsafe list contract combinators
svn: r6096
2007-04-29 21:46:27 +00:00
Matthew Flatt
e9bf34f193 369.11
svn: r6085
2007-04-29 02:08:24 +00:00
Robby Findler
ddf5ddaf68 fixed a bug in structs
svn: r6059
2007-04-27 22:02:14 +00:00
Matthew Flatt
52201f68d1 fix path.ss test quite to work on non-Windows platforms
svn: r6046
2007-04-25 23:12:38 +00:00
Matthew Flatt
7c0ea5b79c fix Windows stat() problem, and also fix some path-manipulation bugs related to //?/ paths
svn: r6037
2007-04-25 05:56:50 +00:00
Matthew Flatt
6afb79188d test and fix hook for create-embedding-executable
svn: r6036
2007-04-25 00:43:51 +00:00
Matthew Flatt
2009419979 fix read-error reporting for characters that live in no port
svn: r6031
2007-04-24 01:50:09 +00:00
Matthew Flatt
fdf878cda5 fix char-set-complement (PR 8624, patch from Jens Axel)
svn: r6016
2007-04-22 21:17:25 +00:00
Matthew Flatt
a45251d272 369.10
svn: r6003
2007-04-20 01:16:15 +00:00
Robby Findler
db8cba03aa added unconstrained-domain->
svn: r5967
2007-04-17 18:54:19 +00:00
Eli Barzilay
e885e79295 URL parsing is closer to the RFC now
svn: r5965
2007-04-17 11:56:20 +00:00
Matthew Flatt
cc8e660737 test for module require-cycle checking
svn: r5964
2007-04-17 11:39:23 +00:00
Eli Barzilay
ee91e07ee3 tests for using colons in scheme-less paths
svn: r5959
2007-04-17 06:11:39 +00:00
Eli Barzilay
30a27b1d8b better sandbox input
svn: r5905
2007-04-09 11:11:22 +00:00
Eli Barzilay
c6f377aca8 better output specs and implementation
svn: r5903
2007-04-09 09:15:25 +00:00
Matthew Flatt
34d00a000c 369.9
svn: r5902
2007-04-09 08:34:00 +00:00
Matthew Flatt
e4d0589442 fix problem with dw and implicit prompt
svn: r5899
2007-04-09 05:22:18 +00:00
Matthew Flatt
b41a2abf23 test for: fix bug field counts for struct-type-info result
svn: r5895
2007-04-09 02:26:38 +00:00
Eli Barzilay
4cf75fbb65 some filename tweaks for windows
svn: r5891
2007-04-08 21:39:12 +00:00
Matthew Flatt
392bd607d4 make binding on #%module-begin form more consistent when the module body contains a single expression (patch from samth)
svn: r5889
2007-04-08 11:48:28 +00:00
Matthew Flatt
555e5376a3 fix a bug related to the implicit prompt in a thread taking over the role of an explicit prompt
svn: r5887
2007-04-08 08:57:58 +00:00
Matthew Flatt
9bf5fe3872 test for field value names in class
svn: r5881
2007-04-07 23:36:45 +00:00
Eli Barzilay
874c0331c3 do what you can when not in 3m
svn: r5878
2007-04-07 02:23:36 +00:00
Eli Barzilay
6aa7b2c87d typo
svn: r5877
2007-04-07 01:44:37 +00:00
Eli Barzilay
4ea6d7e1ed added sandbox to the mzlib tests
svn: r5876
2007-04-06 10:18:40 +00:00
Eli Barzilay
433c9a57ec new sandbox in mzlib
svn: r5873
2007-04-06 08:56:23 +00:00
Robby Findler
8f51c76a7b added pretty-format
svn: r5862
2007-04-03 22:27:21 +00:00
Matthew Flatt
ca7fada621 fix delim-cont bugs related to capturing a composable continuation in a post thunk
svn: r5830
2007-03-26 08:46:49 +00:00
Matthew Flatt
da6e732918 fix stx tests for revised let-syntaxes expansion
svn: r5827
2007-03-25 21:54:29 +00:00
Robby Findler
690947bdda added test cases for pretty-print-remap-stylable
svn: r5809
2007-03-21 23:07:14 +00:00
Matthew Flatt
cbe41955f1 test for optimizer lifting with unused rest arg
svn: r5793
2007-03-19 22:04:48 +00:00
Matthew Flatt
3803b4e045 fix pretty-printer to pay attention to print-box (PR 8567)
svn: r5787
2007-03-19 03:29:06 +00:00
Robby Findler
058bb56915 added guilty-party
svn: r5783
2007-03-17 21:39:59 +00:00
Eli Barzilay
1e0f84d937 fix memory functions argument parsing, fix foreign tests
svn: r5711
2007-03-01 06:38:30 +00:00
Matthew Flatt
3b10623bad tests for mz and port.ss repairs
svn: r5641
2007-02-20 01:42:25 +00:00
Eli Barzilay
5387c758f2 added test for u8vector items
svn: r5628
2007-02-17 15:23:49 +00:00
Matthew Flatt
7a48da5797 ideas for honu tests
svn: r5613
2007-02-15 07:48:43 +00:00
Matthew Flatt
4b765cfa5a 369.8
svn: r5594
2007-02-14 02:41:49 +00:00
Matthew Flatt
44623776c0 fix err-msg test
svn: r5559
2007-02-06 07:46:43 +00:00
Matthew Flatt
126ff2a91a improve parallel testing
svn: r5548
2007-02-03 22:15:36 +00:00
Matthew Flatt
482596754b change binary-tree to maybe correctly match the rules
svn: r5532
2007-02-01 07:02:00 +00:00
Matthew Flatt
04621493ad benchmark impl. is not actually based on the Ruby version
svn: r5531
2007-02-01 06:15:46 +00:00
Matthew Flatt
26766f9cfa fixed yet another race condition in a test
svn: r5530
2007-02-01 06:03:02 +00:00
Matthew Flatt
778d4d5472 fix another race condition in a test case
svn: r5525
2007-02-01 01:39:22 +00:00
Robby Findler
81ce545d63 added define-opt/c
svn: r5515
2007-01-31 01:12:19 +00:00
Matthew Flatt
0610ffdd41 avoid excessive allocation for 64-bit machines in make-string/make-bytes tests
svn: r5514
2007-01-31 00:33:38 +00:00
Matthew Flatt
bfc693c063 369.7
svn: r5506
2007-01-30 06:34:05 +00:00
Matthew Flatt
74f94b755e add attribution
svn: r5500
2007-01-29 14:01:29 +00:00
Matthew Flatt
69fcdd2d14 add another missing benchmark
svn: r5499
2007-01-29 14:00:47 +00:00
Matthew Flatt
277fad6c1f fix benchmark name
svn: r5497
2007-01-29 12:59:11 +00:00
Matthew Flatt
052e2c3896 implement missing bm
svn: r5496
2007-01-29 12:57:08 +00:00
Robby Findler
4ad8fdadea merged the opt/c changes back into the trunk (finally!)
svn: r5481
2007-01-28 02:54:16 +00:00
Matthew Flatt
f31128cf11 fix bad attempt to speed up rational comparisons, as well as th egap in the test suite
svn: r5472
2007-01-27 01:40:58 +00:00
Matthew Flatt
b550ae9b73 mostly improvements to run.ss benchmark-running script
svn: r5423
2007-01-22 03:18:51 +00:00
Matthew Flatt
6781640440 fix threadlib section report
svn: r5418
2007-01-19 21:42:53 +00:00
Matthew Flatt
87c0d5754e 369.5
svn: r5366
2007-01-16 20:55:13 +00:00
Eli Barzilay
e51405b682 use system type for suffix
svn: r5365
2007-01-16 10:57:26 +00:00
Matthew Flatt
91add0453f 369.4
svn: r5327
2007-01-12 07:09:56 +00:00
Eli Barzilay
9984b48d88 parse url schemes properly (some test reformatting)
svn: r5241
2007-01-07 09:09:27 +00:00
Matthew Flatt
51f9cba62a fix expand-path Windows test
svn: r5229
2007-01-05 07:10:37 +00:00