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

340 commits

Author SHA1 Message Date
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
Kevin Ryde
c344fddd82 *** empty log message *** 2004-03-22 23:30:49 +00:00
Kevin Ryde
2d411b0506 (circular-list): Rewrite using set-cdr!, no need to copy parameter list. 2004-03-22 23:27:46 +00:00
Kevin Ryde
fd1517d8de Add copyright and license notice.
(Note code was written in 2002, but only checked-in in 2004.)
2004-02-11 23:36:58 +00:00