Commit Graph

785 Commits

Author SHA1 Message Date
Matthew Flatt
021d4d7527 new hash function names and ops (3.99.0.23)
svn: r9209
2008-04-08 21:42:38 +00:00
Eli Barzilay
5cde854a07 svn: r9198 2008-04-08 12:39:36 +00:00
Eli Barzilay
26b283b953 fixed pr9285, added tests
svn: r9197
2008-04-08 12:33:53 +00:00
Eli Barzilay
2888a16d0e * Move the scheme/contract tests to scheme.ss
* Split string.ss into string-mzlib.ss which is left in mzlib.ss
* Call the string.ss from scheme (which now has only stuff from scheme/base)

svn: r9196
2008-04-08 12:29:04 +00:00
Sam Tobin-Hochstadt
b37d63a5e5 Omit match tests during setup.
svn: r9195
2008-04-08 12:22:48 +00:00
Eli Barzilay
f0547adffc fix force for dealing with (lazy 0), add a test suite (simple one for now)
svn: r9180
2008-04-07 19:33:48 +00:00
Sam Tobin-Hochstadt
37e0416575 Move match tests out of mzscheme directory.
svn: r9179
2008-04-07 17:28:06 +00:00
Sam Tobin-Hochstadt
b670ac0a20 Update to new version of Schemeunit.
svn: r9178
2008-04-07 17:27:09 +00:00
Matthew Flatt
5165d9e855 sync Ryan's macro-debugger changes
svn: r9166
2008-04-04 17:38:23 +00:00
Matthew Flatt
359035362a 2^30 optimizer test
svn: r9146
2008-04-03 11:14:19 +00:00
Eli Barzilay
c2829fc216 #:cache-keys -> #:cache-keys?
svn: r9134
2008-04-02 08:21:17 +00:00
Eli Barzilay
bfc990e3c5 Added #:key and #:cache-keys to `sort', documented and tested.
svn: r9128
2008-04-01 20:58:41 +00:00
Sam Tobin-Hochstadt
75ceb53bf7 Delete old match test suite.
Add new, schemeunit-based match test suite.
Remove call to match test from mzlib.ss

