1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-06 23:50:18 +02:00
Commit graph

11212 commits

Author SHA1 Message Date
Rob Browning
4f43d1f282 (guile_LDADD): add libguile-ltdl.la to keep
./pre-inst-guile (actually ./.libs/lt-guile) from failing on some
architectures.  The unconfirmed suspicion is that this is some
problem with autotools (automake, autoconf, and/or libtool) since
libguile already includes a libguile-ltdl.la dependency.
2004-12-19 15:19:06 +00:00
Kevin Ryde
3b2ee265fb *** empty log message *** 2004-12-16 00:41:39 +00:00
Kevin Ryde
103cc4e9db More of:
New file, test array-map!.
2004-12-15 23:11:39 +00:00
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
e96a9fada5 (scm_array_map_x): Check for at least one source argument. 2004-12-15 23:01:32 +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
e120686ac0 *** empty log message *** 2004-12-14 00:23:52 +00:00
Kevin Ryde
fdc6aebfaf (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-14 00:21:25 +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
680b523714 *** empty log message *** 2004-12-13 22:40:08 +00:00
Kevin Ryde
a13befdcd3 (Regexp Functions): Revise regex-substitute and
regex-substitute/global for clarity, add some examples.
2004-12-13 22:37:31 +00:00
Kevin Ryde
edcd3e83d3 (lambda* Reference): Revise for clarity, note
how #:rest works with #:key, note previous bindings available to
default expressions.
2004-12-13 22:29:45 +00:00
Kevin Ryde
4450a22762 More of:
(scm_eq_p, scm_eqv_p, scm_equal_p): Update docstrings from
recent revision to the reference manual.
2004-12-10 00:49:51 +00:00
Kevin Ryde
86347b2bf3 *** empty log message *** 2004-12-10 00:42:42 +00:00
Kevin Ryde
3810edd92c (inet-pton): New tests. 2004-12-10 00:42:20 +00:00
Kevin Ryde
2b4d15471c (scm_from_ipv6): Just use mpz_import. Don't bother trying
to fit scm_from_ulong_long, since that uses mpz_import anyway.  Don't
bother trying to fit scm_from_ulong, not really worth the trouble if
addresses are more than 4 bytes usually.
2004-12-10 00:41:33 +00:00
Kevin Ryde
66b1c775d2 (scm_modulo): Amend fixme comment about negative divisor
with "%", C99 says it's well-defined.
2004-12-10 00:00:27 +00:00
Kevin Ryde
602d32dd48 (scm_eq_p, scm_eqv_p, scm_equal_p): Update docstrings from
recent revision to the reference manual.
2004-12-09 23:49:46 +00:00
Kevin Ryde
ff758237f7 Let the string->number documented? test say "documented?". 2004-12-08 23:09:15 +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
b9e1ef086b *** empty log message *** 2004-12-06 00:51:00 +00:00
Kevin Ryde
d17d824af6 *** empty log message *** 2004-12-06 00:47:07 +00:00
Kevin Ryde
371e3f7778 *** empty log message *** 2004-12-06 00:44:44 +00:00
Kevin Ryde
f0d1bc09cf (break): New tests. 2004-12-06 00:41:41 +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
ba94ef0c7f (break): Change to a tail-recursive form. 2004-12-06 00:39:27 +00:00
Kevin Ryde
90ec7c2e93 (span): Change to a tail-recursive form. 2004-12-06 00:36:08 +00:00
Kevin Ryde
379b03074e (span): Change to a tail-recursive form. 2004-12-06 00:34:53 +00:00
Kevin Ryde
ee0301df8c (span): New tests. 2004-12-06 00:33:40 +00:00
Kevin Ryde
4e697dba18 (span): New tests. 2004-12-06 00:31:54 +00:00
Kevin Ryde
872223a898 (alist-delete): New tests. 2004-12-06 00:12:00 +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
49ae1e250f (alist-delete): Change to a tail-recursive form. 2004-12-06 00:09:14 +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
41ab236c76 (alist-delete): Correction to equality proc call argument
order, spec is for given KEY param first.
2004-12-05 23:53:20 +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