Revision: lcourtes@laas.fr--2006-libre/guile-core--cvs-head--0--patch-81
[bpt/guile.git] / srfi / ChangeLog
index a54be2f..673a3ce 100644 (file)
@@ -1,3 +1,381 @@
+2007-07-18  Stephen Compall  <s11@member.fsf.org>
+
+       * srfi-37.scm: New file.
+       * Makefile.am: Add it.
+
+2007-07-09  Ludovic Courtès  <ludo@gnu.org>
+
+       * srfi-19.scm (date->julian-day): Take OFFSET into account.
+       Patch by Jon Wilson <j85wilson@fastmail.fm>.
+
+2007-05-09  Ludovic Courtès  <ludo@chbouib.org>
+
+       * srfi-19.scm (priv:current-time-process): Removed shadowing
+       definition that returned a list.  Use the right argument order to
+       `make-time'.  Reported by Scott Shedden.
+       
+2007-02-04  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * srfi/srfi-19.scm (priv:locale-abbr-weekday): Add one to the day
+       number before invoking `locale-day-short'.  Failing to do so
+       resulted in days shifted by one in the result of `date->string',
+       or in the failure of `date->string' when the day is zero.
+       (priv:locale-long-weekday): Likewise.
+
+2007-01-31  Ludovic Courtès  <ludovic.courtes@laas.fr>
+
+       * srfi-19.scm: Use `(ice-9 i18n)'.
+       (priv:locale-abbr-weekday-vector, priv:locale-long-weekday-vector,
+       priv:locale-abbr-month-vector, priv:locale-long-month-vector):
+       Removed.
+       (priv:locale-number-separator, priv:locale-pm, priv:locale-am,
+       priv:locale-abbr-weekday, priv:locale-long-weekday,
+       priv:locale-abbr-month, priv:locale-long-month): Aliases for their
+       respective `(ice-9 i18n)' equivalent.
+       (priv:vector-find): Removed, replaced by...
+       (priv:date-reverse-lookup): New procedure.  Updated callers.
+       (priv:locale-am/pm): Use `priv:locale-pm' and `priv:locale-am' as
+       procedures.
+       (priv:directives): Use `priv:locale-number-separator' as a
+       procedure.
+
+2006-12-02  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-60.c (scm_srfi60_copy_bit): Should be long not int for fixnum
+       bitshift, fixes 64-bit systems setting a bit between 32 and 63.
+       Reported by Aaron M. Ucko, Debian bug 396119.
+
+2006-05-28  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm, srfi-1.c, srfi-1.h (append-reverse, append-reverse!):
+       Rewrite in C.
+
+2006-05-20  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.c (scm_srfi1_assoc): Correction to comparison procedure
+       argument order, SRFI-1 specifies given key is first.
+
+2006-02-06  Marius Vollmer  <mvo@zagadka.de>
+
+       * srfi-1.scm, srfi-60.scm: Updated versions in library name to
+       match GUILE-VERSION.
+
+2006-02-04  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.c (scm_srfi1_delete, scm_srfi1_delete_duplicates): Use a
+       count to protect against nasty code in the equality procedure changing
+       the lists we're working on.  The results don't have to be sensible in
+       that case, just not hang or access non-cells.
+
+       * srfi-60.c (booleans->integer): Avoid newline in macro, it breaks the
+       snarfer.
+
+2005-11-24  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm, srfi-1.c, srfi-1.h (lset-difference!): Rewrite in C.
+
+2005-08-19  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-19.scm (priv:leap-second-table): Add new 2005 leap second.
+
+2005-08-12  Marius Vollmer  <mvo@zagadka.de>
+
+       * srfi-1.c: Use scm_is_null instead of SCM_NULLP.  Thanks to
+       Peter Gavin!
+
+2005-08-01  Marius Vollmer  <mvo@zagadka.de>
+
+       * srfi-1.c (check_map_args): Move check_map_error label and elt
+       variable outside of loop scope so that we do not jump past the
+       initialization of elt.
+
+2005-06-12  Marius Vollmer  <mvo@zagadka.de>
+
+       * srfi-1.c: Do not use INUM macros, they are deprecated.
+
+2005-05-07  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm, srfi-1.c, srfi-1.h (car+cdr, fold, last, list-index,
+       list-tabulate, not-pair, xcons): Rewrite in C.
+
+2005-05-04  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm, srfi-1.c, srfi-1.h (break, break!, drop-right!,
+       drop-while, eighth, fifth, lset-adjoin, ninth, reduce, reduce-right,
+       seventh, sixth, span, span!, take!, take-while, take-while!, tenth):
+       Rewrite in C.
+       
+2005-04-23  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.c (scm_srfi1_count, scm_srfi1_filter_map): Don't modify the
+       rest argument, that belongs to the caller when reached from apply.
+       Use a temp vector like scm_srfi1_for_each.
+
+2005-04-04  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.c, srfi-1.h (scm_srfi1_concatenate, scm_srfi1_concatenate_x):
+       Add code to check argument is a list, scm_append and scm_append_x
+       don't do that on their "rest" list (in a normal build).
+
+2005-04-02  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.c (scm_srfi1_count): Use scm_list_copy to make arg list,
+       instead of an inline loop.  Share final list check between all cases
+       to save some code.
+
+       * srfi-1.c (scm_srfi1_filter_map): Have 2-arg case share finalization
+       code of 1-arg case.
+
+       * srfi-1.scm (alist-cons): Define just as acons, not a call to acons.
+
+       * srfi-1.scm, srfi-1.c, srfi-1.h (alist-copy): Rewrite in C.
+
+       * srfi-1.scm (lset-union): Rewrite to accumulate result by consing in
+       the order specified by the SRFI.
+
+2005-03-29  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * srfi-60.c: Replaced SCM_INUMP with SCM_I_INUMP and SCM_INUM with
+       SCM_I_INUM throughout.
+
+2005-03-26  Marius Vollmer  <mvo@zagadka.de>
+
+       * Makefile.am (srfiinclude_HEADERS): Added srfi-60.h.
+
+2005-03-18  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm, srfi-1.c, srfi-1.h (filter-map): Rewrite in C.
+
+2005-03-16  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm, srfi-1.c, srfi-1.h (drop-right, partition!, remove!,
+       split-at, split-at!, take-right): Rewrite in C.  remove! derived from
+       core filter!.
+
+2005-03-14  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm, srfi-1.c, srfi-1.h (find, find-tail): Rewrite in C.
+
+2005-03-13  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm (lset-union): Call `=' procedure with args in the order
+       specified by the SRFI.
+
+       * srfi-60.scm, srfi-60.c, srfi-60.h: New files.
+       * Makefile.am: Add them.
+
+2005-03-02  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * srfi-1.c: Use scm_is_pair instead of SCM_CONSP; use scm_is_null
+       instead of SCM_NULLP.
+
+2005-02-18  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm (lset-adjoin): Revert change using `list' not `acc', the
+       spec is not quite clear, but reference code uses acc, so do that.
+       
+2005-02-12  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm (reduce, reduce-right): Don't call f with ridentity, use
+       it only if lst is empty, per srfi and intended optimization reduce
+       represents over fold.
+
+2005-02-04  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm (list=): Correction to arguments passed to given elt=,
+       spec is (elt= e[i] e[i+1]) for lists i and i+1, previously the first
+       arg was always from list 0 not list i.
+
+2005-01-29  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm (lset-adjoin): Actually use the given `=' procedure.
+       Test membership only on the given `list', not `acc', as per the spec.
+
+       * srfi-1.c, srfi-1.scm (remove): Rewrite in C, a trivial adaption from
+       scm_filter in the core.
+       * srfi-1.scm (remove!): Use filter!.
+
+2005-01-28  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm (lset=): Correction to pred call arg order, srfi spec is
+       (= e[i] e[i+1]), but had some calls the other way around.
+
+2005-01-24  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.c (scm_srfi1_member): Correction to pred call arg order, srfi
+       spec is (PRED X elem).  Update docstring from manual.
+
+       * srfi-1.scm (lset=): Allow no list arguments, per srfi spec example.
+
+2005-01-18  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm: Remove (ice-9 session) and (ice-9 receive), not used.
+
+2005-01-12  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-39.scm (current-input-port, current-output-port): Parameter
+       replacements for core functions, per SRFI spec.
+       (current-error-port): The same, for consistency.
+
+2005-01-10  Marius Vollmer  <mvo@zagadka.de>
+
+       * srfi-1.c (check_args): Bugfix to change from 2005-01-02: ARGV is
+       the vector to check, not ARGS.
+
+2005-01-02  Marius Vollmer  <mvo@zagadka.de>
+
+       * srfi-1.c: Use new vector elements API or simple vector API, as
+       appropriate.
+       
+2005-01-02  Kevin Ryde  <user42@zip.com.au>
+
+       * Makefile.am (srfi_DATA): Add srfi-39.scm.
+
+2004-12-20  Mikael Djurfeldt  <djurfeldt@nada.kth.se>
+
+       * README: Update, document available SRFIs.
+
+2004-12-06  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm (alist-copy, alist-delete, break, span): Change to
+       tail-recursive forms.
+
+       * srfi-1.scm (alist-delete): Correction to equality proc call argument
+       order, spec is for given KEY param first.
+
+2004-12-05  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-1.scm (filter-map): Change to a tail-recursive form.
+       (append-map, append-map!): Rewrite as simple "concatenate map" forms,
+       for tail recursiveness.
+
+2004-10-26  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * srfi-4.scm, srfi-4.h, srfi-4.c: Moved content into core; only
+       the skeletons remains.
+
+2004-10-22  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * srfi-4.c (print_int64, print_uint64): Removed.
+       (uvec_print): Use scm_intprint for signed elemets and
+       scm_uintprint for unsigned ones.  Do not use print_int64 and
+       print_uint64 since scm_intprint and scm_Uintprint can handle 64
+       bits now.
+
+2004-09-03  Stefan Jahn  <stefan@lkcc.org>
+
+       * srfi-1.c, srfi-1.h: Renamed any 'lst1' into 'list1' because
+       lst1 is a #define on Win32 systems.
+
+2004-08-26  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-31.scm (rec): Add missing `error' to else clause.
+
+2004-08-26  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * Makefile.am: Added appropriate @LIBGUILE_*_MAJOR@ substitutions
+       to the library names.
+       * srfi-1.scm, srfi-4.scm: Use the new library names with
+       load-extension.
+       
+2004-08-25  Marius Vollmer  <mvo@zagadka.de>
+
+       SRFI-13 and SRFI-14 have been moved into the core.
+       
+       * srfi-13.scm, srfi-14.scm: Simply re-export the relevant
+       bindings.
+
+       * srfi-13.h, srfi-13.c, srfi-14.h, srfi-14.c: Removed all real
+       content except for the init functions.
+       
+2004-08-19  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * srfi-13.h, srfi-13.c: (scm_substring_shared): Renamed to
+       scm_substring_sharedS.
+
+       * srfi-14.c, srfi-13.c: Adapted to new internal string and symbol
+       API.
+
+       * srfi-13.scm (substring/shared): Export as replacement since we
+       now have a version in the core.
+
+2004-08-15  Marius Vollmer  <mvo@zagadka.de>
+
+       * srfi-39.scm: New, from Jose A Ortega Ruiz.  Thanks!
+
+2004-08-14  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-13.c (scm_string_any, scm_string_every): Add support for char
+       and charset as predicates, per SRFI-13 spec.
+
+2004-08-12  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * srfi-13.c (MY_VALIDATE_SUBSTRING_SPEC_COPY,
+       MY_VALIDATE_STRING_COPY): Modernized clones of the deprecated
+       validation macros.  Replaced every use.
+
+2004-08-05  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-13.c (scm_string_any, scm_string_every): Enhance docstrings as
+       per doc/ref/srfi-modules.texi.
+
+2004-08-02  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * srfi-4.c: Replaced scm_num2* and scm_*2num with scm_to_* and
+       scm_from_*, respectively.
+       (print_int64, print_uint64): Rewritten by just calling scm_iprin1
+       on a SCM.
+
+2004-08-02  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-13.c (scm_string_every): Correction to initial "res" value,
+       return should be #t for an empty string.  Reported by Andreas Vögele.
+
+2004-07-10  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * srfi-13.c, srfi-14.c, srfi-4.c: Changed all uses of
+       SCM_VALIDATE_INUM, SCM_VALIDATE_INUM_COPY, SCM_VALIDATE_BIGINT,
+       SCM_VALIDATE_INUM_MIN, SCM_VALIDATE_INUM_MIN_COPY,
+       SCM_VALIDATE_INUM_MIN_DEF_COPY,SCM_VALIDATE_INUM_DEF,
+       SCM_VALIDATE_INUM_DEF_COPY, SCM_VALIDATE_INUM_RANGE,
+       SCM_VALIDATE_INUM_RANGE_COPY to scm_to_size_t or similar.
+
+2004-07-06  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
+
+       * srfi-1.c, srfi-13.c, srfi-14.c, srfi-4.c: Replaced all uses of
+       deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL, SCM_NEGATE_BOOL, and
+       SCM_BOOLP with scm_is_false, scm_is_true, scm_from_bool, and
+       scm_is_bool, respectively.
+
+2004-07-05  Kevin Ryde  <user42@zip.com.au>
+
+       * srfi-4.c (uvec_sizes): Add "const".
+
+       * srfi-31.scm: Correction to heading comment.
+
+2004-06-20  Rob Browning  <rlb@defaultvalue.org>
+
+       * srfi-4.c: fix #ifdef checks for 64-bit types; should be #if.
+       Add separate symmetric test for SCM_HAVE_T_UINT64 in one case.
+       (uvec_print): rewrite using a union to make more
+       compact, and use static print_uint64 and print_int64 to print
+       64-bit elements.
+       (print_int64): new static function (temporary fix).
+       (print_uint64): new static function (temporary fix).
+
+       * Makefile.am (srfi_DATA): add srfi-31.scm.
+
+       * srfi-31.scm: new file.
+
+2004-04-24  Dirk Herrmann  <dirk@dirk-herrmanns-seiten.de>
+
+       * srfi-17.scm (setter, car, cdr etc.): When within one define
+       expression a new variable in the local module is defined in terms
+       of an equally named variable from some other module, use @ to
+       refer to the variable in the other module.  This is necessary due
+       to section 5.2.1 of R5RS: In a define expression first the new
+       binding is created and then the expression is evaluated.
+
 2004-04-24  Kevin Ryde  <user42@zip.com.au>
 
        * srfi-11.scm (let-values): Use make-symbol rather than gensym, for
 
        * srfi-14.h (SCM_CHARSET_GET): Cast IDX to unsigned char so that
        it works for 8-bit characters.  Thanks to Matthias Koeppe!  No,
-       make that "Köppe".
+       make that "Köppe".
 
 2002-04-24  Marius Vollmer  <mvo@zagadka.ping.de>
 
 2002-02-22  Neil Jerram  <neil@ossau.uklinux.net>
 
        * srfi-19.scm (priv:year-day): Index into priv:month-assoc using
-       month number, not day number.  (Thanks to Sébastien de Menten de
+       month number, not day number.  (Thanks to Sébastien de Menten de
        Horne for reporting the problem.)
 
 2002-02-11  Marius Vollmer  <marius.vollmer@uni-dortmund.de>
 2001-05-28  Michael Livshin  <mlivshin@bigfoot.com>
 
        * srfi-19.scm: removed a stray open parenthesis. (thanks to
-       Matthias Köppe for the report).
+       Matthias Köppe for the report).
 
 2001-05-23  Rob Browning  <rlb@cs.utexas.edu>
 
 
        * Started guile-srfi-13 package.  Files are copied from the
        guile-gdbm and slightly modified.
+
+;; Local Variables:
+;; coding: utf-8
+;; End: