*** empty log message ***
[bpt/guile.git] / libguile / ChangeLog
CommitLineData
89afb9cd
MV
12004-05-11 Marius Vollmer <mvo@zagadka.de>
2
3 * scmsigs.c (scm_sigaction_for_thread): Validate that the handler
4 is indeed a procedure when it isn't a number.
5
3d5ebfa9
MV
62004-05-10 Marius Vollmer <mvo@zagadka.de>
7
8 Convert floating point numbers into strings with an arbitrary
9 radix. Thanks to Richard Todd!
10
11 * numbers.c (FLOBUFLEN): Increase so that radix 2 strings will
12 fit.
13 (fx): Removed.
14 (scm_dblprec, fx_per_radix, init_dblprec, init_fx_radix,
15 number_chars): New, to support variable radices.
16 (idbl2str): Use above instead of the old base-10 only tables.
17 (iflo2str): Pass on new RADIX argument to idbl2str.
18 (scm_number_to_string): Pass radix to iflo2str.
19 (scm_print_real, scm_print_complex): Explicitly pass radix 10 to
20 iflo2str.
21 (scm_init_numbers): Call init_dblprec and init_fx_radix for all
22 possible radices.
23
3ae69bb4
KR
242004-05-10 Kevin Ryde <user42@zip.com.au>
25
26 * numbers.c (scm_logbit_p): Correction to test above the end of an
27 inum. Reported by Jan Konecny.
28
27968825
MV
292004-05-06 Marius Vollmer <marius.vollmer@uni-dortmund.de>
30
31 * gc.h (scm_t_cell): Fields are now of type SCM instead of
32 scm_t_bits. Updated all users.
33 (SCM_GC_CARD_SIZE_MASK): Use SCM_GC_SIZEOF_CARD instead of
34 duplicating the code.
35 (SCM_CELL_OBJECT_LOC): New.
36 (SCM_CARLOC, SCM_CDRLOC): Use it instead of SCM_CELL_WORD_LOC.
37 (SCM_CELL_WORD_LOC): Moved to "deprecated.h".
38
39 * smob.h (SCM_SMOB_DATA_2, SCM_SMOB_DATA_3, SCM_SMOB_FLAGS,
40 SCM_SET_SMOB_DATA_2, SCM_SET_SMOB_DATA_3, SCM_SET_SMOB_FLAGS,
41 SCM_SMOB_OBJECT, SCM_SMOB_OBJECT_2, SCM_SMOB_OBJECT_3,
42 SCM_SET_SMOB_OBJECT, SCM_SET_SMOB_OBJECT_2, SCM_SET_SMOB_OBJECT_3,
43 SCM_SMOB_OBJECT_LOC, SCM_SMOB_OBJECT_2_LOC,
44 SCM_SMOB_OBJECT_3_LOC): New.
45 * smob.c (scm_i_set_smob_flags): New function.
46
47 * dynl.c, dynwind.c, eval.h, fluids.h, futures.h, hashtab.h,
48 hooks.h, keywords.h, macros.h, macros.c, mallocs.c, mallocs.h,
49 random.h, regex-posix.h, root.h, srcprop.h, srcprop.c, threads.h:
50 Use SCM_SMOB_* instead of SCM_CELL_* as appropriate. Use
51 SCM_SMOB_FLAGS and SCM_SET_SMOB_FLAGS instead of accessing the
52 zeroth word directly. Use SCM_SMOB_PREDICATE as appropriate.
53
54 * numbers.h (SCM_I_BIG_MPZ): Use SCM_CELL_OBJECT_LOC instead of
55 taking the address of SCM_CELL_WORD_1, the latter being no longer
56 an lvalue.
57
58 * variable.h (SCM_VARIABLE_LOC): Use SCM_CELL_OBJECT_LOC instead
59 of casting SCM_CELL_WORD_LOC.
60
3cf17ef0
KR
612004-05-02 Kevin Ryde <user42@zip.com.au>
62
37026925
KR
63 * eval.c (scm_macroexp): Add prototype, since it's not in eval.h under
64