platform/upstream/glib.git
15 years agoFix a typo
Matthias Clasen [Mon, 19 Jan 2009 07:01:57 +0000 (07:01 +0000)]
Fix a typo

svn path=/trunk/; revision=7818

15 years agoSome cleanups
Matthias Clasen [Mon, 19 Jan 2009 06:09:11 +0000 (06:09 +0000)]
Some cleanups

svn path=/trunk/; revision=7817

15 years agoUpdates
Matthias Clasen [Sun, 18 Jan 2009 07:33:37 +0000 (07:33 +0000)]
Updates

svn path=/trunk/; revision=7816

15 years agoDefine an ENABLE_REGEX macro
Matthias Clasen [Sun, 18 Jan 2009 06:53:44 +0000 (06:53 +0000)]
Define an ENABLE_REGEX macro

        * configure.in: Define an ENABLE_REGEX macro

        * gobject/gboxed.c: Don't refer to g_regex_ref if ENABLE_REGEX
        is not defined.

svn path=/trunk/; revision=7815

15 years agoQuell some compiler wanrings
Matthias Clasen [Sun, 18 Jan 2009 06:44:04 +0000 (06:44 +0000)]
Quell some compiler wanrings

svn path=/trunk/; revision=7814

15 years agoUpdate PCRE to 7.8
Matthias Clasen [Sun, 18 Jan 2009 06:32:03 +0000 (06:32 +0000)]
Update PCRE to 7.8

svn path=/trunk/; revision=7813

15 years agoIf !ENABLE_NLS, make textomain() macro return "messages" in case of a NULL
Matthias Clasen [Sun, 18 Jan 2009 01:08:17 +0000 (01:08 +0000)]
If !ENABLE_NLS, make textomain() macro return "messages" in case of a NULL

        * glib/glibintl.h: If !ENABLE_NLS, make textomain() macro
        return "messages" in case of a NULL argument. Patch by
        Peter Kjellerstedt.

svn path=/trunk/; revision=7812

15 years agoUse offsetof instead of __builtin_offsetof, for icc's sake. Proposed by
Matthias Clasen [Sun, 18 Jan 2009 01:03:00 +0000 (01:03 +0000)]
Use offsetof instead of __builtin_offsetof, for icc's sake. Proposed by

        * glib/gmacros.h (G_STRUCT_OFFSETOF): Use offsetof instead of
        __builtin_offsetof, for icc's sake. Proposed by Hrvoje Niksic.

svn path=/trunk/; revision=7811

