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

10036 commits

Author SHA1 Message Date
Kevin Ryde
ae13e8e1ca *** empty log message *** 2004-07-19 00:59:27 +00:00
Kevin Ryde
4fb318013b 2004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
* tests/format.test (~{): Test no arbitrary iteration limit.
2004-07-19 00:58:04 +00:00
Kevin Ryde
dc510157be *** empty log message *** 2004-07-19 00:48:37 +00:00
Kevin Ryde
a0dbcd9cc3 2004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
* format.scm: Remove the arbitrary limit of 100 iterations for the
	~{...~} control structure.
2004-07-19 00:43:37 +00:00
Kevin Ryde
858d2470d3 *** empty log message *** 2004-07-19 00:35:50 +00:00
Kevin Ryde
564f52cca9 2004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
* tests/format.test (~{): Test no arbitrary iteration limit.
2004-07-19 00:31:55 +00:00
Kevin Ryde
d0d9ce0ad1 *** empty log message *** 2004-07-19 00:18:38 +00:00
Kevin Ryde
28fdf6ac32 2004-05-25 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>
* format.scm: Remove the arbitrary limit of 100 iterations for the
	~{...~} control structure.
2004-07-19 00:13:17 +00:00
Marius Vollmer
be49d1df07 Replaced all uses of deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
SCM_NEGATE_BOOL, and SCM_BOOLP with scm_is_false, scm_is_true,
scm_from_bool, and scm_is_bool, respectively.  Thanks to Andreas
Vögele!
2004-07-10 15:25:01 +00:00
Marius Vollmer
0523f1c0d8 *** empty log message *** 2004-07-10 14:43:55 +00:00
Marius Vollmer
5f7fa54d98 Updated for new scm_is_bool, scm_is_true, etc. 2004-07-10 14:43:33 +00:00
Marius Vollmer
cd2825a8e0 (Integers): Talk more about inexact and exact integers. 2004-07-10 14:42:51 +00:00
Marius Vollmer
ac9a5a03e5 use scm_is_true instead of SCM_NFALSEP in the examples. 2004-07-10 14:39:56 +00:00
Marius Vollmer
abe1308cb9 (test_is_signed_integer, test_is_unsigned_integer): Expect inexact
integers to fail.
2004-07-10 14:39:12 +00:00
Marius Vollmer
a55c2b6809 * validate.h, deprecated.h (SCM_VALIDATE_INUM, SCM_VALIDATE_INUM_COPY,
SCM_VALIDATE_BIGINT, SCM_VALIDATE_INUM_MIN,
SCM_VALIDATE_INUM_MIN_COPY,
SCM_VALIDATE_INUM_MIN_DEF_COPY,SCM_VALIDATE_INUM_DEF,
SCM_VALIDATE_INUM_DEF_COPY, SCM_VALIDATE_INUM_RANGE,
SCM_VALIDATE_INUM_RANGE_COPY): Deprecated because they make the
fixnum/bignum distinction visible.  Changed all uses to scm_to_size_t
or similar.
2004-07-10 14:35:36 +00:00
Marius Vollmer
7cee5b315a (ipv6_net_to_num, scm_from_ipv6): Renamed
ipv6_net_to_num to scm_from_ipv6, for converting from an IPv&
byte-wise address to a SCM integer.  Changed all uses.
(ipv6_num_to_net, scm_to_ipv6): Renamed ipv6_num_to_net to
scm_to_ipv6 and added type and range checking, for converting from
an IPv& byte-wise address to a SCM integer.  Changed all uses.
(bignum_in_ipv6_range_p, VALIDATE_INET6): Removed, their function
is now done by scm_to_ipv6.

* validate.h, deprecated.h (SCM_VALIDATE_INUM, SCM_VALIDATE_INUM_COPY,
SCM_VALIDATE_BIGINT, SCM_VALIDATE_INUM_MIN,
SCM_VALIDATE_INUM_MIN_COPY,
SCM_VALIDATE_INUM_MIN_DEF_COPY,SCM_VALIDATE_INUM_DEF,
SCM_VALIDATE_INUM_DEF_COPY, SCM_VALIDATE_INUM_RANGE,
SCM_VALIDATE_INUM_RANGE_COPY): Deprecated because they make the
fixnum/bignum distinction visible.  Changed all uses to scm_to_size_t
or similar.
2004-07-10 14:34:59 +00:00
Marius Vollmer
5efd3c7d68 (scm_to_signed_integer, scm_to_unsigned_integer): dot
not accept inexact integers.

* validate.h, deprecated.h (SCM_VALIDATE_INUM, SCM_VALIDATE_INUM_COPY,
SCM_VALIDATE_BIGINT, SCM_VALIDATE_INUM_MIN,
SCM_VALIDATE_INUM_MIN_COPY,
SCM_VALIDATE_INUM_MIN_DEF_COPY,SCM_VALIDATE_INUM_DEF,
SCM_VALIDATE_INUM_DEF_COPY, SCM_VALIDATE_INUM_RANGE,
SCM_VALIDATE_INUM_RANGE_COPY): Deprecated because they make the
fixnum/bignum distinction visible.  Changed all uses to scm_to_size_t
or similar.
2004-07-10 13:55:04 +00:00
Marius Vollmer
66998138b8 *** empty log message *** 2004-07-10 13:50:41 +00:00
Marius Vollmer
1a161b8ece Changed all uses of SCM_VALIDATE_INUM, SCM_VALIDATE_INUM_COPY,
SCM_VALIDATE_BIGINT, SCM_VALIDATE_INUM_MIN,
SCM_VALIDATE_INUM_MIN_COPY,
SCM_VALIDATE_INUM_MIN_DEF_COPY,SCM_VALIDATE_INUM_DEF,
SCM_VALIDATE_INUM_DEF_COPY, SCM_VALIDATE_INUM_RANGE,
SCM_VALIDATE_INUM_RANGE_COPY to scm_to_size_t or similar.
2004-07-10 13:50:33 +00:00
Marius Vollmer
8805b77dd0 (SCM_VALIDATE_INUM, SCM_VALIDATE_INUM_COPY, SCM_VALIDATE_BIGINT,
SCM_VALIDATE_INUM_MIN, SCM_VALIDATE_INUM_MIN_COPY,
SCM_VALIDATE_INUM_MIN_DEF_COPY,SCM_VALIDATE_INUM_DEF,
SCM_VALIDATE_INUM_DEF_COPY, SCM_VALIDATE_INUM_RANGE,
SCM_VALIDATE_INUM_RANGE_COPY): Deprecated because they make the
fixnum/bignum distinction visible.  Changed all uses to scm_to_size_t
or similar.
2004-07-10 13:47:02 +00:00
Marius Vollmer
0f94980db9 Use scm_from_int instead of SCM_MAKINUM. 2004-07-10 13:42:18 +00:00
Kevin Ryde
7f6c5a88cc *** empty log message *** 2004-07-10 00:29:26 +00:00
Kevin Ryde
381e1f582f *** empty log message *** 2004-07-10 00:28:38 +00:00
Kevin Ryde
d71486de7a Add a copyright year. 2004-07-10 00:28:05 +00:00
Kevin Ryde
1d88a777b1 (SRFI-0): Add srfi-6 to the identifiers provided by default. 2004-07-10 00:26:07 +00:00
Kevin Ryde
26a6ccfa90 (SRFI-0): Add srfi-6 to the identifiers provided by default. 2004-07-10 00:22:12 +00:00
Marius Vollmer
a3de8e7b0f Forgot to list just what numbers are no longer hard-coded in gen-scmconfig.c 2004-07-10 00:16:34 +00:00
Kevin Ryde
4d13c543b9 *** empty log message *** 2004-07-09 23:49:29 +00:00
Kevin Ryde
30c9c68e9b (%cond-expand-features): Add srfi-6 which is in the core. 2004-07-09 23:48:17 +00:00
Kevin Ryde
2755366c4a *** empty log message *** 2004-07-09 23:45:41 +00:00
Kevin Ryde
018733ff9e (%cond-expand-features): Add srfi-6 which is in the core. 2004-07-09 23:44:48 +00:00
Kevin Ryde
72b4bea4d3 (re-export): Uncomment numerator, denominator,
rationalize, since they now exist.
2004-07-09 23:42:53 +00:00
Kevin Ryde
5bc8bc6935 (read-macro-prefix): Remove unused variable "tail". 2004-07-09 23:41:20 +00:00
Kevin Ryde
ac0a9fa32f (and-let*): Remove unused variable "val". 2004-07-09 23:40:07 +00:00
Kevin Ryde
9c8911e5fe *** empty log message *** 2004-07-09 23:35:55 +00:00
Kevin Ryde
d704b2515d (scm_make_regexp): Free rx on error, to avoid memory leak. 2004-07-09 23:34:55 +00:00
Kevin Ryde
052fbfd928 *** empty log message *** 2004-07-09 23:16:48 +00:00
Kevin Ryde
f8fc973725 (scm_make_regexp): Free rx on error, to avoid memory leak. 2004-07-09 23:15:28 +00:00
Kevin Ryde
48a06bd55d *** empty log message *** 2004-07-09 23:08:53 +00:00
Kevin Ryde
8c08a5a956 *** empty log message *** 2004-07-09 23:04:44 +00:00
Kevin Ryde
b16a4f1659 * tests/hash.test: New file.
* Makefile.am (SCM_TESTS): Add it.
2004-07-09 22:57:06 +00:00
Kevin Ryde
e5220ccdef New file. 2004-07-09 22:53:01 +00:00
Kevin Ryde
540b3e77f7 *** empty log message *** 2004-07-09 22:47:39 +00:00
Kevin Ryde
eee211fd6e (scm_hashq, scm_hashv, scm_hash): Restrict to size>=1 rather
than size>=0, since 0<=hash<size cannot be satisfied for size==0, and
such a size causes divide-by-zeros in scm_hasher.
2004-07-09 22:45:53 +00:00
Kevin Ryde
677104a65c *** empty log message *** 2004-07-09 22:27:47 +00:00
Kevin Ryde
08ee6abd86 * tests/hash.test: New file.
* Makefile.am (SCM_TESTS): Add it.
2004-07-09 22:16:04 +00:00
cvs2svn
5367ad9510 This commit was manufactured by cvs2svn to create branch
'branch_release-1-6'.
2004-07-09 22:14:20 +00:00
Kevin Ryde
40339d6b6f New file. 2004-07-09 22:14:19 +00:00
Kevin Ryde
803d27f9d0 (scm_hashq, scm_hashv, scm_hash): Restrict to size>=1 rather
than size>=0, since 0<=hash<size cannot be satisfied for size==0, and
such a size causes divide-by-zeros in scm_hasher.
2004-07-09 22:08:43 +00:00
Marius Vollmer
b7341ea454 *** empty log message *** 2004-07-08 22:53:33 +00:00