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

8572 commits

Author SHA1 Message Date
Marius Vollmer
03696aab8c *** empty log message *** 2004-07-29 14:04:02 +00:00
Marius Vollmer
e88d45aa73 * __scm.h (SCM_I_UTYPE_MAX, SCM_I_TYPE_MAX, SCM_I_TYPE_MIN,
SCM_I_SIZE_MAX, SCM_I_SSIZE_MIN, SCM_I_SSIZE_MAX): New.

* __scm.h, gen-scmconfig.c (SCM_I_LLONG_MAX, SCM_I_LLONG_MIN,
SCM_I_ULLONG_MAX, SCM_T_INT8_MIN, SCM_T_INT8_MAX, SCM_T_UINT8_MAX,
SCM_T_INT16_MIN, SCM_T_INT16_MAX, SCM_T_UINT16_MAX,
SCM_T_INT32_MIN, SCM_T_INT32_MAX, SCM_T_UINT32_MAX,
SCM_T_INT64_MIN, SCM_T_INT64_MAX, SCM_T_UINT64_MAX,
SCM_T_INTMAX_MIN, SCM_T_INTMAX_MAX, SCM_T_UINTMAX_MAX): Moved
definition into __scm.h, using new SCM_I_TYPE_MIN, etc.
2004-07-29 14:03:40 +00:00
Marius Vollmer
d0fefc7de5 Removed SCM_I_GSC_*_LIMITS macros, they are no longer used. 2004-07-29 14:03:30 +00:00
Marius Vollmer
9d3ebce493 Added docs. 2004-07-29 13:54:15 +00:00
Marius Vollmer
7ff8176bdb (noinst_HEADERS): Added conv-integer.i.c and conv-uinteger.i.c. 2004-07-29 13:43:49 +00:00
Marius Vollmer
bfd7932e66 * conv-integer.i.c, conv-uinteger.i.c: New files, used to generate
the functions below.

* numbers.c, numbers.h (scm_to_int8, scm_to_uint8, scm_to_int16,
scm_to_uint16, scm_to_int32, scm_to_uint32, scm_to_int64,
scm_to_uint64, scm_from_int8, scm_from_uint8, scm_from_int16,
scm_from_uint16, scm_from_int32, scm_from_uint32, scm_from_int64,
scm_from_uint64): Turned from macros into proper functions.
(scm_to_signed_integer, scm_to_unsigned_integer,
scm_from_signed_integer, scm_from_unsigned_integer): Generate via
conv-integer.i.c and conv-uinteger.i.c, as well.
2004-07-29 13:42:50 +00:00
Kevin Ryde
3bfd202a72 *** empty log message *** 2004-07-29 00:19:17 +00:00
Kevin Ryde
1f15779e06 *** empty log message *** 2004-07-29 00:13:22 +00:00
Kevin Ryde
e8a590639c (scm_ttyname): Use scm_i_misc_mutex for thread safety. 2004-07-29 00:12:25 +00:00
Kevin Ryde
8d20b7af9e (What is libguile): Correction to
reference manual "Data representation" cross reference.
2004-07-28 23:52:17 +00:00
Kevin Ryde
eab8f8b208 *** empty log message *** 2004-07-28 00:54:29 +00:00
Kevin Ryde
76d3f3d47f (Formatted Output): Rewrite, describing escapes
and parameters in detail.
2004-07-28 00:54:04 +00:00
Kevin Ryde
17bf4bfa21 (@le, @ge): New macros for ifnottex. 2004-07-28 00:53:09 +00:00
Kevin Ryde
32b435f201 *** empty log message *** 2004-07-27 23:47:16 +00:00
Kevin Ryde
c3f3c841f0 *** empty log message *** 2004-07-27 23:38:20 +00:00
Kevin Ryde
eb16734d62 (scm_array_set_x): For svect, use scm_num2short for
consistency with other vector types and to get arg and func name into
error message.
2004-07-27 23:36:35 +00:00
Kevin Ryde
a1f3180a92 (array-set!): Exercise svect value range check. 2004-07-27 23:27:51 +00:00
Kevin Ryde
48360eb3ee *** empty log message *** 2004-07-27 23:11:33 +00:00
Kevin Ryde
0a9d83b0f4 (scm_ctermid): Use an L_ctermid buf on the stack, for thread safety. 2004-07-27 23:10:35 +00:00
Kevin Ryde
081c1b24fa *** empty log message *** 2004-07-27 22:55:55 +00:00
Kevin Ryde
710491c564 (make-regexp): Exercise flags args validation. 2004-07-27 22:49:52 +00:00
Marius Vollmer
bc36d0502b * 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:41:49 +00:00
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