* Deprecated scm_makfromstr and added scm_mem2string as a replacement.
[bpt/guile.git] / srfi / ChangeLog
index 40afe47..05c1c19 100644 (file)
@@ -1,3 +1,176 @@
+2001-06-26  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * srfi-13.c (scm_string_copyS, scm_string_take, scm_string_drop,
+       scm_string_take_right, scm_string_drop_right, scm_string_trim,
+       scm_string_trim_right, scm_string_trim_both, scm_string_tokenize):
+       Use scm_mem2string instead of scm_makfromstr.
+
+       (scm_reverse_list_to_string, string_titlecase_x):  Prefer
+       !SCM_<pred> over SCM_N<pred>.
+
+2001-06-25  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * srfi-8.scm: Use `re-export-syntax' to correctly re-export
+       `receive'.
+
+2001-06-18  Matthias Koeppe  <mkoeppe@mail.math.uni-magdeburg.de>
+
+        The SRFI-19 implementation was completely broken.  Already the
+       reference implementation did not handle DST and time zones
+       properly and relied on non-R5RS-isms like passing reals to
+       `quotient'.  For Guile, some additional fixes were needed because
+       of the incomplete numeric tower implementation.  See also
+       srfi-19.test. 
+       
+       * srfi-19.scm (date-zone-offset): Fixed typo in export clause.
+       (add-duration): Renamed from priv:add-duration. 
+       (priv:time-normalize!): Handle fractional nanoseconds; remove
+       duplicate definition.
+       (priv:current-time-tai): Fixed typo.
+       (time=?, time<=?): Fixed typos.
+       (time-tai->time-utc, time-utc->time-tai,
+       time-utc->time-monotonic): Use make-time-unnormalized instead of
+       make-time when uninitialized time fields are used.
+       (set-date-nanosecond!, set-date-second!, set-date-minute!,
+       set-date-hour!, set-date-day!, set-date-month!, set-date-year!,
+       set-date-zone-offset!): Define.
+       (priv:local-tz-offset): Take an extra argument in order to handle
+       DST effects.
+       (time-utc->date, time-tai->date, time-monotonic->date): Handle the
+       changed signature of priv:local-tz-offset. Don't pass non-integer
+       arguments to quotient (non-R5RS, not supported by Guile). 
+       (date->time-utc): Ensure that seconds in a date structure are
+       always exact integers.  Handle DST properly.
+       (current-date, julian-day->date, modified-julian-day->date):
+       Handle the changed signature of priv:local-tz-offset.  
+       (julian-day->time-utc): Reverted earlier inexact->exact hack;
+       make-time now handles inexact arguments.
+       (priv:locale-print-time-zone): At least print the numerical time
+       zone. 
+       (priv:integer-reader): Fixed named let iteration.
+       (priv:read-directives): Use set-date-month! instead of
+       priv:set-date-month! etc.
+       (string->date): Handle DST properly.
+
+2001-06-14  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * srfi-13.scm: Prevent `export' from re-exporting core bindings.
+
+2001-06-07  Dirk Herrmann  <D.Herrmann@tu-bs.de>
+
+       * srfi-14.c (charset_print): Mark unused parameters with
+       SCM_UNUSED.
+
+2001-06-07  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
+       (delete-duplicates): Now the first occurrence of an element is
+       retained, as required.
+       (member, assoc): Fixed wrong order of equality predicate
+       application.
+
+2001-06-06  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * README: Update.
+
+       * srfi-1.scm: New file.
+
+2001-06-04  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       Added exception notice to all files.
+
+2001-05-31  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
+       shared library.
+
+2001-05-31  Michael Livshin  <mlivshin@bigfoot.com>
+
+       * Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
+       case.
+       (CLEANFILES): added *.x (and removed from DISTCLEANFILES)
+
+2001-05-28  Michael Livshin  <mlivshin@bigfoot.com>
+
+       * srfi-19.scm: removed a stray open parenthesis. (thanks to
+       Matthias Köppe for the report).
+
+2001-05-23  Rob Browning  <rlb@cs.utexas.edu>
+
+       * srfi-19.scm (:optional): renamed to optional to avoid reader
+       keywords conflict.  Time passes... Removed :optional altogether
+       and just handle optional args directly.  Thanks to Matthias Koeppe
+       for the report of this and the two bits below.
+       (priv:decode-julian-day-number): add inexact->exact for truncate
+       result.
+       (time-utc->date): add inexact->exact and floor so quotient will
+       work.
+
+2001-05-22  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * README: Update, document available SRFIs.
+
+2001-05-21  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * srfi-19.scm, srfi-17.scm, srfi-16.scm, srfi-14.scm, srfi-13.scm,
+       srfi-11.scm, srfi-10.scm, srfi-9.scm, srfi-8.scm, srfi-6.scm,
+       srfi-2.scm: Use `cond-expand-provide' for providing features to
+       `cond-expand'.
+
+2001-05-20  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       * srfi-14.c (scm_c_init_srfi_14): Added "int" to declaration of
+       `initialized'.
+
+2001-05-19  Marius Vollmer  <mvo@zagadka.ping.de>
+
+       Avoid using module operations from C.
+       
+       * srfi-13.c (scm_init_srfi_13_14): Removed.
+       * srfi-14.h, srfi-14.c (scm_c_init_srfi_14): New.  Contains
+       initializations needed by C clients of srfi-14.
+       (scm_init_srfi_13, scm_init_srfi_14): Call it.
+       * srfi-13.scm: Call "scm_init_srfi_13" instead of
+       "scm_init_srfi_13_14".
+       * srfi-14.scm: Call "scm_init_srfi_14" instead of
+       "scm_init_srfi_13_14".
+
+2001-05-16  Rob Browning  <rlb@cs.utexas.edu>
+
+       * srfi-19.scm (priv:integer-reader-exact): minor cleanups.
+
+2001-05-14  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * Makefile.am (srfi_DATA): Added srfi-16.scm.
+
+       * srfi-16.scm: New file.
+
+2001-05-10  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * srfi-13.c (scm_string_delete): Logic was inversed for charset.
+       Fixed.
+
+2001-05-08  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * srfi-13.c (scm_string_copyS): Fixed nasty bug.
+
+2001-05-05  Rob Browning  <rlb@cs.utexas.edu>
+
+       * Makefile.am (srfi_DATA): added srfi-19.scm.
+
+       * srfi-19.scm: New file - time/date SRFI.  Thanks to Will
+       Fitzgerald.
+
+2001-05-02  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
+
+       * srfi-14.c, srfi-13.c: Added @bullet to various @itemize lists.
+
+       * srfi-10.scm: Typo fix.
+
+2001-05-02  Rob Browning  <rlb@cs.utexas.edu>
+
+       * srfi-11.scm (let-values): fix (a b c . d) case.  Thanks Martin.
+
 2001-05-02  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>
 
        * Makefile.am (srfi_DATA): Added srfi-10.scm and srfi-17.scm.