* backtrace.c (display_expression, display_frame): Call
[bpt/guile.git] / libguile / ChangeLog
CommitLineData
9fcf3cbb
DH
12004-06-27 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
2
3 * backtrace.c (display_expression, display_frame): Call
4 scm_i_unmemoize_expr for unmemoizing a memoized object holding a
5 single memoized expression.
6
7 * debug.c (memoized_print): Don't try to unmemoize the memoized
8 object, since we can't know whether it holds a single expression
9 or a body.
10
11 (scm_mem_to_proc): Removed check for lambda expression, since it
12 was moot anyway. Whoever uses these functions for debugging
13 purposes should know what they do: Creating invalid memoized code
14 will cause crashes, independent of whether this check is present
15 or not.
16
17 (scm_proc_to_mem): Take the closure's code as it is and don't
18 append a SCM_IM_LAMBDA isym. To allow easier debugging, the
19 memoized code should not be modified.
20
21 * debug.[ch] (scm_unmemoize, scm_i_unmemoize_expr): Removed
22 scm_unmemoize from public use, but made scm_i_unmemoize_expr
23 available as a guile internal function instead. However,
24 scm_i_unmemoize_expr will only work on memoized objects that hold
25 a single memoized expression. It won't work with bodies.
26
27 * debug.c (scm_procedure_source), macros.c (macro_print), print.c
28 (scm_iprin1): Call scm_i_unmemocopy_body for unmemoizing a body,
29 i. e. a list of expressions.
30
31 * eval.c (unmemoize_exprs): Drop internal body markers from the
32 output during unmemoization.
33
34 * eval.[ch] (scm_unmemocopy, scm_i_unmemocopy_expr,
35 scm_i_unmemocopy_body): Removed scm_unmemocopy from public use,
36 but made scm_i_unmemocopy_expr and scm_i_unmemocopy_body available
37 as guile internal functions instead. scm_i_unmemoize_expr will
38 only work on a single memoized expression, while
39 scm_i_unmemocopy_body will only work on bodies.
40
90df793f
DH
412004-06-21 Dirk Herrmann <dirk@dirk-herrmanns-seiten.de>
42
43 * eval.c (unmemoize_exprs): Handle semi-memoized code.
44
45 (scm_cons_source, scm_primitive_eval): Prefer higher level
46 predicate SCM_FALSEP over SCM_IMP.
47
8048c00b
RB
482004-06-15 Rob Browning <rlb@defaultvalue.org>
49
50 * script.c (scm_shell_usage): minor phrasing change.
51
52 * gc_os_dep.c: update ifdefery for macosx.
53 (scm_get_stack_base): separate result initialization from
54 declaration to slience warnings with macosx and hp-ux using gcc
55