platform/upstream/glib.git
18 years ago (bookmark_app_info_dump): Escape strings before dumping
Matthias Clasen [Thu, 27 Apr 2006 20:44:42 +0000 (20:44 +0000)]
(bookmark_app_info_dump): Escape strings before dumping
them in xml.  (#339340, Morten Welinder)

18 years agoRemove some special-casing of empty string which led to dangling pointers.
Matthias Clasen [Thu, 27 Apr 2006 20:25:26 +0000 (20:25 +0000)]
Remove some special-casing of empty string which led to dangling pointers.

2006-04-27  Matthias Clasen  <mclasen@redhat.com>

* glib/gbookmarkfile.c (g_bookmark_file_set_description)
(g_bookmark_file_set_title, g_bookmark_file_set_icon):
Remove some special-casing of empty string which led to
dangling pointers.  (#339337, Morten Welinder)
(expand_exec_line): Don't use printf() needlessly, handle
trailing '%' gracefully.  (#339338, Morten Welinder)
(is_element_full): Silence the compiler.

18 years agoRemove some special-casing of empty string which led to dangling pointers.
Matthias Clasen [Thu, 27 Apr 2006 20:04:30 +0000 (20:04 +0000)]
Remove some special-casing of empty string which led to dangling pointers.

2006-04-27  Matthias Clasen  <mclasen@redhat.com>

* glib/gbookmarkfile.c (g_bookmark_file_set_description)
(g_bookmark_file_set_title, g_bookmark_file_set_icon):
Remove some special-casing of empty string which led to
dangling pointers.  (#339337, Morten Welinder)

18 years agoadditions
Matthias Clasen [Thu, 27 Apr 2006 19:20:10 +0000 (19:20 +0000)]
additions

18 years agoRegenerated using Unicode Character Database 5.0 beta.
Behdad Esfahbod [Thu, 27 Apr 2006 06:39:42 +0000 (06:39 +0000)]
Regenerated using Unicode Character Database 5.0 beta.

2006-04-27  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gunibreak.h, glib/gunichartables.h: Regenerated using
        Unicode Character Database 5.0 beta.

18 years agoDon't repeat a failed fclose() call, since that invokes undefined
Matthias Clasen [Wed, 26 Apr 2006 04:19:48 +0000 (04:19 +0000)]
Don't repeat a failed fclose() call, since that invokes undefined

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

* glib/grand.c (g_rand_new): Don't repeat a failed fclose()
call, since that invokes undefined behaviour.  (Coverity)

18 years agoAvoid a possible NULL dereference (found by Coverity), also avoid some
Matthias Clasen [Wed, 26 Apr 2006 03:55:43 +0000 (03:55 +0000)]
Avoid a possible NULL dereference (found by Coverity), also avoid some

2006-04-25  Matthias Clasen  <mclasen@redhat.com>

* glib/gbookmarkfile.c (is_element_full): Avoid a possible
NULL dereference (found by Coverity), also avoid some
pointless strdups.

18 years agoAdd a test for the previous change.
Matthias Clasen [Wed, 26 Apr 2006 03:12:03 +0000 (03:12 +0000)]
Add a test for the previous change.

2006-04-25  Matthias Clasen  <mclasen@redhat.com>

* tests/keyfile-test.c (test_comments): Add a test for
the previous change.

18 years agoRemove redundant code. (g_key_file_get_group_comment): Don't dereference
Matthias Clasen [Tue, 25 Apr 2006 20:30:59 +0000 (20:30 +0000)]
Remove redundant code. (g_key_file_get_group_comment): Don't dereference

2006-04-25  Matthias Clasen  <mclasen@redhat.com>

* glib/gkeyfile.c (g_key_file_lookup_group_node): Remove
redundant code.
(g_key_file_get_group_comment): Don't dereference before
checking for NULL.  (#338572, Coverity, Pascal Terjan)

18 years agoUpdates
Matthias Clasen [Mon, 24 Apr 2006 21:12:52 +0000 (21:12 +0000)]
Updates

18 years agoforgotten file
Matthias Clasen [Mon, 24 Apr 2006 20:50:12 +0000 (20:50 +0000)]
forgotten file

18 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Sun, 23 Apr 2006 17:53:03 +0000 (17:53 +0000)]
Translation updated by Tino Meinen.

2006-04-23  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

18 years agoUpdated Norwegian Nynorsk translation.
Åsmund Skjæveland [Sun, 23 Apr 2006 14:21:55 +0000 (14:21 +0000)]
Updated Norwegian Nynorsk translation.

2006-04-23  Åsmund Skjæveland  <aasmunds@fys.uio.no>

* nn.po: Updated Norwegian Nynorsk translation.

18 years agoFix some problems with my last commit
Matthias Clasen [Sun, 23 Apr 2006 04:21:08 +0000 (04:21 +0000)]
Fix some problems with my last commit

18 years agoTranslation updated by David Lodge.
David Lodge [Fri, 21 Apr 2006 21:26:31 +0000 (21:26 +0000)]
Translation updated by David Lodge.

2006-04-21  David Lodge  <dave@cirt.net>

* en_GB.po: Translation updated by David Lodge.

18 years agodocumentation additions
Matthias Clasen [Fri, 21 Apr 2006 16:54:15 +0000 (16:54 +0000)]
documentation additions

18 years agoAdd g_type_register_static_simple
Matthias Clasen [Fri, 21 Apr 2006 16:53:02 +0000 (16:53 +0000)]
Add g_type_register_static_simple

18 years ago*** empty log message ***
Ignacio Casal Quinteiro [Fri, 21 Apr 2006 12:24:31 +0000 (12:24 +0000)]
*** empty log message ***

18 years agoUpdated Translation
Rajesh Ranjan [Fri, 21 Apr 2006 06:12:19 +0000 (06:12 +0000)]
Updated Translation

18 years agoAdd some missing Since: 2.8 tags
Matthias Clasen [Wed, 19 Apr 2006 14:51:49 +0000 (14:51 +0000)]
Add some missing Since: 2.8 tags

18 years agoAdapt to the changed prototype of InterlockedCompareExchange() in newer
Tor Lillqvist [Wed, 19 Apr 2006 12:32:43 +0000 (12:32 +0000)]
Adapt to the changed prototype of InterlockedCompareExchange() in newer

2006-04-19  Tor Lillqvist  <tml@novell.com>

* glib/gatomic.c: Adapt to the changed prototype of
InterlockedCompareExchange() in newer SDKs. Use
InterlockedCompareExchangePointer() when applicable. (#155884,
John Ehresman)

18 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Wed, 19 Apr 2006 11:38:17 +0000 (11:38 +0000)]
Updated Translation

18 years agoAdd api to get and set doubles and lists of doubles. (#164719, Maurizio
Matthias Clasen [Wed, 19 Apr 2006 02:59:37 +0000 (02:59 +0000)]
Add api to get and set doubles and lists of doubles. (#164719, Maurizio

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

* glib/gkeyfile.h:
* glib/glib.symbols:
* glib/gkeyfile.c: Add api to get and set doubles and
lists of doubles.  (#164719, Maurizio Monge, Dom Lachowicz)

* tests/keyfile-test.c: Add tests for new api.

18 years agoAccept duplicate groups. (#157877, Sebastien Bacher)
Matthias Clasen [Wed, 19 Apr 2006 02:39:37 +0000 (02:39 +0000)]
Accept duplicate groups. (#157877, Sebastien Bacher)

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

* glib/gkeyfile.c (g_key_file_add_group): Accept duplicate
groups.  (#157877, Sebastien Bacher)

* tests/keyfile-test.c: Add tests for duplicate key and
duplicate group handling.

18 years agoSay that ref/unref are thread-safe now. (#322883, Christophe Fergeau)
Matthias Clasen [Tue, 18 Apr 2006 18:36:44 +0000 (18:36 +0000)]
Say that ref/unref are thread-safe now. (#322883, Christophe Fergeau)

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

* gobject/tut_gobject.xml: Say that ref/unref are thread-safe now.
(#322883, Christophe Fergeau)

18 years agoUpdated Translation
Rajesh Ranjan [Tue, 18 Apr 2006 07:19:18 +0000 (07:19 +0000)]
Updated Translation

18 years agoUpdated Translation
Ankitkumar Rameshchandra Patel [Tue, 18 Apr 2006 05:32:16 +0000 (05:32 +0000)]
Updated Translation

18 years agoMake passing NULL for new_prefix work as documented. (#338845, Yevgen
Matthias Clasen [Tue, 18 Apr 2006 02:21:43 +0000 (02:21 +0000)]
Make passing NULL for new_prefix work as documented. (#338845, Yevgen

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

* glib/gcompletion.c (g_completion_complete_utf8): Make passing
NULL for new_prefix work as documented.  (#338845, Yevgen Muntyan)

* tests/completion-test.c: Test that passing NULL for
new_prefix in g_completion_complete_utf8 works.

18 years agoRemove obsolete entry for no_NO. And the translation.
Kjartan Maraas [Mon, 17 Apr 2006 12:10:01 +0000 (12:10 +0000)]
Remove obsolete entry for no_NO. And the translation.

2006-04-17  Kjartan Maraas  <kmaraas@gnome.org>

* configure.in: Remove obsolete entry for no_NO.
* po/no.po: And the translation.

18 years agovi.po: Updated Vietnamese translation.
Clytie Siddall [Mon, 17 Apr 2006 04:21:09 +0000 (04:21 +0000)]
vi.po: Updated Vietnamese translation.

18 years agoAvoid an array overrun. (Coverity, fix by Pascal Terjan)
Matthias Clasen [Sun, 16 Apr 2006 05:19:26 +0000 (05:19 +0000)]
Avoid an array overrun. (Coverity, fix by Pascal Terjan)

2006-04-16  Matthias Clasen  <mclasen@redhat.com>

        * glib/gdate.c (g_date_fill_parse_tokens): Avoid an array
        overrun.  (Coverity, fix by Pascal Terjan)

18 years agoreviewed by: Matthias Clasen <mclasen@redhat.com>
Bastien Nocera [Wed, 12 Apr 2006 22:50:33 +0000 (22:50 +0000)]
reviewed by: Matthias Clasen <mclasen@redhat.com>

2006-04-12  Bastien Nocera  <hadess@hadess.net>

reviewed by: Matthias Clasen <mclasen@redhat.com>

* glib/gconvert.c: add more details about which RFC is concerned
when using g_filename_to_uri (#337553)

18 years agoAdd an assert to make it clear when value can be NULL.
Matthias Clasen [Wed, 12 Apr 2006 15:38:27 +0000 (15:38 +0000)]
Add an assert to make it clear when value can be NULL.

2006-04-12  Matthias Clasen  <mclasen@redhat.com>

* glib/goption.c (parse_arg): Add an assert to make it
clear when value can be NULL.

18 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Tue, 11 Apr 2006 09:02:50 +0000 (09:02 +0000)]
Translation updated by Tino Meinen.

2006-04-11  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

18 years agoUpdated Georgian translation
Vladimer Sichinava [Mon, 10 Apr 2006 02:15:30 +0000 (02:15 +0000)]
Updated Georgian translation

18 years ago(test_thread_stop_unused): Removed an
Martyn James Russell [Fri, 7 Apr 2006 18:47:33 +0000 (18:47 +0000)]
(test_thread_stop_unused): Removed an
assertion which can fail and is not a critical test.

18 years agoadded gbase64.obj and derive the static libs name from auto* variables
Hans Breuer [Fri, 7 Apr 2006 17:10:36 +0000 (17:10 +0000)]
added gbase64.obj and derive the static libs name from auto* variables

2006-04-07  Hans Breuer  <hans@breuer.org>

* glib/makefile.msc.in : added gbase64.obj and derive the static libs
name from auto* variables
* glib/makefile.msc.in : link user32.lib for MessageBox()

18 years ago*** empty log message ***
Ignacio Casal Quinteiro [Fri, 7 Apr 2006 10:57:22 +0000 (10:57 +0000)]
*** empty log message ***

18 years agoMake sure g_thread_pool_stop_unused_threads() actually stops unused
Martyn James Russell [Fri, 7 Apr 2006 09:23:42 +0000 (09:23 +0000)]
Make sure g_thread_pool_stop_unused_threads() actually stops unused

* glib/gthreadpool.c: Make sure
g_thread_pool_stop_unused_threads() actually stops unused threads
and global limits (like max idle time and max unused threads) can
be set without creating a thread pool first. Fixed #335215 (patch
from Chris Wilson).

* tests/threadpool-test.c: Added two new tests, tests setting
global limits before creating a thread pool. The second test
makes sure unused threads are actually stopped when using the
g_thread_pool_stop_unused_threads().

18 years agoTranslation updated by Ivar Smolin.
Priit Laes [Fri, 7 Apr 2006 08:01:27 +0000 (08:01 +0000)]
Translation updated by Ivar Smolin.

2006-04-07  Priit Laes  <amd@store20.com>

* et.po: Translation updated by Ivar Smolin.

18 years agoDocument class_offset 0. and that class_closure may be NULL.
Matthias Clasen [Wed, 5 Apr 2006 16:18:42 +0000 (16:18 +0000)]
Document class_offset 0. and that class_closure may be NULL.

2006-04-05  Matthias Clasen  <mclasen@redhat.com>

* gobject/tmpl/signals.sgml: Document class_offset 0.
and that class_closure may be NULL.

18 years agoDocument class_offset 0.
Matthias Clasen [Wed, 5 Apr 2006 16:07:15 +0000 (16:07 +0000)]
Document class_offset 0.

2006-04-05  Matthias Clasen  <mclasen@redhat.com>

* gobject/tmpl/signals.sgml: Document class_offset 0.

18 years agoMake long long printing work if snprintf is not available. (#332841,
Matthias Clasen [Wed, 5 Apr 2006 15:06:15 +0000 (15:06 +0000)]
Make long long printing work if snprintf is not available. (#332841,

2006-04-05  Matthias Clasen  <mclasen@redhat.com>

* glib/gnulib/vasnprintf.c (vasnprintf): Make
long long printing work if snprintf is not
available.  (#332841, Michael McDonald)

18 years agoChange max-depth to max-lookups.
Behdad Esfahbod [Wed, 5 Apr 2006 14:43:33 +0000 (14:43 +0000)]
Change max-depth to max-lookups.

18 years agoCheck the return value of g_get_prgname for NULL before passing to strcmp.
Behdad Esfahbod [Wed, 5 Apr 2006 05:56:47 +0000 (05:56 +0000)]
Check the return value of g_get_prgname for NULL before passing to strcmp.

2006-04-05  Behdad Esfahbod  <behdad@gnome.org>

        * tests/option-test.c: Check the return value of g_get_prgname for
        NULL before passing to strcmp.

        * tests/slice-test.c: Report the correct name in Usage summary.

18 years agoFix up shell script
Matthias Clasen [Wed, 5 Apr 2006 05:31:11 +0000 (05:31 +0000)]
Fix up shell script

18 years agoMore test fixes
Matthias Clasen [Wed, 5 Apr 2006 05:18:57 +0000 (05:18 +0000)]
More test fixes

18 years agoRun run-bookmark-test.sh
Matthias Clasen [Wed, 5 Apr 2006 05:09:36 +0000 (05:09 +0000)]
Run run-bookmark-test.sh

18 years agoMore warning fixes
Matthias Clasen [Wed, 5 Apr 2006 05:05:01 +0000 (05:05 +0000)]
More warning fixes

18 years agoSilence a warning
Matthias Clasen [Wed, 5 Apr 2006 05:03:33 +0000 (05:03 +0000)]
Silence a warning

18 years ago.
Behdad Esfahbod [Wed, 5 Apr 2006 04:50:48 +0000 (04:50 +0000)]
.

18 years agoAdd base64 docs
Matthias Clasen [Wed, 5 Apr 2006 03:19:30 +0000 (03:19 +0000)]
Add base64 docs

18 years agoAdd base64 encode/decode functions
Alexander Larsson [Tue, 4 Apr 2006 13:03:23 +0000 (13:03 +0000)]
Add base64 encode/decode functions

2006-04-04  Alexander Larsson  <alexl@redhat.com>

* glib/Makefile.am:
* glib/gbase64.[ch]:
* glib/glib.symbols:
Add base64 encode/decode functions

* glib/glib.h:
Include gbase64.h

* tests/Makefile.am:
* tests/base64-test.c:
Tests for base64 functions

18 years agoMove short_month_names and long_month_names to bss.
Matthias Clasen [Tue, 4 Apr 2006 04:37:39 +0000 (04:37 +0000)]
Move short_month_names and long_month_names to bss.

2006-04-04  Matthias Clasen  <mclasen@redhat.com>

        * glib/gdate.c: Move short_month_names and long_month_names
        to bss.

        * glib/gspawn-win32.c (g_spawn_error_quark):
        * glib/gspawn.c (g_spawn_error_quark):
        * glib/gshell.c (g_shell_error_quark):
        * glib/gmarkup.c (g_markup_error_quark):
        * glib/goption.c (g_option_error_quark):
        * glib/gkeyfile.c (g_key_file_error_quark):
        * glib/giochannel.c (g_io_channel_error_quark):
        * glib/gfileutils.c (g_file_error_quark):
        * glib/gconvert.c (g_convert_error_quark):
        * glib/gbookmarkfile.c (g_bookmark_file_error_quark):
        * glib/gthread.c (g_thread_error_quark): No point in making
        the error path fast by caching quarks.

        * glib/gbookmarkfile.c: Make the parser struct const.

18 years agoMake the parser struct const
Matthias Clasen [Tue, 4 Apr 2006 04:21:38 +0000 (04:21 +0000)]
Make the parser struct const

18 years agoFix accidentally broken build.
Behdad Esfahbod [Tue, 4 Apr 2006 04:17:59 +0000 (04:17 +0000)]
Fix accidentally broken build.

2006-04-04  Behdad Esfahbod  <behdad@gnome.org>

        * glib/gbookmarkfile.c: Fix accidentally broken build.

18 years agoFix docs
Matthias Clasen [Mon, 3 Apr 2006 18:32:29 +0000 (18:32 +0000)]
Fix docs

18 years agoAdd some verbiage to g_object_ref_sink_docs. (#336677)
Matthias Clasen [Mon, 3 Apr 2006 18:31:37 +0000 (18:31 +0000)]
Add some verbiage to g_object_ref_sink_docs. (#336677)

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

* gobject/tmpl/objects.sgml: Add some verbiage to
g_object_ref_sink_docs.  (#336677)

18 years agoDon't include sys/time.h (#337027, Kazuki IWAMOTO)
Matthias Clasen [Mon, 3 Apr 2006 18:00:39 +0000 (18:00 +0000)]
Don't include sys/time.h (#337027, Kazuki IWAMOTO)

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

* glib/gbookmarkfile.c: Don't include sys/time.h  (#337027,
 Kazuki IWAMOTO)

18 years agoUpdated Bulgarian translation by Alexander Shopov <ash@contact.bg>
Alexander Shopov [Sun, 2 Apr 2006 13:59:05 +0000 (13:59 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>

2006-04-02  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>

18 years agoRevert change below. It wasn't a good idea after all, says the original
Tor Lillqvist [Fri, 31 Mar 2006 19:16:23 +0000 (19:16 +0000)]
Revert change below. It wasn't a good idea after all, says the original

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

* glib/gstdio.c (g_remove): Revert change below. It wasn't a good
idea after all, says the original bug reporter. See bug for
discussion.

18 years ago[Win32] call rmdir() only if remove() fails with errno set to ENOENT, to
Tor Lillqvist [Fri, 31 Mar 2006 00:26:44 +0000 (00:26 +0000)]
[Win32] call rmdir() only if remove() fails with errno set to ENOENT, to

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

* glib/gstdio.c (g_remove): [Win32] call rmdir() only if remove()
fails with errno set to ENOENT, to leave errno set to EACCESS if
that is the problem. (#334799, Yevgen Muntyan)

18 years agoMake it build
Matthias Clasen [Thu, 30 Mar 2006 21:22:01 +0000 (21:22 +0000)]
Make it build

18 years agoUpdate the floating docs wrt to GInitiallyUnowned.
Matthias Clasen [Thu, 30 Mar 2006 20:38:09 +0000 (20:38 +0000)]
Update the floating docs wrt to GInitiallyUnowned.

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

* gobject/tmpl/objects.sgml: Update the floating docs wrt
to GInitiallyUnowned.

18 years agoAdditions
Matthias Clasen [Thu, 30 Mar 2006 20:30:21 +0000 (20:30 +0000)]
Additions

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

* gobject/tmpl/param_value_types.sgml:
* gobject/tmpl/objects.sgml:
* gobject/tmpl/gtype.sgml: Additions

18 years agoCleanup
Matthias Clasen [Thu, 30 Mar 2006 19:58:01 +0000 (19:58 +0000)]
Cleanup

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

* glib/tmpl/messages.sgml: Cleanup

* glib/tmpl/memory_slices.sgml: Adapt to a parameter name change

* glib/tmpl/linked_lists_double.sgml: Document g_list_free1

18 years agoDocument g_list_free1
Matthias Clasen [Thu, 30 Mar 2006 19:43:58 +0000 (19:43 +0000)]
Document g_list_free1

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

* glib/tmpl/linked_lists_double.sgml: Document g_list_free1

18 years agoSync the parameter names with the .h files, otherwise gtk-doc misbehaves.
Matthias Clasen [Thu, 30 Mar 2006 19:36:31 +0000 (19:36 +0000)]
Sync the parameter names with the .h files, otherwise gtk-doc misbehaves.

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

* glib/gbookmarkfile.c (g_bookmark_file_get_app_info): Sync
the parameter names with the .h files, otherwise gtk-doc
misbehaves.

18 years agoAdded Dzongkha translation
Guntupalli Karunakar [Thu, 30 Mar 2006 15:33:04 +0000 (15:33 +0000)]
Added Dzongkha translation

18 years agoMake sure to not return TRUE if symbol is NULL. (#334440, ITOH Yasufumi)
Matthias Clasen [Wed, 29 Mar 2006 20:52:00 +0000 (20:52 +0000)]
Make sure to not return TRUE if symbol is NULL. (#334440, ITOH Yasufumi)

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

* gmodule.c (g_module_symbol): Make sure to
not return TRUE if symbol is NULL.  (#334440,
ITOH Yasufumi)

18 years agoAdd bookmarkfile-test to the ignored files.
Emmanuele Bassi [Mon, 27 Mar 2006 18:30:11 +0000 (18:30 +0000)]
Add bookmarkfile-test to the ignored files.

2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* tests/.cvsignore: Add bookmarkfile-test to the ignored files.

18 years agoAdd test suite for GBookmarkFile.
Emmanuele Bassi [Mon, 27 Mar 2006 18:28:07 +0000 (18:28 +0000)]
Add test suite for GBookmarkFile.

2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* tests/Makefile.am:
* tests/bookmarkfile-test.c:
* tests/run-bookmark-test.sh:
* tests/bookmarks/*.xbel: Add test suite for GBookmarkFile.

18 years agoAdd documentation for GBookmarkFile to GLib's reference guide.
Emmanuele Bassi [Mon, 27 Mar 2006 18:25:33 +0000 (18:25 +0000)]
Add documentation for GBookmarkFile to GLib's reference guide.

2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* docs/reference/glib/glib-docs.sgml:
* docs/reference/glib/glib-sections.txt:
* docs/reference/glib/tmpl/bookmarkfile.sgml: Add documentation for
GBookmarkFile to GLib's reference guide.

18 years agoglib/gbookmarkfile.h Add GBookmarkFile, a parser for files containing
Emmanuele Bassi [Mon, 27 Mar 2006 18:22:47 +0000 (18:22 +0000)]
glib/gbookmarkfile.h Add GBookmarkFile, a parser for files containing

2006-03-27  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* glib/glib.h:
* glib/gbookmarkfile.h
* glib/gbookmarkfile.c: Add GBookmarkFile, a parser for files
containing bookmarks stored using the Desktop Bookmark
specification. Fixes bug #327662.

* glib/glib.symbols:
* glib/Makefile.am:
* glib/makefile.msc.in:
* glib/makefile.mingw.in: Build glue for GBookmarkFile.

18 years agobump version number to 2.11.0
Dom Lachowicz [Mon, 27 Mar 2006 17:06:50 +0000 (17:06 +0000)]
bump version number to 2.11.0

18 years agoUpdated Hebrew translation
Yair Hershkovitz [Mon, 27 Mar 2006 16:56:32 +0000 (16:56 +0000)]
Updated Hebrew translation

18 years agoChange a gboolean to an int. Fixes bug #329789.
Dom Lachowicz [Mon, 27 Mar 2006 13:37:02 +0000 (13:37 +0000)]
Change a gboolean to an int. Fixes bug #329789.

2006-03-27  Dom Lachowicz  <cinamod@hotmail.com>
Change a gboolean to an int. Fixes bug #329789.

18 years agoCopy-and-paste error slipped into test5. Enable test5, as per Matthias'
Dom Lachowicz [Mon, 27 Mar 2006 13:34:16 +0000 (13:34 +0000)]
Copy-and-paste error slipped into test5. Enable test5, as per Matthias'

2006-03-27  Dom Lachowicz  <cinamod@hotmail.com>

* tests/option-test.c: Copy-and-paste error slipped into test5. Enable
test5, as per Matthias' comments in bug 329548#c11.

18 years agoSupport floating point arguments in goption
Matthias Clasen [Mon, 27 Mar 2006 06:57:28 +0000 (06:57 +0000)]
Support floating point arguments in goption

18 years agoImprove the description of parameter_string in the docs. (#336085, Claudio
Matthias Clasen [Sun, 26 Mar 2006 20:15:19 +0000 (20:15 +0000)]
Improve the description of parameter_string in the docs. (#336085, Claudio

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

        * glib/goption.c (g_option_context_new): Improve the description
        of parameter_string in the docs.  (#336085, Claudio Saavedra)

18 years agoUpdated the documentation to explain that when the maximum threads is > 1
Martyn James Russell [Fri, 24 Mar 2006 15:21:28 +0000 (15:21 +0000)]
Updated the documentation to explain that when the maximum threads is > 1

* glib/gthreadpool.c: Updated the documentation to explain that
when the maximum threads is > 1 the sort functionality is not 100%
accurate due to the ramdom nature of the scheduler choosing which
threads to execute. Fixes bug #334943.

* tests/threadpool-test.c: Disabled the debugging by default and
fixed the sort test to set the maximum threads to 1 to guarantee
the thread entry function is called in order.

18 years agosome wording fixups.
Tim Janik [Fri, 24 Mar 2006 14:22:32 +0000 (14:22 +0000)]
some wording fixups.

Fri Mar 24 15:22:04 2006  Tim Janik  <timj@imendio.com>

        * glib/tmpl/atomic_operations.sgml: some wording fixups.

18 years agoSplit ChangeLog
Matthias Clasen [Fri, 24 Mar 2006 03:05:36 +0000 (03:05 +0000)]
Split ChangeLog

18 years agoAdjust docs
Matthias Clasen [Thu, 23 Mar 2006 13:38:17 +0000 (13:38 +0000)]
Adjust docs

18 years agoCheck for timegm.
Emmanuele Bassi [Thu, 23 Mar 2006 02:54:29 +0000 (02:54 +0000)]
Check for timegm.

2006-03-23  Emmanuele Bassi  <ebassi@cvs.gnome.org>

* configure.in: Check for timegm.

* glib/gtimer.h:
* glib/gtimer.c:
* glib/glib.symbols:
* docs/reference/glib/glib-sections.txt: Added g_time_val_to_iso8601
and g_time_val_from_iso8601, to convert a GTimeVal to and from an
ISO 8601 encoded date.

* tests/testglib.c: Added test cases for g_time_val_to_iso8601()
and g_time_val_from_iso8601() functions.

18 years agoDocument G_HAVE_GINT64 as deprecated. (#335294, Richard Laager) glib-2-10-branchpoint
Matthias Clasen [Tue, 21 Mar 2006 01:55:19 +0000 (01:55 +0000)]
Document G_HAVE_GINT64 as deprecated. (#335294, Richard Laager)

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

* glib/tmpl/types.sgml: Document G_HAVE_GINT64 as deprecated.
(#335294, Richard Laager)

18 years agoUpdated Georgian translation
Vladimer Sichinava [Mon, 20 Mar 2006 23:21:19 +0000 (23:21 +0000)]
Updated Georgian translation

18 years agoFix the build
Matthias Clasen [Mon, 20 Mar 2006 20:21:25 +0000 (20:21 +0000)]
Fix the build

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