applied patch from Andreas Persenius <ndap@swipnet.se> that updates the
[platform/upstream/glib.git] / ChangeLog.pre-2-6
index 6a4ad43..afba197 100644 (file)
@@ -1,3 +1,99 @@
+Wed Jul 26 12:59:31 2000  Tim Janik  <timj@gtk.org>
+
+       * *.[hc]: applied patch from Andreas Persenius <ndap@swipnet.se> that
+       updates the license headers to the GNU Lesser General Public License,
+       as well as updating the copyright year to 2000.
+
+Wed Jul 26 05:47:48 2000  Tim Janik  <timj@gtk.org>
+
+       * configure.in:
+       * testglib.c:
+       * gstrfuncs.c:
+       * glib.h: added g_strlcat() and g_strlcpy() wrappers, supplied by
+       David Wheeler <dwheeler@ida.org>:
+
+        * glib.h, gstrfuncs.c: added g_strlcpy and g_strlcat to support
+          safe manipulation of fixed-length string buffers.
+          These functions were originally developed by Todd Miller to simplify
+          development of security-related programs, and
+          are available on many (but not all) Unix-like systems,
+          including OpenBSD, FreeBSD, and Solaris.  See
+          ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/strlcpy.3
+          and http://www.openbsd.org/security.html.
+          If there's a strlcpy/strlcat on the system, it's called, otherwise
+          an implementation is provided.
+
+        * testglib.c: Added tests for g_strlcpy, g_strlcat.
+
+Wed Jul 26 05:03:24 2000  Tim Janik  <timj@gtk.org>
+
+       * acglib.m4 (GLIB_SIZEOF): include <stdlib.h> and <stddef.h> if
+       STDC_HEADERS is defined.
+
+       * glib.h:
+       * glibconfig.h: define gsize and gssize in terms of GLIB_SIZEOF_SIZE_T
+
+       * glib.h (g_return_if_reached): applied darin's fix for copy'n
+       paste error in the macro implementation.
+
+Wed Jul 26 00:46:03 2000  Tim Janik  <timj@gtk.org>
+
+       * glib.h: applied patch from Darin Adler <darin@eazel.com> which
+       supplies g_return_if_reached(), g_return_val_if_reached() and
+       g_critical().
+
+2000-07-22  Tor Lillqvist  <tml@iki.fi>
+
+       * build-dll: Fix resource handling, the resource file got left out
+       from the DLL after all... Remove the WIN32APIHEADERS, not needed
+       with current windres.
+
+       * glib.def: Add new functions.
+
+2000-07-20  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * gutils.c, glib.h: Mark the functions g_basename and g_dirname
+       deprecated. They will issue an warning once, when compiled with
+       G_ENABLE_DEBUG, but continue to work as before. Instead the
+       functions g_path_get_basename and g_path_get_dirname should be
+       used, which BOTH return newly allocated memory, that has to freed
+       by g_free. The new g_path_get_basename now strips trailing slashes
+       from the path. This fixes #5097. For discussion see
+       http://mail.gnome.org/pipermail/gtk-devel-list/2000-April/003139.html
+
+       * gwin32.c, testglib.c, tests/dirname-test.c: Use the new
+       functions instead of the old ones.
+
+       * ghash.c, gscanner.c, glib.h: Mark the functions
+       g_hash_table_freeze, g_hash_table_thaw and thus
+       g_scanner_freeze_symbol_table and g_scanner_thaw_symbol_table
+       deprecated. They will issue an warning once, when compiled with
+       G_ENABLE_DEBUG. This fixes Bug #3883. For discussion see
+       http://mail.gnome.org/pipermail/gtk-devel-list/2000-April/003139.html
+       
+2000-07-19  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in, glib.h: glibconfig.h and glib.h now include files
+       outside of the extern "C" block. Makes some C++ compiler
+       happy. Reported by Denis Vakatov <vakatov@peony.nlm.nih.gov>.
+
+Sat Jul 15 23:49:03 2000  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/glib.texi: Remove incomplete start of info file -
+       real docs are in RDP.   
+
+Sat Jul 15 22:44:22 2000  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Add build/Makefile and 
+       build/win32/Makefile to AC_OUTPUT() so things build
+       again.
+
+Sat Jul 15 09:11:46 2000  Tim Janik  <timj@gtk.org>
+
+       * gstrfuncs.c (g_strncasecmp): fixed an off by 0 error (yeah,
+       the function went off when the while (n--) loop failed due to
+       n==0 ;), reported by Jean-Louis HAMEL <jlhamel@club-internet.fr>.
+
 2000-07-15  Tor Lillqvist  <tml@iki.fi>
 
        * Makefile.am (SUBDIRS): Include the "build" module in GLib, too,