15 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 17 Jan 2009 11:26:31 +0000 (11:26 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=7810

15 years agoUpdated Catalan translation
Gil Forcada Codinachs [Fri, 16 Jan 2009 14:27:36 +0000 (14:27 +0000)]
Updated Catalan translation

svn path=/trunk/; revision=7809

15 years agoAdded missing gio/gemblemedicon.c
Luca Ferretti [Wed, 14 Jan 2009 21:01:13 +0000 (21:01 +0000)]
Added missing gio/gemblemedicon.c

2009-01-14  Luca Ferretti  <elle.uca@libero.it>

* POTFILES.in: Added missing gio/gemblemedicon.c

svn path=/trunk/; revision=7808

15 years agoBug 564728 Add function to decode base64 encoded data in place
Matthias Clasen [Tue, 13 Jan 2009 19:59:32 +0000 (19:59 +0000)]
Bug 564728 Add function to decode base64 encoded data in place

2009-01-13  Matthias Clasen  <mclasen@redhat.com>

        Bug 564728 Add function to decode base64 encoded data in place

        * glib/glib.symbols:
        * glib/gbase64.[hc] (g_base64_decode_inplace): New convenience
        API to decode in place, overwriting the input string. Patch by
        Sebastian Dröge.

svn path=/trunk/; revision=7807

15 years agowin32/vs8/README New files. Mention this VS solution and projects are
Tor Lillqvist [Tue, 13 Jan 2009 12:13:55 +0000 (12:13 +0000)]
win32/vs8/README New files. Mention this VS solution and projects are

2009-01-13  Tor Lillqvist  <tml@novell.com>

* win32/vs8/README
* win32/vs9/README: New files. Mention this VS solution and
projects are experimental and that https://code.launchpad.net/oah
might be a better choice.

* win32/vs8/Makefile.am
* win32/vs9/Makefile.am (EXTRA_DIST): Add the READMEs and two
missing vcproj files.

svn path=/trunk/; revision=7806

15 years agoImprove docs
Matthias Clasen [Tue, 13 Jan 2009 02:24:46 +0000 (02:24 +0000)]
Improve docs

svn path=/trunk/; revision=7805

15 years agoGuard against a mis-written GOptionArgFunc that has returned FALSE but not
Tor Lillqvist [Mon, 12 Jan 2009 11:45:52 +0000 (11:45 +0000)]
Guard against a mis-written GOptionArgFunc that has returned FALSE but not

2009-01-12  Tor Lillqvist  <tml@novell.com>

* glib/goption.c (parse_arg): Guard against a mis-written
GOptionArgFunc that has returned FALSE but not set the GError.

svn path=/trunk/; revision=7804

15 years agoImprove docs
Matthias Clasen [Sun, 11 Jan 2009 04:58:25 +0000 (04:58 +0000)]
Improve docs

svn path=/trunk/; revision=7802

15 years agoDocs improvement
Matthias Clasen [Sun, 11 Jan 2009 04:53:34 +0000 (04:53 +0000)]
Docs improvement

svn path=/trunk/; revision=7801

15 years agoCosmetics.
Tor Lillqvist [Fri, 9 Jan 2009 10:39:00 +0000 (10:39 +0000)]
Cosmetics.

svn path=/trunk/; revision=7795

15 years agoBug 567138 - get_package_directory_from_module() does not free its lock
Tor Lillqvist [Fri, 9 Jan 2009 10:37:31 +0000 (10:37 +0000)]
Bug 567138 - get_package_directory_from_module() does not free its lock

2009-01-09  Tor Lillqvist  <tml@iki.fi>

Bug 567138 - get_package_directory_from_module() does not free its
lock when failing

* glib/gwin32.c (get_package_directory_from_module): Obvious fix.

svn path=/trunk/; revision=7794

15 years agoDon't assume filenames are UTF-8.
Matthias Clasen [Fri, 9 Jan 2009 05:19:17 +0000 (05:19 +0000)]
Don't assume filenames are UTF-8.

        * xdgmime/xdgmimecache.c:
        * xdgmime/xdgmimeglob.c: Don't assume filenames are UTF-8.

svn path=/trunk/; revision=7784

15 years agoMake tests work with current shared-mime-info
Matthias Clasen [Fri, 9 Jan 2009 04:53:14 +0000 (04:53 +0000)]
Make tests work with current shared-mime-info

svn path=/trunk/; revision=7783

15 years agoAdd a G_IO_ERROR_TOO_MANY_OPEN_FILES error code. Requested by Olivier
Matthias Clasen [Thu, 8 Jan 2009 01:32:15 +0000 (01:32 +0000)]
Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code. Requested by Olivier

        * gioenums.h: Add a G_IO_ERROR_TOO_MANY_OPEN_FILES error code.
        Requested by Olivier Sessink.

        * gioerror.c: Translate EMFILE to G_IO_ERROR_TOO_MANY_OPEN_FILES.

        * glocalfileenumerator.c: Translate G_FILE_ERROR_MFILE to
        G_IO_ERROR_TOO_MANY_OPEN_FILES.

svn path=/trunk/; revision=7782

15 years agosv.po: Updated Swedish translation
Daniel Nylander [Thu, 8 Jan 2009 00:00:01 +0000 (00:00 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=7781

15 years agoUpdated Italian translation.
Luca Ferretti [Tue, 6 Jan 2009 12:01:43 +0000 (12:01 +0000)]
Updated Italian translation.

2009-01-06  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation.

svn path=/trunk/; revision=7780

15 years agoBump version
Matthias Clasen [Mon, 5 Jan 2009 18:08:25 +0000 (18:08 +0000)]
Bump version

svn path=/trunk/; revision=7779

15 years ago2.19.4 GLIB_2_19_4
Matthias Clasen [Mon, 5 Jan 2009 18:06:05 +0000 (18:06 +0000)]
2.19.4

svn path=/trunk/; revision=7777

15 years agoUpdates
Matthias Clasen [Mon, 5 Jan 2009 16:58:09 +0000 (16:58 +0000)]
Updates

svn path=/trunk/; revision=7776

15 years agocast a "char **" to "const char **" to avoid a warning.
Dan Winship [Mon, 5 Jan 2009 16:57:55 +0000 (16:57 +0000)]
cast a "char **" to "const char **" to avoid a warning.

* gdesktopappinfo.c (update_mimeapps_list): cast a "char **" to
"const char **" to avoid a warning.

* gemblem.c (g_emblem_from_tokens):
* gemblemedicon.c (g_emblemed_icon_from_tokens):
* xdgmime/xdgmime.c (xdg_mime_get_icon): remove unused
variables

svn path=/trunk/; revision=7775

15 years agoTry using O_NOATIME when sniffing for mime types. Based on a patch by A.
Matthias Clasen [Mon, 5 Jan 2009 16:20:40 +0000 (16:20 +0000)]
Try using O_NOATIME when sniffing for mime types. Based on a patch by A.

        * glocalfileinfo.c (get_content_type): Try using O_NOATIME when
        sniffing for mime types. Based on a patch by A. Walton

svn path=/trunk/; revision=7773

15 years agoupdate
Dan Winship [Mon, 5 Jan 2009 14:56:55 +0000 (14:56 +0000)]
update

* glib/tests/.gitignore: update

* tests/.gitignore: update, sort

* tests/gobject/.gitignore: add

svn path=/trunk/; revision=7772

15 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Mon, 5 Jan 2009 14:33:35 +0000 (14:33 +0000)]
Updated Norwegian bokmål translation.

2009-01-05  Kjartan Maraas  <kmaraas@gnome.org>

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

svn path=/trunk/; revision=7771

15 years agoBug 566348 - g_file_open_tmp uses the wrong g_mkstemp on win32
Tor Lillqvist [Mon, 5 Jan 2009 10:08:00 +0000 (10:08 +0000)]
Bug 566348 - g_file_open_tmp uses the wrong g_mkstemp on win32

2009-01-05  Tor Lillqvist  <tml@iki.fi>

Bug 566348 - g_file_open_tmp uses the wrong g_mkstemp on win32

* glib/gfileutils.c: Move the binary compatibility versions of
g_file_test(), g_file_get_contents(), g_mkstemp() and
g_file_open_tmp() last in the file. Remove the restriction that
the XXXXXX is last in the template in the binary compatibility
version of g_mkstemp(). Thanks to Morten Welinder and Jody
Goldberg.

svn path=/trunk/; revision=7770

15 years agoimprove add new simple-async-result test new file to test
Ryan Lortie [Mon, 5 Jan 2009 06:58:22 +0000 (06:58 +0000)]
improve add new simple-async-result test new file to test

2009-01-05  Ryan Lortie  <desrt@desrt.ca>

        * tests/.gitignore: improve
        * tests/Makefile.am: add new simple-async-result test
        * tests/simple-async-result.c: new file to test GSimpleAsyncResult

svn path=/trunk/; revision=7767

15 years agoAdd g_simple_async_result_is_valid(). Implementation by Dan Winship.
Ryan Lortie [Mon, 5 Jan 2009 06:57:16 +0000 (06:57 +0000)]
Add g_simple_async_result_is_valid(). Implementation by Dan Winship.

2009-01-05  Ryan Lortie  <desrt@desrt.ca>

        * gio.symbols:
        * ../docs/reference/gio/gio-sections.txt:
        * gsimpleasyncresult.h:
        * gsimpleasyncresult.c: Add g_simple_async_result_is_valid().
        Implementation by Dan Winship.  Closes #566170.

svn path=/trunk/; revision=7766

15 years agoUpdated Brazilian Portuguese translation.
Leonardo Ferreira Fontenelle [Mon, 5 Jan 2009 00:42:48 +0000 (00:42 +0000)]
Updated Brazilian Portuguese translation.

2009-01-04  Leonardo Ferreira Fontenelle  <leonardof@gnome.org>

* pt_BR.po: Updated Brazilian Portuguese translation.

svn path=/trunk/; revision=7765

15 years agoUpdate zh_CN.po
Lu Gan [Sun, 4 Jan 2009 15:27:20 +0000 (15:27 +0000)]
Update zh_CN.po

svn path=/trunk/; revision=7764

15 years agoUpdates
Matthias Clasen [Sat, 3 Jan 2009 07:30:26 +0000 (07:30 +0000)]
Updates

svn path=/trunk/; revision=7763

15 years agoAdd docs
Matthias Clasen [Sat, 3 Jan 2009 05:10:33 +0000 (05:10 +0000)]
Add docs

svn path=/trunk/; revision=7762

15 years agoMove docs inline
Matthias Clasen [Sat, 3 Jan 2009 04:15:17 +0000 (04:15 +0000)]
Move docs inline

svn path=/trunk/; revision=7761

15 years agoUse visibility attribute for new enough sun cc. Patch by Chris Wang
Matthias Clasen [Sat, 3 Jan 2009 01:00:38 +0000 (01:00 +0000)]
Use visibility attribute for new enough sun cc. Patch by Chris Wang

        * configure.in: Use visibility attribute for new enough sun cc.
        Patch by Chris Wang

svn path=/trunk/; revision=7760

15 years agoBug 565136 – Gobject's "notify" signal parameters are wrong in gtk-doc
Behdad Esfahbod [Fri, 2 Jan 2009 06:09:26 +0000 (06:09 +0000)]
Bug 565136 – Gobject's "notify" signal parameters are wrong in gtk-doc

2009-01-02  Behdad Esfahbod  <behdad@gnome.org>

        Bug 565136 – Gobject's "notify" signal parameters are wrong in gtk-doc
        Patch from  Andrzej Zaborowski

        * gobject.c (g_object_do_class_init): Fix param order in docs.

svn path=/trunk/; revision=7759

15 years agoFix a wrong reference in the docs, reported by Takeshi Aihana.
Matthias Clasen [Fri, 2 Jan 2009 02:49:06 +0000 (02:49 +0000)]
Fix a wrong reference in the docs, reported by Takeshi Aihana.

        * glib/goption.c: Fix a wrong reference in the docs, reported by
        Takeshi Aihana.

svn path=/trunk/; revision=7758

15 years agoFix an example.
Matthias Clasen [Fri, 2 Jan 2009 02:26:39 +0000 (02:26 +0000)]
Fix an example.

svn path=/trunk/; revision=7757

15 years agoAdd notes about being UNIX-specific
Matthias Clasen [Wed, 31 Dec 2008 07:47:19 +0000 (07:47 +0000)]
Add notes about being UNIX-specific

svn path=/trunk/; revision=7756

15 years agoFix some compiler warnings
Matthias Clasen [Wed, 31 Dec 2008 05:51:47 +0000 (05:51 +0000)]
Fix some compiler warnings

svn path=/trunk/; revision=7755

15 years agomove some changelog entries that i put in the wrong spot
Ryan Lortie [Sat, 20 Dec 2008 19:41:07 +0000 (19:41 +0000)]
move some changelog entries that i put in the wrong spot

svn path=/trunk/; revision=7754

15 years agoAdd g_thread_get_initialized here, too. Surround g_test_config_vars with
Tor Lillqvist [Sat, 20 Dec 2008 07:22:56 +0000 (07:22 +0000)]
Add g_thread_get_initialized here, too. Surround g_test_config_vars with

2008-12-19  Tor Lillqvist  <tml@novell.com>

* glib/glib.symbols: Add g_thread_get_initialized here,
too. Surround g_test_config_vars with ifdef INCLUDE_VARIABLES.

svn path=/trunk/; revision=7753

15 years agoBug 560676 - function access for g_threads_supported
Mike Kestner [Thu, 18 Dec 2008 19:20:42 +0000 (19:20 +0000)]
Bug 560676 - function access for g_threads_supported

2008-12-18  Mike Kestner <mkestner@novell.com>

Bug 560676 - function access for g_threads_supported

* glib/gthreads.c (g_thread_get_initialized): new accessor for
g_threads_supported macro.
* glib/gthreads.h: add g_thread_get_initialized

svn path=/trunk/; revision=7752

15 years agoupdating for Punjabi Language: Alam
Amanpreet Singh Alam [Wed, 17 Dec 2008 01:43:22 +0000 (01:43 +0000)]
updating for Punjabi Language: Alam

svn path=/trunk/; revision=7751

15 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Mon, 15 Dec 2008 22:16:05 +0000 (22:16 +0000)]
Updated Norwegian bokmål translation.

2008-12-15  Kjartan Maraas  <kmaraas@gnome.org>

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

svn path=/trunk/; revision=7750

15 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Mon, 15 Dec 2008 20:20:03 +0000 (20:20 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=7749

15 years agoBump version
Matthias Clasen [Mon, 15 Dec 2008 20:03:12 +0000 (20:03 +0000)]
Bump version

svn path=/trunk/; revision=7748

15 years ago2.19.3 GLIB_2_19_3
Matthias Clasen [Mon, 15 Dec 2008 20:01:49 +0000 (20:01 +0000)]
2.19.3

svn path=/trunk/; revision=7746

15 years agoUpdates
Matthias Clasen [Sun, 14 Dec 2008 00:07:59 +0000 (00:07 +0000)]
Updates

svn path=/trunk/; revision=7745

15 years agoMake these work on x86_64
Matthias Clasen [Sat, 13 Dec 2008 23:56:05 +0000 (23:56 +0000)]
Make these work on x86_64

svn path=/trunk/; revision=7744

15 years agofree the tokens when done with them
Ryan Lortie [Fri, 12 Dec 2008 20:59:54 +0000 (20:59 +0000)]
free the tokens when done with them

2008-12-12  Ryan Lortie  <desrt@desrt.ca>

        * gio/gicon.c (g_icon_to_string_tokenized): free the tokens when done
        with them

svn path=/trunk/; revision=7743

15 years agofix leak that occurs when multiple mount entries match the requested path
Ryan Lortie [Fri, 12 Dec 2008 20:03:36 +0000 (20:03 +0000)]
fix leak that occurs when multiple mount entries match the requested path

2008-12-12  Ryan Lortie  <desrt@desrt.ca>

        * gio/gunixmounts.c (g_unix_mount_at): fix leak that occurs when
        multiple mount entries match the requested path

svn path=/trunk/; revision=7742

15 years agoImprove g_unichar_iswide_cjk() docs.
Behdad Esfahbod [Fri, 12 Dec 2008 08:26:00 +0000 (08:26 +0000)]
Improve g_unichar_iswide_cjk() docs.

2008-12-12  Behdad Esfahbod  <behdad@gnome.org>

        * glib/guniprop.c: Improve g_unichar_iswide_cjk() docs.

svn path=/trunk/; revision=7741

15 years agoBug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
Alexander Larsson [Wed, 10 Dec 2008 13:25:59 +0000 (13:25 +0000)]
Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling

2008-12-10  Alexander Larsson  <alexl@redhat.com>

Bug 562452 - Ensure we return G_IO_ERROR_CANCELLED if cancelling
g_simple_async_result_run_in_thread

        * gsimpleasyncresult.c:
Make g_simple_async_result_run_in_thread check cancellation before
calling out to the user in the callback. This means we guarantee
reporting cancels of async operations from the main threads, which
is probably more in line with what users expect.

Note that there are still no such guarantees for cancelling sync
operations or cancelling async operation from outside the main
thread. Furthermore, the exact behaviour of async implementations
not using run_in_thread may differ.

svn path=/trunk/; revision=7740

15 years agoupdated hebrew translation
Yair Hershkovitz [Tue, 9 Dec 2008 23:33:59 +0000 (23:33 +0000)]
updated hebrew translation

svn path=/trunk/; revision=7739

15 years agoBug 515777 - incorrect date&time on copy
Alexander Larsson [Tue, 9 Dec 2008 11:15:36 +0000 (11:15 +0000)]
Bug 515777 - incorrect date&time on copy

2008-12-09  Alexander Larsson  <alexl@redhat.com>

Bug 515777 - incorrect date&time on copy

        * glocalfile.c:
        (g_local_file_class_init):
Copy mtime by default

        * gfile.c:
Change docs about G_FILE_COPY_ALL_METADATA to not mention
mtime as an example.

svn path=/trunk/; revision=7738

15 years agoUpdated Italian translation.
Luca Ferretti [Tue, 9 Dec 2008 09:45:07 +0000 (09:45 +0000)]
Updated Italian translation.

2008-12-09  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation.

svn path=/trunk/; revision=7737

15 years agoHide ecryptfs mounts, so that the desktop does not show both the mount and
Matthias Clasen [Mon, 8 Dec 2008 05:47:26 +0000 (05:47 +0000)]
Hide ecryptfs mounts, so that the desktop does not show both the mount and

        * gunixmounts.c: (guess_system_internal): Hide ecryptfs mounts,
        so that the desktop does not show both the mount and the target
        directory. Patch by Martin Pitt

svn path=/trunk/; revision=7736

15 years agoAdd "fd" and "close-fd" properties including getters and setters. Patch by
Matthias Clasen [Mon, 8 Dec 2008 05:41:43 +0000 (05:41 +0000)]
Add "fd" and "close-fd" properties including getters and setters. Patch by

        * gio.symbols:
        * gunixinputstream.[hc]:
        * gunixoutputstream.[hc]: Add "fd" and "close-fd" properties
        including getters and setters. Patch by Maciej Piechotka

svn path=/trunk/; revision=7735

15 years agoSupport compilers that don't understand ISO C varargs macros. Patch by
Matthias Clasen [Mon, 8 Dec 2008 04:38:54 +0000 (04:38 +0000)]
Support compilers that don't understand ISO C varargs macros. Patch by

        * tests/live-g-file.c: Support compilers that don't understand
        ISO C varargs macros. Patch by Eric Lamarque

svn path=/trunk/; revision=7734

15 years agoUse g_access() to check accessibility of local devices. Patch by Martin
Matthias Clasen [Mon, 8 Dec 2008 04:33:41 +0000 (04:33 +0000)]
Use g_access() to check accessibility of local devices. Patch by Martin

       * gunixmounts.c: Use g_access() to check accessibility of local devices.
        Patch by Martin Pitt

svn path=/trunk/; revision=7733

15 years agoAdd an implementation for the CRIS and CRISv32 architectures, by Peter
Matthias Clasen [Mon, 8 Dec 2008 04:27:37 +0000 (04:27 +0000)]
Add an implementation for the CRIS and CRISv32 architectures, by Peter

        * configure.in:
        * glib/gatomic.c: Add an implementation for the CRIS and CRISv32
        architectures, by Peter Kjellerstedt

svn path=/trunk/; revision=7732

15 years agoBug 563156 – Document printing and scanning gunichar values
Behdad Esfahbod [Mon, 8 Dec 2008 02:58:30 +0000 (02:58 +0000)]
Bug 563156 – Document printing and scanning gunichar values

2008-12-07  Behdad Esfahbod  <behdad@gnome.org>

        Bug 563156 – Document printing and scanning gunichar values

        * glib/tmpl/unicode.sgml: Document printing and scanning gunichar
        values.

svn path=/trunk/; revision=7731

15 years agoBug 563150 – G_GU?INT*_MODIFIER/FORMAT docs
Behdad Esfahbod [Mon, 8 Dec 2008 02:11:30 +0000 (02:11 +0000)]
Bug 563150 – G_GU?INT*_MODIFIER/FORMAT docs

2008-12-07  Behdad Esfahbod  <behdad@gnome.org>

        Bug 563150 – G_GU?INT*_MODIFIER/FORMAT docs

        * glib/tmpl/glib-unused.sgml:
        * glib/tmpl/macros_misc.sgml:
        * glib/tmpl/types.sgml:
        Update docs to mention scanning as well as printing.
        Cross reference these from their respective types.

svn path=/trunk/; revision=7730

15 years agoupdated hebrew translation
Yair Hershkovitz [Sun, 7 Dec 2008 23:53:17 +0000 (23:53 +0000)]
updated hebrew translation

svn path=/trunk/; revision=7729

15 years agoUpdated Finnish translation
Ilkka Tuohela [Sat, 6 Dec 2008 07:04:41 +0000 (07:04 +0000)]
Updated Finnish translation

svn path=/trunk/; revision=7728

15 years agoSome more documentation additions
Matthias Clasen [Tue, 2 Dec 2008 05:53:48 +0000 (05:53 +0000)]
Some more documentation additions

svn path=/trunk/; revision=7726

15 years agoAlways reset the use count to its previous value before returning FALSE.
Matthias Clasen [Tue, 2 Dec 2008 05:14:00 +0000 (05:14 +0000)]
Always reset the use count to its previous value before returning FALSE.

        * gtypemodule.c (g_type_module_use): Always reset the use count
        to its previous value before returning FALSE. Pointed out by
        Johan Billien.

svn path=/trunk/; revision=7725

15 years agoBump version
Matthias Clasen [Mon, 1 Dec 2008 20:03:38 +0000 (20:03 +0000)]
Bump version

svn path=/trunk/; revision=7723

15 years ago2.19.2 GLIB_2_19_2
Matthias Clasen [Mon, 1 Dec 2008 20:01:16 +0000 (20:01 +0000)]
2.19.2

svn path=/trunk/; revision=7721

15 years agoRevert behaviour change in g_data_input_stream_read_line
Matthias Clasen [Mon, 1 Dec 2008 19:02:58 +0000 (19:02 +0000)]
Revert behaviour change in g_data_input_stream_read_line

svn path=/trunk/; revision=7720

15 years agoBump version GLIB_2_19_1
Matthias Clasen [Mon, 1 Dec 2008 14:48:22 +0000 (14:48 +0000)]
Bump version

svn path=/trunk/; revision=7718

15 years ago2.19.1
Matthias Clasen [Mon, 1 Dec 2008 14:44:26 +0000 (14:44 +0000)]
2.19.1

svn path=/trunk/; revision=7717

15 years agoAdd and document g_mount_is_shadowed plus calls to set/unset a mount as
Alexander Larsson [Mon, 1 Dec 2008 13:46:11 +0000 (13:46 +0000)]
Add and document g_mount_is_shadowed plus calls to set/unset a mount as

2008-12-01  Alexander Larsson  <alexl@redhat.com>

        * gio.symbols:
        * gmount.[ch]:
        * gunionvolumemonitor.c:
        * gvolume.c:
Add and document g_mount_is_shadowed plus calls
to set/unset a mount as shadowed

svn path=/trunk/; revision=7716

15 years agoUpdates
Matthias Clasen [Mon, 1 Dec 2008 06:52:15 +0000 (06:52 +0000)]
Updates

svn path=/trunk/; revision=7715

15 years agoComment out two failing tests
Matthias Clasen [Mon, 1 Dec 2008 06:47:04 +0000 (06:47 +0000)]
Comment out two failing tests

svn path=/trunk/; revision=7714

15 years agoMention all and help special values in debug envvars.
Matthias Clasen [Mon, 1 Dec 2008 06:10:50 +0000 (06:10 +0000)]
Mention all and help special values in debug envvars.

svn path=/trunk/; revision=7713

15 years agoRemove the questionable closing sentence and all references to private
Matthias Clasen [Mon, 1 Dec 2008 03:13:46 +0000 (03:13 +0000)]
Remove the questionable closing sentence and all references to private

       * gobject/tut_gtype.xml: Remove the questionable closing sentence
        and all references to private functions. Pointed out by Christian
        Dywan.

svn path=/trunk/; revision=7711

15 years agoBug 562639 – g_parse_debug_flags() parsing "help"
Behdad Esfahbod [Sat, 29 Nov 2008 01:40:38 +0000 (01:40 +0000)]
Bug 562639 – g_parse_debug_flags() parsing "help"

2008-11-28  Behdad Esfahbod  <behdad@gnome.org>

        Bug 562639 – g_parse_debug_flags() parsing "help"

        * glib/gutils.c (g_parse_debug_string): Print available keys if
        string is "help".

svn path=/trunk/; revision=7710

15 years agoBug 562638 – GDebugKey key member should be const
Behdad Esfahbod [Sat, 29 Nov 2008 01:21:11 +0000 (01:21 +0000)]
Bug 562638 – GDebugKey key member should be const

2008-11-28  Behdad Esfahbod  <behdad@gnome.org>

        Bug 562638 – GDebugKey key member should be const

        * glib/gutils.h: Change GDebugKey key member from gchar * to
        const gchar *.

svn path=/trunk/; revision=7709

15 years agoImprove docs
Matthias Clasen [Sat, 29 Nov 2008 00:07:33 +0000 (00:07 +0000)]
Improve docs

svn path=/trunk/; revision=7708

15 years agoFix some documentation typos
Matthias Clasen [Fri, 28 Nov 2008 23:53:13 +0000 (23:53 +0000)]
Fix some documentation typos

svn path=/trunk/; revision=7707

15 years agoAdd g_app_info_get_commandline. Requested by Hans Petter Jansson.
Matthias Clasen [Fri, 28 Nov 2008 23:16:45 +0000 (23:16 +0000)]
Add g_app_info_get_commandline. Requested by Hans Petter Jansson.

        * gio.symbols:
        * gappinfo.[hc]: Add g_app_info_get_commandline. Requested
        by Hans Petter Jansson.

        * gdesktopappinfo.c: And implement it here.

svn path=/trunk/; revision=7706

15 years agoExplain the difference to g_key_file_get_value(). Pointed out by Mart
Matthias Clasen [Fri, 28 Nov 2008 21:22:21 +0000 (21:22 +0000)]
Explain the difference to g_key_file_get_value(). Pointed out by Mart

        * glib/gkeyfile.c (g_key_file_get_string): Explain the difference
        to g_key_file_get_value(). Pointed out by Mart Raudsepp.

svn path=/trunk/; revision=7705

15 years agoImprove docs
Matthias Clasen [Fri, 28 Nov 2008 20:29:42 +0000 (20:29 +0000)]
Improve docs

svn path=/trunk/; revision=7704

15 years agoBug 557603 – carbon check output misplaced
Matthias Clasen [Fri, 28 Nov 2008 20:17:15 +0000 (20:17 +0000)]
Bug 557603 – carbon check output misplaced

2008-11-28  Matthias Clasen  <mclasen@redhat.com>

        Bug 557603 – carbon check output misplaced

        * configure.in: Call AC_PROG_CPP early to avoid it messing up
        carbon check output. Fix proposed by Christian Persch

svn path=/trunk/; revision=7703

15 years agoImprove the docs
Matthias Clasen [Fri, 28 Nov 2008 19:52:37 +0000 (19:52 +0000)]
Improve the docs

svn path=/trunk/; revision=7702

15 years agoFix a typo, s/detext/detect. Patch by Enrico Tröger.
Christian Dywan [Fri, 28 Nov 2008 09:43:10 +0000 (09:43 +0000)]
Fix a typo, s/detext/detect. Patch by Enrico Tröger.

2008-11-28  Christian Dywan  <christian@imendio.com>

* gappinfo.c: Fix a typo, s/detext/detect. Patch by Enrico Tröger.

svn path=/trunk/; revision=7700

15 years agoBug 559633 – gtk_image_new_from_gicon does not always work for .desktop
Matthias Clasen [Fri, 28 Nov 2008 08:28:39 +0000 (08:28 +0000)]
Bug 559633 – gtk_image_new_from_gicon does not always work for .desktop

2008-11-28  Matthias Clasen  <mclasen@redhat.com>

        Bug 559633 – gtk_image_new_from_gicon does not always work for
        .desktop files

        * gdesktopappinfo.c (g_desktop_app_info_new_from_keyfile): Ignore
        extensions on icon names.  Proposed by Axel von Bertoldi.

svn path=/trunk/; revision=7698

15 years ago Bug 548163 – Nautilus displays wrong error message for too long file
Matthias Clasen [Fri, 28 Nov 2008 08:05:49 +0000 (08:05 +0000)]
    Bug 548163 – Nautilus displays wrong error message for too long file
        names

        * glocalfile.c (g_local_file_set_display_name): Correctly set
        error conditions if the new name is e.g. too long. Reported
        by Leonardo Ferreira Fontenelle.

svn path=/trunk/; revision=7696

15 years agoBug 547481 – g_data_input_stream_read_line behaves not as stated in the
Matthias Clasen [Fri, 28 Nov 2008 07:42:48 +0000 (07:42 +0000)]
Bug 547481 – g_data_input_stream_read_line behaves not as stated in the

2008-11-28  Matthias Clasen  <mclasen@redhat.com>

        Bug 547481 – g_data_input_stream_read_line behaves not as stated in
        the docs

        * gdatainputstream.c (g_data_input_stream_read_line): Behave as
        documented and include the line end in the returned string.
        Pointed out by Paul Pogonyshev.

        * tests/data-input-stream.c: Fix the read_line test to test the
        documented behaviour.

svn path=/trunk/; revision=7694

15 years agoOnly allow deleting files that have been created by
Matthias Clasen [Fri, 28 Nov 2008 07:27:13 +0000 (07:27 +0000)]
Only allow deleting files that have been created by

        * gdesktopappinfo.c (g_app_info_can_delete): Only allow deleting
        files that have been created by g_app_info_create_from_commandline.

svn path=/trunk/; revision=7693

15 years agoBetter fix
Matthias Clasen [Fri, 28 Nov 2008 07:04:43 +0000 (07:04 +0000)]
Better fix

svn path=/trunk/; revision=7691

15 years agoAvoid unused variables
Matthias Clasen [Fri, 28 Nov 2008 07:02:57 +0000 (07:02 +0000)]
Avoid unused variables

svn path=/trunk/; revision=7690

15 years agoBug 559110 – Do not include libintl.h after glibintl.h
Matthias Clasen [Fri, 28 Nov 2008 06:24:51 +0000 (06:24 +0000)]
Bug 559110 – Do not include libintl.h after glibintl.h

2008-11-28  Matthias Clasen  <mclasen@redhat.com>

        Bug 559110 – Do not include libintl.h after glibintl.h

        * glib/glibintl.h: Define bind_textdomain_codeset in the DISABLE_NLS
        branch. Patch by Peter Kjellerstedt.

        * glib/gutil.c: Don't include libintl.h directly.

svn path=/trunk/; revision=7688