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

243 commits

Author SHA1 Message Date
Stefan Jahn
edea856ce5 2004-09-03 Stefan Jahn <stefan@lkcc.org>
* configure.in (isinf): Let configure find the isinf() function
        on MinGW32 systems.

2004-09-03  Stefan Jahn  <stefan@lkcc.org>

        * threads.c (scm_threads_mark_stacks):  Fixed local variable
        definitions.

        * strings.c (scm_i_substring_copy, s_scm_string_append): Fixed
        local variable definitions.

        * stime.c (_POSIX_C_SOURCE):  Do not define this item on
        MinGW32 because it conflicts with its pthread headers.
        (s_scm_mktime): Consider the HAVE_STRUCT_TM_TM_ZONE define.
        (s_scm_strftime): Using scm_from_locale_string() instead of
        scm_makfrom0str().

        * posix.c (s_scm_putenv): Fixed typo in the !HAVE_UNSETENV
        part.

        * numbers.c (scm_init_numbers): Removed check_sanity() call
        inside GUILE_DEBUG.  The function has been removed somewhen...

        * filesys.c (_POSIX_C_SOURCE): Do not define this item on
        MinGW32 because it conflicts with its pthread headers.

2004-09-03  Stefan Jahn  <stefan@lkcc.org>

        * srfi-1.c, srfi-1.h: Renamed any 'lst1' into 'list1' because
        lst1 is a #define on Win32 systems.
