Define the new GLIB_SIZEOF_* constants here, too.
[platform/upstream/glib.git] / ChangeLog.pre-2-2
index 8e4cd94..0d4652a 100644 (file)
@@ -1,3 +1,159 @@
+1999-10-12  Tor Lillqvist  <tml@iki.fi>
+
+       * config.h.win32.in: Define the new GLIB_SIZEOF_* constants here,
+       too.
+
+       * glib.h: Small Win32 comments improvement.
+
+Tue Oct 12 12:16:12 1999  Tim Janik  <timj@gtk.org>
+
+       * gmessages.c (g_printf_string_upper_bound): completly new implementation
+       for printf string upper bounds calculation.
+       we handle all glibc 2.1 format specifiers now, except for positional
+       parameters (%nn$...) and wide char strings, plus some obscure upper
+       case variants of the standard conversions. this fixes a lot of
+       bugs in the old code, i.e.
+       - NULL format strings
+       - floats with exponents >+24
+       - %G
+       - precision specifications in general
+       - negative field widths
+       - %p for SIZEOF_VOID_P > 4 platforms
+       we now issue warnigns in places where the old code would have
+       caused buffer overruns anyways. warnings are suppressed when invoked
+       from glogv(), to avoid infinite recursions if someone passes a log
+       message that comes with really obscure format specifications.
+
+Tue Oct 12 11:49:00 1999  Tim Janik  <timj@gtk.org>
+
+       * gstrfuncs.c: nuked old g_printf_string_upper_bound() version.
+
+Tue Oct 12 03:34:40 1999  Tim Janik  <timj@gtk.org>
+
+       * glib.h: added GFloatIEEE754 and GDoubleIEEE754 unions to access sign,
+       mantissa and exponent of IEEE floats and doubles (required by the new
+       version of g_printf_string_upper_bound). the unions are endian specific,
+       we handle G_LITTLE_ENDIAN and G_BIG_ENDIAN as of currently. ieee floats
+       and doubles are supported (used for storage) by at least intel, ppc and
+       sparc, reference:
+        http://twister.ou.edu/workshop.docs/common-tools/numerical_comp_guide/ncg_math.doc.html
+       
+Mon Oct 11 18:01:49 1999  Tim Janik  <timj@gtk.org>
+
+       * configure.in: added additional checks to figure sizes of size_t,
+       ptrdiff_t and intmax_t (required by g_printf_string_upper_bound).
+
+Wed Oct  6 12:44:23 PDT 1999 Manish Singh <yosh@gimp.org>
+
+       * configure.in: blah. use G_WITH_CYGWIN instead of G_HAVE_CYGWIN
+
+1999-10-05  Tor Lillqvist  <tml@iki.fi>
+
+       * glib.h: (Win32) Drop the mapping of POSIX function names to the
+       underscored versions, it's unnecessary after all. With MSVC we get
+       them from oldnames.lib, with gcc-2.95 and mingw32 from
+       -lmoldname-msvc. Add comment about what headers to include for
+       prototypes.
+
+       * glibconfig.h.win32.in: Don't define WIN32 and NATIVE_WIN32.
+
+       * gerror.c (g_on_error_query): (Win32) Slightly increased verbosity.
+
+       * build-dll: Don't strip.
+
+       * tests/string-test.c tests/dirname-test.c: Use G_OS_WIN32.
+
+       * glib.def: Add g_thread_use_default_impl.
+
+Sun Oct  3 19:46:55 PDT 1999 Manish Singh <yosh@gimp.org>
+
+       * configure.in: use G_HAVE_CYGWIN instead of G_OS_FEATURE_CYGWIN
+
+Sun Oct  3 19:25:42 PDT 1999 Manish Singh <yosh@gimp.org>
+
+       * acconfig.h
+       * configure.in
+       * glibconfig.h.win32: G_OS_FOO #defines. I *think* I got the cygwin
+       and beos stuff right, but I haven't tested it. The respective
+       porters should fix any screwups
+
+       * glib.h
+       * gerror.c
+       * gmain.c
+       * gmessages.c
+       * gscanner.c
+       * gthread.c
+       * gtimer.c
+       * gutils.c
+       * testglib.c: use G_OS stuff
+
+Wed Sep 22 01:53:18 1999  Tim Janik  <timj@gtk.org>
+
+       * glib.h (NULL): define NULL as (0L) if __cplusplus is defined, to
+       avoid "ANSI C++ forbids implicit conversion from `void *' in argument
+       passing" errors upon NULL usage in C++ programs (gcc-2.95 is on crack
+       for erroring out on this, instead of just issueing a warning).
+
+       * glib.h (g_trash_stack_pop): use uncasted NULL again.
+       
+Fri Sep 17 10:24:45 1999  Tim Janik  <timj@gtk.org>
+
+       * gmem.c (g_mem_chunk_compute_size) (g_mem_chunk_new): applied patch
+       from Soeren Sandmann <sandmann@daimi.au.dk>, to force mem chunk's area
+       sizes to be a multitiple of atom_size, and to eliminate the MAX_MEM_AREA
+       restriction of 65536 bytes. we also catch cases where users pass an area
+       size < atom size with a return_if_fail statement now (which is ok,
+       because previously this lead to memory corruption anyways).
+
+Thu Sep 16 13:19:54 1999  Tim Janik  <timj@gtk.org>
+
+       * glib.h (g_trash_stack_pop): add explicit (GTrashStack*) cast for NULL
+       pointer to cure ANSI C++ error.
+
+Mon Sep 13 23:25:59 1999  Tim Janik  <timj@gtk.org>
+
+       * gmessages.c (g_logv): in case we have to abort the program,
+       debugging is enabled and we are not called recursively, try
+       to abort with raise (SIGTRAP) first, so developers may ignore
+       certain failure conditions during debugging stage.
+
+Thu Aug 26 15:09:36 1999  Tim Janik  <timj@gtk.org>
+
+       * Makefile.am:
+       * gmodule/Makefile.am:
+       * gthread/Makefile.am: added --export-dynamic so we can load dynmic
+       modules, (required, according to the libtool 1.3.3 docu).
+
+1999-07-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * grand.c (g_rand_new): Use /dev/urandom, as it doesn't block,
+       which /dev/random might do. Do not XOR the time, when getting the
+       seed form /dev/urandom, as this is good itself. Prevent the
+       initial seed from being zero, which causes the PRNG to produce
+       only zeros. Hints from Colin Plumb <colin@pgp.com>.
+
+1999-08-17  Tor Lillqvist  <tml@iki.fi>
+
+       * glib.h (g_trash_stack_push): Add a cast.
+
+       * gslist.c
+       * glist.c: Make the inline functions static inline, and add
+       separate extern wrappers. Not all compilers produce callable entry
+       points for inline functions, even if gcc does.
+
+Sun Aug 15 02:47:14 1999  Tim Janik  <timj@gtk.org>
+
+       * glib.h (g_trash_stack_pop): eliminate memset() call, since string.h
+       has not neccessarily been included prior to glib.h.
+
+Mon Aug  2 21:03:10 1999  Tim Janik  <timj@gtk.org>
+
+       * configure.in: added --enable-msg-prefix option.
+
+       * gmessages.c (g_log_default_handler): feature "prg_name (pid:%u): "
+       if --enable-msg-prefix was selected (use "(process:%u): " if
+       g_get_prgname () returns NULL, along the lines of g_on_error_query).
+
 1999-08-03  Tor Lillqvist  <tml@iki.fi>
 
        * glib.h