Commit | Line | Data |
---|---|---|
7888309b MV |
1 | 2004-07-06 Marius Vollmer <marius.vollmer@uni-dortmund.de> |
2 | ||
3 | * tags.h (scm_is_eq): New. | |
4 | ||
5 | * deprecated.h, boolean.h (SCM_FALSEP, SCM_NFALSEP, SCM_BOOL, | |
6 | SCM_NEGATE_BOOL, SCM_BOOLP): Deprecated by moving into | |
7 | "deprecated.h". Replaced all uses with scm_is_false, scm_is_true, | |
8 | scm_from_bool, and scm_is_bool, respectively. | |
9 | ||
10 | * boolean.h (scm_is_bool): Fix bug in prototype. | |
11 | (scm_from_bool): The argument is "x" not "f", stupid. | |
12 | ||
13 | * boolean.c (scm_is_bool): Fix typo. | |
14 | ||
15 | * numbers.h, numbers.c (scm_is_integer, scm_is_signed_integer, | |
16 | scm_is_unsigned_integer, scm_to_signed_integer, | |
17 | scm_to_unsigned_integer, scm_to_schar, scm_to_uchar, scm_to_char, | |
18 | scm_to_short, scm_to_ushort, scm_to_long, scm_to_ulong, | |
19 | scm_to_size_t, scm_to_ssize_t, scm_from_schar, scm_from_uchar, | |
20 | scm_from_char, scm_from_short, scm_from_ushort, scm_from_int, | |
21 | scm_from_uint, scm_from_long, scm_from_ulong, scm_from_size_t, | |
22 | scm_from_ssize_t, scm_is_real, scm_to_double, scm_from_double): | |
23 | New. | |
24 | ||
800570a6 MV |
25 | 2004-07-05 Marius Vollmer <marius.vollmer@uni-dortmund.de> |
26 | ||
27 | * boolean.h, boolean.c (scm_is_true, scm_is_false, scm_from_bool, | |
28 | scm_to_bool): New. | |
29 | ||
9fcf3cbb DH |
30 | 2004-06-27 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de> |
31 | ||
32 | * backtrace.c (display_expression, display_frame): Call | |
33 | scm_i_unmemoize_expr for unmemoizing a memoized object holding a | |
34 | single memoized expression. | |
35 | ||
36 | * debug.c (memoized_print): Don't try to unmemoize the memoized | |
37 | object, since we can't know whether it holds a single expression | |
38 | or a body. | |
39 | ||
40 | (scm_mem_to_proc): Removed check for lambda expression, since it | |
41 | was moot anyway. Whoever uses these functions for debugging | |
42 | purposes should know what they do: Creating invalid memoized code | |
43 | will cause crashes, independent of whether this check is present | |
44 | or not. | |
45 | ||
46 | (scm_proc_to_mem): Take the closure's code as it is and don't | |
47 | append a SCM_IM_LAMBDA isym. To allow easier debugging, the | |
48 | memoized code should not be modified. | |
49 | ||
50 | * debug.[ch] (scm_unmemoize, scm_i_unmemoize_expr): Removed | |
51 | scm_unmemoize from public use, but made scm_i_unmemoize_expr | |
52 | available as a guile internal function instead. However, | |
53 | scm_i_unmemoize_expr will only work on memoized objects that hold | |
54 | a single memoized expression. It won't work with bodies. | |
55 | ||
56 | * debug.c (scm_procedure_source), macros.c (macro_print), print.c | |
57 | (scm_iprin1): Call scm_i_unmemocopy_body for unmemoizing a body, | |
58 | i. e. a list of expressions. | |
59 | ||
60 | * eval.c (unmemoize_exprs): Drop internal body markers from the | |
61 | output during unmemoization. | |
62 | ||
63 | * eval.[ch] (scm_unmemocopy, scm_i_unmemocopy_expr, | |
64 | scm_i_unmemocopy_body): Removed scm_unmemocopy from public use, | |
65 | but made scm_i_unmemocopy_expr and scm_i_unmemocopy_body available | |
66 | as guile internal functions instead. scm_i_unmemoize_expr will | |
67 | only work on a single memoized expression, while | |
68 | scm_i_unmemocopy_body will only work on bodies. | |
69 | ||
90df793f DH |
70 | 2004-06-21 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de> |
71 | ||
72 | * eval.c (unmemoize_exprs): Handle semi-memoized code. | |
73 | ||
74 | (scm_cons_source, scm_primitive_eval): Prefer higher level | |
75 | predicate SCM_FALSEP over SCM_IMP. | |
76 | ||
8048c00b RB |
77 | 2004-06-15 Rob Browning <rlb@defaultvalue.org> |
78 | ||
79 | * script.c (scm_shell_usage): minor phrasing change. | |
80 | ||
81 | * gc_os_dep.c: update ifdefery for macosx. | |
82 | (scm_get_stack_base): separate result initialization from | |
83 | declaration to slience warnings with macosx and hp-ux using gcc | |
84 |