Commit Graph

573 Commits

Author SHA1 Message Date
Matthew Flatt
5f5c70eafb fix some docs and tests
svn: r10176
2008-06-06 15:39:59 +00:00
Noel Welsh
a33a97de59 NHW: Fix an error in the require statement for SRFI 66.
svn: r10169
2008-06-06 13:21:07 +00:00
Matthias Felleisen
4af4565d2a added empty-string test for text
svn: r10156
2008-06-05 21:15:37 +00:00
Robby Findler
9f69672740 fixed bug from the mailing list
svn: r9830
2008-05-14 11:46:49 +00:00
Matthew Flatt
548e45408b regexp-replace* handles empty matches; empty-match handling documented
svn: r9751
2008-05-08 20:29:56 +00:00
Matthew Flatt
fad08fcd84 more drscheme repairs and tests
svn: r9721
2008-05-07 16:31:20 +00:00
Matthew Flatt
87e361c24a fix pack test suite
svn: r9683
2008-05-06 12:26:28 +00:00
Matthew Flatt
3451dff783 mzc -e repairs
svn: r9669
2008-05-05 22:32:16 +00:00
Matthew Flatt
aeb79839c6 fix regexp-match when start position is beyond input port EOF
svn: r9629
2008-05-03 14:16:06 +00:00
Eli Barzilay
311b7543e2 add tests for match* + split
svn: r9622
2008-05-03 06:05:09 +00:00
Matthew Flatt
1dd30ca031 dup-{in,out}put-port and sandbox-error-output default
svn: r9617
2008-05-03 04:47:14 +00:00
Eli Barzilay
921ef6cfcb fixed regexp-match-peek-positions* and added tests
svn: r9611
2008-05-02 23:00:57 +00:00
Eli Barzilay
726c66d8ce much more extensive tests for regexp-X* functions
svn: r9605
2008-05-02 21:04:58 +00:00
Matthew Flatt
abf86a46a8 fix lack of space-safety in delimited continuations (related to recently fixed crashing bug)
svn: r9544
2008-04-30 17:39:30 +00:00
Matthew Flatt
95aca3e86a fix gcd & lcm on single negative argument (PR 9330)
svn: r9543
2008-04-30 12:26:09 +00:00
Matthew Flatt
ac31eba987 fix delim-cont bug (in the case that a captured continuation is delimited in the middle of a meta-contiuation that isn't the current one)
svn: r9540
2008-04-30 03:01:40 +00:00
Robby Findler
e5fba85ed0 fixed a bug in check syntax and a bug in the contract system
svn: r9524
2008-04-28 22:12:21 +00:00
Matthew Flatt
0483294762 fix JIT abs (on least fixnum), fix some R6RS bugs and pull in some R6RS test cases from Ikarus
svn: r9477
2008-04-25 17:18:44 +00:00
Matthew Flatt
acfcb9878c test for tailing-vertical-bar regexp bug
svn: r9461
2008-04-24 19:04:16 +00:00
Matthew Flatt
d09b8c5a78 fix test that looks at expension of a module
svn: r9451
2008-04-24 12:06:19 +00:00
Eli Barzilay
b1024c8952 Added append-map' and filter-not'.
svn: r9433
2008-04-23 17:26:41 +00:00
Matthew Flatt
e5350bb22f sync HtDP languages and test suite
svn: r9424
2008-04-23 13:28:43 +00:00
Eli Barzilay
13c5e3812d Added last-pair and tests
svn: r9422
2008-04-23 13:20:05 +00:00
Eli Barzilay
bcde2e1424 added filter-map' and partition', with tests
--This line, and those below, will be ignored--

M    collects/scheme/list.ss
M    collects/tests/mzscheme/list.ss

svn: r9421
2008-04-23 12:53:47 +00:00
Eli Barzilay
e2c4500e41 added test for no collisions between srfi/1/list and scheme/base
svn: r9419
2008-04-23 11:41:59 +00:00
Matthew Flatt
e25e7a1098 keyword in methods and apply; procedure-reduce-keyword-arity
svn: r9396
2008-04-22 18:00:04 +00:00
Eli Barzilay
8e6b3e9ba0 Simplified remove-duplicates interface, adjusted tests.
svn: r9386
2008-04-21 19:46:11 +00:00
Matthew Flatt
a0f65ba33e dictionaries
svn: r9383
2008-04-21 17:26:35 +00:00
Eli Barzilay
9b0fc20d3e added a powerful remove-duplicates and tests
svn: r9373
2008-04-19 15:41:24 +00:00
Eli Barzilay
352036ea42 can use keywords with test
svn: r9372
2008-04-19 14:16:50 +00:00
Eli Barzilay
4fea43c61f made test accept keyword
svn: r9371
2008-04-19 14:07:46 +00:00
Matthew Flatt
99943314d2 setup/unpack addition and docs
svn: r9370
2008-04-19 12:42:54 +00:00
Eli Barzilay
2736de7404 * move flatten' next to append*'
* document `add-between'

svn: r9369
2008-04-19 10:30:31 +00:00
Eli Barzilay
180dc08777 added add-between and string-join, no lists-join
svn: r9361
2008-04-18 14:00:41 +00:00
Eli Barzilay
0b7bdfe92c added scheme/string, include it in the scheme language, put string-append* in there, tested, documented
svn: r9356
2008-04-18 04:10:46 +00:00
Matthew Flatt
53c4ee3255 update tests for empty vector
svn: r9318
2008-04-15 14:13:43 +00:00
Matthew Flatt
2dc02d81fe net/url and tests fixes for windows
svn: r9249
2008-04-11 01:12:01 +00:00
Matthew Flatt
0153e122b7 change -q to config option, fix unlikely race condition in wake-on-signal, add path->url and url->path, and adjust URL parsing
svn: r9239
2008-04-10 19:05:35 +00:00
Matthew Flatt
cb3fdd8fc5 change real->decimal-string (PR 9285)
svn: r9210
2008-04-08 21:56:29 +00:00
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
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
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
Matthew Flatt
cc6a756440 tests for (round -0.0), etc.
svn: r8907
2008-03-06 21:32:57 +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
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
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
Matthew Flatt
f2f2322140 fix another stx bug introduced in phase generalization
svn: r8871
2008-03-04 14:56:46 +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
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
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
Matthew Flatt
d1c61e5ef1 plt-r5rs exe and r5rs doc
svn: r8501
2008-02-02 04:14:04 +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
Matthew Flatt
8b16cee613 start mzc scribbling
svn: r8334
2008-01-15 13:09:40 +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