From 887dfa7d56e5471d1f33613fe9d7e2255b5e395c Mon Sep 17 00:00:00 2001 From: Dirk Herrmann Date: Wed, 16 May 2001 07:20:53 +0000 Subject: [PATCH] * Renamed GUILE_WARN_DEPRECATED_DEFAULT to SCM_WARN_DEPRECATED_DEFAULT. --- ChangeLog | 5 +++++ acconfig.h | 2 +- configure.in | 2 +- libguile/ChangeLog | 21 +++++++++++++-------- libguile/deprecation.c | 2 +- 5 files changed, 21 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index a17fc1b35..9333cbd1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-05-16 Dirk Herrmann + + * acconfig.h, configure.in: Renamed + GUILE_WARN_DEPRECATED_DEFAULT to SCM_WARN_DEPRECATED_DEFAULT. + 2001-05-15 Marius Vollmer * acinclude.m4: Removed copy of "libtool.m4". diff --git a/acconfig.h b/acconfig.h index 1f14a914e..1d28d2eac 100644 --- a/acconfig.h +++ b/acconfig.h @@ -48,7 +48,7 @@ #undef SCM_DEBUG_DEPRECATED /* Define this to control the default warning level for deprecated features */ -#undef GUILE_WARN_DEPRECATED_DEFAULT +#undef SCM_WARN_DEPRECATED_DEFAULT /* Define these two if you want support for debugging of Scheme programs. */ diff --git a/configure.in b/configure.in index 143aa4d86..78665abc7 100644 --- a/configure.in +++ b/configure.in @@ -110,7 +110,7 @@ else warn_default=$enable_deprecated fi AC_DEFINE(SCM_DEBUG_DEPRECATED, 0) - AC_DEFINE_UNQUOTED(GUILE_WARN_DEPRECATED_DEFAULT, "$warn_default") + AC_DEFINE_UNQUOTED(SCM_WARN_DEPRECATED_DEFAULT, "$warn_default") fi dnl The --disable-debug used to control these two. But now they are diff --git a/libguile/ChangeLog b/libguile/ChangeLog index 629260128..5b3182fec 100644 --- a/libguile/ChangeLog +++ b/libguile/ChangeLog @@ -1,3 +1,8 @@ +2001-05-16 Dirk Herrmann + + * deprecation.c (scm_init_deprecation): Renamed + GUILE_WARN_DEPRECATED_DEFAULT to SCM_WARN_DEPRECATED_DEFAULT. + 2001-05-16 Marius Vollmer * Makefile.am (cpp_sig_symbols.c, cpp_err_symbols.c): Make @@ -12,17 +17,17 @@ 2001-05-10 Marius Vollmer Merged from mvo-vcell-cleanup-1-branch. - + The concept of vcells has been removed from Guile. With it, explicit obarrays and associated operations are gone. Use hashtables instead of obarrays. - + Throughout: use scm_sym2var instead of scm_sym2vcell and treat result as variable instead of vcell. Glocs no longer point to a vcell but to a variable. Use scm_c_define instead of scm_sysintern and treat the result as a variable (which it is), not a vcell. - + * variable.c, variable.h (SCM_VARVCELL, SCM_UDVARIABLEP, SCM_DEFVARIABLEP): Deprecated. (SCM_VARIABLE_REF, SCM_VARIABLE_SET, SCM_VARIABLE_LOC): New. @@ -50,12 +55,12 @@ * symbols-deprecated.c: New file. * Makefile.am: Added symbols-deprecated.c and related files in all the right places. - + * snarf.h (SCM_VCELL, SCM_GLOBAL_VCELL, SCM_VCELL_INIT, SCM_GLOBAL_VCELL_INIT): Deprecated. (SCM_VARIABLE, SCM_GLOBAL_VARIABLE, SCM_VARIABLE_INIT, SCM_GLOBAL_VARIABLE_INIT): New, as replacement. Changed all uses. - + * print.c (scm_iprin1): Use scm_module_reverse_lookup instead of SCM_GLOC_SYM. @@ -95,7 +100,7 @@ scm_modules_prehistory): New. (scm_post_boot_init_modules): Use scm_c_define and scm_c_lookup instead of scm_intern0. - + * macros.c (scm_make_synt): Return SCM_UNSPECIFIED instead of the symbol. @@ -128,7 +133,7 @@ (SCM_GLOC_SYM): Removed. (SCM_GLOC_VAR, SCM_GLOC_SET_VAL): New. (SCM_GLOC_VAL, SCM_GLOC_LOC): Reimplemented in terms of variables. - + * eval.c (scm_lookupcar, scm_lookupcar1): Deal with variables instead of with vcells. Do not overwrite `var' with the result of the lookup, use the new `real_var' instead. Remove `var2' in @@ -174,7 +179,7 @@ * root.h (scm_symhash, scm_symhash_vars): Removed. * gc.c (scm_init_storage): Do not initialize them. - + 2001-05-15 Dirk Herrmann * eval.c (scm_init_eval): Initialize scm_undefineds and diff --git a/libguile/deprecation.c b/libguile/deprecation.c index b826f190e..87f516476 100644 --- a/libguile/deprecation.c +++ b/libguile/deprecation.c @@ -137,7 +137,7 @@ scm_init_deprecation () #if SCM_DEBUG_DEPRECATED == 0 const char *level = getenv ("GUILE_WARN_DEPRECATED"); if (level == NULL) - level = GUILE_WARN_DEPRECATED_DEFAULT; + level = SCM_WARN_DEPRECATED_DEFAULT; if (!strcmp (level, "detailed")) issued_msgs = scm_permanent_object (scm_c_make_hash_table (17)); else if (!strcmp (level, "no")) -- 2.20.1