2004-09-03 19:45:37 +00:00
Kevin Ryde
c581203a05 *** empty log message *** 2004-08-27 01:19:23 +00:00
Kevin Ryde
cd184501da (rec): Add missing `error' to else clause. 2004-08-27 01:18:56 +00:00
Marius Vollmer
51fab002a8 *** empty log message *** 2004-08-26 15:16:21 +00:00
Marius Vollmer
bd453596ca * Makefile.am: Added appropriate @LIBGUILE_*_MAJOR@ substitutions
to the library names.
* srfi-1.scm, srfi-4.scm: Use the new library names with
load-extension.
2004-08-26 15:13:05 +00:00
Marius Vollmer
c5080b5189 *** empty log message *** 2004-08-24 22:25:02 +00:00
Marius Vollmer
0081b349c8 * srfi-13.scm, srfi-14.scm: Simply re-export the relevant
bindings.

* srfi-13.h, srfi-13.c, srfi-14.h, srfi-14.c: Removed all real
content except for the init functions.
2004-08-24 22:19:21 +00:00
Marius Vollmer
f26b939545 *** empty log message *** 2004-08-19 17:22:35 +00:00
Marius Vollmer
e040afa5a9 * srfi-13.h, srfi-13.c: (scm_substring_shared): Renamed to
scm_substring_sharedS.

* srfi-14.c, srfi-13.c: Adapted to new internal string and symbol
API.
2004-08-19 17:22:20 +00:00
Marius Vollmer
7d8e050bc6 Adapted to new internal string and symbol API. 2004-08-19 17:21:22 +00:00
Marius Vollmer
1934b61211 (substring/shared): Export as replacement since we now have a version
in the core.
2004-08-19 17:20:44 +00:00
Marius Vollmer
bc97364ab7 *** empty log message *** 2004-08-15 20:28:24 +00:00
Marius Vollmer
3514320f60 New, from Jose A Ortega Ruiz. Thanks! 2004-08-15 20:26:05 +00:00
Kevin Ryde
038a7484b6 *** empty log message *** 2004-08-14 00:39:01 +00:00
Kevin Ryde
788dafed64 (scm_string_any, scm_string_every): Add support for char
and charset as predicates, per SRFI-13 spec.
2004-08-14 00:37:53 +00:00
Marius Vollmer
c41acab35c *** empty log message *** 2004-08-12 17:52:49 +00:00
Marius Vollmer
57d4d32fa3 (MY_VALIDATE_SUBSTRING_SPEC_COPY, MY_VALIDATE_STRING_COPY): Modernized
clones of the deprecated validation macros.  Replaced every use.
2004-08-12 17:49:59 +00:00
Kevin Ryde
03034594e0 *** empty log message *** 2004-08-05 00:13:24 +00:00
Kevin Ryde
46c4d06529 (scm_string_any, scm_string_every): Enhance docstrings as
per doc/ref/srfi-modules.texi.
2004-08-05 00:12:59 +00:00
Marius Vollmer
d9a67fc441 (scm_make_real, scm_num2dbl, scm_float2num, scm_double2num):
Discouraged by moving to discouraged.h and discouraged.c.
Replaced all uses with scm_from_double.
(scm_num2float, scm_num2double): Discouraged by moving prototype
to discouraged.h and rewriting in terms of scm_to_double.
Replaced all uses with scm_to_double.
2004-08-03 15:06:12 +00:00
Marius Vollmer
dbf3eb1f73 *** empty log message *** 2004-08-02 16:20:03 +00:00
Marius Vollmer
506c91a13b Replaced scm_num2* and scm_*2num with scm_to_* and
scm_from_*, respectively.
(print_int64, print_uint64): Rewritten by just calling scm_iprin1
on a SCM.
2004-08-02 16:19:53 +00:00
Kevin Ryde
71234d0ce9 *** empty log message *** 2004-08-02 00:30:49 +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
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
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
93ccaef0c6 * numbers.h (SCM_MAKINUM, SCM_I_MAKINUM): Renamed SCM_MAKINUM to
SCM_I_MAKINUM and changed all uses.
2004-07-08 15:58:11 +00:00
Marius Vollmer
00874d5fb0 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.
2004-07-06 11:02:47 +00:00
Marius Vollmer
054ebf6ca5 *** empty log message *** 2004-07-06 11:02:18 +00:00
Kevin Ryde
ad3e9ceb94 *** empty log message *** 2004-07-05 00:01:48 +00:00
Kevin Ryde
b2e723816a Correction to heading comment. 2004-07-05 00:00:48 +00:00
Kevin Ryde
981e8059b9 *** empty log message *** 2004-07-04 23:58:05 +00:00
Kevin Ryde
c0967f56b0 (uvec_sizes): Add "const". 2004-07-04 23:57:10 +00:00
Rob Browning
48de9bb331 *** empty log message *** 2004-06-20 20:18:25 +00:00
Rob Browning
9d9536fdd8 Add separate symmetric test for SCM_HAVE_T_UINT64 in one case. 2004-06-20 20:18:18 +00:00
Rob Browning
82d5c4b704 *** empty log message *** 2004-06-20 20:14:38 +00:00
Rob Browning
9150491dc3 fix #ifdef checks for 64-bit types; should be #if. 2004-06-20 20:14:23 +00:00
Rob Browning
f5d54eb740 *** empty log message *** 2004-06-20 17:24:42 +00:00
Rob Browning
6b513f4643 (uvec_print): rewrite using a union to make more
compact, and use static print_uint64 and print_int64 to print
64-bit elements.
(print_int64): new static function (temporary fix).
(print_uint64): new static function (temporary fix).
2004-06-20 17:24:04 +00:00
Rob Browning
f8ac37336f *** empty log message *** 2004-06-20 14:49:36 +00:00
Rob Browning
8ad6cdd20c (srfi_DATA): add srfi-31.scm. 2004-06-20 14:48:44 +00:00
Rob Browning
6293838ce4 *** empty log message *** 2004-06-20 14:21:31 +00:00
Rob Browning
e96f5a6efd new file. 2004-06-20 14:19:59 +00:00
Dirk Herrmann
6aef9d2b81 * srfi-17.scm (setter, car, cdr etc.): When within one define
expression a new variable in the local module is defined in terms
	of an equally named variable from some other module, use @ to
	refer to the variable in the other module.  This is necessary due
	to section 5.2.1 of R5RS: In a define expression first the new
	binding is created and then the expression is evaluated.
2004-04-24 08:48:58 +00:00
Kevin Ryde
7301de799a *** empty log message *** 2004-04-23 21:20:17 +00:00
Kevin Ryde
7c9da364a4 (let-values): Use make-symbol rather than gensym, for
guaranteed uniqueness of temp variable symbols.
2004-04-23 21:14:20 +00:00
Kevin Ryde
05fa9121e9 *** empty log message *** 2004-04-15 00:38:30 +00:00
Kevin Ryde
597e2cbd13 (scm_string_trim, scm_string_trim_right, scm_string_trim_both):
Cast to unsigned char for isspace.
2004-04-15 00:29:03 +00:00
Han-Wen Nienhuys
84fad13058 * srfi-13.c (s_scm_string_map): convert character to unsigned char
before converting to unsigned int. This prevents hi-bit ascii as
being converted large integers.
(string_upcase_x): change caller for scm_{up,down}case to
scm_c_{up,down}case

* chars.h (scm_init_chars): change scm_{upcase,downcase} to
scm_c_{up,down}case.
(SCM_MAKE_CHAR): add (unsigned char) cast. This prevents havoc
when hi-bit ASCII is subjected to SCM_MAKE_CHAR().
2004-04-06 21:48:02 +00:00