svn: r9126
2008-04-01 17:33:53 +00:00
Matthew Flatt
741d856187 fix some scribble->latex problems
svn: r9106
2008-03-29 03:16:44 +00:00
Matthew Flatt
61ea615004 optimizer inlining improvements, especially to ensure that single-use bindings are inlined
svn: r9094
2008-03-27 16:07:42 +00:00
Matthew Flatt
d2cdc315a9 fix bug in thread-rewind-receive
svn: r9090
2008-03-26 12:41:03 +00:00
Matthew Flatt
06326b340b thread-rewind-receive (3.99.0.21)
svn: r9088
2008-03-26 02:20:50 +00:00
Matthew Flatt
34d83b3551 change module-path? for planet path shorthand; doc edits
svn: r9048
2008-03-21 23:46:42 +00:00
Eli Barzilay
fb8efd4816 added take+drop+append to scheme/list (problems with texpict providing drop too)
svn: r9045
2008-03-21 18:45:18 +00:00
Eli Barzilay
d88c6c476a * Better versions of curry/r and negate, doc improvements, tests
svn: r9043
2008-03-21 17:55:29 +00:00
Matthew Flatt
f5e0fd35f5 revise scribble/srcdoc so it is extensible; tweak bytecode optimizer to drop more omittable expressions
svn: r9028
2008-03-19 19:53:51 +00:00
Matthew Flatt
b26702358a allowing shadowing of initial imports (3.99.0.20)
svn: r9025
2008-03-19 13:39:18 +00:00
Matthew Flatt
407e0bc2d9 fix serialization on prefabs, equal on cyclic hash tables
svn: r9020
2008-03-18 19:46:39 +00:00
Matthew Flatt
2834b00b7e refine failure handling of thread-send
svn: r9012
2008-03-18 02:16:06 +00:00
Matthew Flatt
c58820e30d vyzo's thread mailboxes (3.99.0.19)
svn: r9010
2008-03-18 00:38:36 +00:00
Robby Findler
9ba432ab9c added the _ special case to ->d
svn: r8998
2008-03-17 04:01:39 +00:00
Matthew Flatt
b64d03d932 fix mac sdk support; change initial namespace to not have 'module'; set up mzc --c-mods (still need docs)
svn: r8997
2008-03-16 23:08:53 +00:00
Matthew Flatt
788adace20 fix r6rs let[rec]-syntax for expression positions
svn: r8982
2008-03-15 21:57:58 +00:00
Matthew Flatt
293ba025ba prefab structure types (3.99.0.18)
svn: r8967
2008-03-13 20:59:22 +00:00
Eli Barzilay
401a535e11 * Added svn:ignore to ignore test-generated files
* Renamed mzlib/contract header (distinguished from the other)
* Added "scheme.ss" to test things from the scheme collection
* Added "for.ss" to the "scheme.ss" tests, renamed the section header
  to `for'
* Added "list.ss" to test stuff from scheme/list: flatten
* Moved list tests from "function.ss" to "list.ss": foldl, foldr,
  filter, memf, assf, sort; removed bogus quicksort-mergesort test

svn: r8928
2008-03-08 07:34:22 +00:00
Noel Welsh
d71f913097 Link the SRFI 4 tests into the main test suite and fix a number of tests so they work with the changes to 3.99. The hash table tests are still broken and I don't know why.
svn: r8919
2008-03-07 16:51:12 +00:00
Noel Welsh
a53d243e99 I have changed the SRFI-4 implementation so structure types are exported for types except u8. This allows developers to subtype the SRFI-4 structures. I have also refactored the code, leading to a significantly simpler implementation
svn: r8918
2008-03-07 16:24:06 +00:00
Matthew Flatt
81709349fb programs
svn: r8917
2008-03-07 13:24:59 +00:00
Matthew Flatt
20055ac00e r6rs tests and repairs
svn: r8913
2008-03-07 03:18:06 +00:00
Matthew Flatt
cc6a756440 tests for (round -0.0), etc.
svn: r8907
2008-03-06 21:32:57 +00:00
Matthew Flatt
53bc658226 r6rs tests and repairs
svn: r8905
2008-03-06 18:56:31 +00:00
Matthew Flatt
b451631831 fix coroutine API and test to avoid timeout races
svn: r8900
2008-03-06 14:08:29 +00:00
Matthew Flatt
e66ea1084c rename R6RS test suite entry point
svn: r8899
2008-03-06 04:58:01 +00:00
Matthew Flatt
f3d74fa4c8 R6RS fixes; fix for <, >, <=, and >= with +nan.0 and a bignum or rational; compile two-byte regexp patterns (common for hand-rolled case-insensitivity, as in the R6RS parser) to a more compact and efficient representation
svn: r8898
2008-03-06 04:56:47 +00:00
Eli Barzilay
c72b0017ca removed old hack
svn: r8897
2008-03-05 20:40:03 +00:00
Matthew Flatt
d4ea11b325 fix test case affected by change to scheme/base module-begin expansion
svn: r8896
2008-03-05 13:23:36 +00:00
Robby Findler
ecc960e538 added back drscheme framework and utils to be compiled
svn: r8891
2008-03-05 02:05:26 +00:00
Matthew Flatt
f2f2322140 fix another stx bug introduced in phase generalization
svn: r8871
2008-03-04 14:56:46 +00:00
Eli Barzilay
b76390a452 revise the way setup-plt crawls over the collection trees
svn: r8860
2008-03-03 22:04:28 +00:00
Matthew Flatt
b3476706ec add newline handling to reencode-input/output-port; provide a streamlined path for custom-port buffering (via pipes); fix JIT bug related to updating the runstack pointer after a call that turns out to be a direct-native call
svn: r8851
2008-03-02 16:00:12 +00:00
Matthew Flatt
b3a47edde1 Unicode 5.0, use U+FFFD as replacement char
svn: r8838
2008-03-01 14:17:50 +00:00
Matthew Flatt
3e77d0b60f bring numerics (real, rational, etc) in line with R6RS
svn: r8832
2008-02-29 19:53:51 +00:00
Robby Findler
6266fe8b11 added regular-polygon and changed language to scheme/base
svn: r8823
2008-02-28 17:47:19 +00:00
Matthew Flatt
8311c8f9e4 Eli's repaired and specialized sort, fix in 'for/fold' binding, generalized integers-bytes functions, and some r6rs work
svn: r8798
2008-02-25 14:42:32 +00:00
Eli Barzilay
bb34f747b6 make all files terminate with a newline
svn: r8786
2008-02-24 21:27:36 +00:00
Eli Barzilay
2e418f3f46 fixed sort to be stable, improved a little, properly test stability
svn: r8783
2008-02-24 16:04:17 +00:00
Eli Barzilay
b1a08edd5a use new require specs in many places
svn: r8774
2008-02-23 09:42:03 +00:00
John Clements
0cf8c56a7e ...
svn: r8772
2008-02-23 00:48:14 +00:00
Greg Cooper
3e204e0641 take the MzTake out of mztake
svn: r8755
2008-02-21 16:45:21 +00:00
Robby Findler
f0efed2a3e PR 9200
svn: r8746
2008-02-20 22:39:07 +00:00
Matthew Flatt
ba63bd6f95 3.99.0.13: generalize require and provide to work with arbitrary phases
svn: r8742
2008-02-20 14:17:37 +00:00
Robby Findler
1acf42513e added a test case for a bug that turned out to be in mzscheme, but just to make sure it don't come back ...
svn: r8648
2008-02-13 18:26:29 +00:00
Matthew Flatt
0dc359a956 fix a scribble bug; add r6rs reader
svn: r8635
2008-02-12 21:50:35 +00:00
Eli Barzilay
699c40643d * Changed setup-plt to compile collections if they have an "info.ss"
file.  (That is, it does not require the file to have a `name'
  entry.)

