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
4002a7088e Replaced references to scm_num2* with scm_to_* and references to
scm_*2num with scm_from_*.
2004-08-02 12:32:41 +00:00
Marius Vollmer
8a3befe34a *** empty log message *** 2004-08-02 12:29:49 +00:00
Marius Vollmer
07d83abe7b * scheme-binding.texi: Renamed to api-binding.texi.
* scheme-compound.texi: Renamed to api-compound.texi.
* scheme-control.texi: Renamed to api-control.texi.
* scheme-data.texi: Renamed to api-data.texi.
* scheme-debug.texi: Renamed to api-debug.texi.
* deprecated.texi: Renamed to api-deprecated.texi.
* scheme-evaluation.texi: Renamed to api-evaluation.texi.
* ref-init.texi: Renamed to api-init.texi.
* scheme-io.texi: Renamed to api-io.texi.
* scheme-memory.texi: Renamed to api-memory.texi.
* scheme-modules.texi: Renamed to api-modules.texi.
* scheme-options.texi: Renamed to api-options.texi.
* scm.texi: Renamed to api-overview.texi.
* scheme-procedures.texi: Renamed to api-procedures.texi.
* scheme-scheduling.texi: Renamed to api-scheduling.texi.
* scheme-scm.texi: Renamed to api-scm.texi.
* scheme-smobs.texi: Renamed to api-smobs.texi.
* scheme-snarf.texi: Renamed to api-snarf.texi.
* scheme-translation.texi: Renamed to api-translation.texi.
* scheme-utility.texi: Renamed to api-utility.texi.
* debugging.texi: Renamed to scheme-debugging.texi.
* scripts.texi: Renamed to scheme-scripts.texi.
* program.texi: Renamed to libguile-program.texi.
2004-08-02 12:29:00 +00:00
Marius Vollmer
237be23842 * program.texi: Renamed to libguile-program.texi. Changed all
references.
2004-08-02 11:46:57 +00:00
Marius Vollmer
c393de666c Renamed to libguile-program.texi. 2004-08-02 11:41:23 +00:00
Kevin Ryde
5ec82e960f *** empty log message *** 2004-08-02 00:37:57 +00:00
Kevin Ryde
ed7ba6d12f (SCM_DEFER_INTS, SCM_ALLOW_INTS): Add comments about past
and current usage and migration.
2004-08-02 00:36:49 +00:00
Kevin Ryde
71234d0ce9 *** empty log message *** 2004-08-02 00:30:49 +00:00
Kevin Ryde
4c6563e1ed (string-every): Check empty string case. 2004-08-02 00:30:21 +00:00
Kevin Ryde
8c0634b7ea (scm_string_every): Correction to initial "res" value,
return should be #t for an empty string.  Reported by Andreas Vögele.
2004-08-02 00:24:36 +00:00
Kevin Ryde
c80bab35fb Bit more comments for this:
* configure.in (isinf, isnan): Detect macro versions as well as
	functions, since C99 specifies them as macros and that's all HP-UX
	has.  Reported by Andreas Voegele.
2004-08-02 00:22:02 +00:00
Kevin Ryde
58f2898942 *** empty log message *** 2004-07-31 01:28:49 +00:00
Kevin Ryde
5e9456e306 * tests/filesys.test: New file, exercising copy-file.
* Makefile.am (SCM_TESTS): Add it.
2004-07-31 01:25:26 +00:00
Kevin Ryde
5e996bd608 New file, exercising copy-file. 2004-07-31 01:24:34 +00:00
Kevin Ryde
01046395ac (scm_copy_file): Avoid fd leak when destination file
cannot be opened.
2004-07-31 01:19:26 +00:00
Kevin Ryde
3572cd6b8f * error.c (scm_strerror): Use scm_i_misc_mutex around strerror since
it's not thread safe.
	(scm_syserror): Use scm_strerror rather than SCM_I_STRERROR, to take
	advantage of this.
	* fports.c (scm_open_file): Use scm_strerror likewise.
	* filesys.c (scm_stat, scm_lstat): Ditto.
2004-07-31 01:13:29 +00:00
Kevin Ryde
fd08c23657 * error.c (scm_strerror): Use scm_i_misc_mutex around strerror since
it's not thread safe.
	(scm_syserror): Use scm_strerror rather than SCM_I_STRERROR, to take
	advantage of this.
	* fports.c (scm_open_file): Use scm_strerror likewise.
2004-07-31 01:12:24 +00:00
Kevin Ryde
4af3c6f17c (scm_strerror): Use scm_i_misc_mutex around strerror since
it's not thread safe.
(scm_syserror): Use scm_strerror rather than SCM_I_STRERROR, to take
advantage of this.
2004-07-31 01:11:15 +00:00
Kevin Ryde
7426a638b7 (scm_gensym): Use scm_i_misc_mutex around gensym_counter
update, for thread safety.
(gensym_counter): Move into scm_gensym which is its only user.
(scm_init_symbols): No need to explicitly initialize gensym_counter.
2004-07-31 01:08:20 +00:00
Marius Vollmer
da1e6e6710 *** empty log message *** 2004-07-30 12:39:36 +00:00
Marius Vollmer
f47029a180 (Formatted Output): Changed @w to @w{} in itemize. The former doesn't
work for some reason...
2004-07-30 12:39:29 +00:00
Marius Vollmer
51fdb325b0 *** empty log message *** 2004-07-29 15:49:04 +00:00
Marius Vollmer
4627df5a6b * gen-scmconfig.c (SCM_SIZEOF_INTMAX, SCM_SIZEOF_SIZE_T): New. 2004-07-29 15:48:54 +00:00
Marius Vollmer
d1b5b4001e * numbers.h (scm_to_schar, scm_to_uchar, scm_to_char,
scm_to_short, scm_to_ushort, scm_to_int, scm_to_uint, scm_to_long,
scm_to_ulong, scm_to_long_long, scm_to_ulong_long, scm_to_intmax,
scm_to_uintmax, scm_to_size_t, scm_to_ssize_t scm_from_schar,
scm_from_uchar, scm_from_char, scm_from_short, scm_from_ushort,
scm_from_int, scm_from_uint, scm_from_long, scm_from_ulong,
scm_from_long_long, scm_from_ulong_long, scm_from_intmax,
scm_from_uintmax, scm_from_size_t, scm_from_ssize_t): No longer
defined in terms of scm_to_signed_integer, etc, but in terms of
scm_to_int8, etc.
2004-07-29 15:48:44 +00:00
Marius Vollmer
d20008c0ab Check for sizes of size_t and intmax_t. 2004-07-29 15:44:01 +00:00
Marius Vollmer
315158a8ac *** empty log message *** 2004-07-29 14:14:18 +00:00
Marius Vollmer
3838c384d1 Many more tests for the integer conversion functions. 2004-07-29 14:13:59 +00:00
Marius Vollmer
c134fe9dab Bugfix: logic in detecting ptrdiff_t was inverted;
assume ptrdiff_t is available when its size is non-zero, not when
it is zero.  Do no longer define SCM_I_GSC_*_LIMITS macros.
2004-07-29 14:13:20 +00:00
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