cleanup
[platform/upstream/glib.git] / ChangeLog.pre-2-8
index d7f021e..999078c 100644 (file)
@@ -1,3 +1,403 @@
+2005-08-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version
+
+       * === Released 2.8.0 ===
+
+       * NEWS: Updates
+
+2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gobject/genums.c: (g_flags_get_first_value): Special-case flag
+         value of 0. Instead of returning the first random GFlagsValue
+         we come across, return the GFlagsValue for 0 if it exists or
+         NULL if it does not exist. Never return the GFlagsValue for 0
+         if the requested flags value is nonzero.
+
+2005-08-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version to 2.8.0
+
+2005-08-11  Tor Lillqvist  <tml@novell.com>
+
+       * glib/gutils.c (g_get_any_init): Use "localhost" as fallback for
+       g_get_host_name(), not "unknown".
+
+2005-08-10  Stepan Kasal  <kasal@ucw.cz>
+
+       Fix typos: Invokation --> Invocation (in various places)
+
+2005-08-10  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gfileutils.c (g_build_path_va, g_build_pathname_va):
+       Take a va_list*, not a va_list, to avoid compiler warnings
+       about uninitialized variables.
+
+2005-08-09  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/gobject/Makefile.am (test_programs): Add it here.
+
+       * tests/gobject/gvalue-test.c: Beginning of a test suite
+       for GValue.
+
+       * NEWS: Updates
+
+2005-08-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gutils.c (_g_compute_locale_variants): Initialize
+       variables to not make gcc nervous.
+
+2005-08-08  Manish Singh  <yosh@gimp.org>
+
+       * glib/abicheck.sh: remove stray -V option to grep so it actually
+       works.
+
+2005-08-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/convert-test.c: Enable the endianness test.
+
+       * glib/gconvert.c: Make the caching of iconv descriptors
+       optional.
+
+       * configure.in: Add an --enable-iconv-cache option, and
+       default to disabling iconv caching on new enough glibc.
+       Somebody with access to Solaris systems will need to test
+       if opening/closing of iconv descriptors is enough of
+       a performance problem to warrant the caching on that 
+       platform. Note that the caching is causing correctness
+       problems in some corner cases, thus turning it off
+       is desirable unless it has severe performance implications.
+
+       * tests/convert-test.c: Add a test for 
+       endianness handling.
+
+2005-08-08  Sunil Mohan Adapa  <sunil@atc.tcs.co.in>
+
+       * configure.in: Added "te" to ALL_LINGUAS.
+
+2005-08-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/Makefile.am: Add convert-test here.
+
+       * tests/convert-test.c: Add the beginning of a testsuite
+       for g_convert() and friends. 
+
+2005-08-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/glib.symbols: Include glib_on_error_halt.
+       
+       * glib/abicheck.sh: Also check exported variables.
+
+2005-08-05  Manish Singh  <yosh@gimp.org>
+
+       * tests/refcount/closures.c: remove unused n_threads variable.
+
+2005-08-05  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version
+
+       * === Released 2.7.7 ===
+
+       * NEWS: Updates
+
+2005-08-04  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/glib.symbols:
+       * glib/gatomic.[hc]: Always export g_atomic_int_get and
+       g_atomic_pointer_get as functions, even if we have macros,
+       to avoid changing the ABI depending on configuration.
+       
+       * glib/gatomic.c: Fix the s390 implementations of 
+       g_atomic_pointer_compare_and_exchange.
+
+2005-08-04  Tor Lillqvist  <tml@novell.com>
+
+       * glib/gstdio.h: Move the G_BEGIN_DECLS/G_END_DECLS pair outside
+       the #if/#else/#endif block. Otherwise we had G_BEGIN_DECLS without
+       matching G_END_DECLS on Unix, and G_END_DECLS without matching
+       G_BEGIN_DECLS on Win32.
+
+2005-08-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version
+
+       * === Released 2.7.6 ===
+
+       * NEWS: Updates
+
+2005-08-03  Ross Burton  <ross@burtonini.com>
+
+       * docs/reference/glib/tmpl/windows.sgml:
+       Add a long description, pointing people at Cygwin for a complete
+       Unix library.
+
+       * glib/gutils.c:
+       Document return value of g_get_host_name().
+
+2005-08-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gatomic.c: Add native atomic operations
+       for s390.
+
+       * configure.in: ... and use them on s390.
+
+2005-08-03  Ross Burton  <ross@burtonini.com>
+
+       * glib/gstdio.c:
+       Fix DocBook tag typo. (#311966)
+
+2005-08-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gstdio.h: Add G_BEGIN_DECLS/G_END_DECLS.  (#312424)
+
+2005-08-02  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gconvert.c (g_convert_with_iconv): Don't go in an
+       infinite loop if the input text ends in an incomplete multibyte
+       character.  (#312402, Sebastien Bacher)
+
+       * Bump version
+
+       * === Released 2.7.5 ===
+
+       * NEWS: Updates
+
+2005-08-02  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gconvert.c (g_convert_with_iconv, g_convert_with_fallback):
+       Cleanup converter state after the conversion. Document streaming
+       conversion pitfalls.  (#311337)
+
+2005-08-02  Tor Lillqvist  <tml@novell.com>
+
+       * tests/refcount/objects.c 
+       * tests/refcount/properties.c 
+       * tests/refcount/signals.c: Use g_usleep() instead of sleep() for
+       portability.
+
+Mon Aug  1 23:33:47 2005  Tim Janik  <timj@imendio.com>
+
+       * tests/refcount/closures.c: test high contention on closure
+       reference counts to trigger and catch non-atomic updates.
+
+       * tests/refcount/objects.c:
+       * tests/refcount/objects2.c: 
+       * tests/refcount/properties.c: 
+       * tests/refcount/properties2.c: 
+       * tests/refcount/signals.c:
+       fixed up test and threading fundamentals. variables accessed from all 
+       threads need to be volatile. context switches are enforced by using
+       g_thread_yield(), not g_usleep(1) which may result in busy waits on 
+       some platforms. for testcode, always consider all warnings and
+       critical messages fatal. issue the currently running program on
+       stdout. improved progress indicators.
+
+       * tests/refcount/properties.c:
+       * tests/refcount/objects.c:
+       don't overdo the number of testing threads to keep the testing machine
+       usable, 2 threads can produce as much contention as 20 if executing the
+       same code.
+
+       * tests/refcount/signals.c: only start 1 thread per object. GObject 
+       doesn't provide mutually exclusive object access, but only mutually
+       exclusive reference count modification.
+
+       * tests/Makefile.am: added closures test.
+
+2005-08-01  Tor Lillqvist  <tml@novell.com>
+
+       * tests/uri-test.c: Make it pass on Win32.
+       (from_uri_tests[]): Take into consideration that on Win32 we don't
+       return "localhost" hostnames.
+       (safe_strcmp_filename): New function that considers slash and
+       backslash equal on Win32.
+       (safe_strcmp_hostname): New function that considers "localhost"
+       equal NULL on Win32.
+       (run_roundtrip_tests): Use safe_strcmp_filename() and
+       safe_strcmp_hostname().
+
+Sun Jul 31 01:50:20 2005  Tim Janik  <timj@gtk.org>
+
+       * glib/gdataset.c:
+       moved G_DATALIST_*_POINTER() macros here, because proper use requires
+       the global g_dataset_global mutex to be acquired.
+       g_datalist_id_get_data():
+       g_datalist_unset_flags():
+       g_datalist_set_flags(): properly acquire and release dataset mutex.
+
+       * glib/gdatasetprivate.h: implement G_DATALIST_GET_FLAGS() via atomic
+       pointer access to account for memory barriers. moved all other macros.
+
+2005-07-26  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/goption.c: Include glibintl.h, not gi18n.h, noticed
+       by Dan Winship.
+
+       * configure.in: Try -mt as compiler flag for threads, needed
+       for the HP C compiler on HP-UX.  (#163051, Paul Cornett)
+
+       * glib/ghash.c (g_hash_table_foreach): Fix a typo in the 
+       docs.  (#311569, Ross Burton)
+
+2005-07-21  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version 
+
+       * === Released 2.7.4 ===
+
+       * NEWS: Updates
+
+2005-07-20  Manish Singh  <yosh@gimp.org>
+
+       * tests/refcount/signals.c: use G_CALLBACK for signal connections.
+
+2005-07-20  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gthreadpool.c (g_thread_pool_free): Don't get
+       stuck in here if immediate is TRUE.  (#310954, 
+       Hong Jen Yee)
+
+       * tests/threadpool-test.c (main): Test immediate == TRUE.
+
+2005-07-20  Tor Lillqvist  <tml@novell.com>
+
+       * glib/gutils.h (g_win32_get_system_data_dirs): Make this an
+       inline function. Define it only if G_CAN_INLINE and not
+       C++. (#173098)
+
+2005-07-19  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gstring.c (g_string_chunk_insert_len): Avoid
+       an unnecessary strlen if len is -1.  (#169692, 
+       Benoit Dejean)
+
+       * glib/gatomic.c (g_atomic_pointer_compare_and_exchange): 
+       Fix g_atomic_pointer_compare_and_exchange on sparc64.
+       (#167572, Gert Doering)
+
+2005-07-15  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version
+
+       * === Released 2.7.3 ===
+       
+2005-07-15  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/Makefile.am (SUBDIRS): Add tests/refcount
+
+       * configure.in: Add tests/refcount
+
+       * tests/refcount/properties.c: Test property changes
+       from multiple threads.
+
+       * tests/refcount/signals.c: Test signal emission from
+       multiple threads.
+
+       * tests/refcount/objects.c: Test refcounting from 
+       multiple threads.
+
+       * tests/refcount/objects2.c: 
+       * tests/refcount/properties2.c: Tests to measure the 
+       overhead of threadsafe refcounting.
+       
+       * glib/giochannel.c (g_io_channel_ref, g_io_channel_unref): 
+       Use atomic operations to make refcounting
+       threadsafe.  (#166020, Wim Taymans)
+
+       * NEWS: Updates
+
+2005-07-14  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/spawn-test.c: 
+       * tests/uri-test.c: 
+       * tests/thread-test.c: 
+       * tests/queue-test.c: 
+       * tests/mainloop-test.c: 
+       * tests/iochannel-test.c: 
+       * tests/gio-test.c: 
+       * tests/child-test.c: Make the tests silent on success.
+
+2005-07-13  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gfileutils.c (g_mkdir_with_parents): Fix a 
+       typo.  (#310243, Richard Laager)
+
+       * glib/goption.c (g_option_group_add_entries): Warn if a
+       short name is not acceptable.
+
+2005-07-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/goption.h (G_OPTION_FLAG_NOALIAS): 
+       * glib/goption.c: Add and implement a new flag
+       to turn off the automatic <groupname>- prefixing
+       for conflict resolution of long option names. (#171840,
+       Adam McLaurin)
+       
+       All optional callback arguments  (#308886, Pawel
+       Sliwowski)
+
+       * glib/goption.h (G_OPTION_FLAG_OPTIONAL_ARG): 
+       * glib/goption.c: Add and implement a new flag
+       to indicate that a callback *optionally* takes another
+       argument.
+
+       * tests/option-test.c: Add tests for optional arguments.
+
+2005-07-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gthread.c (g_static_rec_mutex_lock_full): Don't lock
+       if depth is zero.  (#310148, Wim Taymans)
+
+2005-07-10  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gutils.c (g_listenv): Ignore anomalous environment
+       entries which are not of the form variable=value.  (#309859,
+       Morten Welinder)
+
+2005-07-09  Tor Lillqvist  <tml@novell.com>
+
+       * glib/giowin32.c: Totally rewritten socket channel
+       implementation. See discussion in bug #147392.
+
+       * configure.in: Don't use autoconf variables for the resource
+       object files on Win32 any longer. Instead handle that in the
+       Makefile.am files. Check for windres.
+
+       * glibconfig.h.win32.in: Minor tuning to match the
+       configure-produced glibconfig.h closely.
+
+       * glib/Makefile.am: Don't use the scripts in build/win32 to
+       compile glib.rc into a resource object file. (This means we lose
+       the build number increment magic, but I doubt it was that useful
+       anyway.) Instead use windres directly. To pass the normal .o file
+       produced by windres through libtool, which wants .lo files, pass
+       it directly to the linker using a -Wl option.
+
+       * glib/glib.rc.in: Thus replace BUILDNUMBER with 0.
+
+2005-07-08  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version
+       
+       * === Released 2.7.2 ===
+
+       * NEWS: Updates
+
+2005-07-07  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Make the size_t size detection work on AIX. 
+       (#309725)
+
+2005-07-06  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Require a newer gtk-doc.
+
+2005-07-01  Hans Breuer  <hans@breuer.org>
+
+       * glib/gmessages.c : include <process.h> for getpid()
+       * glib/gmappedfile.c : include <io.h> for close() etc.
+       * glib/makefile.msc.in : add    gmappedfile.obj
+
 2005-07-01  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gkeyfile.c (g_key_file_get_key_comment):