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

9450 commits

Author SHA1 Message Date
Marius Vollmer
c82f8ed66c *** empty log message *** 2004-07-27 15:40:07 +00:00
Marius Vollmer
68fb32d29c (SCM_EQ_P): Deprecated by moving it into
deprecated.h.  Replaced all uses with scm_is_eq.
2004-07-27 15:39:46 +00:00
Marius Vollmer
2ad58b2a89 * deprecated.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOLP, SCM_BOOL):
Reimplement using scm_is_false, scm_is_true, scm_is_bool, and
scm_from_bool, respectively.
(SCM_NINUMP): Added.

* tags.h, deprecated.h (SCM_EQ_P): Deprecated by moving it into
deprecated.h.  Replaced all uses with scm_is_eq.
2004-07-27 15:39:25 +00:00
Kevin Ryde
e759bc7c33 *** empty log message *** 2004-07-24 00:45:53 +00:00
Kevin Ryde
7ac44f03c6 (@nicode): Use @alias instead of @macro, for correct
handling of backslashes.
2004-07-24 00:45:02 +00:00
Kevin Ryde
317b4c4ac1 *** empty log message *** 2004-07-24 00:26:09 +00:00
Kevin Ryde
6df2ef3baf (Smobs): In SCM_SMOB_OBJECT_LOC,
SCM_SMOB_OBJECT_2_LOC, SCM_SMOB_OBJECT_3_LOC, use {} to avoid "*"
getting into the index as part of the macro name.
2004-07-24 00:21:43 +00:00
Kevin Ryde
46b66e1a06 Make it vindex instead:
(Frames): Add @vindex for SCM_F_WIND_EXPLICITLY.
2004-07-24 00:19:27 +00:00
Kevin Ryde
30a80af9f5 (Frames): Add @findex for SCM_F_WIND_EXPLICITLY. 2004-07-24 00:17:50 +00:00
Kevin Ryde
3411101584 *** empty log message *** 2004-07-24 00:15:15 +00:00
Kevin Ryde
9e5b43bf57 (String Syntax): Add all backslash forms accepted.
(Regexp Functions): Use @defvar for regexp/icase etc, to emphasise
that they're variables not symbols etc.
2004-07-24 00:14:48 +00:00
Kevin Ryde
5eef0f619a (SRFI-0): Revise for clarity, drop BNF in favour
of plain description, emphasise this is just for portable programs.
2004-07-24 00:08:47 +00:00
Kevin Ryde
33bea692e5 * threads.c, threads.h (scm_i_misc_mutex): New SCM_GLOBAL_MUTEX.
* posix.c (scm_crypt): Use it to protect static data in crypt().
2004-07-23 23:52:55 +00:00
Kevin Ryde
50dc184000 (scm_i_misc_mutex): New SCM_GLOBAL_MUTEX. 2004-07-23 23:51:58 +00:00
Kevin Ryde
6364df3429 *** empty log message *** 2004-07-23 23:43:57 +00:00
Kevin Ryde
16ea0eb96a Add a copyright year. 2004-07-23 23:41:56 +00:00
Kevin Ryde
cd6f7d0bd2 Use #:duplicates (last) to
suppress warnings about current-time and raise replacing core bindings.
2004-07-23 23:41:35 +00:00
Kevin Ryde
26a4995c58 Use define-module, to as not to import
common-list into subsequent tests (eg. srfi-1 where `every' provokes a
warning).
2004-07-23 23:38:50 +00:00
Marius Vollmer
d5b203a684 *** empty log message *** 2004-07-23 15:51:33 +00:00
Marius Vollmer
e11e83f3d9 * deprecated.h, deprecated.c, numbers.h (SCM_INUMP, SCM_NINUMP,
SCM_INUM): Deprecated by reenaming them to SCM_I_INUMP, SCM_I_NINUMP
and SCM_I_INUM, respectively and adding deprecated versions to
deprecated.h and deprecated.c.  Changed all uses to either use the
SCM_I_ variants or scm_is_*, scm_to_*, or scm_from_*, as appropriate.
2004-07-23 15:43:02 +00:00
Marius Vollmer
928e0f4210 (scm_i_dowinds): Removed unused code that would call the unexisting
scm_cross_dynwind_binding_scope for inums on the windlist.
2004-07-23 15:34:07 +00:00
Marius Vollmer
3aa13a0579 (SCM_INUMP, SCM_NINUMP, SCM_INUM): Deprecated by reenaming them to
SCM_I_INUMP, SCM_I_NINUMP and SCM_I_INUM, respectively and adding
deprecated versions to deprecated.h and deprecated.c.  Changed all
uses to either use the SCM_I_ variants or scm_is_*, scm_to_*, or
scm_from_*, as appropriate.
2004-07-23 15:29:27 +00:00
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
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
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
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
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