1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-04 14:20:26 +02:00
Commit graph

10203 commits

Author SHA1 Message Date
Kevin Ryde
ae828a0437 *** empty log message *** 2004-12-15 23:06:47 +00:00
Kevin Ryde
95e2f3c9b7 * tests/ramap.test: New file, test array-map!.
* Makefile.am (SCM_TESTS): Add it.
2004-12-15 23:06:09 +00:00
Kevin Ryde
2675a8d0b4 New file, test array-map!. 2004-12-15 23:03:21 +00:00
Kevin Ryde
6694258059 *** empty log message *** 2004-12-15 22:58:25 +00:00
Kevin Ryde
1885f42093 (scm_array_map_x): Correction to sources list check, only
need at least one source, not two.  And use SCM_WRONG_NUM_ARGS() for
the error.
2004-12-15 22:54:54 +00:00
Kevin Ryde
f940eac247 *** empty log message *** 2004-12-13 23:42:27 +00:00
Kevin Ryde
eda8ed2152 *** empty log message *** 2004-12-13 23:40:37 +00:00
Kevin Ryde
b666fb5d31 (string-any, string-every): Use a scheme
wrapper around the C code so for the final call to the predicate
procedure is a tail call, per SRFI-13 spec.
2004-12-13 23:33:30 +00:00
Kevin Ryde
4bf2783b00 *** empty log message *** 2004-12-08 23:07:17 +00:00
Kevin Ryde
fd4ba60be8 (string->number): New tests. 2004-12-08 22:59:42 +00:00
Kevin Ryde
6255e812dc *** empty log message *** 2004-12-08 22:56:52 +00:00
Kevin Ryde
0e66d88fa2 (scm_istr2int): Correction to bignum size calculation for
bases other than 2, 10, 16.  This avoids overflows, in particular in
octal string->number and constants (other bases are undocumented, but
reach here so may as well work).
2004-12-08 22:50:09 +00:00
Kevin Ryde
abafc12d3d (scm_istr2int): Correction to overflow test, should be
"blen >= j" not "blen > j", since after blen++ the k<blen loop will
have k==j which is past the end of the j length array and overwrites
data, leading to segvs in certain circumstances.  And put the test
only before the blen++, which is the only place it can overflow, and
since we can legitimately get to blen==j with t2==0 when filling the
high word of the bignum.
2004-12-08 22:29:36 +00:00
Kevin Ryde
d17d824af6 *** empty log message *** 2004-12-06 00:47:07 +00:00
Kevin Ryde
161308d88d (break): New tests. 2004-12-06 00:41:09 +00:00
Kevin Ryde
b34001408f (break): Change to a tail-recursive form. 2004-12-06 00:40:07 +00:00
Kevin Ryde
90ec7c2e93 (span): Change to a tail-recursive form. 2004-12-06 00:36:08 +00:00
Kevin Ryde
4e697dba18 (span): New tests. 2004-12-06 00:31:54 +00:00
Kevin Ryde
4c6f3d05fb (alist-delete): New tests. 2004-12-06 00:11:05 +00:00
Kevin Ryde
79239024f5 (delete-duplicates, delete-duplicates!): New tests. 2004-12-06 00:10:32 +00:00
Kevin Ryde
f97ef6e462 (alist-delete): Change to a tail-recursive form. 2004-12-06 00:08:38 +00:00
Kevin Ryde
0d3f7e6223 (alist-delete): Correction to equality proc call argument
order, spec is for given KEY param first.
2004-12-05 23:54:43 +00:00
Kevin Ryde
c177d2843d *** empty log message *** 2004-12-05 23:48:09 +00:00
Kevin Ryde
ac5cbc7031 (delete-duplicates): Remove unused extra copy of this routine. 2004-12-05 22:51:12 +00:00
Kevin Ryde
6b0fbcf5e5 (delete-duplicates): Change to a tail-recursive form. 2004-12-05 22:49:54 +00:00
Kevin Ryde
95bc9d7a2e (delete): Change to a tail-recursive form. 2004-12-05 22:33:10 +00:00
Kevin Ryde
27036c046d (delete, delete!): New tests. 2004-12-05 22:32:01 +00:00
Kevin Ryde
49046d53e0 (map!): Change to a tail-recursive form. 2004-12-05 22:26:29 +00:00
Kevin Ryde
9fa5fdc6cd (map!): New tests. 2004-12-05 22:24:38 +00:00
Kevin Ryde
f6ff79c415 (partition): Change to a tail-recursive form. 2004-12-05 22:19:38 +00:00
Kevin Ryde
cabc854555 (partition): New tests, by Matthias Koeppe. 2004-12-05 22:15:54 +00:00
Kevin Ryde
49d2f1f850 (map): New tests. 2004-12-05 22:00:14 +00:00
Kevin Ryde
ea9867de6a (map): Change to a tail-recursive form. 2004-12-05 21:59:14 +00:00
Kevin Ryde
d4dfc9d426 (alist-copy): New tests. 2004-12-05 21:53:53 +00:00
Kevin Ryde
bbf21c8a13 (alist-copy): Change to a tail-recursive form. 2004-12-05 21:47:39 +00:00
Kevin Ryde
18a236fe43 *** empty log message *** 2004-12-05 00:54:47 +00:00
Kevin Ryde
337e4b2f68 (count): Change to a tail-recursive form. 2004-12-05 00:53:53 +00:00
Kevin Ryde
39ae47dcbb *** empty log message *** 2004-12-05 00:44:46 +00:00
Kevin Ryde
86e8289b7e (count): New tests. 2004-12-05 00:24:27 +00:00
Kevin Ryde
66f0ff4ab9 (append-map, append-map!): Rewrite as simple "apply append" forms, for
tail recursiveness.
2004-12-04 23:13:16 +00:00
Kevin Ryde
890ed2790b (append-map): New tests. 2004-12-04 23:11:33 +00:00
Kevin Ryde
6de13f7341 (filter-map): New tests. 2004-12-04 22:49:25 +00:00
Kevin Ryde
e3343fd54c *** empty log message *** 2004-12-04 22:33:11 +00:00
Kevin Ryde
31a0d94d6f (filter-map): Change to a tail-recursive form. 2004-12-04 22:23:16 +00:00
Kevin Ryde
1204ecc349 (scm_execle): Correction to memory leak change, need to restore errno. 2004-12-02 00:10:54 +00:00
Kevin Ryde
1f97913e2e *** empty log message *** 2004-12-02 00:10:15 +00:00
Kevin Ryde
dfa3289e76 *** empty log message *** 2004-11-29 21:19:16 +00:00
Kevin Ryde
be21209c1a (NetBSD): Test __m68k__ and __arm__ as well as m68k and
arm32.  Reported by Greg Troxel.
2004-11-29 21:18:15 +00:00
Rob Browning
c41a3234a0 *** empty log message *** 2004-11-29 05:51:59 +00:00
Rob Browning
54b146958d (GUILE_MICRO_VERSION): bump for release. 2004-11-29 05:51:51 +00:00