platform/upstream/glib.git
16 years agoFix a typo
Matthias Clasen [Mon, 11 Feb 2008 17:35:44 +0000 (17:35 +0000)]
Fix a typo

svn path=/trunk/; revision=6499

16 years agoCorrectly handle NULL GAttributeMatcher meaning matches nothing. (Fixes
Alexander Larsson [Mon, 11 Feb 2008 12:21:49 +0000 (12:21 +0000)]
Correctly handle NULL GAttributeMatcher meaning matches nothing. (Fixes

2008-02-11  Alexander Larsson  <alexl@redhat.com>

        * gfileinfo.c:
        (g_file_info_set_attribute_mask):
        (g_file_attribute_matcher_matches_id):
Correctly handle NULL GAttributeMatcher meaning
matches nothing. (Fixes #513492)

svn path=/trunk/; revision=6498

16 years agoAdded GMountMountFlags enum and added a flags argument to all mount calls.
Alexander Larsson [Mon, 11 Feb 2008 11:12:36 +0000 (11:12 +0000)]
Added GMountMountFlags enum and added a flags argument to all mount calls.

2008-02-11  Alexander Larsson  <alexl@redhat.com>

        * gfile.[ch]:
        * gmount.[ch]:
        * gvolume.[ch]:
Added GMountMountFlags enum and added a flags
argument to all mount calls.

This is an API/ABI change for future extensibility,
as I think we will need at least an
inhibit-autorun flag (the panel needs this).
There are no flags defined yet though.

svn path=/trunk/; revision=6497

16 years agoAdded new standard::description attribute. Requested by Vincent, and
Alexander Larsson [Mon, 11 Feb 2008 10:41:00 +0000 (10:41 +0000)]
Added new standard::description attribute. Requested by Vincent, and

2008-02-11  Alexander Larsson  <alexl@redhat.com>

* gfileinfo.h:
Added new standard::description attribute.
Requested by Vincent, and useful for both
panel and nautilus

svn path=/trunk/; revision=6496

16 years agoMinor docs cleanup
Alexander Larsson [Mon, 11 Feb 2008 08:47:17 +0000 (08:47 +0000)]
Minor docs cleanup

2008-02-11  Alexander Larsson  <alexl@redhat.com>

        * gdesktopappinfo.c:
Minor docs cleanup

svn path=/trunk/; revision=6495

16 years agoAdditions
Matthias Clasen [Mon, 11 Feb 2008 07:18:56 +0000 (07:18 +0000)]
Additions

svn path=/trunk/; revision=6494

16 years agoAdd more docs
Matthias Clasen [Mon, 11 Feb 2008 07:17:48 +0000 (07:17 +0000)]
Add more docs

svn path=/trunk/; revision=6493

16 years agoDocumentation additions
Matthias Clasen [Mon, 11 Feb 2008 07:12:56 +0000 (07:12 +0000)]
Documentation additions

svn path=/trunk/; revision=6492

16 years agoCheck for getmntent_r
Matthias Clasen [Sun, 10 Feb 2008 05:22:39 +0000 (05:22 +0000)]
Check for getmntent_r

svn path=/trunk/; revision=6491

16 years agoConsistently use getmntent_r() and fall back to getmntent(). (#515492)
Matthias Clasen [Sun, 10 Feb 2008 05:20:00 +0000 (05:20 +0000)]
Consistently use getmntent_r() and fall back to getmntent(). (#515492)

2008-02-09  Matthias Clasen <mclasen@redhat.com>

        * gunixmounts.c: Consistently use getmntent_r() and fall
        back to getmntent().  (#515492)

svn path=/trunk/; revision=6490

16 years agoFix a mismerge
Matthias Clasen [Sun, 10 Feb 2008 04:54:25 +0000 (04:54 +0000)]
Fix a mismerge

svn path=/trunk/; revision=6489

16 years agoImprove the documentation for the G_MODULE_EXPORT macro. (#514470)
Philip Withnall [Sun, 10 Feb 2008 04:48:31 +0000 (04:48 +0000)]
Improve the documentation for the G_MODULE_EXPORT macro. (#514470)

2008-02-10  Philip Withnall  <pwithnall@svn.gnome.org>

* glib/tmpl/modules.sgml: Improve the documentation for
the G_MODULE_EXPORT macro. (#514470)

svn path=/trunk/; revision=6488

16 years ago/bin/ksh can't handle a for-loop with no arguments, so add a "." for when
Matthias Clasen [Sun, 10 Feb 2008 04:41:25 +0000 (04:41 +0000)]
/bin/ksh can't handle a for-loop with no arguments, so add a "." for when

2008-02-09  Matthias Clasen <mclasen@redhat.com>

        * Makefile.decl: /bin/ksh can't handle a for-loop with no
        arguments, so add a "." for when $(SUBDIRS) is empty.

        * glib/tests/option-context.c:
        * glib/tests/testing.c:
        * gthread/gthread-posix.c:
        * tets/testingbase64.c:
        * glib/gtester.c:
        * glib/gsequence.c: Portability fixes.  (#515154)

svn path=/trunk/; revision=6487

16 years agoDoc improvement
Matthias Clasen [Sun, 10 Feb 2008 04:26:54 +0000 (04:26 +0000)]
Doc improvement

svn path=/trunk/; revision=6486

16 years agoUpdated Basque translation.
Inaki Larranaga Murgoitio [Fri, 8 Feb 2008 16:42:26 +0000 (16:42 +0000)]
Updated Basque translation.

2008-02-08  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>

* eu.po: Updated Basque translation.

svn path=/trunk/; revision=6485

16 years agoAdd g_volume_should_automount. Docs needed.
Alexander Larsson [Fri, 8 Feb 2008 16:12:55 +0000 (16:12 +0000)]
Add g_volume_should_automount. Docs needed.

2008-02-08  Alexander Larsson  <alexl@redhat.com>

* gio.symbols:
        * gunixvolume.c:
        * gvolume.[ch]:
        Add g_volume_should_automount.
Docs needed.

svn path=/trunk/; revision=6484

16 years agoUpdated Catalan translation
Gil Forcada Codinachs [Thu, 7 Feb 2008 16:29:09 +0000 (16:29 +0000)]
Updated Catalan translation

svn path=/trunk/; revision=6483

16 years agoUnfortunately the mingw implementations of C99-style snprintf and
Tor Lillqvist [Thu, 7 Feb 2008 13:07:19 +0000 (13:07 +0000)]
Unfortunately the mingw implementations of C99-style snprintf and

2008-02-07  Tor Lillqvist  <tml@novell.com>

* configure.in: Unfortunately the mingw implementations of
C99-style snprintf and vsnprintf don't seem to be quite good
enough, at least not in mingw-runtime-3.14. I don't know exactly
what the problem is, but it is related to floating point
formatting and decimal point vs. comma, and the symptoms show up
in some dialogs in GIMP, presumably also elsewhere. The simple
tests in AC_FUNC_VSNPRINTF_C99 and AC_FUNC_SNPRINTF_C99 aren't
rigorous enough to notice, though. So preset
ac_cv_func_vsnprintf_c99 and ac_cv_func_snprintf_c99 to "no".

svn path=/trunk/; revision=6482

16 years agofixed build order to build gobject after gmodule gthread so gobject tests
12:58:54 Tim Janik [Thu, 7 Feb 2008 12:00:34 +0000 (12:00 +0000)]
fixed build order to build gobject after gmodule gthread so gobject tests

2008-02-07 12:58:54  Tim Janik  <timj@imendio.com>

        * Makefile.am: fixed build order to build gobject after gmodule gthread
        so gobject tests can be threaded.

svn path=/trunk/; revision=6480

16 years agoFixed typo spotted by Xan.
Tim Janik [Thu, 7 Feb 2008 10:26:00 +0000 (10:26 +0000)]
Fixed typo spotted by Xan.

svn path=/trunk/; revision=6479

16 years agolive-g-file won't build on Windows, too Unix-specific.
Tor Lillqvist [Thu, 7 Feb 2008 09:56:25 +0000 (09:56 +0000)]
live-g-file won't build on Windows, too Unix-specific.

2008-02-07  Tor Lillqvist  <tml@novell.com>

* tests/Makefile.am (TEST_PROGS): live-g-file won't build on
Windows, too Unix-specific.

svn path=/trunk/; revision=6478

16 years agoUpdated Korean translation.
Changwoo Ryu [Thu, 7 Feb 2008 08:33:26 +0000 (08:33 +0000)]
Updated Korean translation.

svn path=/trunk/; revision=6477

16 years agoadd for(;;); after the g_log call so that GCC stops issuing false warnings
Ryan Lortie [Thu, 7 Feb 2008 07:13:39 +0000 (07:13 +0000)]
add for(;;); after the g_log call so that GCC stops issuing false warnings

2008-02-07  Ryan Lortie  <desrt@desrt.ca>

        * glib/gmessages.h (g_error): add for(;;); after the g_log call so
        that GCC stops issuing false warnings about reachability  Bug #514920

svn path=/trunk/; revision=6476

16 years agoUpdate to PCRE 7.6
Matthias Clasen [Thu, 7 Feb 2008 04:51:56 +0000 (04:51 +0000)]
Update to PCRE 7.6

svn path=/trunk/; revision=6470

16 years agoSkip g_bit_*(). Inline functions may end up with a local plt if the
Behdad Esfahbod [Wed, 6 Feb 2008 17:36:06 +0000 (17:36 +0000)]
Skip g_bit_*(). Inline functions may end up with a local plt if the

2008-02-06  Behdad Esfahbod  <behdad@gnome.org>

        * pltcheck.sh: Skip g_bit_*().  Inline functions may end up with
        a local plt if the compiler doesn't support what we want.  Bug #514702

svn path=/trunk/; revision=6469

16 years agoSkip g_bit_*(). Inline functions may end up with a local plt if the
Behdad Esfahbod [Wed, 6 Feb 2008 17:35:25 +0000 (17:35 +0000)]
Skip g_bit_*(). Inline functions may end up with a local plt if the

2008-02-06  Behdad Esfahbod  <behdad@gnome.org>

        * glib/pltcheck.sh: Skip g_bit_*().  Inline functions may end up with
        a local plt if the compiler doesn't support what we want.  Bug #514702

svn path=/trunk/; revision=6468

16 years agoFixed some minor typos in documentation.
Murray Cumming [Wed, 6 Feb 2008 16:02:20 +0000 (16:02 +0000)]
Fixed some minor typos in documentation.

2008-02-06  Murray Cumming  <murrayc@murrayc.com>

* glib/gconvert.c:
* glib/pcre/pcre_internal.h: Fixed some minor typos in documentation.

svn path=/trunk/; revision=6467

16 years agoSave errno before calling other funcs that potentially alter it. Bug
Christian Persch [Wed, 6 Feb 2008 15:10:08 +0000 (15:10 +0000)]
Save errno before calling other funcs that potentially alter it. Bug

* gio/gdesktopappinfo.c: (ensure_dir):
* gio/glocalfile.c: (g_local_file_query_filesystem_info),
(g_local_file_read), (g_local_file_delete), (g_local_file_trash),
(g_local_file_move):
* gio/glocalfileinfo.c: (set_xattr), (_g_local_file_info_get),
(_g_local_file_info_get_from_fd), (set_unix_mode),
(set_unix_uid_gid), (set_symlink), (set_mtime_atime):
* gio/glocalfileinputstream.c: (g_local_file_input_stream_read),
(g_local_file_input_stream_skip),
(g_local_file_input_stream_close),
(g_local_file_input_stream_seek):
* gio/glocalfileoutputstream.c:
(g_local_file_output_stream_write),
(g_local_file_output_stream_close),
(g_local_file_output_stream_seek),
(g_local_file_output_stream_truncate), (copy_file_data),
(handle_overwrite_open):
* gio/gunixinputstream.c: (g_unix_input_stream_read),
(g_unix_input_stream_close), (read_async_cb), (close_async_cb):
* gio/gunixoutputstream.c: (g_unix_output_stream_write),
(g_unix_output_stream_close), (write_async_cb), (close_async_cb):
Save
errno before calling other funcs that potentially alter it. Bug
#514766.

svn path=/trunk/; revision=6466

16 years agoNew GIO testing module working over real data
Tomas Bzatek [Wed, 6 Feb 2008 13:52:07 +0000 (13:52 +0000)]
New GIO testing module working over real data

2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>

        * tests/Makefile.am:
        * tests/live-g-file.c:
        * tests/live-g-file.txt:
        New GIO testing module working over real data

svn path=/trunk/; revision=6465

16 years agoFallback to rename() if link() is not available (when no support on target
Tomas Bzatek [Wed, 6 Feb 2008 13:45:26 +0000 (13:45 +0000)]
Fallback to rename() if link() is not available (when no support on target

2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>

        * glocalfileoutputstream.c (g_local_file_output_stream_close):
        Fallback to rename() if link() is not available
        (when no support on target filesystem)

svn path=/trunk/; revision=6464

16 years agoreplace "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".
Michael Natterer [Wed, 6 Feb 2008 13:22:57 +0000 (13:22 +0000)]
replace "icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".

2008-02-06  Michael Natterer  <mitch@imendio.com>

* gfileinfo.c (g_file_info_get_icon): replace
"icon && G_IS_ICON (icon)" by simply "G_IS_ICON (icon)".

svn path=/trunk/; revision=6463

16 years agoDocumentation update of error codes
Tomas Bzatek [Wed, 6 Feb 2008 12:59:49 +0000 (12:59 +0000)]
Documentation update of error codes

2008-02-06  Tomas Bzatek  <tbzatek@redhat.com>

        * gfile.c (g_file_create):
        Documentation update of error codes

svn path=/trunk/; revision=6462

16 years agoUpdate to use both mimeapps.list and defaults.list as discussed on xdg
Alexander Larsson [Wed, 6 Feb 2008 10:57:27 +0000 (10:57 +0000)]
Update to use both mimeapps.list and defaults.list as discussed on xdg

2008-02-06  Alexander Larsson  <alexl@redhat.com>

* gdesktopappinfo.c:
Update to use both mimeapps.list and
defaults.list as discussed on xdg list.

svn path=/trunk/; revision=6461

16 years agoFix some typos in the documentation.
Benjamin Otte [Wed, 6 Feb 2008 10:26:53 +0000 (10:26 +0000)]
Fix some typos in the documentation.

2008-02-06  Benjamin Otte  <otte@gnome.org>

        * gasyncresult.c:
* gfilenamecompleter.c:
Fix some typos in the documentation.

svn path=/trunk/; revision=6460

16 years agoDon't succeed with trash if newly created trash dir has the wrong owner.
Alexander Larsson [Wed, 6 Feb 2008 10:06:54 +0000 (10:06 +0000)]
Don't succeed with trash if newly created trash dir has the wrong owner.

2008-02-06  Alexander Larsson  <alexl@redhat.com>

* glocalfile.c (g_local_file_trash):
Don't succeed with trash if newly created
trash dir has the wrong owner. (#514696)

svn path=/trunk/; revision=6459

16 years agoUpdated Arabic Translation by Khaled Hosny.
Djihed Afifi [Wed, 6 Feb 2008 09:42:17 +0000 (09:42 +0000)]
Updated Arabic Translation by Khaled Hosny.

svn path=/trunk/; revision=6458

16 years agomake GParamGType require the set type during construction instead of using
Benjamin Otte [Wed, 6 Feb 2008 09:36:47 +0000 (09:36 +0000)]
make GParamGType require the set type during construction instead of using

* gparamspecs.c: (param_gtype_set_default), (param_gtype_validate):
make GParamGType require the set type during construction instead of
using G_TYPE_NONE, which causes issues when setting.
Bug 513073 - g_param_spec_gtype breaks with G_PARAM_CONSTRUCT

svn path=/trunk/; revision=6457

16 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Wed, 6 Feb 2008 09:00:07 +0000 (09:00 +0000)]
Updated Thai translation.

2008-02-06  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

svn path=/trunk/; revision=6456

16 years agoforgotten file
Matthias Clasen [Wed, 6 Feb 2008 02:59:47 +0000 (02:59 +0000)]
forgotten file

svn path=/trunk/; revision=6455

16 years agoadded recursive mutex to protect class initialization, default interface
18:52:07 Tim Janik [Tue, 5 Feb 2008 17:52:52 +0000 (17:52 +0000)]
added recursive mutex to protect class initialization, default interface

2008-02-05 18:52:07  Tim Janik  <timj@imendio.com>

        * gtype.c: added recursive mutex to protect class initialization,
        default interface initialization and per-class interface construction.
        a lock to this recursive mutex is held during user callback invocations
        such as initializers or finalizers, effectively allowing only one thread
        to run class/interface initializers/finalizers at a time.
        also made misc fixups. this fixes:
        Bug 64764 - Class initialization isn't thread safe.

svn path=/trunk/; revision=6454

16 years agogenerate gobject/tests/Makefile.
18:42:42 Tim Janik [Tue, 5 Feb 2008 17:43:09 +0000 (17:43 +0000)]
generate gobject/tests/Makefile.

2008-02-05 18:42:42  Tim Janik  <timj@imendio.com>

        * configure.in: generate gobject/tests/Makefile.

svn path=/trunk/; revision=6453

16 years agointegrate tests/.
18:41:22 Tim Janik [Tue, 5 Feb 2008 17:42:09 +0000 (17:42 +0000)]
integrate tests/.

2008-02-05 18:41:22  Tim Janik  <timj@imendio.com>

        * Makefile.am: integrate tests/.

        * tests/: new directory for libgobject tests.

        * tests/Makefile.am: build and run threadtests.

        * tests/threadtests.c: test multi-threaded initializers for
        object classes and interfaces.

svn path=/trunk/; revision=6452

16 years agoDon't spew warnings when destination is not a GLocalFile.
Alexander Larsson [Tue, 5 Feb 2008 10:11:12 +0000 (10:11 +0000)]
Don't spew warnings when destination is not a GLocalFile.

2008-02-05  Alexander Larsson  <alexl@redhat.com>

* glocalfile.c (g_local_file_move):
Don't spew warnings when destination is not
a GLocalFile.

svn path=/trunk/; revision=6451

16 years agoInclude the gio import library in the developer zipfile.
Tor Lillqvist [Mon, 4 Feb 2008 22:25:55 +0000 (22:25 +0000)]
Include the gio import library in the developer zipfile.

2008-02-05  Tor Lillqvist  <tml@novell.com>

* glib-zip.in: Include the gio import library in the developer
zipfile.

svn path=/trunk/; revision=6450

16 years agoInclude gio-2.0.pc in the developer zipfile.
Tor Lillqvist [Mon, 4 Feb 2008 22:18:27 +0000 (22:18 +0000)]
Include gio-2.0.pc in the developer zipfile.

2008-02-05  Tor Lillqvist  <tml@novell.com>

* glib-zip.in: Include gio-2.0.pc in the developer zipfile.

svn path=/trunk/; revision=6449

16 years agomodify the new_sized() constructor to take a gsize param instead of guint
Jonathon Jongsma [Mon, 4 Feb 2008 10:04:40 +0000 (10:04 +0000)]
modify the new_sized() constructor to take a gsize param instead of guint

2008-02-02  Jonathon Jongsma  <jjongsma@gnome.org>

* gio/gbufferedoutputstream.c:
* gio/gbufferedoutputstream.h: modify the new_sized() constructor to take a
gsize param instead of guint to match the GBufferedInputStream constructor.

svn path=/trunk/; revision=6448

16 years ago2008-02-04 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian transla...
Jovan Naumovski [Mon, 4 Feb 2008 03:12:27 +0000 (03:12 +0000)]
2008-02-04 Jovan Naumovski <jovanna@svn.gnome.org> *mk.po: Updated Macedonian translation.

svn path=/trunk/; revision=6447

16 years agoBrazilian Portuguese translation updated by Vladimir Melo and Luiz
Leonardo Ferreira Fontenelle [Mon, 4 Feb 2008 01:20:25 +0000 (01:20 +0000)]
Brazilian Portuguese translation updated by Vladimir Melo and Luiz

2008-02-03  Leonardo Ferreira Fontenelle  <leonardof@svn.gnome.org>

* pt_BR.po: Brazilian Portuguese translation updated by Vladimir Melo
and Luiz Armesto.

svn path=/trunk/; revision=6446

16 years agoupdate
Hans Breuer [Sun, 3 Feb 2008 22:41:06 +0000 (22:41 +0000)]
update

2008-02-03  Hans Breuer  <hans@breuer.org>

* **/makefile.msc.in : update

svn path=/trunk/; revision=6445

16 years agoupdate
Hans Breuer [Sun, 3 Feb 2008 22:40:29 +0000 (22:40 +0000)]
update

2008-02-03  Hans Breuer  <hans@breuer.org>

* makefile.msc : update

svn path=/trunk/; revision=6444

16 years agoCheck for gmtime_r. Missing part of bug #511807.
Sebastian Dröge [Sun, 3 Feb 2008 10:54:13 +0000 (10:54 +0000)]
Check for gmtime_r. Missing part of bug #511807.

* configure.in: Check for gmtime_r. Missing part of bug #511807.

svn path=/trunk/; revision=6443

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Fri, 1 Feb 2008 17:45:33 +0000 (17:45 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=6442

16 years agoassign the return value of xdg_mime_list_mime_parents() to a variable of
Michael Natterer [Fri, 1 Feb 2008 13:17:04 +0000 (13:17 +0000)]
assign the return value of xdg_mime_list_mime_parents() to a variable of

2008-02-01  Michael Natterer  <mitch@imendio.com>

* gcontenttype.c (_g_unix_content_type_get_parents): assign the
return value of xdg_mime_list_mime_parents() to a variable of the
correct type.

svn path=/trunk/; revision=6441

16 years agoActually call the launch_uris method, not launch.
Alexander Larsson [Fri, 1 Feb 2008 12:02:52 +0000 (12:02 +0000)]
Actually call the launch_uris method, not launch.

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

* gappinfo.c (g_app_info_launch_uris):
Actually call the launch_uris method, not
launch.

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

* gdesktopappinfo.c (g_desktop_app_info_equal):
Ensure appinfos with no id but same pointer value
compare equal

svn path=/trunk/; revision=6440

16 years agoDon't leak appinfo.
Alexander Larsson [Fri, 1 Feb 2008 11:42:25 +0000 (11:42 +0000)]
Don't leak appinfo.

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

* gappinfo.c (g_app_info_launch_default_for_uri):
Don't leak appinfo.

svn path=/trunk/; revision=6439

16 years agoOops, fix last commit.
Alexander Larsson [Fri, 1 Feb 2008 11:30:37 +0000 (11:30 +0000)]
Oops, fix last commit.

svn path=/trunk/; revision=6438

16 years agoAdd g_app_info_launch_default_for_uri utility function. (#513256)
Alexander Larsson [Fri, 1 Feb 2008 11:21:37 +0000 (11:21 +0000)]
Add g_app_info_launch_default_for_uri utility function. (#513256)

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

        * gappinfo.[ch]:
        * gio.symbols:
        Add g_app_info_launch_default_for_uri utility
function. (#513256)

svn path=/trunk/; revision=6437

16 years agoDoc fix for g_app_info_get_default_for_uri_scheme () Bug #513483.
Cosimo Cecchi [Fri, 1 Feb 2008 11:21:01 +0000 (11:21 +0000)]
Doc fix for g_app_info_get_default_for_uri_scheme () Bug #513483.

2008-02-01  Cosimo Cecchi  <cosimoc@svn.gnome.org>

* gdesktopappinfo.c:
Doc fix for g_app_info_get_default_for_uri_scheme ()
Bug #513483.

svn path=/trunk/; revision=6436

16 years agoAdded Entry for Kannada Translation Updation by Shankar Prasad
Runa Bhattacharjee [Fri, 1 Feb 2008 05:26:53 +0000 (05:26 +0000)]
Added Entry for Kannada Translation Updation by Shankar Prasad

svn path=/trunk/; revision=6435

16 years agoUpdated Kannada Translations by Shankar Prasad
Runa Bhattacharjee [Fri, 1 Feb 2008 05:26:11 +0000 (05:26 +0000)]
Updated Kannada Translations by Shankar Prasad

svn path=/trunk/; revision=6434

16 years agosv.po: Updated Swedish translation
Daniel Nylander [Fri, 1 Feb 2008 00:20:53 +0000 (00:20 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=6433

16 years agouse %G_GSIZE_FORMAT instead of %lu since sizes have changed from gulong to
Michael Natterer [Thu, 31 Jan 2008 11:44:51 +0000 (11:44 +0000)]
use %G_GSIZE_FORMAT instead of %lu since sizes have changed from gulong to

2008-01-31  Michael Natterer  <mitch@imendio.com>

* glib/gmem.c: use %G_GSIZE_FORMAT instead of %lu since sizes have
changed from gulong to gsize in this file.

svn path=/trunk/; revision=6432

16 years agoUpdated Arabic Translation by Abou Manal.
Djihed Afifi [Thu, 31 Jan 2008 08:19:18 +0000 (08:19 +0000)]
Updated Arabic Translation by Abou Manal.

svn path=/trunk/; revision=6431

16 years agoRemove oc since oc.po is gone.
Johan Dahlin [Wed, 30 Jan 2008 22:57:45 +0000 (22:57 +0000)]
Remove oc since oc.po is gone.

2008-01-30  Johan Dahlin  <johan@gnome.org>

        * configure.in: Remove oc since oc.po is gone.

svn path=/trunk/; revision=6430

16 years agoFixed gtk-doc warnings by updating the documentation of various functions.
Wouter Bolsterlee [Wed, 30 Jan 2008 20:52:13 +0000 (20:52 +0000)]
Fixed gtk-doc warnings by updating the documentation of various functions.

2008-01-30  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* glib/gchecksum.c:
* glib/gtestutils.c:
* glib/gutils.c:

Fixed gtk-doc warnings by updating the documentation of
various functions.

svn path=/trunk/; revision=6429

16 years agoUpdated Portuguese translation.
Duarte Loreto [Wed, 30 Jan 2008 20:18:59 +0000 (20:18 +0000)]
Updated Portuguese translation.

2008-01-30  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

svn path=/trunk/; revision=6428

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Wed, 30 Jan 2008 17:57:09 +0000 (17:57 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=6427

16 years agoUpdated Japanese translation.
Takeshi AIHANA [Wed, 30 Jan 2008 15:56:50 +0000 (15:56 +0000)]
Updated Japanese translation.

2008-01-30  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/trunk/; revision=6426

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Wed, 30 Jan 2008 14:37:44 +0000 (14:37 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=6425

16 years agoAdd doc comment about uris vs GFiles to g_app_info_launch()
Alexander Larsson [Wed, 30 Jan 2008 11:27:02 +0000 (11:27 +0000)]
Add doc comment about uris vs GFiles to g_app_info_launch()

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

        * gappinfo.c:
Add doc comment about uris vs GFiles to
g_app_info_launch()

        * gdesktopappinfo.c:
Ensure uris passed to g_app_info_launch_uris()
are not roundtriped through GFile (as that
may be slightly destructive for e.g. mailto: links)

svn path=/trunk/; revision=6424

16 years agoC89 fixes from Jens Granseuer (#512849)
Alexander Larsson [Wed, 30 Jan 2008 09:28:10 +0000 (09:28 +0000)]
C89 fixes from Jens Granseuer (#512849)

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

        * tests/data-input-stream.c:
        * tests/data-output-stream.c:
C89 fixes from Jens Granseuer (#512849)

svn path=/trunk/; revision=6423

16 years agoFix gamin/fam difference build issue. (#509419)
Alexander Larsson [Wed, 30 Jan 2008 09:14:58 +0000 (09:14 +0000)]
Fix gamin/fam difference build issue. (#509419)

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

* fam/fam-helper.c:
Fix gamin/fam difference build issue. (#509419)

svn path=/trunk/; revision=6422

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Tue, 29 Jan 2008 20:19:21 +0000 (20:19 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=6421

16 years agoUpdated Arabic Translation by Abou Manal.
Djihed Afifi [Tue, 29 Jan 2008 19:42:14 +0000 (19:42 +0000)]
Updated Arabic Translation by Abou Manal.

svn path=/trunk/; revision=6420

16 years agoG_GNUC_[PRETTY_]FUNCTION are deprecated since 2.16, not 2.14.
Christian Persch [Tue, 29 Jan 2008 18:04:23 +0000 (18:04 +0000)]
G_GNUC_[PRETTY_]FUNCTION are deprecated since 2.16, not 2.14.

2008-01-29  Christian Persch  <chpe@gnome.org>

* docs/reference/glib/tmpl/macros_misc.sgml: G_GNUC_[PRETTY_]FUNCTION
are deprecated since 2.16, not 2.14.

svn path=/trunk/; revision=6419

16 years agoAdd G_APP_INFO_CREATE_SUPPORTS_URIS flag
Alexander Larsson [Tue, 29 Jan 2008 15:47:27 +0000 (15:47 +0000)]
Add G_APP_INFO_CREATE_SUPPORTS_URIS flag

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

        * gappinfo.h:
        * gdesktopappinfo.c:
Add G_APP_INFO_CREATE_SUPPORTS_URIS flag

svn path=/trunk/; revision=6418

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Tue, 29 Jan 2008 15:40:56 +0000 (15:40 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=6417

16 years agogiomodule-priv.h include moved to .c file.
Alexander Larsson [Tue, 29 Jan 2008 15:11:54 +0000 (15:11 +0000)]
giomodule-priv.h include moved to .c file.

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

        * gdesktopappinfo.c:
        * gdesktopappinfo.h:
giomodule-priv.h include moved to .c file.

svn path=/trunk/; revision=6416

16 years agoRemove unused prio/name fields.
Alexander Larsson [Tue, 29 Jan 2008 15:04:50 +0000 (15:04 +0000)]
Remove unused prio/name fields.

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

* gnativevolumemonitor.h (struct _GNativeVolumeMonitorClass):
Remove unused prio/name fields.

svn path=/trunk/; revision=6415

16 years agoDon't treat whitespace as control chars.
Alexander Larsson [Tue, 29 Jan 2008 14:19:46 +0000 (14:19 +0000)]
Don't treat whitespace as control chars.

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

* gcontenttype.c (looks_like_text):
Don't treat whitespace as control chars.

svn path=/trunk/; revision=6414

16 years agochanged size argument type from gulong to gsize as discussed on
14:58:31 Tim Janik [Tue, 29 Jan 2008 14:10:43 +0000 (14:10 +0000)]
changed size argument type from gulong to gsize as discussed on

2008-01-29 14:58:31  Tim Janik  <timj@imendio.com>

        * glib/gmem.[hc]: changed size argument type from gulong to gsize as
        discussed on gtk-devel-list:
          http://mail.gnome.org/archives/gtk-devel-list/2007-March/msg00062.html
        this should be ABI compatible on all platforms except win64 for which
        no ABI binding port exists yet.

svn path=/trunk/; revision=6413

16 years agoLazily create the desktop files for appinfos created by
Alexander Larsson [Tue, 29 Jan 2008 14:07:07 +0000 (14:07 +0000)]
Lazily create the desktop files for appinfos created by

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

        * gdesktopappinfo.c:
Lazily create the desktop files for appinfos created
by g_app_info_create_from_commandline() when needed
for mime associations. This allows run-time use
of GAppInfo object without creating unnecessary
files on disk.

svn path=/trunk/; revision=6412

16 years agoAdded new symbols to gio.symbols
Alexander Larsson [Tue, 29 Jan 2008 12:27:45 +0000 (12:27 +0000)]
Added new symbols to gio.symbols

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

        * gio.symbols:
Added new symbols to gio.symbols

svn path=/trunk/; revision=6411

16 years agoAdd docs
Alexander Larsson [Tue, 29 Jan 2008 12:23:24 +0000 (12:23 +0000)]
Add docs

svn path=/trunk/; revision=6410

16 years agoAdd g_file_query_default_handler utility to easily look up the GAppInfo
Alexander Larsson [Tue, 29 Jan 2008 12:18:48 +0000 (12:18 +0000)]
Add g_file_query_default_handler utility to easily look up the GAppInfo

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

        * gfile.[ch]:
        Add g_file_query_default_handler utility to easily look up
the GAppInfo that handles a file.

        * gdesktopappinfo.[ch]:
        * giomodule.c:
Set up an extension point for g_app_info_get_default_for_uri_scheme()

        * gvfs.c:
Remove unused function

svn path=/trunk/; revision=6409

16 years agoMention need to free returned value in g_file_enumerator_next_files_finish
Alexander Larsson [Tue, 29 Jan 2008 10:35:38 +0000 (10:35 +0000)]
Mention need to free returned value in g_file_enumerator_next_files_finish

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

        * gfileenumerator.c:
        Mention need to free returned value in
g_file_enumerator_next_files_finish docs.
Fix leak if g_file_enumerator_next_files_finish()
not called.

svn path=/trunk/; revision=6408

16 years agoUse list_parents, not get_parents from xdgmime, because the later doesn't
Alexander Larsson [Tue, 29 Jan 2008 10:20:49 +0000 (10:20 +0000)]
Use list_parents, not get_parents from xdgmime, because the later doesn't

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

        * gcontenttype.c:
        (_g_unix_content_type_get_parents):
Use list_parents, not get_parents from xdgmime, because
the later doesn't use the cache.

        * xdgmime/xdgmimecache.c:
        (_xdg_mime_cache_list_mime_parents):
Don't list the same type as parent multiple times.

svn path=/trunk/; revision=6407

16 years agoGrab thread_counter_pools LOCK when increasing leftover_task_counter.
Sebastian Wilhelmi [Tue, 29 Jan 2008 10:07:07 +0000 (10:07 +0000)]
Grab thread_counter_pools LOCK when increasing leftover_task_counter.

2008-01-29  Sebastian Wilhelmi  <wilhelmi@google.com>

* tests/threadpool-test.c (test_thread_pools): Grab
thread_counter_pools LOCK when increasing
leftover_task_counter. Fixes race in test. (#512624, Simon Murray)

svn path=/trunk/; revision=6406

16 years agoUpdated Italian translation.
Luca Ferretti [Tue, 29 Jan 2008 08:31:28 +0000 (08:31 +0000)]
Updated Italian translation.

2008-01-29  Luca Ferretti  <elle.uca@libero.it>

* it.po: Updated Italian translation.

svn path=/trunk/; revision=6405

16 years agoBump version
Matthias Clasen [Tue, 29 Jan 2008 00:03:29 +0000 (00:03 +0000)]
Bump version

svn path=/trunk/; revision=6404

16 years ago2.15.4 GLIB_2_15_4
Matthias Clasen [Tue, 29 Jan 2008 00:00:31 +0000 (00:00 +0000)]
2.15.4

svn path=/trunk/; revision=6402

16 years agoRegister local vfs with prio 0.
Alexander Larsson [Mon, 28 Jan 2008 21:06:10 +0000 (21:06 +0000)]
Register local vfs with prio 0.

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

        * glocalvfs.c:
Register local vfs with prio 0.

        * gvfs.h:
Remove old name and prio class members

svn path=/trunk/; revision=6401

16 years agoDisable some tests
Matthias Clasen [Mon, 28 Jan 2008 19:46:18 +0000 (19:46 +0000)]
Disable some tests

svn path=/trunk/; revision=6400

16 years agoAdd registration hooks for extension points. Register the gio extension
Alexander Larsson [Mon, 28 Jan 2008 19:43:10 +0000 (19:43 +0000)]
Add registration hooks for extension points. Register the gio extension

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

        * giomodule.[ch]:
        * gio.symbols:
Add registration hooks for extension points.
Register the gio extension points.

        * fam/gfamdirectorymonitor.c:
        * fam/gfamfilemonitor.c:
        * glocaldirectorymonitor.[ch]:
        * glocalfilemonitor.[ch]:
        * gnativevolumemonitor.h:
        * gunionvolumemonitor.c:
        * gunixvolumemonitor.c:
        * gvfs.[ch]:
        * gvolumemonitor.h:
        * inotify/ginotifydirectorymonitor.c:
        * inotify/ginotifyfilemonitor.c:
Use the extension points registration instead
of g_type_children().

svn path=/trunk/; revision=6399

16 years agoDocument new api
Matthias Clasen [Mon, 28 Jan 2008 17:26:45 +0000 (17:26 +0000)]
Document new api

svn path=/trunk/; revision=6398

16 years agoDocument new api
Matthias Clasen [Mon, 28 Jan 2008 17:21:34 +0000 (17:21 +0000)]
Document new api

svn path=/trunk/; revision=6397

16 years agoFix docs
Matthias Clasen [Mon, 28 Jan 2008 17:09:26 +0000 (17:09 +0000)]
Fix docs

svn path=/trunk/; revision=6396

16 years agoUpdates
Matthias Clasen [Mon, 28 Jan 2008 16:23:29 +0000 (16:23 +0000)]
Updates

svn path=/trunk/; revision=6395

16 years agosv.po: Updated Swedish translation
Daniel Nylander [Mon, 28 Jan 2008 07:57:36 +0000 (07:57 +0000)]
sv.po: Updated Swedish translation

svn path=/trunk/; revision=6394

16 years agoCheck for gmtime_r. Use gmtime_r when available. (#511807, Sebastian
Matthias Clasen [Mon, 28 Jan 2008 06:27:28 +0000 (06:27 +0000)]
Check for gmtime_r. Use gmtime_r when available. (#511807, Sebastian

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

        * configure.in: Check for gmtime_r.
        * glib/gtimer.c: Use gmtime_r when available.  (#511807,
        Sebastian Dröge)

svn path=/trunk/; revision=6393