* Eliminate some further applications of SCM_C[AD]R to non pair cells.
[bpt/guile.git] / libguile / ChangeLog
index 48474f2..8da43e2 100644 (file)
@@ -1,3 +1,106 @@
+2001-04-19  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       This patch eliminates some further applications of SCM_C[AD]R to
+       non pair cells.
+
+       * gc.h (SCM_SETAND_CAR, SCM_SETOR_CAR):  Deprecated.  These have
+       never been applied to real pairs.
+
+       * srcprop.h (SCM_SOURCE_PROPERTY_FLAG_BREAK):  Added.
+
+       (SRCPROPBRK):  Use SCM_SOURCE_PROPERTY_FLAG_BREAK.
+
+       * unif.h (SCM_ARRAY_CONTIGUOUS, SCM_ARRAY_FLAG_CONTIGUOUS,
+       SCM_ARRAY_CONTP):  Renamed SCM_ARRAY_CONTIGUOUS to
+       SCM_ARRAY_FLAG_CONTIGUOUS and use it.
+
+       (SCM_SET_ARRAY_CONTIGUOUS_FLAG, SCM_CLR_ARRAY_CONTIGUOUS_FLAG):
+       Added.
+
+       * srcprop.h (SRCPROPH), unif.h (UNIFH):  Renamed to
+       SCM_SOURCE_PROPERTIES_H and SCM_UNIFORM_VECTORS_H, respectively.
+
+       * srcprop.h (SETSRCPROPBRK, CLEARSRCPROPBRK), unif.c
+       (scm_dimensions_to_uniform_array, scm_ra_set_contp):  Don't use
+       SCM_SET{AND,OR}_CAR.
+
+2001-04-17  Gary Houston  <ghouston@arglist.com>
+
+       * some initial support for IPv6:
+       
+       * socket.c (scm_fill_sockaddr): improve the argument validation.
+       don't allocate memory until all args are checked.  instead of
+       unconditional memset of soka, try setting sin_len to 0 if
+       SIN_LEN is defined.  add support for AF_INET6.  define FUNC_NAME.
+       (scm_socket, scm_connect): extend docstrings for IPv6.
+       (scm_init_socket): intern AF_INET6 and PF_INET6.
+
+2001-04-17  Niibe Yutaka  <gniibe@m17n.org>
+
+       * srcprop.c (scm_make_srcprops): Added SCM_ALLOW_INTS which
+       matches SCM_DEFER_INTS at the beginning of the function.
+
+       * mallocs.c (scm_malloc_obj): Remove un-matched SCM_ALLOW_INTS.
+
+       * gc.c (scm_igc): Unconditionally call
+       SCM_CRITICAL_SECTION_START/END.
+
+       * fluids.c (next_fluid_num): Unconditionally call
+       SCM_CRITICAL_SECTION_START/END.
+       (s_scm_make_fluid): Remove un-matched SCM_DEFER_INTS.
+
+       * coop-defs.h (SCM_THREAD_DEFER, SCM_THREAD_ALLOW,
+       SCM_THREAD_REDEFER, SCM_THREAD_REALLOW_1, SCM_THREAD_REALLOW_2):
+       Removed.
+
+       * __scm.h (SCM_CRITICAL_SECTION_START, SCM_CRITICAL_SECTION_END):
+       Defined as nothing for the case of !defined(USE_THREADS).
+       (SCM_THREAD_DEFER, SCM_THREAD_ALLOW, SCM_THREAD_REDEFER):
+       Removed.
+       (<stdio.h>): Include when (SCM_DEBUG_INTERRUPTS == 1).
+       (SCM_CHECK_NOT_DISABLED, SCM_CHECK_NOT_ENABLED): Print FILE and
+       LINE.
+       (SCM_DEFER_INTS, SCM_ALLOW_INTS_ONLY, SCM_ALLOW_INTS,
+       SCM_REDEFER_INTS, SCM_REALLOW_INTS): Don't use
+       SCM_THREAD_DEFER/SCM_THREAD_ALLOW.  Instead, use
+       SCM_CRITICAL_SECTION_START/END.
+       (SCM_REALLOW_INTS: Bug fix.  Don't call
+       SCM_THREAD_SWITCHING_CODE.
+       (SCM_TICK): Don't use SCM_DEFER_INTS/SCM_ALLOW_INTS.  Instead, use
+       SCM_THREAD_SWITCHING_CODE directly.
+       (SCM_ENTER_A_SECTION): Unconditionally use
+       SCM_CRITICAL_SECTION_START/END. (was:
+       SCM_DEFER_INTS/SCM_ALLOW_INTS when SCM_POSIX_THREADS defined).
+
+2001-04-17  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * __scm.h (SCM_CAREFUL_INTS, SCM_DEBUG_INTERRUPTS):  Replaced the
+       macro SCM_CAREFUL_INTS by the macro SCM_DEBUG_INTERRUPTS and
+       allowed to explicitly set this macro via the CFLAGS variable
+       during make.
+
+       * fluids.c (next_fluid_num), gc.c (scm_igc), coop-defs.h
+       (SCM_THREAD_CRITICAL_SECTION_START,
+       SCM_THREAD_CRITICAL_SECTION_END):  Renamed
+       SCM_THREAD_CRITICAL_SECTION_START/END to
+       SCM_CRITICAL_SECTION_START/END.
+
+2001-04-11  Keisuke Nishida  <kxn30@po.cwru.edu>
+
+       * debug-malloc.c (grow, scm_debug_malloc_prehistory): Use memset
+       instead of bzero.
+       
+       * coop.c, iselect.c (FD_ZERO_N): Unconditionally use memset.
+       (MISSING_BZERO_DECL): Remove the declaration. 
+
+       Thanks to NIIBE Yutaka.
+
+2001-04-10  Mikael Djurfeldt  <mdj@linnaeus.mit.edu>
+
+       * init.c, goops.c, goops.h: Reverted change of 2001-03-29.  (The
+       goops module should be registered in order to work for an
+       application which uses libguile statically linked.)
+
 2001-04-10  Dirk Herrmann  <D.Herrmann@tu-bs.de>
 
        * numbers.[ch] (scm_num2long, scm_num2long_long,