X-Git-Url: https://git.hcoop.net/bpt/guile.git/blobdiff_plain/03347a975b726f4b645339660156f62aba1f27ec..1911e3da17638c31bd2fe638c9727f560fd1c1ec:/libguile/ChangeLog diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 58f662cf1..9fd4d6295 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,5 +1,136 @@ +2007-04-17 Ludovic Courtès + + * numbers.c: Commented out trailing `HAVE_COMPLEX_DOUBLE' after + `#endif'. Use `#ifndef HAVE_XXX' rather than `#if !HAVE_XXX'. + +2007-04-09 Han-Wen Nienhuys + + * numbers.c (carg): provide carg, cexp, clog in case they are + missing. + +2007-03-12 Ludovic Courtès + + * i18n.c (scm_nl_langinfo): `#ifdef'd uses of `GROUPING', + `FRAC_DIGITS', etc., which are GNU extensions. Reported by + Steven Wu. + +2007-03-08 Kevin Ryde + + * struct.c, struct.h (scm_make_vtable): New function, providing + `make-vtable'. + * stacks.c (scm_init_stacks): Use it. + +2007-03-06 Kevin Ryde + + * struct.c (scm_make_struct): Check for R,W,O at end of layout when + allocating a tail array. If there's no such then those tail fields + are uninitialized and garbage SCMs there can cause a segv if printed + (after fetching with struct-ref). + +2007-02-22 Kevin Ryde + + * scmsigs.c (scm_sleep): In docstring, cross refence usleep. + (scm_usleep): Update docstring per manual, cross reference sleep. + + * struct.c (scm_make_struct): Move SCM_CRITICAL_SECTION_END up so that + scm_struct_init is not within that section. scm_struct_init can + thrown an error, which within a critical section results in an + abort(). + +2007-02-19 Neil Jerram + + * Makefile.am (noinst_HEADERS): Add private-options.h, so that it + is included in the distribution. + (noinst_HEADERS): And the same for eval.i.c. + +2007-01-31 Ludovic Courtès + + * i18n.c: Include "libguile/threads.h" and "libguile/posix.h" + unconditionally. Include and when + available. + (SCM_I18N_STRINGIFY, SCM_LOCALE_CATEGORY_MASK, + SCM_LIST_OR_INTEGER_P): New macros. + (LC_*_MASK): When `USE_GNU_LOCALE_API' is undefined, define them + as powers of two instead of `(1 << LC_*)'. + (scm_i_locale_free): New function/macro. + (scm_global_locale): New global variable. + (smob_locale_free): Use `scm_i_locale_free ()'. + (smob_locale_mark): Check whether the SMOB is `%global-locale'. + (get_current_locale_settings): Return `EINVAL' instead of `errno' + when `setlocale' fails. + (restore_locale_settings): Likewise. + (install_locale_categories): Likewise. + (install_locale): Likewise. Stop the locale stack traversal when + all categories have been handled. + (get_current_locale, category_to_category_mask, + category_list_to_category_mask): New function. + (scm_make_locale): Use them. Accept both lists of `LC_*' values + and single `LC_*' values as the first argument. Handle the case + where BASE_LOCALE is `%global-locale'. When `USE_GNU_LOCALE_API', + duplicate C_BASE_LOCALE before using it. + (scm_nl_langinfo, define_langinfo_items): New functions. + (scm_init_i18n): When `HAVE_NL_LANGINFO', add feature + `nl-langinfo' and invoke `define_langinfo_items ()'. + * i18n.h (scm_global_locale, scm_nl_langinfo): New declarations. + * posix.c: Include when available. + (scm_i_locale_mutex): Always define it. Statically initialized. + (scm_set_locale): Invoke `scm_i_to_lc_category ()' before + acquiring the locale mutex. + (scm_init_posix): No longer initialize SCM_I_LOCALE_MUTEX here. + +2007-01-27 Kevin Ryde + + * ports.c (scm_port_line, scm_set_port_line_x), read.c + (scm_i_input_error, scm_lreadr, scm_lreadrecparen): Corrections to + port line number type, should be "long" not "int", as per line_number + field of scm_t_port. (Makes a difference only on 64-bit systems, and + only then for a linenum above 2Gig.) + +2007-01-25 Han-Wen Nienhuys + + * vector.c: remove comment as per kryde's request. + +2007-01-25 Kevin Ryde + + * sort.c (scm_stable_sort): Return empty list for input empty list, as + done in guile 1.6 and as always done by plain `sort'. Was falling + through to SCM_WRONG_TYPE_ARG. Reported by Ales Hvezda. + +2007-01-22 Han-Wen Nienhuys + + * vectors.c (s_scm_vector_move_right_x): complain about naming. + + * srcprop.c: regularize comments. + + * eval.c: remove superfluous ifndef DEVAL. + + * private-options.h: idem. + + * eval.i.c: copyright nitpicking. + + * eval.c: distangle. move duplicate code to eval.i.c and include + twice. + + * eval.i.c: new file. + + * backtrace.c, debug.c, debug.h, deprecation.c, eq.c, eval.c + eval.h, gsubr.c, init.c, macros.c, print.c, print.h, read.c, + read.h, stacks.c, symbols.c, throw.c: use private-options.h + + * private-options.h: new file: contain hardcoded option + definitions. + + * private-gc.h: add FSF header. + 2007-01-19 Han-Wen Nienhuys + * debug.h (SCM_RESET_DEBUG_MODE): switch to debugging if + memoize-symbol is set. + + * eval.h (SCM_MEMOIZE_HDLR): add macros for memoize symbol trap. + + * eval.c (CEVAL): add memoize_symbol trap. + * options.c (scm_options_try): new function. This allows error reporting before changing options in a critical section. @@ -678,7 +809,7 @@ scm_t_uint64 and scm_t_uint32 instead of scm_t_int64 and scm_t_int32. -2006-01-04 Ludovic Courts +2006-01-04 Ludovic Courtès * gc-segment.c (scm_i_sweep_some_cards): Take a SWEEP_STATS argument. Don't refer to SCM_GC_CELLS_COLLECTED and