* modules.h. modules.c (scm_current_module_lookup_closure): New
[bpt/guile.git] / libguile / ChangeLog
index 489313d..92589c2 100644 (file)
@@ -1,3 +1,567 @@
+2001-02-10  Keisuke Nishida  <kxn30@po.cwru.edu>
+
+       * dump.c (scm_store_bytes): Store data size before data.
+       (scm_restore_bytes): Restore data size.  Takes a pointer to size.
+       * dump.h (scm_restore_bytes): Updated.
+
+2001-02-09  Keisuke Nishida  <kxn30@po.cwru.edu>
+
+       * dump.c: Use double cells for update schedule.
+
+2001-02-08  Keisuke Nishida  <kxn30@po.cwru.edu>
+
+       * ports.c (scm_unread_char): Take an optional argument.
+
+2001-02-08  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * modules.h (scm_selected_module, scm_current_module): Renamed
+       scm_selected_module to scm_current_module to synchronize Scheme
+       and C names.
+       (scm_select_module, scm_set_current_module): Likewise.  Changed
+       all uses.
+       
+       * ports.c (scm_port_for_each): Make a snapshot of the port table
+       before iterating over it.  The table might change while the user
+       code is running.  With the snapshot, the user can depend on the
+       fact that each port that existed at the start of the iteration is
+       encountered exactly once.  (ice-9 popen) depends on this.
+
+2001-02-08  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * strings.h (SCM_STRING_MAX_LENGTH):  New macro.
+
+       * strings.c (scm_makstr, scm_take_str, scm_make_string):  Added
+       range checking for the size parameter.  Thanks to Martin
+       Grabmueller for the hint.
+
+       (scm_makstr):  Reordered string initialization to make interrupt
+       deferring unnecessary.
+
+       * vectors.c (scm_make_vector):  Fixed range checking.
+
+2001-02-08  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * vectors.h (SCM_VECTOR_MAX_LENGTH):  New macro.
+
+       * vectors.c (scm_make_vector, scm_c_make_vector):  Improved the
+       checking of the size parameter for type correctness and valid
+       range.  Thanks to Rob Browning for reporting the problem.  Instead
+       of deferring interrupts, scm_remember_upto_here_1 is used.
+
+2001-02-05  Keisuke Nishida  <kxn30@po.cwru.edu>
+
+       * dump.c (scm_store_cell_object, scm_restore_cell_object): Removed.
+       (scm_dump_cell_update): Removed.
+       (scm_dump_update): Renamed from scm_dump_object_update.
+       (scm_restore_string, scm_restore_bytes, scm_restore_word): Takes
+       a pointer instead of returning a value.
+       * keywords.c (keyword_undump): Updated.
+
+2001-02-05  Keisuke Nishida  <kxn30@po.cwru.edu>
+
+       * dump.c, dump.h: Modified a lot.
+       (SCM_DUMP_COOKIE): Version 0.1
+       (scm_dump_mark): Removed.
+       (scm_restore_cell_object, scm_store_cell_object): New functions.
+
+       * smob.h (scm_smob_descriptor): Removed slots: dump_mark,
+       dump_dealloc, dump_store, undump_alloc, undump_restore, undump_init.
+       New slots: dump, undump.
+       * smob.c (scm_make_smob_type, scm_set_smob_dump, scm_set_smob_undump):
+       Updated.
+
+       * keywords.c (keyword_dump): Renamed from keyword_dealloc.
+       (keyword_undump): Renamed from keyword_alloc.
+       (scm_init_keywords): Set keyword_dump and keyword_undump.
+
+2001-02-03  Michael Livshin  <mlivshin@bigfoot.com>
+
+       * gc.c (DOUBLECELL_ALIGNED_P): new macro, a better-named analog of
+       the deprecated SCM_DOUBLE_CELLP.
+
+       * tags.h (SCM_DOUBLE_CELLP): deprecated.
+
+2001-02-02  Keisuke Nishida  <kxn30@po.cwru.edu>
+
+       * dump.c, dump.h: New files.
+       * Makefile.am: Added dump.c, dump.h, dump.x, dump.doc.
+       * init.c: #include "libguile/dump.h".
+       (scm_init_guile_1): Call scm_init_dump.
+       * smob.h (scm_smob_descriptor): New slots: dump_mark,
+       dump_dealloc, dump_store, undump_alloc, undump_restore,
+       undump_init.
+       * smob.c (scm_make_smob_type): Init the new slots.
+       (scm_set_smob_dump, scm_set_smob_undump): New functions.
+       * smob.h (scm_set_smob_dump, scm_set_smob_undump): Declared.
+
+       * keywords.c: #include "libguile/dump.h".
+       (keyword_dealloc, keyword_alloc): New functions.
+       (scm_init_keywords): Set smob_dump and smob_undump.
+
+2001-02-01  Keisuke Nishida  <kxn30@po.cwru.edu>
+
+       * vectors.c (scm_c_make_vector): New function.
+       * vectors.h (scm_c_make_vector): Declared.
+       * eval.c (scm_copy_tree), filesys.c (scm_stat2scm), fluids.c
+       (scm_make_initial_fluids, grow_fluids), gc.c (scm_init_storage),
+       gh_data.c (gh_ints2scm, gh_doubles2scm): goops.c
+       (scm_make_method_cache, scm_i_vector2list,
+       scm_compute_applicable_methods, scm_sys_method_more_specific_p),
+       init.c (start_stack), net_db.c (scm_gethost, scm_getnet,
+       scm_getproto, scm_return_entry), posix.c (scm_getgroups,
+       scm_getpwuid, scm_getgrgid, scm_uname), print.c (make_print_state,
+       grow_ref_stack), regex-posix.c (scm_regexp_exec), scmsigs.c
+       (scm_init_scmsigs), socket.c (scm_addr_vector, scm_addr_vector),
+       stime.c (scm_times, filltime), unif.c (scm_make_uve), vectors.c
+       (scm_vector, scm_make_vector): Use scm_c_make_vector.
+
+       * hashtab.c (scm_c_make_hash_table): New function.
+       * hashtab.h (scm_c_make_hash_table): Declared.
+       * environments.c (scm_make_leaf_environment,
+       scm_make_eval_environment), gc.c (scm_init_storage),
+       keywords.c (scm_init_keywords), symbols.c (scm_builtin_bindings):
+       Use scm_c_make_hash_table.
+
+2001-01-31  Mikael Djurfeldt  <mdj@linnaeus.mit.edu>
+
+       * unif.c (rapr1): Don't apply scm_uniform_vector_length on arrays.
+
+2001-01-29  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * struct.c (scm_make_vtable_vtable): Removed unnecessary "" from
+       end of docstring.
+
+       * struct.c (scm_struct_set_x, scm_struct_vtable_tag,
+       scm_struct_vtable_name, scm_set_struct_vtable_name_x), weaks.c
+       (scm_make_weak_value_hash_table, scm_make_doubly_weak_hash_table,
+       scm_weak_value_hash_table_p, scm_doubly_weak_hash_table_p),
+       srcprop.c (scm_source_properties, scm_set_source_properties_x,
+       scm_source_property, scm_set_source_property_x), sort.c
+       (scm_sort_list_x, scm_restricted_vector_sort_x, scm_sorted_p,
+       scm_merge, scm_merge_x, scm_sort_x, scm_sort, scm_stable_sort_x,
+       scm_stable_sort, scm_sort_list_x, scm_sort_list): Added
+       docstrings.
+
+2001-01-29  Mikael Djurfeldt  <mdj@linnaeus.mit.edu>
+
+       * eval.c (SCM_APPLY): Check that primitives which take 1 arg
+       really get that arg.
+
+2001-01-26  Keisuke Nishida  <kxn30@po.cwru.edu>
+
+       * goops.c (s_scm_get_keyword): Bug fix.
+
+2001-01-26  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       The following patch was sent by Martin Grabmueller.  It makes sure
+       that in case of parameter errors the correct function name is
+       shown, and that parameter types are only checked once.
+
+       * strop.c (string_copy, string_upcase_x, string_downcase_x,
+       string_capitalize_x):  New functions.  Each one performs the core
+       functionality of the corresponding scm_* function.
+
+       (scm_string_copy, scm_string_upcase_x, scm_string_upcase,
+       scm_string_downcase_x, scm_string_downcase,
+       scm_string_capitalize_x, scm_string_capitalize):  Reduced to
+       parameter checking wrappers of the above functions.
+
+2001-01-26  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * continuations.c, dynl.c, keywords.c, load.c:  Include
+       strings.h.  Thanks to Bill Schottstaedt for the bug report.
+
+2001-01-25  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * backtrace.c (display_header):  Make sure that line and column
+       information is shown independent of whether the port the code was
+       read from had an associated filename.  Thanks to Martin
+       Grabmueller for providing this patch.
+
+2001-01-25  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * fports.[ch] (scm_file_port_p):  New primitive.
+
+2001-01-25  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * tags.h (scm_tc16_fport, scm_tc16_strport, scm_tc16_sfport):
+       These are now defined in fports.c, strports.c and vports.c.
+
+       * fports.[ch] (scm_tc16_fport), strports.c (scm_tc16_strport),
+       vports.c (scm_tc16_sfport): Made variables (were macros defined in
+       tags.h).
+
+       fports.c (scm_make_fptob), strports.c (scm_make_stptob), vports.c
+       (scm_make_sfptob):  Made static.  These return a type code now.
+
+       fports.c (scm_init_fports), strports.c (scm_init_strports),
+       vports.c (scm_init_vports):  Create the corresponding port types.
+
+       * fports.h (SCM_FPORTP, SCM_OPFPORTP, SCM_OPINFPORTP,
+       SCM_OPOUTFPORTP):  Redefined in terms of scm_tc16_fport.
+
+       * init.c (scm_init_guile_1):  Make sure strports are initialized
+       before gdbint.
+
+       * ports.[ch] (scm_make_port_type):  Changed the return type to
+       scm_bits_t.
+
+       * ports.c (scm_ports_prehistory):  Don't create any port types
+       here.
+
+       * posix.c (scm_ttyname):  Use SCM_FPORTP instead of comparing
+       against scm_tc16_fport directly.
+
+2001-01-25  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * srcprop.c (scm_set_source_property_x):  Fix to handle
+       (set-source-property! <obj> 'copy <datum>) correctly.
+
+2001-01-24  Gary Houston  <ghouston@arglist.com>
+
+       * filesys.c (scm_link): docstring fix.
+       * fports.h (scm_setfileno): obsolete declaration removed.
+       * posix.c: bogus popen declaration removed.
+
+       * rdelim.c: new file, split from ioext.c.
+       * rdelim.h: new file, split from ioext.h
+       * Makefile.am: add rdelim.c and related files.
+       * init.c: call scm_init_rdelim.  include rdelim.h.
+
+2001-01-24  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       This patch was sent by Martin Grabmueller and makes sure that
+       parameter errors are reported correctly by the lexicographic
+       ordering predicates.
+
+       * strorder.c (string_less_p, string_ci_less_p):  New functions.
+
+       (scm_string_less_p, scm_string_ci_less_p):  Extracted the core
+       functionality into string_less_p, string_ci_less_p respectively.
+       The remaining code is just a wrapper to do the parameter
+       checking.
+
+       (scm_string_leq_p, scm_string_gr_p, scm_string_geq_p):  Check the
+       parameters and call string_less_p instead of scm_string_less_p.
+
+       (scm_string_ci_leq_p, scm_string_ci_gr_p, scm_string_ci_geq_p):
+       Check the parameters and call string_less_ci_p instead of
+       scm_string_ci_less_p.
+
+2001-01-24  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       This patch modifies scm_display_error to perform parameter
+       checking.  Thanks to Neil Jerram for the bug report.
+
+       * backtrace.[ch] (scm_i_display_error):  New function.
+
+       * backtrace.c (scm_display_error):  Added parameter check and
+       extracted the core functionality into function
+       scm_i_display_error.
+
+       * throw.c (handler_message):  Call scm_i_display_error to display
+       the error message.
+
+2001-01-23  Mikael Djurfeldt  <mdj@linnaeus.mit.edu>
+
+       * eval.c (SCM_APPLY): Added # args check for application of
+       procedures with arity 3.  (Thanks to Anders Holst.)
+
+2001-01-24  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * filesys.h (SCM_DIR_FLAG_OPEN, SCM_DIR_OPEN_P):  Added.
+
+       (SCM_OPDIRP):  Deprecated.
+
+       * filesys.c (scm_opendir):  Use SCM_DIR_FLAG_OPEN instead of
+       SCM_OPN.
+
+       (scm_readdir, scm_rewinddir):  Don't use SCM_VALIDATE_OPDIR.
+       Instead, give an explicit error message in case the directory is
+       closed.
+
+       (scm_closedir, scm_dir_print):  Rewritten to use SCM_DIR_OPEN_P
+       instead of SCM_OPENP and SCM_CLOSEDP.
+
+       * validate.h (SCM_VALIDATE_OPDIR):  Deprecated.
+
+2001-01-22  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * eval.c (inner_eval, scm_eval):  Move all real functionality into
+       inner_eval.  Avoid to copy the expression twice by inlining some
+       code from scm_i_eval.
+
+2001-01-19  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * eval.c (scm_m_case):  The 'else' clause of a 'case' statement
+       now has to be the last clause, as required by R5RS.  Thanks to
+       Martin Grabmueller for the patch.
+
+2001-01-18  Gary Houston  <ghouston@arglist.com>
+
+       * ioext.c: further simplify scm_read_string_x_partial by defining
+       a macro SCM_EBLOCK.
+
+2001-01-18  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * gh_data.c (gh_ints2scm):  Simplified using SCM_FIXABLE.
+
+2001-01-18  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * __scm.h:  Added comment about architecture and compiler
+       properties that are required by guile.
+
+       (SCM_FIXNUM_BIT, SCM_MOST_POSITIVE_FIXNUM,
+       SCM_MOST_NEGATIVE_FIXNUM):  Moved to numbers.h.
+
+       (SCM_CHAR_BIT, SCM_LONG_BIT):  Moved here from numbers.h.
+
+       * numbers.h (SCM_CHAR_BIT, SCM_LONG_BIT):  Moved to __scm.h.
+
+       (SCM_FIXNUM_BIT, SCM_MOST_POSITIVE_FIXNUM,
+       SCM_MOST_NEGATIVE_FIXNUM):  Moved here from __scm.h.
+
+2001-01-17  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * __scm.h (SCM_FIXNUM_BIT):  Added.  The name is chosen in analogy
+       to the names in limits.h.
+
+       * numbers.c (abs_most_negative_fixnum):  Added.
+
+       (scm_quotient, scm_remainder):  Fixed the fixnum-min / (abs
+       fixnum-min) special case.
+
+       (scm_big_and):  Fix for negative first parameter.
+
+       (scm_bit_extract):  Fix for fixnum paramters.
+       Thanks to Rob Browning for the bug report.
+
+       (scm_init_numbers):  Initialize abs_most_negative_fixnum.
+
+2001-01-16  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * symbols.c (scm_symbol_bound_p):  Fixed comment.
+       Thanks to Chris Cramer.
+
+2001-01-15  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * smob.[ch] (scm_make_smob_type):  Return type is scm_bits_t now.
+       Thanks to Bill Schottstaedt.
+
+2001-01-11  Michael Livshin  <mlivshin@bigfoot.com>
+
+       from Matthias Köppe:
+       
+       * objects.h (SCM_SET_ENTITY_SETTER): new macro.  SCM_ENTITY_SETTER
+       casts its result, so doesn't yield an lvalue per ANSI C.
+
+       * goops.c (s_scm_sys_set_object_setter_x): use
+       SCM_SET_ENTITY_SETTER.
+       (clear_method_cache): use SCM_SET_ENTITY_PROCEDURE.
+
+       * gc.h (SCM_GC_SET_CARD_BVEC): new macro.  SCM_GC_CARD_BVEC casts
+       its result, so doesn't yield an lvalue per ANSI C.
+       (SCM_GC_SET_CARD_FLAGS): ditto for SCM_GC_GET_CARD_FLAGS.
+       (SCM_GC_CLR_CARD_FLAGS): redefined in terms of
+       SCM_GC_SET_CARD_FLAGS.
+       (SCM_GC_SET_CARD_FLAG, SCM_GC_CLR_CARD_FLAGS): ditto.
+
+       * gc.c (INIT_CARD): use the explicit setter macro to set the bvec.
+
+2001-01-08  Gary Houston  <ghouston@arglist.com>
+
+       * validate.h (SCM_VALIDATE_SUBSTRING_SPEC_COPY): new macro.
+       * ioext.c (scm_read_string_x_partial, scm_read_delimited_x),
+       socket.c (scm_recvfrom): use the new macro, plus minor docstring
+       changes.
+       * ioext.c (scm_read_string_x_partial): don't crash if -1 is supplied
+       for fdes.  if current input port is used, check that it's a file
+       port.
+
+2001-01-06  Gary Houston  <ghouston@arglist.com>
+
+       * ioext.c (scm_read_string_x_partial): new procedure, implements
+       read-string!/partial.
+       * ports.c (scm_take_from_input_buffers): new procedure used by
+       scm_read_string_x_partial.
+       (scm_drain_input): use scm_take_from_input_buffers.
+
+2001-01-06  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * validate.h (SCM_VALIDATE_NUMBER): New.
+
+2001-01-03  Michael Livshin  <mlivshin@bigfoot.com>
+
+       * guardians.c (F_GREEDY, F_LISTED, F_DESTROYED, GREEDY_P,
+       SET_GREEDY, LISTED_P, SET_LISTED, CLR_LISTED, DESTROYED_P,
+       SET_DESTROYED): new defines/macros.
+       (GUARDIAN_LIVE, GUARDIAN_ZOMBIES, GUARDIAN_NEXT): deleted.
+       (add_to_live_list): takes a `guardian_t *' now, not SCM.
+       (guardian_print): print more info.
+       (guardian_apply): check if the guardian is destroyed, and throw an
+       error if so.  take one more optional argument `throw_p'.
+       (scm_guard): depending on the value of `throw_p', return a boolean
+       result.
+       (scm_get_one_zombie): remove redundant property test.
+       (guardian_t): represent the various (currently 3, I hope nothing
+       more gets added) boolean fields as bit flags.
+       (scm_guardian_destroyed_p, scm_guardian_greedy_p): new predicates.
+       (scm_destroy_guardian_x): new procedure.
+
+       * guardians.h: added prototypes for `scm_guardian_greedy_p' and
+       `scm_guardian_destroyed_p'.  changed prototype for `scm_guard'.
+
+2001-01-01  Gary Houston  <ghouston@arglist.com>
+
+       * fports.c (fport_write): bugfix: handle short writes for
+       unbuffered ports too.  optimize the buffered case by minimizing
+       the number of write/flush calls.
+       (write_all): new helper procedure.
+
+2000-12-30  Michael Livshin  <mlivshin@bigfoot.com>
+
+       * guardians.c (guardian_print): for sharing guardians, print that
+       they are sharing.
+       (scm_guard, scm_get_one_zombie): place the critical section
+       barriers more correctly.
+
+       * weaks.c (scm_scan_weak_vectors): move the calculation of the
+       `weak_keys' and `weak_values' flags out of the inner loop.
+
+2000-12-29  Michael Livshin  <mlivshin@bigfoot.com>
+
+       * guardians.c: (greedily_guarded_prop): deleted.
+       (greedily_guarded_whash): new variable.  a doubly-weak hash table
+       used to keep the "greedily guarded" object property.  the previous
+       implementation (via primitive object properties) was incorrect due
+       to its only-the-key-is-weak semantics.
+       (scm_guard, get_one_zombie, scm_init_guardians): use/init
+       `greedily_guarded_whash'.
+
+2000-12-28  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * eval.c (check_map_args), gh_data.c (gh_set_substr,
+       gh_scm2newstr, gh_get_substr, gh_symbol2newstr), print.c
+       (scm_iprin1):  Use scm_remember_upto_here_1 instead of
+       scm_remember.
+
+       * gc.[ch] (scm_remember_upto_here_1, scm_remember_upto_here_2,
+       scm_remember_upto_here):  New functions.
+
+       (scm_remember):  Deprecated.
+
+2000-12-28  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * continuations.c (scm_make_continuation):  Make variable cont
+       volatile to let the compiler know that it won't be clobbered by
+       longjmp.  (It wouldn't be anyway, but for some reason the compiler
+       is not able to see that.)
+
+2000-12-28  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       This patch re-introduces the unused member "properties" of
+       struct scm_subr_entry as requested by Mikael Djurfeldt.
+
+       * procs.h (scm_subr_entry):  Re-introduced member "properties".
+
+       (SCM_SUBR_PROPS):  Un-deprecated.
+
+       * procs.c (scm_make_subr_opt, scm_mark_subr_table):  Struct
+       scm_subr_entry has a member "properties" again.
+
+2000-12-28  Michael Livshin  <mlivshin@bigfoot.com>
+
+       * guardians.c (mark_dependencies_in_tconc): new function.
+       (mark_dependencies): bug fix.  mark the dependencies of the known
+       zombies, too.  duh.
+
+2000-12-24  Michael Livshin  <mlivshin@bigfoot.com>
+
+       * gc.c: (scm_gc_mark_dependencies): use SCM_EQ_P for SCMs, not
+       '=='.  also, return after calling `scm_gc_mark'.
+
+2000-12-24  Michael Livshin  <mlivshin@bigfoot.com>
+
+       * gc.c: (scm_gc_mark_dependencies): new function.  like
+       `scm_gc_mark', but doesn't mark the argument itself.  defined
+       using an arrangement similar to that in eval.c: `scm_gc_mark' and
+       `scm_gc_mark_dependencies' are derived from the same "template"
+       by ugly preprocessor magic.
+
+       * gc.h: added prototype for `scm_gc_mark_dependencies'.
+
+       * init.c (scm_init_guile_1): call the renamed
+       `scm_init_guardians'.
+
+       * guardians.h: changed prototypes for `scm_make_guardian' and
+       `scm_init_guardians'.
+
+       * guardians.c (guardian_t): added new fields `greedy_p' and
+       `listed_p'.
+       (GUARDIAN_P): predicate that says whether its argument is a
+       guardian.
+       (GUARDIAN_GREEDY_P, GUARDIAN_LISTED_P): new predicates.
+       (greedy_guardians, sharing_guardians): new variables.  hold the
+       greedy and sharing live guardian lists, respectively.
+       (first_live_guardian, current_link_field): removed.
+       (greedily_guarded_prop): new variable.  holds the "is greedily
+       guarded" object property.
+       (self_centered_zombies): new variable.  stores guarded objects
+       that are parts of cycles.
+       (add_to_live_list): new function, introduced to decouple marking a
+       guardian and adding it to the live list.
+       (guardian_mark): call `add_to_live_list'.
+       (guardian_print): print whether the guardian is greedy or not.
+       also change "live" and "zombie" to "reachable" and "unreachable"
+       respectively, to be less confusing.
+       (scm_guard): if the guardian is greedy, test whether the object is
+       already greedily marked.  throw an error if so.
+       (scm_get_one_zombie): if the guardian is greedy, remove the
+       "greedily guarded" property from the object.
+       (scm_make_guardian): add a new optional boolean argument which
+       says whether the guardian is greedy or sharing.
+       (guardian_gc_init): init the new live lists.
+       (mark_dependencies): new function.
+       (mark_and_zombify): new function.
+       (guardian_zombify): reworked to support the new guardian
+       semantics.  move some logic to `mark_dependencies' and
+       `mark_and_zombify'.
+       (whine_about_self_centered_zombies): new function.  installed in
+       the `after-gc-hook' to complain about guarded objects which are
+       parts of cycles.
+       (scm_init_guardians): init the new stuff.  renamed from
+       `scm_init_guardian'.
+
+2000-12-23  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * procs.h (scm_subr_entry):  Removed unused struct member
+       "properties".
+
+       (SCM_SUBR_PROPS):  Deprecated.
+
+       * procs.c (scm_make_subr_opt, scm_mark_subr_table):  Struct
+       scm_subr_entry does not have a member "properties" any more.
+
+2000-12-22  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * procs.h (scm_subr_entry):  Removed unused struct member
+       "documentation".
+
+       (SCM_SUBR_DOC):  Deprecated.
+
+       * procs.c (scm_make_subr_opt):  Eliminate use of scm_intern0 in
+       favor of scm_str2symbol.  Similarly, prefer scm_sysintern over
+       scm_sysintern0.
+
+       (scm_make_subr_opt, scm_mark_subr_table):  Struct scm_subr_entry
+       does not have a member "documentation" any more.
+
+2000-12-21  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * eval.c (restore_environment):  Make sure that changes to the
+       current environment will take effect when re-entering the dynamic
+       scope.
+
 2000-12-21  Dirk Herrmann  <D.Herrmann@tu-bs.de>
 
        * goops.h (SCM_PUREGENERICP):  Include the SCM_STRUCTP test.