Estimate parameters. Moved some code to re-usable functions.
[pspp-builds.git] / src / libpspp / ChangeLog
index ecdad8745e474412efa01b95103c1b1a195f46f5..229b4f93c2e62d2ab15b4a941921c245ce22ed83 100644 (file)
@@ -1,3 +1,311 @@
+2008-05-15  Ben Pfaff  <blp@gnu.org>
+
+       Patch #6512.
+
+       * hash.c (hsh_hash_int): Use gsl_isnan instead of isnan, as a
+       stopgap measure for portability until appropriate gnulib modules
+       are available.
+
+       * misc.h (macro isinf): Remove implementations of isinf, isnan,
+       and finite, because they were not effective and we are now using
+       the equivalent GSL functions.
+
+2008-03-04  Ben Pfaff  <blp@gnu.org>
+
+       Patch #6427.  Reviewed by John Darrington.
+
+       * automake.mk: Remove moved files.
+
+       * syntax-gen.c: Moved to src/ui (and rewritten).
+
+       * syntax-gen.h: Ditto.
+
+2008-03-04  Ben Pfaff  <blp@gnu.org>
+
+       Patch #6441.  Reviewed by John Darrington.
+
+       * str.c (ss_match_char_in): New function.
+
+2008-02-18  Ben Pfaff  <blp@gnu.org>
+
+       Patch #6426.  Thanks to John Darrington for review.
+
+       * str.c (ds_read_line): Add argument to limit the length of the
+       line to be read.  Update all callers.
+
+2008-02-01  Ben Pfaff  <blp@gnu.org>
+
+       Patch #6386.  Thanks to John Darrington for review.
+
+       * str.c (str_format_26adic): New function.
+
+2007-12-24  John Darrington <john@darrington.wattle.id.au>
+
+        * taint.c (taint_destroy): Return true if pointer is null.
+
+2007-11-25  Ben Pfaff  <blp@gnu.org>
+
+       * float-format.c (assemble_number): Only store 32 bits for Z short
+       format.  Partial fix for bug #21590.
+
+2007-11-08  Ben Pfaff  <blp@gnu.org>
+
+       * str.c (ds_read_stream): Change return value semantics to be more
+       useful.  Update all users.
+
+2007-11-03 John Darrington <john@darrington.wattle.id.au>
+
+       * i18n.c i18n.h: Added convertor from UTF8 to system.
+       This is needed for reading gnumeric files (and possibly others).
+
+2007-10-11  Ben Pfaff  <blp@gnu.org>
+
+       * xalloc.h: Removed.  Changed all users to include "xalloc.h" from
+       gnulib instead.
+
+       * xalloc.c: Removed.
+
+2007-10-11  Ben Pfaff  <blp@gnu.org>
+
+       * alloc.h (local_alloc): Removed.  Changed all users to use
+       xmalloca instead.
+       (local_free): Removed.  Changed all users to use freea instead.
+
+2007-10-11  Ben Pfaff  <blp@gnu.org>
+
+       * float-format.c (float_get_lowest): New function.
+       
+       * magic.c: Removed.
+
+       * magic.h: Removed.  Changed all references to NOT_INT,
+       NOT_DOUBLE, and NOT_LONG to use other constants.  Changed
+       references to second_lowest_value to call float_get_lowest.
+
+2007-10-10  Ben Pfaff  <blp@gnu.org>
+
+       We assume IEEE-754 now.
+
+       * float-format.h (enum float_format): Don't check for
+       FPREP_IEEE754 macro any longer.
+
+       * magic.h: Ditto.
+
+2007-09-16  Ben Pfaff  <blp@gnu.org>
+
+       * copyleft.c: Add trailing new-lines to lack-of-warranty
+       statement.
+
+2007-09-05 John Darrington <john@darrington.wattle.id.au>
+
+       * getl.c: Add extra members to struct getl_source, to maintain the
+       error mode and the syntax_mode. 
+
+2007-07-25  Ben Pfaff  <blp@gnu.org>
+
+       * getl.c (getl_append_source): Add source to *end* of list.
+       Otherwise the list ends up in reverse order.
+
+       * automake.mk (src/libpspp/version.c): Use $HOME instead of ~ in
+       paths.  We don't interpolate ~.
+
+2007-07-22  Ben Pfaff  <blp@gnu.org>
+
+       * str.h: Include xstrndup.h also.
+
+       * float-format.c (float_get_double): New function.
+
+2007-07-06  Ben Pfaff  <blp@gnu.org>
+
+       * copyleft.c (legal): Update startup notice to use format
+       recommended by latest GNU coding standards.
+
+2007-06-06  Ben Pfaff  <blp@gnu.org>
+
+       * array.c (binary_search): Fix assertion.
+
+2007-06-06  Ben Pfaff  <blp@gnu.org>
+
+       Add error propagation layer.  Patch #5916, slightly revised.
+
+       * automake.mk: Add new files.
+       
+       * taint.c: New file.
+
+       * taint.h: New file.
+
+2007-06-03  Ben Pfaff  <blp@gnu.org>
+
+       Add ability for reverse iteration to tower code.
+       
+       * tower.c (tower_last): New function.
+       (tower_prev): New function.
+       (abt_to_tower_node): New function.
+       (first_node): Use abt_to_tower_node.
+       (last_node): New function.
+       (next_ndoe): Use abt_to_tower_node.
+       (prev_node): New function.
+
+2007-06-03  Ben Pfaff  <blp@gnu.org>
+
+       * tower.c: Cache repeated lookups of a single tower element.  This
+       turns such lookups into O(1) operations without harming the big-O
+       of other operations.
+
+       * tower.h (struct tower): Add members for caching.
+
+       * range-set.c (range_set_clone): New function.
+
+       * array.c (insert_range): New function.
+       (insert_element): New function.
+       (move_range): New function.
+
+2007-04-25  Ben Pfaff  <blp@gnu.org>
+
+       * model-checker.c: Don't use type sighandler_t, which is a GNU
+       extension.  Reported by "Daniel E WILLIAMS"
+       <Daniel.E.Williams@state.or.us>.
+
+2007-04-25 John Darrington <john@darrington.wattle.id.au>
+
+       * i18n.c: Fixed bug converting long strings
+
+2007-04-22  Ben Pfaff  <blp@gnu.org>
+
+       Patch #5884.
+       
+       * ll.h (ll_for_each_reverse): New macro.
+       (ll_for_each_reverse_continue): New macro.
+       (ll_for_each_reverse_safe): New macro.
+       (ll_for_each_safe_reverse_continue): New macro.
+       (ll_for_each_reverse_preremove): New macro.
+       (ll_for_each_reverse_postremove): New macro.
+       (ll_remove__): Removed (dead code).
+       (ll_tail__): New macro.
+       (ll_prev__): New macro.
+
+2007-04-22  Ben Pfaff  <blp@gnu.org>
+
+       Implement model checker for testing purposes.
+
+       Patch #5873.
+       
+       * automake.mk (src_libpspp_libpspp_a_SOURCES): Add
+       model-checker.[ch].  Alphabetize.
+
+       * model-checker.c: New file.
+
+       * model-checker.h: New file.
+
+2007-04-03  Ben Pfaff  <blp@gnu.org>
+
+       Apply patches #5828, #5837, #5841, #5843.
+
+       * abt.c (insert_relative): New function.
+       (abt_insert_after): New function.
+       (abt_insert_before): New function.
+
+       * range-map.c: New file.
+
+       * range-map.h: New file.
+
+       * range-set.c: New file.
+
+       * range-set.h: New file.
+
+       * tower.c: New file.
+
+       * tower.h: New file.
+
+2007-04-01  Ben Pfaff  <blp@gnu.org>
+
+       * bt.c: Need #include <limits.h>.  Thanks to "John McCabe-Dansted"
+       <gmatht@gmail.com> for pointing this out.
+
+2007-03-31  Ben Pfaff  <blp@gnu.org>
+
+       Patch #5827.
+
+       * automake.mk (src_libpspp_libpspp_a_SOURCES): Add bt.c.
+
+       * bt.h: New file.
+
+       * bt.c: New file.
+
+2007-03-30  Ben Pfaff  <blp@gnu.org>
+
+       Patch #5829.
+
+       * automake.mk (src_libpspp_libpspp_a_SOURCES): Add deque.c.
+
+       * deque.h: Completely rewrote.  Adapted client to new interface.
+
+       * deque.c: New file.
+
+2007-03-25  Ben Pfaff  <blp@gnu.org>
+
+       * automake.mk (src_libpspp_libpspp_a_SOURCES): Add
+       sparse-array.[ch].
+
+       * pool.c (pool_zalloc): New function.
+       (pool_calloc): New function.
+
+       * sparse-array.c: New file.
+
+       * sparse-array.h: New file.
+
+Mon Mar  5 20:55:49 CET 2007 John Darrington <john@darrington.wattle.id.au>
+
+       * i18n.c: Cast second argument of iconv using ICONV_CONST
+
+2007-02-22  Ben Pfaff  <blp@gnu.org>
+
+       * string.h: Don't include vsnprintf.h any more, because gnulib has
+       now absorbed it into string.h.
+
+Thu Feb 22 12:25:52 CET 2007 John Darrington <john@darrington.wattle.id.au>
+
+       * syntax-gen.h syntax-gen.c: New files.
+
+Sun Feb 18 11:21:41 2007  Ben Pfaff  <blp@gnu.org>
+
+       * alloc.h: Remove useless parentheses in #if "defined" operator.
+
+       * misc.h: Ditto.
+
+Tue Feb  6 20:00:13 2007  Ben Pfaff  <blp@gnu.org>
+
+       * misc.h [!HAVE_ISINF] (isinf): Define only if isinf is not
+       defined as a macro, because mingw seems to have the macro without
+       the function.
+       [!HAVE_ISNAN] (isnan): Ditto, for symmetry only.
+       [!AHVE_FINITE] (finite): Ditto, for symmetry only.
+
+Tue Feb  6 19:58:46 2007  Ben Pfaff  <blp@gnu.org>
+
+       * compiler.h (PRINTF_FORMAT): Use __printf__ instead of printf to
+       avoid problem with "#define printf libintl_printf" that libintl is
+       fond of doing.
+       (SCANF_FORMAT): Ditto, for symmetry only.
+
+Tue Feb  6 19:47:10 2007  Ben Pfaff  <blp@gnu.org>
+
+       * float-format.h: [FPREP_IEEE754] [WORDS_BIGENDIAN] Add missing
+       comma.
+
+Wed Jan 24 21:13:32 2007  Ben Pfaff  <blp@gnu.org>
+
+       * abt.c: New file.
+
+       * abt.h: New file.
+
+       * automake.mk: Add abt.c, abt.h to sources.
+
+Sun Jan 14 21:44:18 2007  Ben Pfaff  <blp@gnu.org>
+
+       * automake.mk: Add deque.h to sources.
+       
+       * deque.h: New file.
+
 Wed Jan 10 06:49:38 2007  Ben Pfaff  <blp@gnu.org>
 
        * automake.mk: Add heap.c, heap.h to sources.