* srcprop.[ch] (scm_c_source_property_breakpoint_p): New
[bpt/guile.git] / libguile / ChangeLog
index 66d68ae..3623a11 100644 (file)
@@ -1,3 +1,205 @@
+2002-03-26  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * srcprop.[ch] (scm_c_source_property_breakpoint_p):  New
+       function, replaces macro SRCBRKP.
+
+       (SRCBRKP):  Deprecated.
+
+       * eval.c (SCM_CEVAL): Replaced use of SRCBRKP by call to
+       scm_c_source_property_breakpoint_p.  Removed some use of arg1 as
+       temporary variable.
+
+2002-03-25  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * debug.h, eval.c: Deprecated CHECK_ENTRY, CHECK_APPLY and
+       CHECK_EXIT and removed all references to them.
+
+2002-03-24  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * debug.h (scm_ready_p, debug_print): Removed declarations.
+
+       * eval.c (EVALCELLCAR): Removed.
+
+       (SCM_CEVAL): Eliminated label loopnoap.  Removed side-effecting
+       operation from condition.
+
+2002-03-24  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * guile-snarf.in: When the output filename is "-", write to
+       stdout.  When no "-o" option is given, use "-" as the output
+       filename (i.e., stdout).  Only 'clean' the inputfile or remove the
+       output file on error when the output file name is not "-".  Define
+       the preprocessor macro SCM_MAGIC_SNARFER while snarfing.
+
+       * Makefile.am (.c.x): Pass "-o $@" to guile-snarf.
+
+2002-03-23  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * eval.c (SCM_CEVAL, SCM_APPLY): Eliminated labels wrongnumargs
+       and the corresponding goto statements.  Removed redundant code.
+
+2002-03-21  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * eval.c (SCM_CEVAL): Minimized scope of variable arg2.
+       Eliminated redundant SCM_IMP check.  Exlined call to EVALCAR.
+       Re-enabled handing of rpsubrs and asubrs.
+
+2002-03-20  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * eval.c (SIDEVAL): Removed.
+
+       (SCM_CEVAL): Minimized scope of variable orig_sym.  Eliminated
+       goto-labels cdrxnoap, cdrxbegin and nontoplevel_cdrxnoap.  Changed
+       argument checking order for set! to locals, variables and symbols.
+       Improvements to control structure.  Removed some uses of arg1 and
+       arg2 as temporary variables.
+
+2002-03-15  Thien-Thi Nguyen  <ttn@giblet.glug.org>
+
+       * guile-snarf.in: Remove "--compat=1.4" support.
+       Add "-d" and "-D" support.
+
+       (deprecated_list): New var.
+       (compat_mode_clean_xxx): Delete.
+       (grep_deprecated): New func.
+       ("main"): If "-d" or "-D", call `grep_deprecated'.
+
+2002-03-15  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * hooks.h: Change scm_t_c_hookype_t everywhere to
+       scm_t_c_hook_type.
+
+       Docstring fixes:
+
+       * strings.c (scm_string_p): Change unnecessary `iff' to `if'.
+
+       * ports.c (scm_sys_make_void_port): Use `@file'.
+
+       * numbers.c (scm_number_p, scm_real_p): Use `otherwise' rather
+       than `else'.
+
+       * macros.c (scm_makmacro): Don't say that the form replaces its
+       source, because it doesn't.
+       (scm_makmmacro): Clarify difference between this and scm_makmacro.
+
+       * backtrace.c (scm_display_error), filesys.c (scm_umask,
+       scm_select, scm_basename), goops.c (scm_method_generic_function),
+       numbers.c (scm_integer_length), posix.c (scm_getgroups, scm_execl,
+       scm_setlocale, scm_flock), socket.c (scm_shutdown): Correct
+       spelling mistakes.
+
+       * debug.c (scm_debug_options), eval.c
+       (scm_eval_options_interface), read.c (scm_read_options): Change
+       incorrect @var in docstring to @code.
+
+2002-03-14  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * unif.c (singp): Use SCM_REALP instead of SCM_SLOPPY_REALP.
+
+       * snarf.h (SCM_SNARF_INIT): Add "^:^" after code so that
+       guile-snarf can remove trailing non-init code.
+
+       * guile-snarf.in (modern_snarf): Remove everything following and
+       including "^:^" from the output.
+
+2002-03-14  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * eval.c (SCM_CEVAL), srcprop.h (SRCBRKP): Eliminated union 't'.
+
+       * eval.c (SCM_CEVAL): Exlined call to EVALCAR.
+
+2002-03-13  Thien-Thi Nguyen  <ttn@giblet.glug.org>
+
+       * guile-snarf.in: Update copyright.
+       Rewrite to internalize error handling.
+       Add "--compat=1.4" handling.
+       Add commentary.
+
+       * Makefile.am (libpath.h): Use @top_srcdir_absolute@.
+       (snarfcppopts): New var.
+       (.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
+       (.c.doc): Use $(snarfcppopts).
+
+       * alist.c, arbiters.c, async.c, backtrace.c, boolean.c, chars.c,
+       continuations.c, debug-malloc.c, debug.c, deprecation.c, dynl.c,
+       dynwind.c, environments.c, eq.c, error.c, eval.c, evalext.c,
+       extensions.c, feature.c, filesys.c, fluids.c, fports.c, gc.c,
+       goops.c, gsubr.c, guardians.c, hash.c, hashtab.c, hooks.c,
+       ioext.c, iselect.c, keywords.c, lang.c, list.c, load.c, macros.c,
+       modules.c, net_db.c, numbers.c, objects.c, objprop.c, options.c,
+       pairs.c, ports.c, posix.c, print.c, procprop.c, procs.c,
+       properties.c, ramap.c, random.c, rdelim.c, read.c, regex-posix.c,
+       root.c, rw.c, scmsigs.c, script.c, simpos.c, socket.c, sort.c,
+       srcprop.c, stackchk.c, stacks.c, stime.c, strings.c, strop.c,
+       strorder.c, strports.c, struct.c, symbols.c, threads.c, throw.c,
+       unif.c, values.c, variable.c, vectors.c, version.c, vports.c,
+       weaks.c: Retire inclusion guard macro SCM_MAGIC_SNARFER.
+
+2002-03-13  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * eval.c (SCM_CEVAL): Got rid of the last reference to t.lloc.
+       The next step will be to remove the union 't' and simplify the
+       code of SCM_CEVAL that way.
+
+2002-03-12  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * iselect.c (collisionp, gnfds, greadfds, gwritefds, gexceptfds,
+       rreadfds, rwritefds, rexceptfds): Made static.
+
+       * gc.c (terminating), fports.c (terminating): Renamed
+       scm_i_terminating.
+
+2002-03-11  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * numbers.c (scm_divide): Adapt code from libstdc++/f2c to void
+       potential overflow problems.  Thanks to John W Eaton!
+
+       * strop.c (string_capitalize_x): Treat characters as unsigned so
+       that 8-bit chars work.  Thanks to David Pirotte!
+
+2002-03-10  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * eval.c (SCM_CEVAL): Cleaned up the handling of 'slot-ref',
+       'slot-set!' and 'nil-cond'.  Removed some uses of t.arg1, arg2 and
+       proc as temporary variables.  Introduced temporary variables with
+       hopefully descriptive names for clarification.  Replaced SCM_N?IMP
+       by a more explicit predicate in some places.
+
+2002-03-09  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * eval.c (SCM_CEVAL): Cleaned up the handling of #@dispatch.
+       Added lots of comments regarding the implementation of #@dispatch.
+       Changed intra-procedure communication to use t.arg1 instead of
+       arg2.  Removed some uses of t.arg1, t.lloc and proc as temporary
+       variables.  Introduced temporary variables with hopefully
+       descriptive names for clarification.  Replaced SCM_N?IMP by a more
+       explicit predicate in some places.  Use SCM_INSTANCE_HASH instead
+       of computing the expression explicitly.  Eliminate now unused
+       label nontoplevel_cdrxbegin.
+
+       * goops.h (SCM_INSTANCE_HASH): New macro.
+
+       * objects.h (SCM_CMETHOD_FORMALS, SCM_CMETHOD_BODY): New macros.
+
+2002-03-08  Thien-Thi Nguyen  <ttn@giblet.glug.org>
+
+       * Makefile.am (bin_SCRIPTS): Revive this decl, w/ initial element
+       "guile-snarf" moved back from `noinst_SCRIPTS'.
+
+2002-03-08  Neil Jerram  <neil@ossau.uklinux.net>
+
+       * srcprop.c (scm_set_source_property_x): If SRCPROPS obj already
+       exists when adding a source property other than those that are
+       handled explicitly, add the new property to the SRCPROPS obj's
+       plist.
+
+       * debug.h (SCM_MAX_FRAME_SIZE): Remove incorrect comment about use
+       of SCM_MAX_FRAME_SIZE as a bit mask; it isn't used like this.
+
+       * eval.c (SCM_CEVAL): Don't store scm_debug_eframe_size in
+       debug.status.  It isn't needed, and it can overflow the bits
+       reserved for it (which may lead to a segv or a GC abort).
+
 2002-03-02  Dirk Herrmann  <D.Herrmann@tu-bs.de>
 
        * eval.c (SCM_CEVAL): Cleaned up the handling of 'apply'.  Removed
 
        * inet_aton.c, fports.c: Commented the inclusion of <winsock2.h>.
 
-       * deprecation.c (vsnprintf): Define to `_vsnprintf' for 
+       * deprecation.c (vsnprintf): Define to `_vsnprintf' for
        Windows (MinGW).
 
 2002-02-26  Thien-Thi Nguyen  <ttn@giblet.glug.org>