Permalink
Commits on Aug 5, 2005
  1. 2.7.7

    Matthias Clasen committed Aug 5, 2005
Commits on Aug 4, 2005
  1. Always export g_atomic_int_get and g_atomic_pointer_get as functions,…

    … even
    
    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.
    Matthias Clasen committed with Matthias Clasen Aug 4, 2005
  2. Move the G_BEGIN_DECLS/G_END_DECLS pair outside the #if/#else/#endif

    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.
    Tor Lillqvist committed with Tor Lillqvist Aug 4, 2005
Commits on Aug 3, 2005
  1. Bump version

    Matthias Clasen committed Aug 3, 2005
  2. 2.7.6

    Matthias Clasen committed Aug 3, 2005
  3. Small doc updates

    Ross Burton committed Aug 3, 2005
  4. Mark the vint member as volatile, which seems to be necessary to make

    2005-08-02  Matthias Clasen  <mclasen@redhat.com>
    
            * gclosure.c (union ClosureInt): Mark the vint member as
            volatile, which seems to be necessary to make atomic operations
            work on s390.
    Matthias Clasen committed with Matthias Clasen Aug 3, 2005
  5. Add native atomic operations for s390.

    2005-08-03  Matthias Clasen  <mclasen@redhat.com>
    
            * glib/gatomic.c: Add native atomic operations
            for s390.
    
            * configure.in: ... and use them on s390.
    Matthias Clasen committed with Matthias Clasen Aug 3, 2005
  6. Fix Docbook tag typo

    Ross Burton committed Aug 3, 2005
  7. Add G_BEGIN_DECLS/G_END_DECLS. (#312424)

    2005-08-03  Matthias Clasen  <mclasen@redhat.com>
    
    	* glib/gstdio.h: Add G_BEGIN_DECLS/G_END_DECLS.  (#312424)
    Matthias Clasen committed with Matthias Clasen Aug 3, 2005
Commits on Aug 2, 2005
  1. Name fixes

    Matthias Clasen committed Aug 2, 2005
  2. Don't go in an infinite loop if the input text ends in an incomplete

    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, Sebastian Bacher)
    Matthias Clasen committed with Matthias Clasen Aug 2, 2005
  3. Bump version

    Matthias Clasen committed Aug 2, 2005
  4. 2.7.5

    Matthias Clasen committed Aug 2, 2005
  5. Remove accidental documentation redundancies

    Matthias Clasen committed Aug 2, 2005
  6. Cleanup converter state after the conversion. Document streaming

    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)
    Matthias Clasen committed with Matthias Clasen Aug 2, 2005
  7. Forgotten log entry

    Matthias Clasen committed Aug 2, 2005
  8. tests/refcount/objects.c tests/refcount/properties.c Use g_usleep()

    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.
    Tor Lillqvist committed with Tor Lillqvist Aug 2, 2005
Commits on Aug 1, 2005
  1. test high contention on closure reference counts to trigger and catch

    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.
    Tim Janik committed with Tim Janik Aug 1, 2005
  2. turned all modifications to the first 32 integer bits in a closure into

    Mon Aug  1 23:00:42 2005  Tim Janik  <timj@imendio.com>
    
            * gclosure.c: turned all modifications to the first 32 integer bits in a
            closure into atomic accesses. wrapped write accesses into special macros
            to keep the atomic modification logic in a single place. comment cleanups.
    
            * gclosure.h: made all atomicly accessed closure fields volatile.
    
            * gobject.h: made ref_count field volatile.
    Tim Janik committed with Tim Janik Aug 1, 2005
  3. Minor simplification in safe_strcmp_filename().

    Tor Lillqvist committed Aug 1, 2005
  4. Ugh, fix braino.

    Tor Lillqvist committed Aug 1, 2005
  5. Make it pass on Win32. (from_uri_tests[]): Take into consideration th…

    …at on
    
    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.
    	(run_roundtrip_tests): Use safe_strcmp_filename().
    Tor Lillqvist committed with Tor Lillqvist Aug 1, 2005
