1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 13:00:26 +02:00
Commit graph

8572 commits

Author SHA1 Message Date
Marius Vollmer
c309617ce7 *** empty log message *** 2004-07-06 14:23:15 +00:00
Marius Vollmer
48c8d9c74e Added scm_is_eq, scm_eq_p, scm_eqv_p, and scm_equal_p. 2004-07-06 14:22:11 +00:00
Marius Vollmer
ef53cad458 Remove non-R5RS stuff from the 'rn' index. 2004-07-06 14:21:46 +00:00
Marius Vollmer
9b5eee309e *** empty log message *** 2004-07-06 13:20:07 +00:00
Marius Vollmer
66dd7f149c 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 13:19:42 +00:00
Marius Vollmer
170bb182fa New file. 2004-07-06 13:13:37 +00:00
Marius Vollmer
2aac7a4825 Added test-conversion to the TESTS. 2004-07-06 13:13:14 +00:00
Marius Vollmer
9cb7d02b42 *** empty log message *** 2004-07-06 12:02:59 +00:00
Marius Vollmer
590f893b3b *** empty log message *** 2004-07-06 11:52:50 +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
Marius Vollmer
7888309be8 * deprecated.h, boolean.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
SCM_NEGATE_BOOL, SCM_BOOLP): Deprecated by moving into "deprecated.h".
Replaced all uses with scm_is_false, scm_is_true, scm_from_bool, and
scm_is_bool, respectively.
2004-07-06 10:59:25 +00:00
Marius Vollmer
9c293a3d2f (scm_is_eq): New. 2004-07-06 10:42:33 +00:00
Marius Vollmer
1fe56d60fd (scm_is_bool): Fix typo.
* deprecated.h, boolean.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
SCM_NEGATE_BOOL, SCM_BOOLP): Deprecated by moving into "deprecated.h".
Replaced all uses with scm_is_false, scm_is_true, scm_from_bool, and
scm_is_bool, respectively.
2004-07-06 10:25:37 +00:00
Marius Vollmer
73e4de09b9 (scm_is_integer, scm_is_signed_integer, scm_is_unsigned_integer,
scm_to_signed_integer, scm_to_unsigned_integer, scm_to_schar,
scm_to_uchar, scm_to_char, scm_to_short, scm_to_ushort, scm_to_long,
scm_to_ulong, 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_size_t, scm_from_ssize_t, scm_is_real, scm_to_double,
scm_from_double): New.

* deprecated.h, boolean.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
SCM_NEGATE_BOOL, SCM_BOOLP): Deprecated by moving into "deprecated.h".
Replaced all uses with scm_is_false, scm_is_true, scm_from_bool, and
scm_is_bool, respectively.
2004-07-06 10:23:30 +00:00
Marius Vollmer
ede310d888 * deprecated.h, boolean.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,
SCM_NEGATE_BOOL, SCM_BOOLP): Deprecated by moving into
"deprecated.h".  Replaced all uses with scm_is_false, scm_is_true,
scm_from_bool, and scm_is_bool, respectively.

