updated externals
[platform/upstream/glib.git] / ChangeLog.pre-2-0
index dcf7a3b..ed2ae30 100644 (file)
@@ -1,3 +1,263 @@
+Thu Jun 14 14:09:46 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gstrfuncs.c (g_strconcat): Fix a use of strcat that
+       wasn't replaced with g_stpcpy in the original 
+       stpcpy-for-efficiency patch.
+
+2001-06-11  Havoc Pennington  <hp@redhat.com>
+
+       * NEWS: updated
+
+       * configure.in (GLIB_MICRO_VERSION): increment version to 1.3.6
+
+2001-06-08  Alex Larsson  <alexl@redhat.com>
+
+       * gstrfuncs.[ch]:
+       Added new functions g_strstr_len, g_strrstr and g_strrstr_len
+       
+       * tests/strfunc-test.c:
+       Add some tests for the new functions.
+       
+       * gunicode.h:
+       * gutf8.c:
+       Add length argument to g_utf8_strchr and g_utf8_strrchr.
+       
+2001-06-08  Havoc Pennington  <hp@redhat.com>
+
+       * gspawn.c: support G_SPAWN_FILE_AND_ARGV_ZERO specifying that 
+       the vector passed in to g_spawn_* contains a filename to 
+       execute in argv[0] then the actual argv begins at argv + 1.
+       Kind of a lame hack, but this isn't something you commonly want
+       to do, and avoids adding more function arguments.
+
+2001-06-08  Pablo Saratxaga <pablo@mandrakesoft.com>
+
+       * configure.in: Added Azeri (az) to ALL_LINGUAS
+
+2001-06-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * docs/Makefile.am, configure.in: Remove docs/glib-config.1.in.
+
+       * gthread-2.0-uninstalled.pc.in (Cflags): Add @G_THREAD_CFLAGS@.
+
+2001-06-07  Havoc Pennington  <hp@redhat.com>
+
+       * m4macros/glib-2.0.m4: subst GLIB_GENMARSHAL, GOBJECT_QUERY, 
+       GLIB_MKENUMS variables
+
+       * gmodule-2.0.pc.in: add gmodule_supported variable
+
+       * glib-2.0.pc.in: add glib_genmarshal, gobject_query,
+       glib_mkenums variables  
+
+       * configure.in: put G_MODULE_SUPPORTED value into 
+       .pc files
+
+       * autogen.sh: support AUTOGEN_SUBDIR_MODE
+
+       * Makefile.am: add -uninstalled.pc.in to EXTRA_DIST
+
+2001-06-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Look for nanosleep function. 
+
+       * gtimer.c: Use nanosleep for g_usleep, when found.
+
+       * gtimer.c, gtimer.h: Add g_time_val_add function. Closes #54271.
+
+       * gasyncqueue.c: Documentation updates.
+
+       * gthreadpool.c: Use g_time_val_add now that we have it.
+
+2001-06-01  Jon Trowbridge  <trow@gnu.org>
+
+       * gdate.c (g_date_update_julian): Changed to take a const
+       argument, and then to cast out const.
+       (g_date_update_dmy): Changed to take a const argument, and then
+       cast out const.
+       (g_date_get_weekday): Changed argument to be const.
+       (g_date_get_month): Changed argument to be const.
+       (g_date_get_year): Changed argument to be const.
+       (g_date_get_day): Changed argument to be const.
+       (g_date_get_julian): Changed argument to be const.
+       (g_date_get_day_of_year): Changed argument to be const.
+       (g_date_get_monday_week_of_year): Changed argument to be const.
+       (g_date_get_sunday_week_of_year): Changed argument to be const.
+       (g_date_compare): Changed arguments to be const.
+       (g_date_to_struct_tm): Changed GDate argument to be const.
+       (g_date_strftime): Changed GDate argument to be const.
+       (g_date_clamp): Added.  The equivalent of the CLAMP macro for
+       GDates.
+       (g_date_order): Added.  Ensure that the first GDate argument
+       preceeds the second, swapping them if necessary.
+       (g_date_days_between): Added.  Computes the (signed) number of days
+       between two dates.
+
+Mon Jun  4 16:02:57 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gstrfuncs.c (g_strup/strdown): to match g_strcasecmp,
+       check if it is lower/upper before converting to upper/lower
+       [ not required by ISO... ] (#55682, Jon Trowbridge)
+
+Mon Jun  4 15:59:15 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gunicode.h: Make a bit more standalone by adding include
+       of gerror.h. #54543.
+       
+       * gunicode.h: Change size_t to g_size. (Ugh)
+
+2001-05-31  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * grand.h (g_random_boolean, g_rand_boolean): Fix to stupid bug in
+       g_random_boolean, also both functions now return 1 or 0 instead of
+       1<<15 or 0.
+
+       * tests/rand-test.c: Extended testcases.
+
+       * configure.in: Remove G_HAVE_ISO_CXX_VARARGS and
+       G_HAVE_ISO_C_VARARGS and define G_HAVE_ISO_VARARGS directly
+       guarded by #if(n)def __cplusplus.
+
+2001-05-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * gthread-2.0.pc.in: Add @G_THREAD_CFLAGS@ to Cflags.
+
+Tue May 29 18:17:11 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * autogen.sh (have_libtool): Fix GNU sedism
+
+2001-05-29  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * tests/Makefile.am, tests/qsort-test.c: Add test case for the
+       g_qsort_with_data func. It works. This fixes bug #52605.
+
+       * tests/Makefile.am, tests/cxx-test.C: Now that we check for a C++
+       compiler in configure.in anyway, I added a test, that the GLib
+       headers can be inclued into a C++ program. This fixes bug #52605.
+
+       * configure.in: Don't bail out, if no C++ compiler is
+       found. Define G_HAVE_ISO_VARARGS only if appropriate.
+
+       * gmessages.h: Thus we can revert the previous patch.
+
+2001-05-29  James Henstridge  <james@daa.com.au>
+
+       * gmessages.h: "#ifdef G_HAVE_ISO_VARARGS" will always succeed
+       even when we don't have ISO vararg support.  Changed to
+       "#if G_HAVE_ISO_VARARGS".
+
+Mon May 28 11:40:34 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Check for __VARARGS__ separately for C and C++.
+
+2001-05-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Fix typo.
+
+Sun May 27 05:09:18 2001  Tim Janik  <timj@gtk.org>
+
+       * gmain.c (g_main_context_prepare): unlock context when bailing
+       out with a warning.
+       (g_main_context_check): same here.
+
+       * gmain.c (g_main_context_check): before returning due to
+       changed pollfds, unlock context.
+       
+Thu May 24 21:24:16 CEST 2001 Paolo Molaro <lupus@ximian.com>
+
+       * gmarkup.c: back out change by mitch@convergence.de and apply patch in
+       bug id #52067 that fixes the same problem in a more complete manner.
+       This fixes also a segfault for a malformed XML file and adds a new
+       test case.
+
+2001-05-24  Hans Breuer  <hans@breuer.org>
+
+       * grel.c : reflect renaming of g_string_sprintfa to g_string_printfa
+
+       * makefile.msc.in : create an additional static lib to be used from
+       (at least) glib-genmarshal
+
+2001-05-23  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * garray.c (g_array_remove_index_fast): Tiny speed improvement
+       suggested by noon@users.sourceforge.net.
+
+2001-05-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * config.h.win32.in: Removed POSIX_*. Defined G_THREAD_SOURCE to
+       "gthread-win32.c".
+
+       * glibconfig.h.win32.in: Define G_HAVE_ISO_VARARGS for gcc, don't
+       know about MSC. Define G_THREADS_IMPL_WIN32 instead of
+       G_THREADS_IMPL_POSIX and define the right static mutex macros and
+       types.
+
+       * glib.def: g_thread_create renamed to g_thread_create_full.
+
+       * gthread.c: memcpy is not necessary here. We can simply use
+       struct assignment.
+
+       * gmessages.c: Fix compilation error on win32. Added
+       GFileDescriptor, wich is gint on Unix and FILE* on win32.
+
+2001-05-21  Andrew Lanoix <alanoix@umich.edu>
+
+       *giowin32.c: G_IO_WIN32_WINDOWS_MESSAGES channels
+       not handled correctly in g_io_win32_check()
+
+Sun May 20 10:47:47 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Fix some problems in writing out varargs
+       tests in configure.in
+
+Fri May 18 10:52:23 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in gmessages.h: Use compile checks for ISO C99 and GNU
+       extension varargs macros syntax and store result in glibconfig.h
+       (G_HAVE_ISO_VARARGS, G_HAVE_GNUC_VARARGS) rather than relying
+       on checking predefined macros.
+
+2001-05-18  Michael Natterer  <mitch@convergence.de>
+
+       * gmarkup.c: don't g_strdup()/g_free() all parsed attributes and
+       their values twice but simply copy the string pointers from the
+       GMarkupAttribute struct to the string arrays before passing them
+       to start_element().
+
+2001-05-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * gthread.c, gthread.h: Renamed g_thread_create to
+       g_thread_create_full and added macro g_thread_create, which omits
+       'stack_size', 'bound' and 'priority' parameters. Also removed
+       'bound' from GThread struct.
+
+       * gthreadpool.h, gthreadpool.c: Adapted GThreadPool to the above
+       changes. GThreadPool lost the 'priority' and 'bound'
+       members. g_thread_pool_new the 'stack_size', 'bound' and
+       'priority' parameters.
+
+       * tests/mainloop-test.c, tests/thread-test.c,
+       tests/threadpool-test.c: Adapted to the above changes.
+
+       * gmem.c (g_mem_profile): Fixed mutex deadlock.
+
+2001-05-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * makefile.mingw.in: Add gpattern.o to objects.
+
+       * glib.def: Export g_thread_exit as well.
+
+       * Makefile.am: Fix BUILT_EXTRA_DIST exporting.
+
+Sun May 13 10:31:17 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/Makefile.am gobject/Makefile.am gmodule/Makefile.am:
+       Add inter-library dependencies.
+
+       * acinclude.m4: Remove libtool macros.
+
+       * autogen.sh: Require libtool-1.4, automake-1.4p1.
+
 2001-05-15  Havoc Pennington  <hp@redhat.com>
 
        * configure.in (AC_OUTPUT): m4macros/Makefile
 
 Thu May 10 23:21:30 2001  Owen Taylor  <otaylor@redhat.com>
 
-       * gmessages.c (g_log_write_prefix): Avoid using stderr
+       * gmessages.c (g_log_write_prefix): Avoid using stdio
        to be as robust as possible in out-of-memory.
 
        * gmessages.c (g_log_default_handler): Remove some dead