* The name shown when setup works is the directory name, followed by
  the `name' field from the info file when specified.

* This means that many `name's are no longer needed, so I'm removing
  them.  To see if you need a `name' entry, consider that the name
  will be shown like this:
    ... foo (<your name here>)
  This means that if the name is the same as the directory name, then
  there is no point in having it.  I also removed cases where the name
  differed only in its capitalization for collections where the case
  is obvious.

* Also, for subcollections, the name should clarify the name of the
  subcollection in context.  For example "Acknowledgments" explains
  what scribbling/acks is, but there's no need to add the context name
  as in "Scribblings: Acknowledgments".

* There may also be a point in keeping names for other uses.  One such
  example was in games, where the name field was used in the PLT Games
  application.  (This was changed to default on the directory name, so
  it is no longer needed in most games.)  Another example is in planet
  packages.

svn: r8629
2008-02-12 10:33:01 +00:00
Matthew Flatt
6f057bd68c fix syntax-local-expand/capture-lifts
svn: r8614
2008-02-10 15:52:46 +00:00
Matthew Flatt
1959c56743 doc and test repairs
svn: r8597
2008-02-09 13:01:39 +00:00
Eli Barzilay
8a17372db3 Make regexp-split and relatives work with empty matches like other
regexp packages (eg, Dorai's pregexp and Emacs).

svn: r8556
2008-02-06 19:19:44 +00:00
Eli Barzilay
3c72e71e24 switched info.ss files to #lang
svn: r8532
2008-02-04 23:00:35 +00:00
Matthew Flatt
d1c61e5ef1 plt-r5rs exe and r5rs doc
svn: r8501
2008-02-02 04:14:04 +00:00
John Clements
a1be19c040 closer to working with v4
svn: r8500
2008-02-02 00:37:42 +00:00
Matthew Flatt
10ce5150d4 reference clarifications on immutable literals; JIT tweak
svn: r8491
2008-01-31 23:15:10 +00:00
Matthew Flatt
989a163f3e fix match tests for immutable literals
svn: r8471
2008-01-30 00:43:15 +00:00
Matthew Flatt
4c23a44fd5 fix module->namespace problem, add link to bug report page, fix tests
svn: r8470
2008-01-30 00:21:24 +00:00
Matthew Flatt
97834ebcc2 fix timeout in portlib test suite
svn: r8395
2008-01-23 22:25:21 +00:00
Matthew Flatt
b2dbe63ed1 small doc fixes, plus change to syntax pattern matching to allow null as a dotted match after ellipses
svn: r8384
2008-01-23 01:35:26 +00:00
Robby Findler
2be06881d0 fixed a bug in check syntax
svn: r8359
2008-01-18 02:44:45 +00:00
Matthew Flatt
8b16cee613 start mzc scribbling
svn: r8334
2008-01-15 13:09:40 +00:00
John Clements
b7fe6be3bf optimistic merge
svn: r8331
2008-01-15 06:36:30 +00:00
John Clements
2d79a5d789 stepper mangling
svn: r8330
2008-01-15 06:27:43 +00:00
John Clements
62b063bb9b uses mpairs now
svn: r8328
2008-01-14 23:40:29 +00:00
Matthew Flatt
f3cb86dc1a sandbox Scribble evaluations; fix rational exact->inexact loss of precision
svn: r8238
2008-01-06 16:54:34 +00:00
Robby Findler
cda0888ab9 renamed string/len to string-len/c
svn: r8237
2008-01-06 15:53:50 +00:00
Matthew Flatt
77e126f085 fix size calculation of ? repeat
svn: r8208
2008-01-04 17:05:10 +00:00
Matthew Flatt
3acd1a7d62 fix JIT x86 FP output
svn: r8201
2008-01-04 13:33:58 +00:00
Matthew Flatt
7fc41024c0 3.99.0.9: binding links in docs use nominal import sources
svn: r8196
2008-01-03 19:07:02 +00:00
Robby Findler
3cf6ed4673 mostly finished the contract library changes
svn: r8195
2008-01-03 18:10:43 +00:00
Matthew Flatt
6e6e5945f9 fix test that used lang/htdp-intermediate
svn: r8180
2008-01-02 03:50:47 +00:00
Robby Findler
e7b5653dd6 finished case->
svn: r8178
2008-01-02 01:24:55 +00:00
Matthew Flatt
7508f2a9c7 fix tests of 'random'
svn: r8175
2008-01-01 14:19:39 +00:00
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
Matthew Flatt
622cd0554d revised mzlib/sandbox in scheme/sandbox
svn: r7965
2007-12-12 13:47:02 +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
3ca803a6de initial Scribble search support
svn: r7738
2007-11-15 17:35:02 +00:00
Matthew Flatt
6056159ad7 class and mzc -k fixes
svn: r7724
2007-11-14 16:24:48 +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
e843842c70 probable fix to PR 8986
svn: r7529
2007-10-19 16:55:38 +00:00
Robby Findler
992eff0c63 added a test
svn: r7477
2007-10-10 20:42:42 +00:00
Robby Findler
677c9a195d added test for PR 8962
svn: r7463
2007-10-09 13:09:48 +00:00
Robby Findler
c8aa5fdd82 fixed PR 8972
svn: r7451
2007-10-08 13:53:30 +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
John Clements
6d5f3fb3b6 ...
svn: r7368
2007-09-17 17:22:24 +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
Robby Findler
bd7d167466 improved error message
svn: r7356
2007-09-16 23:21:24 +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
John Clements
ff21641af2 changed run-nightly-tests -> automatic-tests
svn: r7287
2007-09-06 16:23:37 +00:00
John Clements
a3e9c55bb9 ...
svn: r7277
2007-09-05 00:34:40 +00:00
John Clements
ffe26decff hopefully resolved a whole bunch of conflicts...
svn: r7275
2007-09-05 00:22:07 +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