platform/upstream/glib.git
18 years agouse standard_calloc to allocate the profile_data. (#335209, Chris Wilson)
Matthias Clasen [Mon, 20 Mar 2006 18:43:32 +0000 (18:43 +0000)]
use standard_calloc to allocate the profile_data. (#335209, Chris Wilson)

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

        * glib/gmem.c (profiler_log): use standard_calloc to allocate
        the profile_data.  (#335209, Chris Wilson)

        * glib/gmain.c (g_main_context_unref): Avoid a deadlock.
        (#335207, Chris Wilson)

        Minor optimizations (#335216, Chris Wilson):

        * glib/gasyncqueue.c (g_async_queue_pop_intern_unlocked): Use
        g_queue_peek_tail_link instead of g_queue_peek_tail.

        * glib/glist.c:
        * glib/gslist.c: Avoid some memset calls.

18 years agoAdd this, at the request of the GNOME sysadmin team.
Matthias Clasen [Mon, 20 Mar 2006 03:56:33 +0000 (03:56 +0000)]
Add this, at the request of the GNOME sysadmin team.

2006-03-19  Matthias Clasen  <mclasen@redhat.com>

* MAINTAINERS: Add this, at the request of the GNOME sysadmin team.

18 years agoHint that @error should be set in error cases. (#334646, Christian Persch)
Matthias Clasen [Wed, 15 Mar 2006 13:46:49 +0000 (13:46 +0000)]
Hint that @error should be set in error cases. (#334646, Christian Persch)

2006-03-15  Matthias Clasen  <mclasen@redhat.com>

* glib/tmpl/option.sgml: Hint that @error should
be set in error cases.  (#334646, Christian Persch)

18 years agoOnly set the prgname if it hasn't been set before. (#334611, Chong Kai
Matthias Clasen [Wed, 15 Mar 2006 13:03:48 +0000 (13:03 +0000)]
Only set the prgname if it hasn't been set before. (#334611, Chong Kai

2006-03-15  Matthias Clasen  <mclasen@redhat.com>

* glib/goption.c (g_option_context_parse): Only set the prgname
if it hasn't been set before.  (#334611, Chong Kai Xiong)

18 years agoDon't read past the end of the string. (#334471, Morten Welinder)
Matthias Clasen [Tue, 14 Mar 2006 17:56:27 +0000 (17:56 +0000)]
Don't read past the end of the string. (#334471, Morten Welinder)

2006-03-14  Matthias Clasen  <mclasen@redhat.com>

* glib/gutils.c (g_parse_debug_string): Don't read past the
end of the string.  (#334471, Morten Welinder)

18 years agoDon't create the option_name twice. (#334519, Chris Wilson)
Matthias Clasen [Tue, 14 Mar 2006 15:34:54 +0000 (15:34 +0000)]
Don't create the option_name twice. (#334519, Chris Wilson)

2006-03-14  Matthias Clasen  <mclasen@redhat.com>

* glib/goption.c (parse_short_option): Don't create the
option_name twice.  (#334519, Chris Wilson)

18 years agoUpdated Turkish Translation
Baris Cicek [Mon, 13 Mar 2006 22:03:53 +0000 (22:03 +0000)]
Updated Turkish Translation

18 years agoRevert fix for #322476, it breaks module loading since libtool on darwin
Anders Carlsson [Mon, 13 Mar 2006 08:40:54 +0000 (08:40 +0000)]
Revert fix for #322476, it breaks module loading since libtool on darwin

2006-03-13  Anders Carlsson  <andersca@luminoth.local>

        * configure.in: Revert fix for #322476, it breaks module loading
        since libtool on darwin makes shared modules use .so and shared
        libraries use .dylib. The fix breaks shared module loading everywhere
        in GTK+.

18 years agoUpdated Romanian translation by Mişu Moldovan <dumol@gnome.ro>
Mugurel Tudor [Mon, 13 Mar 2006 06:26:39 +0000 (06:26 +0000)]
Updated Romanian translation by Mişu Moldovan <dumol@gnome.ro>

2006-03-13  Mugurel Tudor  <mugurelu@gnome.ro>

* ro.po: Updated Romanian translation by
Mişu Moldovan <dumol@gnome.ro>

18 years agoImplement watches for GIOChannels for write file descriptors on Win32
Marcus Brinkmann [Sat, 11 Mar 2006 21:03:00 +0000 (21:03 +0000)]
Implement watches for GIOChannels for write file descriptors on Win32

2006-03-02  Marcus Brinkmann  <mb@g10code.de>

Implement watches for GIOChannels for write file descriptors on
Win32 (#333098).

* glib/giowin32.c (GIOWin32Channel): Add a new direction field.
(read_thread): Initialize direction.
(write_thread): New function.
(buffer_write): New function.
(g_io_win32_prepare): Handle the G_IO_WIN32_FILE_DESC case for the
write direction.
(g_io_win32_fd_write): Call buffer_write() if there is a writer
thread.
(g_io_win32_fd_close): Set space_avail_event for writer threads.
(g_io_win32_fd_create_watch): Create the writer thread if
condition is G_IO_OUT.
(g_io_channel_win32_make_pollfd): Likewise here.

18 years ago#define _WIN32_WINDOWS as 0x0401 to get declaration for
Tor Lillqvist [Sat, 11 Mar 2006 20:43:42 +0000 (20:43 +0000)]
#define _WIN32_WINDOWS as 0x0401 to get declaration for

2006-03-11  Tor Lillqvist  <tml@novell.com>

* gthread-win32.c: #define _WIN32_WINDOWS as 0x0401 to get
declaration for IsDebuggerPresent() when using MSVC6. (#333879,
Kazuki Iwamoto)

18 years agoupdate translation for Punjabi (Gurmukhi) by apbrar gmail com
Amanpreet Singh Alam [Sat, 11 Mar 2006 06:23:32 +0000 (06:23 +0000)]
update translation for Punjabi (Gurmukhi) by apbrar gmail com

18 years agoUpdated Brazilian Portuguese translation from Leandro A. F. Pereira
Guilherme de S. Pastore [Sat, 11 Mar 2006 02:21:19 +0000 (02:21 +0000)]
Updated Brazilian Portuguese translation from Leandro A. F. Pereira

* pt_BR.po: Updated Brazilian Portuguese translation from Leandro
  A. F. Pereira <leandro@linuxmag.com.br>.

18 years agoUpdated Translation
Rajesh Ranjan [Fri, 10 Mar 2006 07:51:20 +0000 (07:51 +0000)]
Updated Translation

18 years agoUpdated Translation
Rajesh Ranjan [Fri, 10 Mar 2006 07:42:58 +0000 (07:42 +0000)]
Updated Translation

18 years agoUpdated Oriya Translation
Subhransu Behera [Fri, 10 Mar 2006 05:48:10 +0000 (05:48 +0000)]
Updated Oriya Translation

18 years agoUpdated Oriya translation and removed fuzzy
Subhransu Behera [Fri, 10 Mar 2006 05:27:33 +0000 (05:27 +0000)]
Updated Oriya translation and removed fuzzy

18 years agoMention that the second parameter of g_timer_elapsed can be NULL (#333916,
Matthias Clasen [Thu, 9 Mar 2006 05:45:48 +0000 (05:45 +0000)]
Mention that the second parameter of g_timer_elapsed can be NULL (#333916,

2006-03-09  Matthias Clasen  <mclasen@redhat.com>

        * glib/templ/timers.sgml: Mention that the second
        parameter of g_timer_elapsed can be NULL (#333916,
        Christian Neumair)

18 years agodist all changelogs
Matthias Clasen [Thu, 9 Mar 2006 05:31:52 +0000 (05:31 +0000)]
dist all changelogs

18 years agoAdd G_GUINT64_CONSTANT.
Tor Lillqvist [Tue, 7 Mar 2006 23:45:30 +0000 (23:45 +0000)]
Add G_GUINT64_CONSTANT.

2006-03-08  Tor Lillqvist  <tml@novell.com>

* glibconfig.h.win32.in: Add G_GUINT64_CONSTANT.

18 years agoBump version
Matthias Clasen [Tue, 7 Mar 2006 19:18:16 +0000 (19:18 +0000)]
Bump version

18 years ago2.10.1 GLIB_2_10_1
Matthias Clasen [Tue, 7 Mar 2006 18:30:23 +0000 (18:30 +0000)]
2.10.1

18 years agoPrepare 2.10.1
Matthias Clasen [Tue, 7 Mar 2006 17:02:38 +0000 (17:02 +0000)]
Prepare 2.10.1

18 years agoMatch the prototype in gconvert.c to fix build problems in NetBSD.
Matthias Clasen [Tue, 7 Mar 2006 16:32:38 +0000 (16:32 +0000)]
Match the prototype in gconvert.c to fix build problems in NetBSD.

2006-03-07  Matthias Clasen  <mclasen@redhat.com>

* glib/gutf8.c (_g_charset_get_aliases): Match the prototype
in gconvert.c to fix build problems in NetBSD.  (#333651,
Julio M. Merino Vidal)

18 years agoadded case3 to hand out the original floating flag handler. required by
Tim Janik [Tue, 7 Mar 2006 16:15:20 +0000 (16:15 +0000)]
added case3 to hand out the original floating flag handler. required by

Tue Mar  7 17:09:07 2006  Tim Janik  <timj@gtk.org>

        * gobject.c (g_object_compat_control): added case3 to hand out the
        original floating flag handler. required by gtk+ >= 2.10.

18 years agoSwedish translation updated.
Daniel Nylander [Tue, 7 Mar 2006 12:18:15 +0000 (12:18 +0000)]
Swedish translation updated.

2006-03-07  Daniel Nylander  <po@danielnylander.se>

        * sv.po: Swedish translation updated.

18 years agoMake .dylib the shared library suffix on darwin. (#322476, Vladimir Panov)
Anders Carlsson [Mon, 6 Mar 2006 08:06:22 +0000 (08:06 +0000)]
Make .dylib the shared library suffix on darwin. (#322476, Vladimir Panov)

2006-03-06  Anders Carlsson  <andersca@imendio.com>

        * configure.in:
        Make .dylib the shared library suffix on darwin.
        (#322476, Vladimir Panov)

18 years agoSkip checking thread flags on Darwin. Fix suggested by Manish Singh.
Anders Carlsson [Mon, 6 Mar 2006 07:53:24 +0000 (07:53 +0000)]
Skip checking thread flags on Darwin. Fix suggested by Manish Singh.

2006-03-06  Anders Carlsson  <andersca@imendio.com>

        * configure.in:
        Skip checking thread flags on Darwin. Fix suggested by Manish Singh.
        (#314794, Gregor Riepl)

18 years agofirst
Norayr Chilingaryan [Fri, 3 Mar 2006 12:47:18 +0000 (12:47 +0000)]
first

18 years agoHungarian translation updated.
Gabor Kelemen [Fri, 3 Mar 2006 01:04:58 +0000 (01:04 +0000)]
Hungarian translation updated.

2006-03-03  Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Hungarian translation updated.

18 years agoUpdated Macedonian Translation <arangela@cvs.gnome.org>
Arangel Angov [Thu, 2 Mar 2006 15:02:47 +0000 (15:02 +0000)]
Updated Macedonian Translation <arangela@cvs.gnome.org>

18 years agoIncrease to 100. 16 was rather low. (g_private_new_win32_impl): Can't use
Tor Lillqvist [Thu, 2 Mar 2006 12:05:40 +0000 (12:05 +0000)]
Increase to 100. 16 was rather low. (g_private_new_win32_impl): Can't use

2006-03-02  Tor Lillqvist  <tml@novell.com>

* gthread-win32.c (G_PRIVATE_MAX): Increase to 100. 16 was rather
low.
(g_private_new_win32_impl): Can't use g_error() here as
g_private_new() is called a few times by GLib internally before
the messaging system that g_error() requires is ready. Thanks to
Tim Janik for noticing. Just display a MessageBox() and abort()
instead.

18 years agoSeparate implementation on Win32: Use the wide character API on NT-based
Tor Lillqvist [Wed, 1 Mar 2006 14:18:55 +0000 (14:18 +0000)]
Separate implementation on Win32: Use the wide character API on NT-based

2006-03-01  Tor Lillqvist  <tml@novell.com>

* glib/gutils.c (g_listenv): Separate implementation on Win32: Use
the wide character API on NT-based Windows. Return UTF-8 strings.

* glib/glib.symbols: Don't mark g_listenv as PRIVATE, as that
meant it wasn't present in the import library. PRIVATE is used
only for the backwards-compatibility DLL ABI stability hacks.

18 years agoUpdated Polish translation by GNOME PL Team.
Artur Flinta [Sat, 25 Feb 2006 10:53:13 +0000 (10:53 +0000)]
Updated Polish translation by GNOME PL Team.

2006-02-25  Artur Flinta  <aflinta@cvs.gnome.org>

* pl.po: Updated Polish translation by GNOME PL Team.

18 years agoUpdated French translation.
Benoît Dejean [Sat, 25 Feb 2006 10:50:28 +0000 (10:50 +0000)]
Updated French translation.

* fr.po: Updated French translation.

18 years agoUpdated Lithuanian translation.
Žygimantas Beručka [Sat, 25 Feb 2006 08:55:43 +0000 (08:55 +0000)]
Updated Lithuanian translation.

2006-02-25  Žygimantas Beručka  <zygis@gnome.org>

        * lt.po: Updated Lithuanian translation.

18 years agoBump version
Matthias Clasen [Fri, 24 Feb 2006 18:03:36 +0000 (18:03 +0000)]
Bump version

18 years ago2.10.0 GLIB_2_10_0
Matthias Clasen [Fri, 24 Feb 2006 17:17:35 +0000 (17:17 +0000)]
2.10.0

18 years agoPreparations for 2.10
Matthias Clasen [Fri, 24 Feb 2006 14:25:06 +0000 (14:25 +0000)]
Preparations for 2.10

18 years agoAdd tests for g_utf8_strlen().
Matthias Clasen [Fri, 24 Feb 2006 13:56:58 +0000 (13:56 +0000)]
Add tests for g_utf8_strlen().

2006-02-24  Matthias Clasen  <mclasen@redhat.com>

        * tests/utf8-pointer.c: Add tests for g_utf8_strlen().

        * glib/gutf8.c: Fix boundary cases in g_utf8_strlen().
        (#332435)

18 years agoPlug leaks reported by valgrind. Same. Same Same. Same. Same.
Kjartan Maraas [Thu, 23 Feb 2006 09:09:55 +0000 (09:09 +0000)]
Plug leaks reported by valgrind. Same. Same Same. Same. Same.

2006-02-23  Kjartan Maraas  <kmaraas@gnome.org>

* tests/completion-test.c: (main): Plug leaks reported by
valgrind.
* tests/convert-test.c: (test_iconv_state), (test_one_half):
Same.
* tests/patterntest.c: (test_compilation): Same
* tests/shell-test.c: (do_argv_test): Same.
* tests/unicode-caseconv.c: (main): Same.
* tests/uri-test.c: (run_to_uri_tests): Same.

18 years agoka.po: Added Georgian translation.
Clytie Siddall [Thu, 23 Feb 2006 06:33:44 +0000 (06:33 +0000)]
ka.po: Added Georgian translation.

18 years agoka.po: Added Georgian translation.
Clytie Siddall [Thu, 23 Feb 2006 06:31:29 +0000 (06:31 +0000)]
ka.po: Added Georgian translation.

18 years agoadd @since: for _add_private, _GET_PRIVATE fix example to use ->priv and
Stefan Kost [Wed, 22 Feb 2006 14:41:14 +0000 (14:41 +0000)]
add @since: for _add_private, _GET_PRIVATE fix example to use ->priv and

* gobject/tmpl/gtype.sgml:
add @since: for _add_private, _GET_PRIVATE
* gobject/tut_gobject.xml:
fix example to use ->priv and not ->private
* gobject/tut_howto.xml:
fix g_type_class_add_private example

18 years agoUpdated Basque translation.
Inaki Larranaga [Tue, 21 Feb 2006 14:17:54 +0000 (14:17 +0000)]
Updated Basque translation.

2006-02-21  Inaki Larranaga  <dooteo@euskalgnu.org>

* eu.po: Updated Basque translation.

18 years agoDocument some Windows-specific issues.
Tor Lillqvist [Mon, 20 Feb 2006 10:56:13 +0000 (10:56 +0000)]
Document some Windows-specific issues.

2006-02-14  Tor Lillqvist  <tml@novell.com>

* glib/tmpl/iochannels.sgml: Document some Windows-specific issues.

* glib/glib-sections.txt: Move three Windows-specific functions
that now are documented from being Private to the correct section.

18 years agoUpdated Greek translation
Kostas Papadimas [Mon, 20 Feb 2006 10:49:40 +0000 (10:49 +0000)]
Updated Greek translation

18 years agoMake the implementation of GPrivate behave more closely as in POSIX
Tor Lillqvist [Mon, 20 Feb 2006 02:47:30 +0000 (02:47 +0000)]
Make the implementation of GPrivate behave more closely as in POSIX

2006-02-20  Tor Lillqvist  <tml@novell.com>

* gthread-win32.c (g_thread_exit_win32_impl): Make the
implementation of GPrivate behave more closely as in POSIX
threads: The value associacted with a GPrivate must be set to NULL
before calling the destructor. (The destructor gets the original
value as argument.)  A destructor might re-associate a non-NULL
value with some GPrivate. To deal with this, if after all
destructors have been called, there still are some non-NULL
values, the process is repeated. (#331367)

18 years agoUpdated to test _sort, _sort_with_data, _insert_sorted and
Martyn James Russell [Sun, 19 Feb 2006 17:17:32 +0000 (17:17 +0000)]
Updated to test _sort, _sort_with_data, _insert_sorted and

* tests/asyncqueue-test.c:
* tests/list-test.c:
* tests/slist-test.c: Updated to test _sort, _sort_with_data,
_insert_sorted and _insert_sorted_with_data API.

18 years agoAdd paramspec-test
Matthias Clasen [Sat, 18 Feb 2006 21:07:18 +0000 (21:07 +0000)]
Add paramspec-test

2006-02-18  Matthias Clasen  <mclasen@redhat.com>

* tests/gobject/Makefile.am: Add paramspec-test

* tests/gobject/paramspec-test.c: Some GParamSpec tests.

18 years agoAdd more tests.
Matthias Clasen [Sat, 18 Feb 2006 20:37:14 +0000 (20:37 +0000)]
Add more tests.

2006-02-18  Matthias Clasen  <mclasen@redhat.com>

* tests/gobject/gvalue-test.c: Add more tests.

18 years agop in str, not str in p
Kang Jeong-Hee [Fri, 17 Feb 2006 18:06:17 +0000 (18:06 +0000)]
p in str, not str in p

18 years agoUpdated Ukrainian translation.
Maxim Dziumanenko [Thu, 16 Feb 2006 13:51:53 +0000 (13:51 +0000)]
Updated Ukrainian translation.

2006-02-16  Maxim Dziumanenko <mvd@mylinux.ua>

* Updated Ukrainian translation.

18 years agoFix deadlock when signalling the thread which freed a thread pool
Sebastian Wilhelmi [Wed, 15 Feb 2006 22:10:49 +0000 (22:10 +0000)]
Fix deadlock when signalling the thread which freed a thread pool

2006-02-15  Sebastian Wilhelmi  <seppi@seppi.de>

* glib/gthreadpool.c: Fix deadlock when signalling the thread
which freed a thread pool (#331110, Chris Wilson).

18 years agoonly define _XOPEN_SOURCE to 600 to get at posix_memalign() in case we
Tim Janik [Tue, 14 Feb 2006 16:31:37 +0000 (16:31 +0000)]
only define _XOPEN_SOURCE to 600 to get at posix_memalign() in case we

Tue Feb 14 17:00:43 2006  Tim Janik  <timj@imendio.com>

        * glib/gslice.c: only define _XOPEN_SOURCE to 600 to get at
        posix_memalign() in case we actually are going to use it, because
        we detected a compliant implementation (#328997).

        * configure.in (enable_included_printf): don't include malloc.h when
        testing for posix_memalign() funcitonality, since this may break the
        test on some systems (#328997).

18 years agoImprove docs
Matthias Clasen [Tue, 14 Feb 2006 13:15:40 +0000 (13:15 +0000)]
Improve docs

18 years agoBump version
Matthias Clasen [Sat, 11 Feb 2006 14:17:05 +0000 (14:17 +0000)]
Bump version

18 years ago2.9.6 GLIB_2_9_6
Matthias Clasen [Sat, 11 Feb 2006 14:05:58 +0000 (14:05 +0000)]
2.9.6

18 years agoFix a typo
Matthias Clasen [Fri, 10 Feb 2006 18:47:07 +0000 (18:47 +0000)]
Fix a typo

18 years agoUpdated Italian translation.
Luca Ferretti [Wed, 8 Feb 2006 14:08:43 +0000 (14:08 +0000)]
Updated Italian translation.

2006-02-08  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation.

18 years agoUpdated Czech translation.
Lukas Novotny [Tue, 7 Feb 2006 20:26:12 +0000 (20:26 +0000)]
Updated Czech translation.

2006-02-07  Lukas Novotny  <lukasnov@cvs.gnome.org>

  * cs.po: Updated Czech translation.

18 years agoGet rid of trio/ folder.
Michael Natterer [Mon, 6 Feb 2006 12:59:53 +0000 (12:59 +0000)]
Get rid of trio/ folder.

18 years agoUpdated Welsh translation.
Rhys Jones [Sat, 4 Feb 2006 21:24:31 +0000 (21:24 +0000)]
Updated Welsh translation.

2006-02-04  Rhys Jones  <rhys@sucs.org>

* cy.po: Updated Welsh translation.

18 years agoUpdated Welsh translation.
Rhys Jones [Fri, 3 Feb 2006 19:42:46 +0000 (19:42 +0000)]
Updated Welsh translation.

2006-02-03  Rhys Jones  <rhys@sucs.org>

* cy.po: Updated Welsh translation.

18 years agoUpdated Russian translation
Leonid Kanter [Wed, 1 Feb 2006 16:38:13 +0000 (16:38 +0000)]
Updated Russian translation

18 years agoSpecify the type of varargs arguments. (bug #317679)
Behdad Esfahbod [Tue, 31 Jan 2006 23:22:52 +0000 (23:22 +0000)]
Specify the type of varargs arguments. (bug #317679)

2006-01-31  Behdad Esfahbod  <behdad@gnome.org>

        * docs/reference/glib/tmpl/relations.sgml (g_relation_insert): Specify
        the type of varargs arguments. (bug #317679)

18 years agoUpdated Serbian translation
Slobodan D, Sredojevic [Tue, 31 Jan 2006 23:20:16 +0000 (23:20 +0000)]
Updated Serbian translation

2006-01-31  Slobodan D, Sredojevic  <slobo@akrep.be>

        * sr.po, sr@Latn.po: Updated Serbian translation

18 years agoTouch README and INSTALL here to pacify automake. (#329124, Kjartan
Matthias Clasen [Tue, 31 Jan 2006 17:34:38 +0000 (17:34 +0000)]
Touch README and INSTALL here to pacify automake. (#329124, Kjartan

2006-01-31  Matthias Clasen  <mclasen@redhat.com>

* autogen.sh: Touch README and INSTALL here to pacify
automake.  (#329124, Kjartan Maraas, Tim Janik)

18 years agocarry out all dtalist pointer accesses atomically, some missing cases
Tim Janik [Tue, 31 Jan 2006 15:46:34 +0000 (15:46 +0000)]
carry out all dtalist pointer accesses atomically, some missing cases

Tue Jan 31 16:45:03 2006  Tim Janik  <timj@imendio.com>

        * glib/gdataset.c: carry out all dtalist pointer accesses atomically,
        some missing cases where pointed out by Sebastian Wilhelmi.

18 years agogenerate build/win32/vs8/Makefile, to fix build breakage.
Tim Janik [Tue, 31 Jan 2006 11:39:03 +0000 (11:39 +0000)]
generate build/win32/vs8/Makefile, to fix build breakage.

Tue Jan 31 12:33:48 2006  Tim Janik  <timj@imendio.com>

        * configure.in: generate build/win32/vs8/Makefile, to fix build breakage.

18 years agoUpdate URL
David Schleef [Mon, 30 Jan 2006 18:32:17 +0000 (18:32 +0000)]
Update URL

2006-01-30  David Schleef  <ds@schleef.org>

        * glib/grand.c: Update URL

18 years agoUpdated Albanian translation.
Laurent Dhima [Mon, 30 Jan 2006 10:01:12 +0000 (10:01 +0000)]
Updated Albanian translation.

2006-01-30  Laurent Dhima  <laurenti@alblinux.net>

* sq.po: Updated Albanian translation.

18 years agoRemove C++ comment
Matthias Clasen [Mon, 30 Jan 2006 04:19:07 +0000 (04:19 +0000)]
Remove C++ comment

18 years agotell how to create container classes which are as flexible as a GValue is
Sven Herzberg [Sun, 29 Jan 2006 14:30:22 +0000 (14:30 +0000)]
tell how to create container classes which are as flexible as a GValue is

2006-01-29  Sven Herzberg  <herzi@gnome-de.org>

        * docs/reference/gobject/tmpl/param_value_types.sgml: tell how to
create container classes which are as flexible as a GValue is

18 years agoUpdated Portuguese translation.
Duarte Loreto [Sat, 28 Jan 2006 12:33:50 +0000 (12:33 +0000)]
Updated Portuguese translation.

2006-01-28  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

18 years agoUpdated Korean translation.
Changwoo Ryu [Fri, 27 Jan 2006 18:34:18 +0000 (18:34 +0000)]
Updated Korean translation.

2006-01-28  Changwoo Ryu  <cwryu@debian.org>

* ko.po: Updated Korean translation.

18 years agoBump version
Matthias Clasen [Fri, 27 Jan 2006 14:37:54 +0000 (14:37 +0000)]
Bump version

18 years ago2.9.5 GLIB_2_9_5
Matthias Clasen [Fri, 27 Jan 2006 14:37:02 +0000 (14:37 +0000)]
2.9.5

18 years agoUpdates
Matthias Clasen [Fri, 27 Jan 2006 13:01:37 +0000 (13:01 +0000)]
Updates

18 years agoFix C99isms. (#328705, Kazuki Iwamoto)
Matthias Clasen [Thu, 26 Jan 2006 19:43:48 +0000 (19:43 +0000)]
Fix C99isms. (#328705, Kazuki Iwamoto)

2006-01-26  Matthias Clasen  <mclasen@redhat.com>

* glib/gmem.c (g_mem_init_nomessage): Fix C99isms.  (#328705,
Kazuki Iwamoto)

18 years agoMention g_trap_object_ref
Matthias Clasen [Thu, 26 Jan 2006 19:28:33 +0000 (19:28 +0000)]
Mention g_trap_object_ref

2006-01-26  Matthias Clasen  <mclasen@redhat.com>

* gobject/tut_tools.xml: Mention g_trap_object_ref

* glib/running.sgml: Add g_trap variables to the index.
Mention conditional breakpoints as an alternative.

18 years agofixed buglets reported by Jens Granseuer in #328254.
Tim Janik [Wed, 25 Jan 2006 18:20:28 +0000 (18:20 +0000)]
fixed buglets reported by Jens Granseuer in #328254.

Wed Jan 25 19:16:57 2006  Tim Janik  <timj@imendio.com>

        * fixed buglets reported by Jens Granseuer in #328254.

        * configure.in: free the memory allocated in posix_memalign() tests.

        * glib/gslice.c: spelling fixes.

18 years agolink to G_DEBUG/G_SLICE where appropriate.
Tim Janik [Wed, 25 Jan 2006 16:32:53 +0000 (16:32 +0000)]
link to G_DEBUG/G_SLICE where appropriate.

Wed Jan 25 17:32:22 2006  Tim Janik  <timj@gtk.org>

        * glib/tmpl/memory_slices.sgml: link to G_DEBUG/G_SLICE where appropriate.

18 years agodocumented G_SLICE=always-malloc and G_DEBUG=gc-friendly. added anchors
Tim Janik [Wed, 25 Jan 2006 16:14:09 +0000 (16:14 +0000)]
documented G_SLICE=always-malloc and G_DEBUG=gc-friendly. added anchors

Wed Jan 25 17:12:47 2006  Tim Janik  <timj@gtk.org>

        * glib/running.sgml: documented G_SLICE=always-malloc and
        G_DEBUG=gc-friendly. added anchors for each env var.

18 years agohonour g_mem_gc_friendly settings when freeing slices, make sure
Tim Janik [Wed, 25 Jan 2006 15:51:43 +0000 (15:51 +0000)]
honour g_mem_gc_friendly settings when freeing slices, make sure

Wed Jan 25 16:39:18 2006  Tim Janik  <timj@imendio.com>

        * glib/gslice.c: honour g_mem_gc_friendly settings when freeing
        slices, make sure g_mem_gc_friendly is properly initialized.

        * gmem.[hc]: ensure g_mem_gc_friendly is initialized from G_DEBUG upon
        the first allocation. applied some branching optimizations.

        * docs/macros.txt: reflected --enable-gc-friendly change and
        described ENABLE_GC_FRIENDLY_DEFAULT as well as G_DEBUG=gc-friendly.

        * configure.in: changed --enable-gc-friendly=yes to define
        ENABLE_GC_FRIENDLY_DEFAULT.

        * glib/garray.c: changed ENABLE_GC_FRIENDLY macro #ifdef-s to
        if (G_UNLIKELY (g_mem_gc_friendly)).

        * glib/gtree.c:
        * glib/ghash.c: removed ENABLE_GC_FRIENDLY code which is now taken
        care of by g_slice_free1().

        * tests/slice-test.c: fixed leaks, reported by Kjartan Maraas.

18 years agoonly use posix_memalign() if it's known to work, revert to memalign()
Tim Janik [Tue, 24 Jan 2006 16:56:17 +0000 (16:56 +0000)]
only use posix_memalign() if it's known to work, revert to memalign()

Tue Jan 24 17:49:36 2006  Tim Janik  <timj@imendio.com>

        * glib/gslice.c: only use posix_memalign() if it's known to work,
        revert to memalign() otherwise.

        * configure.in: check for broken posix_memalign() implementations
        to fix #328254.

18 years agoUse UTF-16LE as target encoding on all little-endian systems. (#143380,
Matthias Clasen [Tue, 24 Jan 2006 15:25:11 +0000 (15:25 +0000)]
Use UTF-16LE as target encoding on all little-endian systems. (#143380,

2006-01-24  Matthias Clasen  <mclasen@redhat.com>

* tests/unicode-encoding.c: Use UTF-16LE as target encoding
on all little-endian systems.  (#143380, Marc Moorcroft)

18 years agoTranslation updated by Ivar Smolin.
Priit Laes [Tue, 24 Jan 2006 12:56:40 +0000 (12:56 +0000)]
Translation updated by Ivar Smolin.

2006-01-24  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

18 years agoChange the shared libary extension for hpux-ia64 to so. (#328253, The
Matthias Clasen [Tue, 24 Jan 2006 05:04:57 +0000 (05:04 +0000)]
Change the shared libary extension for hpux-ia64 to so. (#328253, The

2006-01-23  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Change the shared libary extension for hpux-ia64
to so.  (#328253, The Written Word)

18 years agowiped out all the wonderfull G_OS_WIN32 code i wrote ;-[) after tml told
Tim Janik [Mon, 23 Jan 2006 16:32:22 +0000 (16:32 +0000)]
wiped out all the wonderfull G_OS_WIN32 code i wrote ;-[) after tml told

Mon Jan 23 17:30:33 2006  Tim Janik  <timj@imendio.com>

        * glib/gutils.c (_g_getenv_nomalloc): wiped out all the wonderfull
        G_OS_WIN32 code i wrote ;-[) after tml told me windows has getenv()
        as well.

18 years agoinitialize GSlice config from G_SLICE environemtn variable. we support
Tim Janik [Mon, 23 Jan 2006 15:51:06 +0000 (15:51 +0000)]
initialize GSlice config from G_SLICE environemtn variable. we support

Mon Jan 23 16:46:20 2006  Tim Janik  <timj@imendio.com>

        * glib/gslice.c (slice_config_init): initialize GSlice config from
        G_SLICE environemtn variable. we support G_SLICE=always-malloc
        currently, which forces all g_slice_*() allocations to use the system
        malloc instead.

        * glib/gutils.c:
        g_parse_debug_string(): added a note about not using g_malloc() here.
        _g_getenv_nomalloc(): getenv() variant that doesn't use g_malloc or
        g_slice. contains only guesswork in the WIN32 branch.

18 years agoUpdated glib translation.
Funda Wang [Sat, 21 Jan 2006 14:37:43 +0000 (14:37 +0000)]
Updated glib translation.

18 years agoUpdated Danish translation.
Ole Laursen [Wed, 18 Jan 2006 17:42:46 +0000 (17:42 +0000)]
Updated Danish translation.

2006-01-18  Ole Laursen  <olau@hardworking.dk>

* da.po: Updated Danish translation.

18 years agoBump version
Matthias Clasen [Wed, 18 Jan 2006 17:35:27 +0000 (17:35 +0000)]
Bump version

18 years ago2.9.4 GLIB_2_9_4
Matthias Clasen [Wed, 18 Jan 2006 17:16:21 +0000 (17:16 +0000)]
2.9.4

18 years agoMake g_object_compat_control() visible for GTK+ compilation, to avoid
Matthias Clasen [Wed, 18 Jan 2006 16:03:57 +0000 (16:03 +0000)]
Make g_object_compat_control() visible for GTK+ compilation, to avoid

2006-01-18  Matthias Clasen  <mclasen@redhat.com>

* gobject.h: Make g_object_compat_control() visible
for GTK+ compilation, to avoid segfaults on 64bit
platforms.

18 years agoAdd a note explaining peculiarities of peek_token wrt to scope changes.
Matthias Clasen [Wed, 18 Jan 2006 05:35:29 +0000 (05:35 +0000)]
Add a note explaining peculiarities of peek_token wrt to scope changes.

2006-01-18  Matthias Clasen  <mclasen@redhat.com>

* glib/tmpl/scanner.sgml: Add a note explaining peculiarities
of peek_token wrt to scope changes.  (#307922)

18 years agoAdd a note about casting the results of g_new() and g_new0().
Matthias Clasen [Wed, 18 Jan 2006 03:51:39 +0000 (03:51 +0000)]
Add a note about casting the results of g_new() and g_new0().

2006-01-17  Matthias Clasen  <mclasen@redhat.com>

* glib/tmpl/memory.sgml: Add a note about casting the results
of g_new() and g_new0().

18 years agoTo avoid deadlocks get rid of the settings G_LOCK. Use the
Sebastian Wilhelmi [Tue, 17 Jan 2006 20:06:27 +0000 (20:06 +0000)]
To avoid deadlocks get rid of the settings G_LOCK. Use the

2006-01-17  Sebastian Wilhelmi  <seppi@seppi.de>

* glib/gthreadpool.c: To avoid deadlocks get rid of the settings
G_LOCK. Use the unused_thread_queue lock instead. Change
g_thread_pool_thread_proxy such that threads only wait on
non-exlusive pools for at most a 1/2 second. Do not reorder tasks
due to superfluous tasks. Global tasks wait at most for
max-idle-time milliseconds. Make sure, that no task is woken up
twice for the same event via a wakeup_serial. This fixes #324228.

* tests/threadpool-test.c: Adapt test accordingly. Do not pass
invalid NULL into the thread pools. This as well fixes #327290.

18 years agoBump version
Matthias Clasen [Tue, 17 Jan 2006 00:04:52 +0000 (00:04 +0000)]
Bump version