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

230 commits

Author SHA1 Message Date
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
Mikael Djurfeldt
f1dc5f45ab * Makefile.am (TAGS_FILES): Use this variable instead of
ETAGS_ARGS so that TAGS can be built using separate build
directory.

* Makefile.am (TAGS_FILES): Use this variable instead of
ETAGS_ARGS so that TAGS can be built using separate build
directory.

* debugger/breakpoints/Makefile.am (TAGS_FILES),
debugger/Makefile.am (TAGS_FILES), Makefile.am (TAGS_FILES): Use
this variable instead of ETAGS_ARGS so that TAGS can be built
using separate build directory.

* primitives/Makefile.am (TAGS_FILES), internals/Makefile.am
(TAGS_FILES), Makefile.am (TAGS_FILES): Use this variable instead
of ETAGS_ARGS so that TAGS can be built using separate build
directory.

* Makefile.am, goops/Makefile.am (TAGS_FILES): Use this variable
instead of ETAGS_ARGS so that TAGS can be built using separate
build directory.

* Makefile.am (TAGS_FILES): Use this variable instead of
ETAGS_ARGS so that TAGS can be built using separate build
directory.
2004-02-09 01:48:34 +00:00
Marius Vollmer
67314101f8 *** empty log message *** 2004-01-24 01:23:16 +00:00
Marius Vollmer
c541e247ae (srfi_DATA): Added srfi-26.scm. 2004-01-24 01:22:59 +00:00
Marius Vollmer
9a5fc8c203 *** empty log message *** 2004-01-21 00:47:50 +00:00
Marius Vollmer
feeef4fb40 New, from Daniel Skarda. Thanks! 2004-01-21 00:46:10 +00:00
Kevin Ryde
b35072cde6 *** empty log message *** 2003-12-02 21:14:03 +00:00
Kevin Ryde
c6424115fe (map!): Define as an alias for map, previous definition was not tail-recursive. 2003-12-02 21:13:42 +00:00
Kevin Ryde
110348aee9 (count): Rewrite in C, avoiding non-tail recursion. 2003-12-02 21:12:20 +00:00
Kevin Ryde
a54e06e5cd *** empty log message *** 2003-08-22 22:37:52 +00:00
Kevin Ryde
d61261f07d (list-copy): New function, derived
from core list-copy but allowing improper lists, per SRFI-1 spec.
2003-08-22 22:36:18 +00:00