platform/upstream/glib.git
17 years agoHandle J changes in the pattern correctly. (#444765, Yevgen Muntyan)
Matthias Clasen [Fri, 3 Aug 2007 18:07:55 +0000 (18:07 +0000)]
Handle J changes in the pattern correctly. (#444765, Yevgen Muntyan)

2007-08-03  Matthias Clasen  <mclasen@redhat.com>

        * glib/gregex.c: Handle J changes in the pattern
        correctly.  (#444765, Yevgen Muntyan)

svn path=/trunk/; revision=5669

17 years agoUpdated Turkish Translation
Baris Cicek [Fri, 3 Aug 2007 17:06:34 +0000 (17:06 +0000)]
Updated Turkish Translation

svn path=/trunk/; revision=5668

17 years agoAdded Kannada (kn) to ALL_LINGUAS
Pramod Raghavendra [Fri, 3 Aug 2007 08:35:02 +0000 (08:35 +0000)]
Added Kannada (kn) to ALL_LINGUAS

svn path=/trunk/; revision=5667

17 years agoAdded Kannada translations
Pramod Raghavendra [Fri, 3 Aug 2007 08:31:49 +0000 (08:31 +0000)]
Added Kannada translations

svn path=/trunk/; revision=5666

17 years agoUpdated Malayalam (ml) Translation
Ani Peter [Fri, 3 Aug 2007 08:27:22 +0000 (08:27 +0000)]
Updated Malayalam (ml) Translation

svn path=/trunk/; revision=5665

17 years agoUpdated Malayalam (ml) Translation
Ani Peter [Fri, 3 Aug 2007 08:27:06 +0000 (08:27 +0000)]
Updated Malayalam (ml) Translation

svn path=/trunk/; revision=5664

17 years agoUpdated polish translation
Wadim Dziedzic [Thu, 2 Aug 2007 21:02:12 +0000 (21:02 +0000)]
Updated polish translation

2007-08-02  Wadim Dziedzic  <wadimd@svn.gnome.org>

* pl.po: Updated polish translation

svn path=/trunk/; revision=5663

17 years agoUpdate so it applies again.
Tor Lillqvist [Wed, 1 Aug 2007 09:57:17 +0000 (09:57 +0000)]
Update so it applies again.

2007-08-01  Tor Lillqvist  <tml@novell.com>

* glib/update-pcre/notdll.patch: Update so it applies again.

* glib/pcre/pcre.h: Corresponding change.

svn path=/trunk/; revision=5662

17 years agoDrop leftover use of a union.
Tor Lillqvist [Wed, 1 Aug 2007 09:49:02 +0000 (09:49 +0000)]
Drop leftover use of a union.

2007-08-01  Tor Lillqvist  <tml@novell.com>

* glib/gutils.c (get_special_folder): Drop leftover use of a
union.

svn path=/trunk/; revision=5661

17 years agoUpdate to match what configure produces.
Tor Lillqvist [Wed, 1 Aug 2007 09:46:08 +0000 (09:46 +0000)]
Update to match what configure produces.

2007-08-01  Tor Lillqvist  <tml@novell.com>

* glibconfig.h.win32.in: Update to match what configure produces.

svn path=/trunk/; revision=5660

17 years agoUpdate to PCRE 7.2
Matthias Clasen [Tue, 31 Jul 2007 17:22:56 +0000 (17:22 +0000)]
Update to PCRE 7.2

svn path=/trunk/; revision=5659

17 years agoFix some glitches
Matthias Clasen [Tue, 31 Jul 2007 17:14:12 +0000 (17:14 +0000)]
Fix some glitches

svn path=/trunk/; revision=5658

17 years agoremove debug spew
Matthias Clasen [Tue, 31 Jul 2007 17:04:10 +0000 (17:04 +0000)]
remove debug spew

svn path=/trunk/; revision=5657

17 years agoUpdated Occitan translation
Yannig MARCHEGAY [Sun, 29 Jul 2007 08:59:32 +0000 (08:59 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=5656

17 years ago2007-07-25 Inaki Larranaga Murgoitio
Iñaki Larrañaga Murgoitio [Wed, 25 Jul 2007 17:17:29 +0000 (17:17 +0000)]
2007-07-25  Inaki Larranaga Murgoitio

* eu.po: Updated Basque translation.

svn path=/trunk/; revision=5655

17 years agoUpdated assamese translations
Amitakhya Phukan [Wed, 25 Jul 2007 09:53:30 +0000 (09:53 +0000)]
Updated assamese translations

svn path=/trunk/; revision=5654

17 years agoUpdated Changelog
Amitakhya Phukan [Wed, 25 Jul 2007 09:53:05 +0000 (09:53 +0000)]
Updated Changelog

svn path=/trunk/; revision=5653

17 years agoDocumentation cleanups
Matthias Clasen [Sun, 22 Jul 2007 04:14:54 +0000 (04:14 +0000)]
Documentation cleanups

svn path=/trunk/; revision=5652

17 years agoCoding style cleanups
Matthias Clasen [Sun, 22 Jul 2007 00:34:21 +0000 (00:34 +0000)]
Coding style cleanups

svn path=/trunk/; revision=5651

17 years agoSome improvements
Matthias Clasen [Sun, 22 Jul 2007 00:22:01 +0000 (00:22 +0000)]
Some improvements

svn path=/trunk/; revision=5650

17 years agoBrazilian Portuguese translation updated.
Leonardo Ferreira Fontenelle [Sat, 21 Jul 2007 20:07:00 +0000 (20:07 +0000)]
Brazilian Portuguese translation updated.

2007-07-21  Leonardo Ferreira Fontenelle  <leonardof@svn.gnome.org>

* pt_BR.po: Brazilian Portuguese translation updated.

svn path=/trunk/; revision=5649

17 years agoDoc updates
Matthias Clasen [Fri, 20 Jul 2007 19:11:17 +0000 (19:11 +0000)]
Doc updates

svn path=/trunk/; revision=5648

17 years agoAdd goffset type (64bit file size) Add G_MAXSSIZE and G_MINSSIZE
Alexander Larsson [Fri, 20 Jul 2007 16:41:47 +0000 (16:41 +0000)]
Add goffset type (64bit file size) Add G_MAXSSIZE and G_MINSSIZE

2007-07-20  Alexander Larsson  <alexl@redhat.com>

        * configure.in:
Add goffset type (64bit file size)
Add G_MAXSSIZE and G_MINSSIZE

svn path=/trunk/; revision=5647

17 years agoForgotten file
Matthias Clasen [Fri, 20 Jul 2007 16:38:50 +0000 (16:38 +0000)]
Forgotten file

svn path=/trunk/; revision=5646

17 years agoFix the build
Matthias Clasen [Fri, 20 Jul 2007 16:37:57 +0000 (16:37 +0000)]
Fix the build

svn path=/trunk/; revision=5645

17 years agoMake g_unichar_combining_class() public. (#453998)
Behdad Esfahbod [Thu, 19 Jul 2007 13:46:05 +0000 (13:46 +0000)]
Make g_unichar_combining_class() public. (#453998)

2007-07-19  Behdad Esfahbod  <behdad@gnome.org>

        * glib/glib.symbols:
        * glib/gunicode.h:
        * glib/gunicodeprivate.h:
        * glib/gunidecomp.c (g_unichar_combining_class):
        * glib/guniprop.c (has_more_above):
        Make g_unichar_combining_class() public. (#453998)

svn path=/trunk/; revision=5644

17 years agoTranslation updated.
Vincent van Adrighem [Wed, 18 Jul 2007 16:56:26 +0000 (16:56 +0000)]
Translation updated.

2007-07-18  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated.

svn path=/trunk/; revision=5643

17 years agomore atomic ops pointer cast fixes. this time it'll work with atomic op
Tim Janik [Thu, 12 Jul 2007 23:03:06 +0000 (23:03 +0000)]
more atomic ops pointer cast fixes. this time it'll work with atomic op

Fri Jul 13 01:01:46 2007  Tim Janik  <timj@imendio.com>

        * glib/gthread.[hc]: more atomic ops pointer cast fixes. this time it'll
        work with atomic op macros *and* atomic op functions.

svn path=/trunk/; revision=5638

17 years agofixed missing pointer casts when using atomic ops.
Tim Janik [Thu, 12 Jul 2007 22:51:56 +0000 (22:51 +0000)]
fixed missing pointer casts when using atomic ops.

Fri Jul 13 00:50:40 2007  Tim Janik  <timj@imendio.com>

        * glib/gthread.[hc]: fixed missing pointer casts when using atomic ops.

svn path=/trunk/; revision=5637

17 years agoBump version
Matthias Clasen [Thu, 12 Jul 2007 17:55:02 +0000 (17:55 +0000)]
Bump version

svn path=/trunk/; revision=5636

17 years ago2.13.7 GLIB_2_13_7
Matthias Clasen [Thu, 12 Jul 2007 17:53:42 +0000 (17:53 +0000)]
2.13.7

svn path=/trunk/; revision=5634

17 years agoUpdates
Matthias Clasen [Thu, 12 Jul 2007 17:26:20 +0000 (17:26 +0000)]
Updates

svn path=/trunk/; revision=5633

17 years agofixed g_type_name() docs to forbid passing in invalid type IDs.
Tim Janik [Thu, 12 Jul 2007 16:29:21 +0000 (16:29 +0000)]
fixed g_type_name() docs to forbid passing in invalid type IDs.

Thu Jul 12 18:28:47 2007  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/gtype.sgml: fixed g_type_name() docs to forbid passing in
        invalid type IDs.

svn path=/trunk/; revision=5632

17 years agobeautified output somewhat. fixed long sleeps by reducing sleep
Tim Janik [Thu, 12 Jul 2007 15:35:26 +0000 (15:35 +0000)]
beautified output somewhat. fixed long sleeps by reducing sleep

Thu Jul 12 17:31:08 2007  Tim Janik  <timj@imendio.com>

        * tests/slice-concurrent.c: beautified output somewhat. fixed long
        sleeps by reducing sleep accumulating and using randomized re-scheduling
        (which works on UP and SMP). increased possible blocksizes.

svn path=/trunk/; revision=5631

17 years agoadded GSLice test from Stefan Westerfeld, bug #433314.
Tim Janik [Thu, 12 Jul 2007 15:26:47 +0000 (15:26 +0000)]
added GSLice test from Stefan Westerfeld, bug #433314.

Thu Jul 12 17:26:05 2007  Tim Janik  <timj@imendio.com>

        * tests/slice-concurrent.c: added GSLice test from Stefan Westerfeld,
        bug #433314.

svn path=/trunk/; revision=5630

17 years agomigrate per-thread magazine caches from single-thread scenario to first
Tim Janik [Thu, 12 Jul 2007 15:07:52 +0000 (15:07 +0000)]
migrate per-thread magazine caches from single-thread scenario to first

Thu Jul 12 15:46:40 2007  Tim Janik  <timj@imendio.com>

        * glib/gslice.c: migrate per-thread magazine caches from single-thread
        scenario to first thread using GSlice after g_thread_init(); based on
        a patch by Tor Lillqvist, fixes #331853.
        removed warning about g_thread_init() being called after other glib
        functions (in particular g_slice* calls), because GSlice can cope
        with this now and the rest of glib is believed to cope as well.

        * tests/slice-threadinit.c: new test program which tests GSlice working
        across g_thread_init() calls.

svn path=/trunk/; revision=5629

17 years agodocument major caveat of g_private_set/g_private_get, i.e. not retaining
Tim Janik [Thu, 12 Jul 2007 13:46:22 +0000 (13:46 +0000)]
document major caveat of g_private_set/g_private_get, i.e. not retaining

Thu Jul 12 15:45:27 2007  Tim Janik  <timj@imendio.com>

        * glib/tmpl/threads.sgml: document major caveat of g_private_set/g_private_get,
        i.e. not retaining private data across g_thread_init.

svn path=/trunk/; revision=5628

17 years agoUpdated Italian translation
Luca Ferretti [Wed, 11 Jul 2007 19:42:44 +0000 (19:42 +0000)]
Updated Italian translation

2007-07-11  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation

svn path=/trunk/; revision=5627

17 years agoCorrect bug ref
Matthias Clasen [Wed, 11 Jul 2007 05:11:16 +0000 (05:11 +0000)]
Correct bug ref

svn path=/trunk/; revision=5626

17 years agoUpdated Italian translation
Luca Ferretti [Tue, 10 Jul 2007 20:51:35 +0000 (20:51 +0000)]
Updated Italian translation

2007-07-10  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation

svn path=/trunk/; revision=5625

17 years agoTranslation updated.
Gabor Kelemen [Tue, 10 Jul 2007 19:58:05 +0000 (19:58 +0000)]
Translation updated.

2007-07-10 Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Translation updated.

svn path=/trunk/; revision=5624

17 years agoUpdated Finnish translation
Ilkka Tuohela [Tue, 10 Jul 2007 18:05:08 +0000 (18:05 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=5623

17 years agoFix 'make check'
Matthias Clasen [Tue, 10 Jul 2007 17:49:46 +0000 (17:49 +0000)]
Fix 'make check'

svn path=/trunk/; revision=5622

17 years agocorrected descriptions of gsize and gssize.
Tim Janik [Tue, 10 Jul 2007 11:12:28 +0000 (11:12 +0000)]
corrected descriptions of gsize and gssize.

Tue Jul 10 13:11:55 2007  Tim Janik  <timj@imendio.com>

        * glib/tmpl/types.sgml: corrected descriptions of gsize and gssize.

svn path=/trunk/; revision=5621

17 years agominor docu build fixes.
Tim Janik [Tue, 10 Jul 2007 11:04:24 +0000 (11:04 +0000)]
minor docu build fixes.

Tue Jul 10 13:04:03 2007  Tim Janik  <timj@imendio.com>

        * minor docu build fixes.

svn path=/trunk/; revision=5620

17 years agofixed typos spotted by Richard Hult
Tim Janik [Tue, 10 Jul 2007 10:49:00 +0000 (10:49 +0000)]
fixed typos spotted by Richard Hult

svn path=/trunk/; revision=5619

17 years agouse g_once_init_enter/g_once_init_leave to guard critical initialization
Tim Janik [Tue, 10 Jul 2007 10:33:03 +0000 (10:33 +0000)]
use g_once_init_enter/g_once_init_leave to guard critical initialization

Tue Jul 10 12:31:50 2007  Tim Janik  <timj@imendio.com>

        * gtype.h: use g_once_init_enter/g_once_init_leave to guard critical
        initialization section of *_get_type implementations in G_DEFINE_TYPE,
        bug #65041.

svn path=/trunk/; revision=5618

17 years agodocument g_once_init_enter and g_once_init_leave.
Tim Janik [Tue, 10 Jul 2007 10:31:31 +0000 (10:31 +0000)]
document g_once_init_enter and g_once_init_leave.

Tue Jul 10 12:31:04 2007  Tim Janik  <timj@imendio.com>

        * glib/tmpl/threads.sgml: document g_once_init_enter and g_once_init_leave.

svn path=/trunk/; revision=5617

17 years agoimplemented g_once_init_enter(), g_once_init_enter_impl() and
Tim Janik [Tue, 10 Jul 2007 10:30:36 +0000 (10:30 +0000)]
implemented g_once_init_enter(), g_once_init_enter_impl() and

Tue Jul 10 12:24:35 2007  Tim Janik  <timj@imendio.com>

        * glib/gthread.[hc]: implemented g_once_init_enter(),
        g_once_init_enter_impl() and g_once_init_leave(), based on a patch by
        Antoine Tremblay, fixes #65041.
        adapted exported inline function mechanism from gutils.[hc] for inlining
        g_once_init_enter_impl() in gthread.[hc].

svn path=/trunk/; revision=5616

17 years agoAdded Entry for Bengali India Translation Updation
Runa Bhattacharjee [Tue, 10 Jul 2007 07:24:40 +0000 (07:24 +0000)]
Added Entry for Bengali India Translation Updation

svn path=/trunk/; revision=5615

17 years agoUpdated Bengali India Translation
Runa Bhattacharjee [Tue, 10 Jul 2007 07:24:25 +0000 (07:24 +0000)]
Updated Bengali India Translation

svn path=/trunk/; revision=5614

17 years agoUpdates
Matthias Clasen [Mon, 9 Jul 2007 23:04:54 +0000 (23:04 +0000)]
Updates

svn path=/trunk/; revision=5613

17 years agoRemove duplicate paragraph. (#45786, Ruben Vermeersch)
Matthias Clasen [Mon, 9 Jul 2007 17:54:38 +0000 (17:54 +0000)]
Remove duplicate paragraph. (#45786, Ruben Vermeersch)

2007-07-09  Matthias Clasen <mclasen@redhat.com>

        * tmpl/modules.sgml: Remove duplicate paragraph.
        (#45786, Ruben Vermeersch)

        * tmpl/modules.sgml: Remove duplicate code from
        an example. (#454785, Ruben Vermeersch)

svn path=/trunk/; revision=5612

17 years agoInclude the module file name to the error message given when module
Matthias Clasen [Mon, 9 Jul 2007 17:50:28 +0000 (17:50 +0000)]
Include the module file name to the error message given when module

2007-07-09  Matthias Clasen  <mclasen@redhat.com>

        * gmodule.c (g_module_open): Include the module file
        name to the error message given when module initialization
        fails.  (#448484, Gustavo Carneiro)

svn path=/trunk/; revision=5611

17 years agoGClosure docu fixes from Guillaume Cottenceau, #383155.
Tim Janik [Mon, 9 Jul 2007 08:25:14 +0000 (08:25 +0000)]
GClosure docu fixes from Guillaume Cottenceau, #383155.

Mon Jul  9 10:23:53 2007  Tim Janik  <timj@imendio.com>

        * gobject/tmpl/gclosure.sgml: GClosure docu fixes from Guillaume
        Cottenceau, #383155.

svn path=/trunk/; revision=5610

17 years agoOutput newlines after thousand iterations of the inner-loop of the
Loïc Minier [Mon, 9 Jul 2007 07:42:30 +0000 (07:42 +0000)]
Output newlines after thousand iterations of the inner-loop of the

2007-07-09  Loïc Minier  <lool@dooz.org>

       * tests/refcount/closures.c: (main): Output newlines after thousand
       iterations of the inner-loop of the closures test; this helps having
       smaller lines and continuously outputting new lines.  (#447048).

svn path=/trunk/; revision=5609

17 years agosave errno to prevent it being clobbered by call to
Ryan Lortie [Mon, 9 Jul 2007 05:32:15 +0000 (05:32 +0000)]
save errno to prevent it being clobbered by call to

2007-07-09  Ryan Lortie  <desrt@desrt.ca>

        * glib/gfileutils.c (write_to_temp_file): save errno to prevent it
        being clobbered by call to g_filename_display_name().  Bug #453796.

svn path=/trunk/; revision=5608

17 years agoFix a small problem with msgfmt -c detection
Matthias Clasen [Mon, 9 Jul 2007 05:21:05 +0000 (05:21 +0000)]
Fix a small problem with msgfmt -c detection

svn path=/trunk/; revision=5606

17 years agoHandle all states. (#454473)
Matthias Clasen [Sun, 8 Jul 2007 00:18:38 +0000 (00:18 +0000)]
Handle all states. (#454473)

2007-07-07  Matthias Clasen  <mclasen@redhat.com>

        * glib/gmarkup.c (g_markup_parse_context_end_parse): Handle
        all states.  (#454473)

svn path=/trunk/; revision=5604

17 years agoUpdated assamese translations
Amitakhya Phukan [Fri, 6 Jul 2007 15:26:58 +0000 (15:26 +0000)]
Updated assamese translations

svn path=/trunk/; revision=5603

17 years agoUpdated ChangeLog
Amitakhya Phukan [Fri, 6 Jul 2007 15:26:24 +0000 (15:26 +0000)]
Updated ChangeLog

svn path=/trunk/; revision=5602

17 years agoUpdated configure.in
Amitakhya Phukan [Fri, 6 Jul 2007 15:25:54 +0000 (15:25 +0000)]
Updated configure.in

svn path=/trunk/; revision=5601

17 years agoWhen WSAEnumNetworkEvents() signals FD_CONNECT that means that the
Tor Lillqvist [Fri, 6 Jul 2007 01:22:53 +0000 (01:22 +0000)]
When WSAEnumNetworkEvents() signals FD_CONNECT that means that the

2007-07-06  Tor Lillqvist  <tml@novell.com>

* glib/giowin32.c (g_io_win32_check): When WSAEnumNetworkEvents()
signals FD_CONNECT that means that the connection attempt
finished, either successfully or failed. Test explicitly whether
the connnection succeeded and set either G_IO_OUT if it did,
G_IO_ERR|G_IO_HUP if it failed.

Make sure we never set both G_IO_OUT and G_IO_HUP simultaneously
because in Unix poll(2) POLLOUT and POLLHUP are mutually
exclusive.

Ignore whether the caller wants to watch G_IO_HUP or not. Always
select for FD_CLOSE because Unix poll(2) also ignores whether
POLLHUP in set the requested events bitmask or not.

svn path=/trunk/; revision=5600

17 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Wed, 4 Jul 2007 10:41:33 +0000 (10:41 +0000)]
Updated Translation

svn path=/trunk/; revision=5598

17 years agoUpdated Korean translation by Eunju Kim.
Changwoo Ryu [Tue, 3 Jul 2007 18:29:10 +0000 (18:29 +0000)]
Updated Korean translation by Eunju Kim.

2007-07-04  Changwoo Ryu  <cwryu@debian.org>

* ko.po: Updated Korean translation by Eunju Kim.

svn path=/trunk/; revision=5597

17 years ago2007-07-03 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian transla...
Jovan Naumovski [Tue, 3 Jul 2007 17:59:00 +0000 (17:59 +0000)]
2007-07-03 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian translation.

svn path=/trunk/; revision=5596

17 years agoUpdated Japanese translation.
Takeshi AIHANA [Sat, 30 Jun 2007 11:42:20 +0000 (11:42 +0000)]
Updated Japanese translation.

2007-06-30  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/trunk/; revision=5595

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Fri, 29 Jun 2007 18:17:48 +0000 (18:17 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=5594

17 years agoBump version
Matthias Clasen [Fri, 29 Jun 2007 17:52:18 +0000 (17:52 +0000)]
Bump version

svn path=/trunk/; revision=5593

17 years ago2.13.6 GLIB_2_13_6
Matthias Clasen [Fri, 29 Jun 2007 17:50:00 +0000 (17:50 +0000)]
2.13.6

svn path=/trunk/; revision=5591

17 years agoUpdates
Matthias Clasen [Fri, 29 Jun 2007 17:36:10 +0000 (17:36 +0000)]
Updates

svn path=/trunk/; revision=5590

17 years agoupdating for Punjabi Translation
Amanpreet Singh Alam [Fri, 29 Jun 2007 04:18:10 +0000 (04:18 +0000)]
updating for Punjabi Translation

svn path=/trunk/; revision=5589

17 years agotypo fix, #451459.
Tim Janik [Wed, 27 Jun 2007 09:43:53 +0000 (09:43 +0000)]
typo fix, #451459.

Wed Jun 27 11:43:01 2007  Tim Janik  <timj@gtk.org>

        * gobject/tmpl/gtype.sgml (initializers): typo fix, #451459.

svn path=/trunk/; revision=5588

17 years agog_hash_table_find(), g_hash_table_foreach(): document performance caveats
Tim Janik [Mon, 25 Jun 2007 14:44:41 +0000 (14:44 +0000)]
g_hash_table_find(), g_hash_table_foreach(): document performance caveats

Mon Jun 25 16:43:13 2007  Tim Janik  <timj@gtk.org>

        * glib/ghash.c: g_hash_table_find(), g_hash_table_foreach():
        document performance caveats for linear order searches.

svn path=/trunk/; revision=5587

17 years agoAdd a clarification about pairing the memory allocation and free
Emmanuele Bassi [Sat, 23 Jun 2007 21:18:05 +0000 (21:18 +0000)]
Add a clarification about pairing the memory allocation and free

2007-06-23  Emmanuele Bassi  <ebassi@gnome.org>

* glib/tmpl/memory.sgml: Add a clarification about pairing the
memory allocation and free functions, and not mix system's
malloc/free with the corresponding GLib ones. (#450216, Hubert
Figuiere)

svn path=/trunk/; revision=5586

17 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sat, 23 Jun 2007 08:47:10 +0000 (08:47 +0000)]
Updated Norwegian bokmål translation.

2007-06-23  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=5585

17 years agoUse memcpy in g_string_append_vprintf (#57693).
Mathias Hasselmann [Fri, 22 Jun 2007 17:04:07 +0000 (17:04 +0000)]
Use memcpy in g_string_append_vprintf (#57693).

2007-06-22  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* glib/gstring.c: Use memcpy in g_string_append_vprintf (#57693).

svn path=/trunk/; revision=5584

17 years agoupdated si translation
Felix I [Fri, 22 Jun 2007 11:00:41 +0000 (11:00 +0000)]
updated si translation

svn path=/trunk/; revision=5583

17 years agoreintroduce typedef gulong GType; for C++, to avoid C++ specific ABI
Tim Janik [Fri, 22 Jun 2007 09:34:33 +0000 (09:34 +0000)]
reintroduce typedef gulong GType; for C++, to avoid C++ specific ABI

Fri Jun 22 11:31:27 2007  Tim Janik  <timj@gtk.org>

        * gtype.h: reintroduce typedef gulong GType; for C++, to avoid
        C++ specific ABI breakage.

svn path=/trunk/; revision=5582

17 years agoRestore old behaviour of g_string_append_vprintf: g_vasprintf seems to be
Mathias Hasselmann [Mon, 18 Jun 2007 21:14:49 +0000 (21:14 +0000)]
Restore old behaviour of g_string_append_vprintf: g_vasprintf seems to be

2007-06-18  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* glib/gstring.c: Restore old behaviour of
g_string_append_vprintf: g_vasprintf seems to be faster
than g_printf_string_upper_bound (#57693).

svn path=/trunk/; revision=5581

17 years agoMore docs
Matthias Clasen [Mon, 18 Jun 2007 19:12:10 +0000 (19:12 +0000)]
More docs

svn path=/trunk/; revision=5580

17 years agoBump version
Matthias Clasen [Mon, 18 Jun 2007 17:33:45 +0000 (17:33 +0000)]
Bump version

svn path=/trunk/; revision=5579

17 years ago2.13.5 GLIB_2_13_5
Matthias Clasen [Mon, 18 Jun 2007 17:31:49 +0000 (17:31 +0000)]
2.13.5

svn path=/trunk/; revision=5577

17 years agoUpdates
Matthias Clasen [Mon, 18 Jun 2007 17:03:16 +0000 (17:03 +0000)]
Updates

svn path=/trunk/; revision=5576

17 years agoAdd full variant to the approximate timeout functiont
Emmanuele Bassi [Mon, 18 Jun 2007 16:55:50 +0000 (16:55 +0000)]
Add full variant to the approximate timeout functiont

The g_timeout_add_seconds() API lacks a _full() counterpart, allowing the
setting of a destroy notification function to be invoked when the timeout
source is removed.

This patch adds g_timeout_add_seconds_full() to the public API and
reimplements g_timeout_add_seconds() as a call to g_timeout_add_seconds_full().

svn path=/trunk/; revision=5575

17 years agoPrevent segfaults on long paths. (#447935, Robby Griffin)
Matthias Clasen [Mon, 18 Jun 2007 16:35:41 +0000 (16:35 +0000)]
Prevent segfaults on long paths. (#447935, Robby Griffin)

2007-06-17  Matthias Clasen  <mclasen@redhat.com>

        * glib/gutils (g_get_current_dir): Prevent segfaults on
        long paths.  (#447935, Robby Griffin)

svn path=/trunk/; revision=5574

17 years agoEstonian translation update by Ivar Smolin.
Priit Laes [Sun, 17 Jun 2007 19:50:30 +0000 (19:50 +0000)]
Estonian translation update by Ivar Smolin.

2007-06-17  Priit Laes  <plaes@svn.gnome.org>

* et.po: Estonian translation update by Ivar Smolin.

svn path=/trunk/; revision=5573

17 years agoAccept NULL and return GQuark value of zero. (#446859)
Behdad Esfahbod [Sun, 17 Jun 2007 07:43:34 +0000 (07:43 +0000)]
Accept NULL and return GQuark value of zero. (#446859)

2007-06-17  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gdataset.c (g_quark_from_string),
        (g_quark_from_static_string): Accept NULL and return GQuark
        value of zero. (#446859)

svn path=/trunk/; revision=5572

17 years agoDocument the undefined behaviour of CLAMP() if low > high. (#448260)
Emmanuele Bassi [Sat, 16 Jun 2007 19:05:19 +0000 (19:05 +0000)]
Document the undefined behaviour of CLAMP() if low > high. (#448260)

2007-06-16  Emmanuele Bassi  <ebassi@gnome.org>

        * glib/tmpl/macros.sgml: Document the undefined behaviour of
        CLAMP() if low > high. (#448260)

svn path=/trunk/; revision=5571

17 years agoCorrectly use g_printf_string_upper_bound in g_string_append_vprintf.
Mathias Hasselmann [Sat, 16 Jun 2007 12:04:25 +0000 (12:04 +0000)]
Correctly use g_printf_string_upper_bound in g_string_append_vprintf.

2007-06-16  Mathias Hasselmann  <mathias.hasselmann@gmx.de>

* glib/gstring.c: Correctly use g_printf_string_upper_bound
in g_string_append_vprintf. Fixes #447933.

svn path=/trunk/; revision=5570

17 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Fri, 15 Jun 2007 18:12:29 +0000 (18:12 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=5569

17 years agoExtended the comments on those functions, that are NOOPs, before
Sebastian Wilhelmi [Fri, 15 Jun 2007 17:03:13 +0000 (17:03 +0000)]
Extended the comments on those functions, that are NOOPs, before

2007-06-15  Sebastian Wilhelmi  <wilhelmi@google.com>

* docs/reference/glib/tmpl/threads.sgml: Extended the comments on
those functions, that are NOOPs, before g_thread_init() has been
called. (#447583)

* glib/gthread.c (g_static_mutex_free): Clarified comment to
remind myself, tha calling g_static_mutex_free() before
g_thread_init() is safe.

svn path=/trunk/; revision=5567

17 years agoAdded GRegex boxed type. (#445065, Carlos Garnacho)
Cody Russell [Fri, 15 Jun 2007 16:31:21 +0000 (16:31 +0000)]
Added GRegex boxed type. (#445065, Carlos Garnacho)

2007-06-15  Cody Russell  <bratsche@gnome.org>

* docs/reference/gobject/tmpl/gboxed.sgml:
* docs/reference/gobject/gobject-sections.txt:
* glib/gregex.c:
* gobject/gboxed.[ch]:
* gobject/gobject.symbols: Added GRegex boxed type.
(#445065, Carlos Garnacho)

svn path=/trunk/; revision=5566

17 years agoReplaced & by &amp; in <programlisting> to make gtk-doc happy.
Sebastian Wilhelmi [Fri, 15 Jun 2007 15:55:37 +0000 (15:55 +0000)]
Replaced & by &amp; in <programlisting> to make gtk-doc happy.

2007-06-15  Sebastian Wilhelmi  <wilhelmi@google.com>

* glib/gregex.c: Replaced & by &amp; in <programlisting> to make
gtk-doc happy.

svn path=/trunk/; revision=5565

17 years agoImprove performance by removing the use of an intermediate g_malloc'd
Ryan Lortie [Fri, 15 Jun 2007 12:43:54 +0000 (12:43 +0000)]
Improve performance by removing the use of an intermediate g_malloc'd

2007-06-14  Ryan Lortie  <desrt@desrt.ca>

* docs/reference/glib/glib-sections.txt:
* glib/glib/symbols:
* glib/gstring.[ch] (g_string_printf_internal): Improve
performance by removing the use of an intermediate g_malloc'd
buffer.  Rename to g_string_append_vprintf, document, and expose
along with g_string_vprintf as new public API (#57693).

svn path=/trunk/; revision=5564

17 years agoIntroduce g_string_overwrite(_len)? for overwriting parts of strings (#368686, Samuel...
Mathias Hasselmann [Fri, 15 Jun 2007 11:54:21 +0000 (11:54 +0000)]
Introduce g_string_overwrite(_len)? for overwriting parts of strings (#368686, Samuel Cormier-Iijima)

svn path=/trunk/; revision=5563

17 years agoCheck for 0-sized private data. (#443869)
Cody Russell [Fri, 15 Jun 2007 03:50:27 +0000 (03:50 +0000)]
Check for 0-sized private data. (#443869)

2007-06-14  Cody Russell  <bratsche@gnome.org>

        * gobject/gtype.c (g_type_class_add_private): Check for 0-sized
        private data. (#443869)

svn path=/trunk/; revision=5561

17 years agoalways define GType unconditionally in terms of gsize, there's no need to
Tim Janik [Thu, 14 Jun 2007 21:55:41 +0000 (21:55 +0000)]
always define GType unconditionally in terms of gsize, there's no need to

Thu Jun 14 23:32:00 2007  Tim Janik  <timj@gtk.org>

        * gtype.h: always define GType unconditionally in terms of gsize,
        there's no need to jump through a glong hoop ever and this fixes
        the printf modifier to %zu.

svn path=/trunk/; revision=5560

17 years agowork around SGI IDO cc, fixes #363986.
Tim Janik [Thu, 14 Jun 2007 20:56:15 +0000 (20:56 +0000)]
work around SGI IDO cc, fixes #363986.

Thu Jun 14 22:33:11 2007  Tim Janik  <timj@imendio.com>

        * gparamspecs.c (g_param_spec_types_init): work around SGI IDO cc,
        fixes #363986.

svn path=/trunk/; revision=5559

17 years agoFix typos
Matthias Clasen [Thu, 14 Jun 2007 13:52:01 +0000 (13:52 +0000)]
Fix typos

svn path=/trunk/; revision=5558