* boolean.h (scm_is_bool): Fix bug in prototype.
(scm_from_bool): The argument is "x" not "f", stupid.
2004-07-06 10:05:45 +00:00
Marius Vollmer
0954f871cd *** empty log message *** 2004-07-06 09:54:35 +00:00
Marius Vollmer
71ab4b5057 *** empty log message *** 2004-07-05 17:38:19 +00:00
Marius Vollmer
103f4adfbf (Booleans): Added reference entries for scm_is_true, scm_is_false,
scm_is_bool, scm_from_bool, and scm_to_bool.
2004-07-05 17:37:41 +00:00
Marius Vollmer
800570a6c7 *** empty log message *** 2004-07-05 17:14:23 +00:00
Marius Vollmer
3a684cc6c9 (scm_is_true, scm_is_false, scm_from_bool, scm_to_bool): New. 2004-07-05 17:13:39 +00:00
Kevin Ryde
e4e249c1b8 *** empty log message *** 2004-07-05 00:21:24 +00:00
Kevin Ryde
40827c6d16 *** empty log message *** 2004-07-05 00:09:17 +00:00
Kevin Ryde
fbacbccede (system): Correction to redefinition, now guile is stricter
about when a define binding comes into existance.
2004-07-05 00:08:24 +00:00
Kevin Ryde
4d0bfea130 (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-07-05 00:04:39 +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
Marius Vollmer
ae7ded5671 *** empty log message *** 2004-06-28 13:40:18 +00:00
Marius Vollmer
7aaaee73a0 Removed code for --enable-htmldoc; support for HTML is now included in
automake.
2004-06-28 13:39:31 +00:00
Marius Vollmer
aef35c0e7d *** empty log message *** 2004-06-28 13:31:36 +00:00
Marius Vollmer
4472f9202a * hierarchy.png: New file. 2004-06-28 13:31:10 +00:00
Marius Vollmer
0f4fb2da85 Removed home-grown code for HTML generation.
Automake does it for us now.
(goops_TEXINFOS): Added hierarchy.png
2004-06-28 13:27:28 +00:00
Marius Vollmer
e4e4449c63 *** empty log message *** 2004-06-28 13:25:25 +00:00
Marius Vollmer
92aba979b6 Removed home-grown code for HTML generation. Automake does it for us
now.
2004-06-28 13:25:14 +00:00
Marius Vollmer
98f445f4b5 Do not use TeXinfo markup in section or node names. 2004-06-28 13:24:53 +00:00
Marius Vollmer
fc16715cd3 *** empty log message *** 2004-06-28 13:19:54 +00:00
Marius Vollmer
1a4e53eeca (Top): Use @ifnottex instead of @ifinfo for the
beneift of makeinfo --html.
2004-06-28 13:19:42 +00:00
Marius Vollmer
10ba5148c7 Removed home-grown code for HTML generation. Automake does it for us
now.
2004-06-28 13:19:26 +00:00
Dirk Herrmann
9fcf3cbb81 * backtrace.c (display_expression, display_frame): Call
scm_i_unmemoize_expr for unmemoizing a memoized object holding a
	single memoized expression.

	* debug.c (memoized_print): Don't try to unmemoize the memoized
	object, since we can't know whether it holds a single expression
	or a body.

	(scm_mem_to_proc): Removed check for lambda expression, since it
	was moot anyway.  Whoever uses these functions for debugging
	purposes should know what they do: Creating invalid memoized code
	will cause crashes, independent of whether this check is present
	or not.

	(scm_proc_to_mem): Take the closure's code as it is and don't
	append a SCM_IM_LAMBDA isym.  To allow easier debugging, the
	memoized code should not be modified.

	* debug.[ch] (scm_unmemoize, scm_i_unmemoize_expr): Removed
	scm_unmemoize from public use, but made scm_i_unmemoize_expr
	available as a guile internal function instead.  However,
	scm_i_unmemoize_expr will only work on memoized objects that hold
	a single memoized expression.  It won't work with bodies.

	* debug.c (scm_procedure_source), macros.c (macro_print), print.c
	(scm_iprin1): Call scm_i_unmemocopy_body for unmemoizing a body,
	i. e. a list of expressions.

	* eval.c (unmemoize_exprs): Drop internal body markers from the
	output during unmemoization.

	* eval.[ch] (scm_unmemocopy, scm_i_unmemocopy_expr,
	scm_i_unmemocopy_body): Removed scm_unmemocopy from public use,
	but made scm_i_unmemocopy_expr and scm_i_unmemocopy_body available
	as guile internal functions instead.  scm_i_unmemoize_expr will
	only work on a single memoized expression, while
	scm_i_unmemocopy_body will only work on bodies.
2004-06-27 12:34:54 +00:00
Dirk Herrmann
90df793f67 * eval.c (unmemoize_exprs): Handle semi-memoized code.
(scm_cons_source, scm_primitive_eval): Prefer higher level
	predicate SCM_FALSEP over SCM_IMP.
2004-06-21 20:40:36 +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
2d697a0a0b *** empty log message *** 2004-06-20 20:05:53 +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