Neil Jerram
53befeb700
Change Guile license to LGPLv3+
...
(Not quite finished, the following will be done tomorrow.
module/srfi/*.scm
module/rnrs/*.scm
module/scripts/*.scm
testsuite/*.scm
guile-readline/*
)
2009-06-17 00:22:09 +01:00
Ludovic Courtès
dbb605f575
Include <config.h> in all C files; use #ifdef HAVE_CONFIG_H' rather than
#if'.
2008-09-13 15:35:27 +02:00
Kevin Ryde
1b09b607dd
merge from 1.8 branch
2006-04-16 23:18:55 +00:00
Marius Vollmer
92205699d0
The FSF has a new address.
2005-05-23 19:57:22 +00:00
Marius Vollmer
0d0f372f5b
Moved content into core; only the skeletons remains.
2004-10-26 17:01:35 +00:00
Marius Vollmer
376c18e1d2
(print_int64, print_uint64): Removed. (uvec_print): Use scm_intprint
...
for signed elemets and scm_uintprint for unsigned ones. Do not use
print_int64 and print_uint64 since scm_intprint and scm_Uintprint can
handle 64 bits now.
2004-10-22 13:58:34 +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
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
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
Kevin Ryde
c0967f56b0
(uvec_sizes): Add "const".
2004-07-04 23:57:10 +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
9150491dc3
fix #ifdef checks for 64-bit types; should be #if.
2004-06-20 20:14:23 +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
Marius Vollmer
73be1d9e8e
Changed license terms to the plain LGPL thru-out.
2003-04-05 19:15:35 +00:00
Rob Browning
e583edd0a3
* srfi-4.c: replace typedefs for basic types with typedefs using
...
new standard int types (i.e. scm_t_uint8, etc.) -- should probably
remove typedefs altogether later.
2003-03-26 00:02:26 +00:00
Thien-Thi Nguyen
645f5e0ec1
Retire inclusion guard macro SCM_MAGIC_SNARFER.
2002-03-14 04:07:16 +00:00
Marius Vollmer
6c70aef189
Use scm_gc_malloc/scm_malloc and scm_gc_free/free instead of
...
scm_must_malloc and scm_must_free, as appropriate.
2002-02-11 18:09:15 +00:00
Marius Vollmer
1f5376556f
Use HAVE_LONG_LONG instead of HAVE_LONG_LONGS and test
...
it with `#ifdef' instead of `#if'.
2001-11-12 01:14:17 +00:00
Martin Grabmüller
2c4df45186
* srfi-4.c: Minor cleanups.
...
* srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
(scm_char_set_unfold_x, scm_char_set_for_each)
(scm_char_set_map, scm_char_set_filter)
(scm_char_set_filter_x, scm_char_set_count)
(scm_char_set_every, scm_char_set_any): Replace calls to
scm_apply() with the corresponding scm_call_N() functions.
* srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
(scm_char_set_unfold, scm_char_set_unfold_x)
(scm_char_set_map, scm_char_set_diff_plus_intersection)
(scm_char_set_diff_plus_intersection_x): Replace deprecated macros
SCM_LISTN with calls to scm_list_N().
* srfi-13.c (scm_string_tabulate, scm_string_map)
(scm_string_map_x, scm_string_unfold)
(scm_string_unfold_right): Replace deprecated macros SCM_LISTN
with calls to scm_list_N().
* srfi-13.c (scm_string_any, scm_string_every),
(scm_string_tabulate, scm_string_trim),
(scm_string_trim_right, scm_string_trim_both),
(scm_string_compare, scm_string_compare_ci),
(scm_string_indexS, scm_string_index_right),
(scm_string_skip, scm_string_skip_right, scm_string_count),
(scm_string_map, scm_string_map_x, scm_string_fold),
(scm_string_fold_right, scm_string_unfold),
(scm_string_unfold_right, scm_string_for_each),
(scm_string_filter, scm_string_delete): Replace calls to
scm_apply() with the corresponding scm_call_N() functions.
2001-06-28 16:39:00 +00:00
Martin Grabmüller
71ca65d982
* Makefile.am: Added SRFI-4 files in various places.
...
* srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
2001-06-27 13:18:40 +00:00