Commits on Jul 31, 2005
  1. moved G_DATALIST_*_POINTER() macros here, because proper use requires…

    … the
    
    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.
    tim-janik committed with Tim Janik Jul 31, 2005
  2. use g_datalist_set_flags() and g_datalist_unset_flags() to allow proper

    Sun Jul 31 02:04:23 2005  Tim Janik  <timj@gtk.org>
    
            * gobject.c: use g_datalist_set_flags() and g_datalist_unset_flags() to
            allow proper locking around &qdata modifications.
    tim-janik committed with Tim Janik Jul 31, 2005
Commits on Jul 30, 2005
  1. document non-thread-safety for _foreach() functions.

    Sat Jul 30 23:40:35 2005  Tim Janik  <timj@gtk.org>
    
            * glib/tmpl/datalist.sgml:
            * glib/tmpl/datalset.sgml: document non-thread-safety for
            _foreach() functions.
    tim-janik committed with Tim Janik Jul 30, 2005
  2. reverted notify_mutex introduction, since this prevents parallelized

    Sat Jul 30 21:10:26 2005  Tim Janik  <timj@gtk.org>
    
            * gobject.c: reverted notify_mutex introduction, since this prevents
            parallelized setting of object properties on different objects, and
            serves no apparent purpose (to me at least).
            g_object_real_dispose(): removed non-atomic reference count
            modifications.
            g_object_unref(): make sure the closures array is destroyed when
            destroying signal handlers.
    
            * gparam.c: cosmetic changes.
    
            * gsignal.c: comment fixup. allow 16bit blocking count.
    
            * gsignal.c: reverted GClosure related changes.
    
            * gclosure.c: reverted premature commit of atomic reference
            counting attempt.
    tim-janik committed with Tim Janik Jul 30, 2005
Commits on Jul 28, 2005
  1. Updated Finnish translation

    Ilkka Tuohela committed Jul 28, 2005
Commits on Jul 27, 2005
  1. Fixed format specifiers. Thanks to Murray Cumming for pointing this out.

    2005-07-27  Christian Neumair  <chris@gnome-de.org>
    
    	* de.po: Fixed format specifiers. Thanks to Murray Cumming for
    	pointing this out.
    Christian Neumair committed with Christian Neumair Jul 27, 2005
Commits on Jul 26, 2005
  1. Include glibintl.h, not gi18n.h, noticed by Dan Winship.

    2005-07-26  Matthias Clasen  <mclasen@redhat.com>
    
    	* glib/goption.c: Include glibintl.h, not gi18n.h, noticed
    	by Dan Winship.
    Matthias Clasen committed with Matthias Clasen Jul 26, 2005
  2. Try -mt as compiler flag for threads, needed for the HP C compiler on

    2005-07-26  Matthias Clasen  <mclasen@redhat.com>
    
    	* configure.in: Try -mt as compiler flag for threads, needed
    	for the HP C compiler on HP-UX.  (#163051, Paul Cornett)
    Matthias Clasen committed with Matthias Clasen Jul 26, 2005
  3. Fix a typo in the docs. (#311569, Ross Burton)

    2005-07-26  Matthias Clasen  <mclasen@redhat.com>
    
    	* glib/ghash.c (g_hash_table_foreach): Fix a typo in the
    	docs.  (#311569, Ross Burton)
    Matthias Clasen committed with Matthias Clasen Jul 26, 2005
  4. Updated German translation.

    2005-07-26  Hendrik Brandt  <heb@gnome-de.org>
    
            * de.po: Updated German translation.
    Hendrik Brandt committed with Hendrik Brandt Jul 26, 2005
  5. One more improvement.

    2005-07-26  Matthias Clasen  <mclasen@redhat.com>
    
    	* glib/tmpl/arrays.sgml: One more improvement.
    Matthias Clasen committed with Matthias Clasen Jul 26, 2005
  6. Updated Polish translation by GNOME PL Team.

    2005-07-26  Artur Flinta  <aflinta@cvs.gnome.org>
    
    	* pl.po: Updated Polish translation by GNOME PL Team.
    Artur Flinta committed with Artur Flinta Jul 26, 2005