*** empty log message ***
[bpt/guile.git] / libguile / ChangeLog
index 3c432ba..8c897f4 100644 (file)
@@ -1,3 +1,74 @@
+2004-04-28  Kevin Ryde  <user42@zip.com.au>
+
+       * backtrace.c (display_frame_expr), numbers.c (XDIGIT2UINT,
+       mem2uinteger, mem2decimal_from_point, mem2ureal): Cast char to int for
+       ctype.h tests, to avoid warnings from gcc on HP-UX about char as array
+       subscript.  Reported by Andreas Vögele.
+       Also cast through unsigned char to avoid passing negatives to those
+       macros if input contains 8-bit values.
+
+       * num2integral.i.c (NUM2INTEGRAL): Under non-BIGMPZ_FITSP case,
+       corrections to range check for signed numbers.  Remove
+       scm_remember_upto_here_1(num) from these checks, since num is used
+       subsequently anyway.
+
+       * num2integral.i.c (NUM2INTEGRAL): Test BIGMPZ_FITSP with "!= 0" to
+       avoid warning from gcc 3.4.  Reported by Hyperdivision.
+       
+       * numbers.c (scm_bit_extract): Use min instead of MIN.
+       (MIN): Remove, this conflicts with similar macro defined by limits.h
+       on HP-UX.  Reported by Andreas Vögele.
+
+       * stime.c (_POSIX_C_SOURCE): Define to 199506L to get gmtime_r (in
+       particular on HP-UX).  Reported by Andreas Vögele.
+
+       * threads.c (scm_threads_mark_stacks): Correction sizet -> size_t.
+       Reported by Andreas Vögele.
+
+       * threads-plugin.h (SCM_MUTEX_MAXSIZE): Increase to 25*sizeof(long),
+       for the benefit of hpux11 where pthread_mutex_t is 88 bytes.  Reported
+       by Andreas Vögele.
+
+2004-04-22  Dirk Herrmann  <dirk@dirk-herrmanns-seiten.de>
+
+       * eval.c (s_macro_keyword): New static identifier.
+
+       (scm_m_define): Change order to first create binding and
+       evaluating the expression afterwards.
+
+       (scm_m_set_x): Memoize complete set! expression.  Only leave
+       symbols if no binding exists at memoization time.  Throw error if
+       assigning to a syntactic keyword.
+
+       (lazy_memoize_variable): New function.
+
+       (CEVAL): When execution set!, perform lazy memoization if
+       unmemoized symbol is detected.
+
+       * modules.c (module_variable): Return variables with unbound
+       value.
+
+       * tags.h: Fix comment.
+
+2004-04-25  Kevin Ryde  <user42@zip.com.au>
+
+       * chars.c (scm_char_upcase, scm_char_downcase, scm_c_upcase,
+       scm_c_downcase): Use ctype.h toupper and tolower.  This will be useful
+       in 8-bit locales, and ensures consistency with char-upper-case? and
+       char-lower-case? which already use ctype.h.
+       (scm_c_upcase_table, scm_c_downcase_table, scm_lowers, scm_uppers):
+       Remove.
+       * chars.c, chars.h, init.c (scm_tables_prehistory): Remove.
+
+       * socket.c (VALIDATE_INET6): Correction to bignum_in_ipv6_range_p
+       call.  Reported by Hyperdivision.
+
+       * threads.c (scm_yield): Correction, actually call scm_thread_yield.
+       Reported by Hyperdivision.
+
+       * unif.c (s_scm_make_uve): Remove unused local variable.  Reported by
+       Hyperdivision.
+
 2004-04-22  Dirk Herrmann  <dirk@dirk-herrmanns-seiten.de>
 
        Hide the implementation of ilocs and isyms in eval.c.
 
        (copy_tree): Corrected typo in comment.
 
->>>>>>> 1.2042
 2004-03-28  Han-Wen Nienhuys   <hanwen@xs4all.nl>
 
        * eval.c (s_scm_copy_tree): idem.