platform/upstream/glib.git
16 years agoAdd /usr/local to list of internal mountpoints
Alexander Larsson [Thu, 3 Jan 2008 10:29:29 +0000 (10:29 +0000)]
Add /usr/local to list of internal mountpoints

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

* gunixmounts.c (g_unix_is_mount_path_system_internal):
Add /usr/local to list of internal mountpoints

svn path=/trunk/; revision=6237

16 years agoCheck for HAVE_LCHOWN (#505887)
Alexander Larsson [Thu, 3 Jan 2008 09:13:39 +0000 (09:13 +0000)]
Check for HAVE_LCHOWN (#505887)

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

        * glocalfileinfo.c:
Check for HAVE_LCHOWN (#505887)

svn path=/trunk/; revision=6236

16 years agoAdd define for selinux context attribute. Fix missing : -> :: namespace
Alexander Larsson [Thu, 3 Jan 2008 09:01:00 +0000 (09:01 +0000)]
Add define for selinux context attribute. Fix missing : -> :: namespace

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

        * gfileinfo.h:
        * glocalfileinfo.c:
Add define for selinux context attribute.
Fix missing : -> :: namespace separator change
Fix missing _ -> - name change for xattr-sys.
(#505058)

svn path=/trunk/; revision=6235

16 years agoLink to libglib and libgobject directly (#504879) Patch from Sebastien
Alexander Larsson [Thu, 3 Jan 2008 08:56:51 +0000 (08:56 +0000)]
Link to libglib and libgobject directly (#504879) Patch from Sebastien

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

        * fam/Makefile.am:
Link to libglib and libgobject directly (#504879)
Patch from Sebastien Bacher

svn path=/trunk/; revision=6234

16 years agoThese void functions were trying to return a value. It was causing the
Alvaro Lopez Ortega [Wed, 2 Jan 2008 16:22:25 +0000 (16:22 +0000)]
These void functions were trying to return a value. It was causing the

2008-01-02  Alvaro Lopez Ortega  <alvaro@sun.com>

        * gio/gunixmount.c (g_unix_mount_unmount, g_unix_mount_eject):
        These void functions were trying to return a value. It was causing
        the compilation to fail.

svn path=/trunk/; revision=6232

16 years agosv.po: Swedish translation updated
Daniel Nylander [Wed, 2 Jan 2008 12:03:45 +0000 (12:03 +0000)]
sv.po: Swedish translation updated

svn path=/trunk/; revision=6231

16 years agoThese functions prototype defines its output as void, and therefore they
Alvaro Lopez Ortega [Wed, 2 Jan 2008 11:54:08 +0000 (11:54 +0000)]
These functions prototype defines its output as void, and therefore they

2008-01-02  Alvaro Lopez Ortega  <alvaro@sun.com>

       * glib/ghash.c (g_hash_table_replace, g_hash_table_insert): These
       functions prototype defines its output as void, and therefore they
       should not return any value. This patch fixes a compilation error:
       the "return" clauses were incompatible with the functions prototype.

svn path=/trunk/; revision=6230

16 years agoExpanded the g_file_new_for_commandline_arg description a bit, based on
Wouter Bolsterlee [Tue, 1 Jan 2008 14:39:51 +0000 (14:39 +0000)]
Expanded the g_file_new_for_commandline_arg description a bit, based on

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

* gfile.c: Expanded the g_file_new_for_commandline_arg
description a bit, based on the code and the docs of the
other g_file_new_for_* functions.

svn path=/trunk/; revision=6229

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Tue, 1 Jan 2008 09:19:47 +0000 (09:19 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=6228

16 years agoRemove C99 comments
Matthias Clasen [Tue, 1 Jan 2008 04:13:26 +0000 (04:13 +0000)]
Remove C99 comments

svn path=/trunk/; revision=6227

16 years agoUpdated Occitan translation
Yannig MARCHEGAY [Mon, 31 Dec 2007 21:54:47 +0000 (21:54 +0000)]
Updated Occitan translation

svn path=/trunk/; revision=6226

16 years agoFixed typo in docs.
Wouter Bolsterlee [Mon, 31 Dec 2007 12:11:13 +0000 (12:11 +0000)]
Fixed typo in docs.

2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* gfilemonitor.h: Fixed typo in docs.

svn path=/trunk/; revision=6225

16 years agoFixed invalid XML entity
Wouter Bolsterlee [Mon, 31 Dec 2007 11:59:09 +0000 (11:59 +0000)]
Fixed invalid XML entity

2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* gio/migrating.xml: Fixed invalid XML entity

svn path=/trunk/; revision=6224

16 years agoFixed typo
Wouter Bolsterlee [Mon, 31 Dec 2007 11:35:35 +0000 (11:35 +0000)]
Fixed typo

2007-12-31  Wouter Bolsterlee  <wbolster@svn.gnome.org>

* glib/tmpl/macros_misc.sgml: Fixed typo

svn path=/trunk/; revision=6223

16 years agoUpdates to GIO documentation. (#506395, Mikael Hermansson)
Mathias Hasselmann [Mon, 31 Dec 2007 10:00:52 +0000 (10:00 +0000)]
Updates to GIO documentation. (#506395, Mikael Hermansson)

* gcontenttype.c: Describe memory management for return value of
g_content_types_get_registered(). Missing piece from #505815.
* gdrive.c, gmount.c, gvolumemonitor.c: Add more description to
GVolume, GDrive, GMounts, which hopefully gives the user less
confusions when using this API. Following explainations from
Alexander Larsson on gtk-devel-list.

svn path=/trunk/; revision=6222

16 years agoMark assertion functions as G_GNUC_NORETURN. (#506461, Sebastian Dröge)
Matthias Clasen [Mon, 31 Dec 2007 05:25:25 +0000 (05:25 +0000)]
Mark assertion functions as G_GNUC_NORETURN. (#506461, Sebastian Dröge)

2007-12-24  Matthias Clasen  <mclasen@redhat.com>

        * glib/gtestutils.h:
        * glib/glib.symbols: Mark assertion functions as G_GNUC_NORETURN.
        (#506461, Sebastian Dröge)

svn path=/trunk/; revision=6221

16 years agoDoc additions
Matthias Clasen [Mon, 31 Dec 2007 04:45:19 +0000 (04:45 +0000)]
Doc additions

svn path=/trunk/; revision=6220

16 years agoFix build with --disable-visibility
Matthias Clasen [Mon, 31 Dec 2007 02:30:33 +0000 (02:30 +0000)]
Fix build with --disable-visibility

svn path=/trunk/; revision=6219

16 years agoDon't include NULLs in the list of returned app infos.
Matthias Clasen [Mon, 31 Dec 2007 01:47:59 +0000 (01:47 +0000)]
Don't include NULLs in the list of returned app infos.

2007-12-30  Matthias Clasen  <mclasen@redhat.com>

        * gdesktopfileinfo.c (g_app_info_get_all): Don't include NULLs
        in the list of returned app infos.

svn path=/trunk/; revision=6218

16 years agoFix a cross-reference
Matthias Clasen [Sun, 30 Dec 2007 06:15:12 +0000 (06:15 +0000)]
Fix a cross-reference

svn path=/trunk/; revision=6217

16 years agoMore docs
Matthias Clasen [Sun, 30 Dec 2007 06:13:12 +0000 (06:13 +0000)]
More docs

svn path=/trunk/; revision=6216

16 years agoDoc updates
Matthias Clasen [Sun, 30 Dec 2007 05:55:23 +0000 (05:55 +0000)]
Doc updates

svn path=/trunk/; revision=6215

16 years agoUpdates
Matthias Clasen [Sun, 30 Dec 2007 05:54:31 +0000 (05:54 +0000)]
Updates

svn path=/trunk/; revision=6214

16 years agoMore doc updates
Matthias Clasen [Sun, 30 Dec 2007 05:30:42 +0000 (05:30 +0000)]
More doc updates

svn path=/trunk/; revision=6213

16 years agoMore doc updates
Matthias Clasen [Sun, 30 Dec 2007 05:22:33 +0000 (05:22 +0000)]
More doc updates

svn path=/trunk/; revision=6212

16 years agoDocumentation updates
Matthias Clasen [Sun, 30 Dec 2007 05:21:05 +0000 (05:21 +0000)]
Documentation updates

svn path=/trunk/; revision=6211

16 years agoDocumentation updates
Matthias Clasen [Sun, 30 Dec 2007 05:12:15 +0000 (05:12 +0000)]
Documentation updates

svn path=/trunk/; revision=6210

16 years agoDocumentation updates
Matthias Clasen [Sun, 30 Dec 2007 05:10:23 +0000 (05:10 +0000)]
Documentation updates

svn path=/trunk/; revision=6209

16 years agoAdd a note on restrictions of child setup functions
Matthias Clasen [Sat, 29 Dec 2007 05:18:58 +0000 (05:18 +0000)]
Add a note on restrictions of child setup functions

svn path=/trunk/; revision=6208

16 years agoUpdated Basque translation.
Inaki Larranaga Murgoitio [Thu, 27 Dec 2007 15:08:58 +0000 (15:08 +0000)]
Updated Basque translation.

2007-12-27  Inaki Larranaga Murgoitio  <dooteo@euskalgnu.org>

        * eu.po: Updated Basque translation.

svn path=/trunk/; revision=6207

16 years agoInclude crt_externs.h. (#505730, Tommi Komulainen)
Matthias Clasen [Thu, 27 Dec 2007 04:23:57 +0000 (04:23 +0000)]
Include crt_externs.h. (#505730, Tommi Komulainen)

2007-12-26  Matthias Clasen  <mclasen@redhat.com>

        * gdesktopappinfo.c: Include crt_externs.h.  (#505730,
        Tommi Komulainen)

svn path=/trunk/; revision=6206

16 years agoDon't return freed memory (#505815, Mikael Hermansson)
Matthias Clasen [Thu, 27 Dec 2007 04:14:47 +0000 (04:14 +0000)]
Don't return freed memory (#505815, Mikael Hermansson)

2007-12-26  Matthias Clasen  <mclasen@redhat.com>

        * gcontenttype.c (g_content_types_get_registered): Don't return
        freed memory (#505815, Mikael Hermansson)

svn path=/trunk/; revision=6205

16 years agoFix macro argument. (#505674, Areg Beketovski)
Behdad Esfahbod [Wed, 26 Dec 2007 19:23:21 +0000 (19:23 +0000)]
Fix macro argument. (#505674, Areg Beketovski)

2007-12-26  Behdad Esfahbod  <behdad@gnome.org>

        * gclosure.h (G_CCLOSURE_SWAP_DATA): Fix macro argument.
        (#505674, Areg Beketovski)

svn path=/trunk/; revision=6204

16 years agofix typo in the ifdef used to detect statbuf->st_blocks. (#505042)
Paolo Borelli [Tue, 25 Dec 2007 21:21:32 +0000 (21:21 +0000)]
fix typo in the ifdef used to detect statbuf->st_blocks. (#505042)

2007-12-25  Paolo Borelli  <pborelli@katamail.com>

* glocalfileinfo.c (set_info_from_stat): fix typo in the ifdef
used to detect statbuf->st_blocks. (#505042)

svn path=/trunk/; revision=6202

16 years agoInclude sys/time.h. (#505258)
Matthias Clasen [Tue, 25 Dec 2007 02:28:18 +0000 (02:28 +0000)]
Include sys/time.h. (#505258)

2007-12-24  Matthias Clasen  <mclasen@redhat.com>

        * glib/gtestutils.c: Include sys/time.h.  (#505258)

svn path=/trunk/; revision=6201

16 years agoFix the environment handling. (#504829, Cosimo Cecchi)
Matthias Clasen [Tue, 25 Dec 2007 02:07:48 +0000 (02:07 +0000)]
Fix the environment handling. (#504829, Cosimo Cecchi)

2007-12-24  Matthias Clasen  <mclasen@redhat.com>

        * gdesktopappinfo.c (g_desktop_app_info_launch): Fix the
        environment handling.  (#504829, Cosimo Cecchi)

svn path=/trunk/; revision=6200

16 years agoUse correct date of in ChangeLog entry (once again)
Mathias Hasselmann [Mon, 24 Dec 2007 11:10:13 +0000 (11:10 +0000)]
Use correct date of in ChangeLog entry (once again)

svn path=/trunk/; revision=6199

16 years agoDo not show empty groups in --help output. Initial patch from Yevgen
Mathias Hasselmann [Mon, 24 Dec 2007 11:09:03 +0000 (11:09 +0000)]
Do not show empty groups in --help output. Initial patch from Yevgen
Muntyan. (#504142)

* glib/goption.c: Do not show empty groups in --help output.
* glib/tests/Makefile.am: Add option-context.c
* glib/tests/option-context.c: Test skipping of empty groups.

svn path=/trunk/; revision=6198

16 years agoAdd a warning about g_thread_init invalidating timers. (#491218)
Benjamin Otte [Mon, 24 Dec 2007 09:47:31 +0000 (09:47 +0000)]
Add a warning about g_thread_init invalidating timers. (#491218)

* glib/tmpl/timers.sgml: Add a warning about g_thread_init
invalidating timers. (#491218)

svn path=/trunk/; revision=6197

16 years agoFix typo in g_try_new0 docs (#505195, Felix Riemann).
Mathias Hasselmann [Mon, 24 Dec 2007 08:14:33 +0000 (08:14 +0000)]
Fix typo in g_try_new0 docs (#505195, Felix Riemann).

* docs/reference/glib/tmpl/memory.sgml: Reference
n_structs, instead of non-existant n_counts argument.

svn path=/trunk/; revision=6196

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sun, 23 Dec 2007 12:43:01 +0000 (12:43 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=6195

16 years agoUpdated Arabic Translation by Djihed Afifi.
Djihed Afifi [Sun, 23 Dec 2007 11:55:44 +0000 (11:55 +0000)]
Updated Arabic Translation by Djihed Afifi.

svn path=/trunk/; revision=6193

16 years agoDon't fail to load modules with suffix .la. (#480122, Andrey Tsyvarev)
Matthias Clasen [Sun, 23 Dec 2007 05:50:26 +0000 (05:50 +0000)]
Don't fail to load modules with suffix .la. (#480122, Andrey Tsyvarev)

2007-12-22  Matthias Clasen  <mclasen@redhat.com>

        * gmodule.c (g_module_open): Don't fail to load modules
        with suffix .la.  (#480122, Andrey Tsyvarev)

svn path=/trunk/; revision=6191

16 years agoRemove wrong documentation about start group handling. (#476856, Areg
Matthias Clasen [Sun, 23 Dec 2007 04:57:23 +0000 (04:57 +0000)]
Remove wrong documentation about start group handling. (#476856, Areg

2007-12-22  Matthias Clasen  <mclasen@redhat.com>

        * glib/gkeyfile.c: Remove wrong documentation about start group
        handling.  (#476856, Areg Beketovski)

svn path=/trunk/; revision=6190

16 years agoFix a typo
Matthias Clasen [Sun, 23 Dec 2007 02:57:57 +0000 (02:57 +0000)]
Fix a typo

svn path=/trunk/; revision=6189

16 years agoDoc improvements
Matthias Clasen [Sat, 22 Dec 2007 18:15:57 +0000 (18:15 +0000)]
Doc improvements

2007-12-22  Matthias Clasen  <mclasen@redhat.com>

        * gio/gappinfo.c: Doc improvements

        * gio/gdesktopappinfo.c (g_app_info_get_all): Return app infos,
        not ids.

svn path=/trunk/; revision=6188

16 years agouse "sed -i.bak <CMD> <FILE> && rm -f <FILE>.bak" syntax for
18:02:30 Tim Janik [Fri, 21 Dec 2007 17:02:29 +0000 (17:02 +0000)]
use "sed -i.bak <CMD> <FILE> && rm -f <FILE>.bak" syntax for

2007-12-21 18:02:30  Tim Janik  <timj@imendio.com>

        * glib/Makefile.am: use "sed -i.bak <CMD> <FILE> && rm -f <FILE>.bak"
        syntax for install-exec-hook, which seems to be the only "sed -i"
        variant that is portable across linux and MacOS.

svn path=/trunk/; revision=6187

16 years agoUpdated Slovenian translation
Matej Urbančič [Fri, 21 Dec 2007 14:30:08 +0000 (14:30 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=6186

16 years agoBring up to GLib coding standards: remove C99 comments, trailing commas in
Matthias Clasen [Fri, 21 Dec 2007 13:58:42 +0000 (13:58 +0000)]
Bring up to GLib coding standards: remove C99 comments, trailing commas in

2007-12-21  Matthias Clasen  <mclasne@redhat.com>

        * glib/gtestutils.h: Bring up to GLib coding standards: remove
        C99 comments, trailing commas in enumerations and extra ; after
        G_BEGIN/END_DECLS. Among other things, this makes xulrunner build
        against GLib 2.15.

        * glib/gtester.c: More of the same

svn path=/trunk/; revision=6185

16 years agoadapt to recent api changes variable declaration at the beginning of a
Hans Breuer [Fri, 21 Dec 2007 10:11:35 +0000 (10:11 +0000)]
adapt to recent api changes variable declaration at the beginning of a

2007-12-09  Hans Breuer  <hans@breuer.org>

* tests/gio-ls.c : adapt to recent api changes
* tests/testglib.c : variable declaration at the beginning of a block

(Lieven van der Heide, #503602)
* win32-fixup.pl : process *.rc.in as well; substitute
LT_CURRENT_MINUS_AGE
* glib/makefile.msc.in : alphabetic sorting of OBJECTS

svn path=/trunk/; revision=6184

16 years agoUpdated Irish translation.
Seán de Búrca [Fri, 21 Dec 2007 04:28:02 +0000 (04:28 +0000)]
Updated Irish translation.

2007-12-20  Seán de Búrca  <sdeburca@svn.gnome.org>

    * ga.po: Updated Irish translation.

svn path=/trunk/; revision=6183

16 years agoBump version
Matthias Clasen [Fri, 21 Dec 2007 00:44:40 +0000 (00:44 +0000)]
Bump version

svn path=/trunk/; revision=6182

16 years ago2.15.0
Matthias Clasen [Fri, 21 Dec 2007 00:37:41 +0000 (00:37 +0000)]
2.15.0

svn path=/trunk/; revision=6180

16 years agoUpdates
Matthias Clasen [Thu, 20 Dec 2007 20:24:20 +0000 (20:24 +0000)]
Updates

svn path=/trunk/; revision=6179

16 years agodon't build gdesktopappinfo.obj, it collides with symbols
Hans Breuer [Thu, 20 Dec 2007 19:13:18 +0000 (19:13 +0000)]
don't build gdesktopappinfo.obj, it collides with symbols

2007-12-20  Hans Breuer  <hans@breuer.org>

* makefile.msc : don't build gdesktopappinfo.obj, it collides
with symbols gwin32appinfo.obj, added gmount.obj
* gio.symbols : mark g_desktop_app_* as G_OS_UNIX

svn path=/trunk/; revision=6178

16 years agoFix make dist
Matthias Clasen [Thu, 20 Dec 2007 15:50:08 +0000 (15:50 +0000)]
Fix make dist

svn path=/trunk/; revision=6177

16 years agocommented class definitions. moved HTML character escaping out of
16:34:04 Tim Janik [Thu, 20 Dec 2007 15:35:21 +0000 (15:35 +0000)]
commented class definitions. moved HTML character escaping out of

2007-12-20 16:34:04  Tim Janik  <timj@imendio.com>

        * glib/gtester-report: commented class definitions. moved HTML character
        escaping out of javascript. fixed string->bool conversions. added performance
        results to test case "Details" window.

svn path=/trunk/; revision=6176

16 years agoReturn NULL if the checksum_type is unknown
Matthias Clasen [Thu, 20 Dec 2007 15:12:40 +0000 (15:12 +0000)]
Return NULL if the checksum_type is unknown

svn path=/trunk/; revision=6175

16 years agoUse g_slice_new0, to fix "conditional jump or move depends on
Christian Persch [Thu, 20 Dec 2007 14:20:31 +0000 (14:20 +0000)]
Use g_slice_new0, to fix "conditional jump or move depends on

2007-12-20  Christian Persch  <chpe@gnome.org>

* glib/gchecksum.c: (g_checksum_new): Use g_slice_new0, to fix
"conditional jump or move depends on uninitialised value(s)" error
from valgrind. Bug #504527.

svn path=/trunk/; revision=6174

16 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 20 Dec 2007 14:19:58 +0000 (14:19 +0000)]
Updated Slovenian translation

svn path=/trunk/; revision=6173

16 years agogenerate HTML reports for test-report perf-report full-report.
15:17:04 Tim Janik [Thu, 20 Dec 2007 14:14:50 +0000 (14:14 +0000)]
generate HTML reports for test-report perf-report full-report.

2007-12-20 15:17:04  Tim Janik  <timj@imendio.com>

        * Makefile.decl: generate HTML reports for test-report perf-report full-report.

svn path=/trunk/; revision=6172

16 years agonew python script that generates an HTML unit test report from the XML
15:03:51 Tim Janik [Thu, 20 Dec 2007 14:01:26 +0000 (14:01 +0000)]
new python script that generates an HTML unit test report from the XML

2007-12-20 15:03:51  Tim Janik  <timj@imendio.com>

        * glib/gtester-report: new python script that generates an HTML
        unit test report from the XML files generated by gtester.

        * glib/Makefile.am: install gtester-report in $bindir and configure
        it upon installation (version number and python shebang).

svn path=/trunk/; revision=6171

16 years agoFile attribute renames: std:: -> standard:: fs:: -> filesystem:: id::fs ->
Alexander Larsson [Thu, 20 Dec 2007 13:30:47 +0000 (13:30 +0000)]
File attribute renames: std:: -> standard:: fs:: -> filesystem:: id::fs ->

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

        * gfile.c:
        * gfileattribute.c:
        * gfileinfo.c:
        * gfileinfo.h:
        * gfilenamecompleter.c:
        * glocalfile.c:
        * glocalfileinfo.c:
        * gpollfilemonitor.c:
File attribute renames:
std:: -> standard::
fs:: -> filesystem::
id::fs -> id::filesystem

svn path=/trunk/; revision=6170

16 years agoAdd GMountUnmountFlags to all unmount and eject calls. Add
Alexander Larsson [Thu, 20 Dec 2007 11:48:14 +0000 (11:48 +0000)]
Add GMountUnmountFlags to all unmount and eject calls. Add

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

        * gfile.[ch]:
        * gdrive.[ch]:
        * gmount.[ch]:
        * gvolume.[ch]:
        * gunixmount.c:
        * gunixvolume.c:
        * gio.symbols:
Add GMountUnmountFlags to all unmount and
eject calls.
Add g_mount_remount() call.

svn path=/trunk/; revision=6169

16 years agoFix unused variable warning
Alexander Larsson [Thu, 20 Dec 2007 10:57:45 +0000 (10:57 +0000)]
Fix unused variable warning

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

* gvfs.c (get_default_vfs):
Fix unused variable warning

svn path=/trunk/; revision=6168

16 years agoUpdates
Matthias Clasen [Thu, 20 Dec 2007 03:16:02 +0000 (03:16 +0000)]
Updates

svn path=/trunk/; revision=6167

16 years agoRemove C99 comments
Matthias Clasen [Thu, 20 Dec 2007 03:12:24 +0000 (03:12 +0000)]
Remove C99 comments

svn path=/trunk/; revision=6166

16 years agoAdditions
Matthias Clasen [Thu, 20 Dec 2007 03:11:11 +0000 (03:11 +0000)]
Additions

svn path=/trunk/; revision=6165

16 years agoAdditions
Matthias Clasen [Thu, 20 Dec 2007 02:56:03 +0000 (02:56 +0000)]
Additions

svn path=/trunk/; revision=6164

16 years agocapture g_log() messages and send to gtester. also, send assertion
20:30:18 Tim Janik [Wed, 19 Dec 2007 19:28:55 +0000 (19:28 +0000)]
capture g_log() messages and send to gtester. also, send assertion

2007-12-19 20:30:18  Tim Janik  <timj@imendio.com>

        * glib/gtestutils.c: capture g_log() messages and send to gtester.
        also, send assertion messages to gtester.

        * glib/gtester.c: add error messages to output log file.
        force child poll loop to abort if waitpid() signaled child exit,
        eventhough the child's report file descriptor wasn't closed.

svn path=/trunk/; revision=6163

16 years agoAdd g_checksum_type_get_length, and change g_checksum_get_digest to use a
Christian Persch [Wed, 19 Dec 2007 18:53:27 +0000 (18:53 +0000)]
Add g_checksum_type_get_length, and change g_checksum_get_digest to use a

2007-12-19  Christian Persch  <chpe@gnome.org>

* glib/gchecksum.c: (g_checksum_type_get_length),
(g_checksum_get_digest):
* glib/gchecksum.h:
* glib/glib.symbols:
* tests/checksum-test.c: (test_checksum): Add
g_checksum_type_get_length, and change g_checksum_get_digest to use a
provided buffer instead of returning allocated memory. Bug #501853.

svn path=/trunk/; revision=6162

16 years agoFix the date validation check. (#503029)
Emmanuele Bassi [Wed, 19 Dec 2007 17:28:38 +0000 (17:28 +0000)]
Fix the date validation check. (#503029)

2007-12-19  Emmanuele Bassi  <ebassi@gnome.org>

* glib/gtimer.c (g_time_val_from_iso8601): Fix the date validation
check. (#503029)

* tests/testglib.c (various_string_tests): Add an invalid date
for testing the above fix.

svn path=/trunk/; revision=6160

16 years agoMake g_io_modules_load_all_in_directory not unuse loaded modules so that
Alexander Larsson [Wed, 19 Dec 2007 16:08:55 +0000 (16:08 +0000)]
Make g_io_modules_load_all_in_directory not unuse loaded modules so that

2007-12-19  Alexander Larsson  <alexl@redhat.com>

        * giomodule.c:
Make g_io_modules_load_all_in_directory not unuse
loaded modules so that users of it can do stuff
before unloading.
Init internal "module" types.
Initialize static prio and name for types so that
we don't have to load modules to get it.

        * gnativevolumemonitor.h:
* gvolumemonitor.h:
Move is_supported to parent class so that
non-native monitors can avoid being initialized
too. (For instance GDaemonVolumeMonitor if we're
not using GDaemonVfs.)

        * glocaldirectorymonitor.[ch]:
        * glocalfilemonitor.[ch]:
* gunionvolumemonitor.c:
        * gunixvolumemonitor.c:
        * gvfs.c:
Find plugins using the static prio+name to
avoid unnecessarily loading the modules.

svn path=/trunk/; revision=6159

16 years agoRename g_format_file_size_for_display to g_format_size_for_display.
Alexander Larsson [Wed, 19 Dec 2007 13:25:09 +0000 (13:25 +0000)]
Rename g_format_file_size_for_display to g_format_size_for_display.

2007-12-19  Alexander Larsson  <alexl@redhat.com>

        * glib/gfileutils.[ch]:
        * glib/glib.symbols:
        Rename g_format_file_size_for_display to g_format_size_for_display.

svn path=/trunk/; revision=6158

16 years agoRemove warnings
Alexander Larsson [Wed, 19 Dec 2007 13:18:34 +0000 (13:18 +0000)]
Remove warnings

2007-12-19  Alexander Larsson  <alexl@redhat.com>

        * giomodule.c:
Remove warnings

svn path=/trunk/; revision=6157

16 years agoStore the native type as GType, not class so that we can unload it. But
Alexander Larsson [Wed, 19 Dec 2007 13:10:22 +0000 (13:10 +0000)]
Store the native type as GType, not class so that we can unload it. But

2007-12-19  Alexander Larsson  <alexl@redhat.com>

        * gunionvolumemonitor.c:
Store the native type as GType, not class so that
we can unload it. But still avoid unnecessarily
unload modules.

svn path=/trunk/; revision=6156

16 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Wed, 19 Dec 2007 11:52:37 +0000 (11:52 +0000)]
Updated Norwegian bokmål translation.

2007-12-19  Kjartan Maraas  <kmaraas@gnome.org>

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

svn path=/trunk/; revision=6155

16 years agoSome minor fixes and additions.
Alexander Larsson [Wed, 19 Dec 2007 11:19:12 +0000 (11:19 +0000)]
Some minor fixes and additions.

2007-12-19  Alexander Larsson  <alexl@redhat.com>

        * gio/migrating.xml:
        * gio/overview.xml:
Some minor fixes and additions.

svn path=/trunk/; revision=6154

16 years agoIntroduce g_volume_monitor_adopt_orphan_mount() function. Also add signals
David Zeuthen [Wed, 19 Dec 2007 09:39:50 +0000 (09:39 +0000)]
Introduce g_volume_monitor_adopt_orphan_mount() function. Also add signals

2007-12-19  David Zeuthen  <davidz@redhat.com>

Introduce g_volume_monitor_adopt_orphan_mount() function. Also
add signals 'disconnected' and 'eject-button' on GDrive. Add
signal 'removed' on GVolume and 'unmounted' on GMount.

* gdrive.c: (g_drive_base_init):
* gdrive.h:
* gfile.c: (g_file_mount_mountable),
(g_file_mount_enclosing_volume):
* gio.symbols:
* gioerror.h:
* gmount.c: (g_mount_base_init):
* gmount.h:
* gunionvolumemonitor.c: (g_volume_monitor_adopt_orphan_mount):
* gunixvolumemonitor.c: (update_volumes), (update_mounts):
* gvolume.c: (g_volume_base_init), (g_volume_mount):
* gvolume.h:
* gvolumemonitor.h:

svn path=/trunk/; revision=6153

16 years agoadd g_async_queue_new_full() which takes a GDestroyNotify function to free
Tim-Philipp Müller [Tue, 18 Dec 2007 16:46:36 +0000 (16:46 +0000)]
add g_async_queue_new_full() which takes a GDestroyNotify function to free

* docs/reference/glib/glib-sections.txt:
* glib/gasyncqueue.c: (g_async_queue_new), (g_async_queue_new_full),
  (g_async_queue_unref):
* glib/gasyncqueue.h: add g_async_queue_new_full() which takes a
  GDestroyNotify function to free any remaining queue items when the
  queue is destroyed after the final atomic unref (#367550).

svn path=/trunk/; revision=6152

16 years agoadded g_test_trap_assert_stdout_unmatched() and
13:45:23 Tim Janik [Tue, 18 Dec 2007 13:43:46 +0000 (13:43 +0000)]
added g_test_trap_assert_stdout_unmatched() and

2007-12-18 13:45:23  Tim Janik  <timj@imendio.com>

        * glib/gtestutils.[hc]: added g_test_trap_assert_stdout_unmatched() and
        g_test_trap_assert_stderr_unmatched(), based on a suggestion by Mathias
        Hasselmann. reworked g_test_trap_assertions() to use flags to encode
        assertion semantics, fixes #504227.

svn path=/trunk/; revision=6151

16 years agoFlesh out the docs
Matthias Clasen [Tue, 18 Dec 2007 03:14:39 +0000 (03:14 +0000)]
Flesh out the docs

svn path=/trunk/; revision=6150

16 years agoFix up includes in section docs
Matthias Clasen [Tue, 18 Dec 2007 02:52:11 +0000 (02:52 +0000)]
Fix up includes in section docs

svn path=/trunk/; revision=6149

16 years agoAdditions
Matthias Clasen [Tue, 18 Dec 2007 00:56:35 +0000 (00:56 +0000)]
Additions

svn path=/trunk/; revision=6148

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Mon, 17 Dec 2007 19:52:46 +0000 (19:52 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=6147

16 years agoAdd some very modest beginnings
Matthias Clasen [Mon, 17 Dec 2007 17:54:02 +0000 (17:54 +0000)]
Add some very modest beginnings

svn path=/trunk/; revision=6146

16 years agoStub of a migration chapter Stub of an overview Overview diagram taken
Matthias Clasen [Mon, 17 Dec 2007 17:28:40 +0000 (17:28 +0000)]
Stub of a migration chapter Stub of an overview Overview diagram taken

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

        * gio/migration.xml: Stub of a migration chapter
        * gio/overview.xml: Stub of an overview
        * gio/gvfs-overview.{odg,png}: Overview diagram taken
        from Alex Guadec slides.

        * gio/Makefile.am:
        * gio/gio-docs.xml: Include these

svn path=/trunk/; revision=6145

16 years agoAdd is_supported() to GNativeVolumeMonitorClass so that we can avoid
Alexander Larsson [Mon, 17 Dec 2007 16:00:33 +0000 (16:00 +0000)]
Add is_supported() to GNativeVolumeMonitorClass so that we can avoid

2007-12-17  Alexander Larsson  <alexl@redhat.com>

        * gnativevolumemonitor.h:
        * gunionvolumemonitor.c:
        * gunixvolumemonitor.c:
Add is_supported() to GNativeVolumeMonitorClass so
that we can avoid having to create an object to see
if the backend is supported at runtime.
Also add name member and an env var to pick a specific
volume monitor backend.

        * gmountprivate.h:
        * glocalfile.c:
Add cancellable to _g_mount_get_for_mount_path()

        * glocaldirectorymonitor.c:
        * glocalfilemonitor.c:
Avoid loading and unloading modules while sorting.

svn path=/trunk/; revision=6144

16 years agoNamespace waste reduction, move some g_get_unix_mount functions to the
Matthias Clasen [Mon, 17 Dec 2007 14:59:23 +0000 (14:59 +0000)]
Namespace waste reduction, move some g_get_unix_mount functions to the

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

        * gio.symbols:
        * gunixmounts.[hc]: Namespace waste reduction, move some
        g_get_unix_mount functions to the g_unix_mount namespace.

        * gunixmounts.c:
        * gunixvolumemonitor.c:
        * glocalfile.c:
        * glocaldirectorymonitor.c: Update all callers.

        * gunixmounts.h: Remove leftover g_unix_get_canonical_device_path

svn path=/trunk/; revision=6143

16 years agoAdd doc comments about what GFile operations are guaranteed to not block.
Alexander Larsson [Mon, 17 Dec 2007 11:26:34 +0000 (11:26 +0000)]
Add doc comments about what GFile operations are guaranteed to not block.

2007-12-17  Alexander Larsson  <alexl@redhat.com>

        * gfile.c:
Add doc comments about what GFile operations are
guaranteed to not block.

svn path=/trunk/; revision=6142

16 years agoAdd missing #ifdef fixing OSX build. (#503334, patch from Richard Hult)
Alexander Larsson [Mon, 17 Dec 2007 10:53:53 +0000 (10:53 +0000)]
Add missing #ifdef fixing OSX build. (#503334, patch from Richard Hult)

2007-12-17  Alexander Larsson  <alexl@redhat.com>

        * gunixmounts.c:
Add missing #ifdef fixing OSX build.
(#503334, patch from Richard Hult)

svn path=/trunk/; revision=6141

16 years agoProvide eject() on both GMount and GVolume and utility functions to guess
David Zeuthen [Mon, 17 Dec 2007 09:31:08 +0000 (09:31 +0000)]
Provide eject() on both GMount and GVolume and utility functions to guess

2007-12-14  David Zeuthen  <davidz@redhat.com>

* Makefile.am:
* gio.symbols:
* gmount.c: (g_mount_get_uuid), (g_mount_can_eject),
(g_mount_eject), (g_mount_eject_finish):
* gmount.h:
* gunionvolumemonitor.c: (g_union_volume_monitor_finalize),
(get_volume_for_uuid), (get_mount_for_uuid),
(g_union_volume_monitor_class_init),
(get_default_native_type_with_exclude), (get_default_native_type),
(get_native_type), (update_native_type),
(g_union_volume_monitor_init), (_g_mount_get_for_mount_path):
* gunixmount.c: (_g_unix_mount_new), (g_unix_mount_get_uuid),
(g_unix_mount_can_eject), (eject_unmount_cb),
(eject_unmount_read_error), (eject_unmount_do),
(g_unix_mount_unmount), (g_unix_mount_eject),
(g_unix_mount_eject_finish), (g_unix_mount_mount_iface_init):
* gunixmounts.c: (g_unix_mount_guess_can_eject),
(g_unix_mount_point_guess_can_eject):
* gunixmounts.h:
* gunixvolume.c: (_g_unix_volume_new), (g_unix_volume_get_uuid),
(g_unix_volume_can_eject), (g_unix_volume_get_drive),
(eject_mount_cb), (eject_mount_read_error), (eject_mount_do),
(g_unix_volume_mount), (g_unix_volume_eject),
(g_unix_volume_eject_finish), (g_unix_volume_volume_iface_init):
* gunixvolumemonitor.c: (get_volume_for_uuid),
(get_mount_for_uuid), (g_unix_volume_monitor_class_init),
(update_mounts):
* gvolume.c: (g_volume_get_uuid), (g_volume_can_eject),
(g_volume_eject), (g_volume_eject_finish):
* gvolume.h:
* gvolumemonitor.c: (g_volume_monitor_get_volume_for_uuid),
(g_volume_monitor_get_mount_for_uuid):
* gvolumemonitor.h:

Provide eject() on both GMount and GVolume and utility functions
to guess whether a GUnixMountPoint or GUnixMountEntry should be
ejected. Introduce the concept of UUID's and wire it into GVolume
and GMount and provide API on GVolumeMonitor to find such
instances. Also handle the case where an external
GNativeVolumeMonitor fails to initialize. Lock around the
_g_get_mount_for_mount_path() function such that volume monitor
implementations won't have to do locking themselves.

svn path=/trunk/; revision=6140

16 years agoUpdates
Matthias Clasen [Mon, 17 Dec 2007 07:05:28 +0000 (07:05 +0000)]
Updates

svn path=/trunk/; revision=6139

16 years agoDocumentation updates
Matthias Clasen [Mon, 17 Dec 2007 07:04:51 +0000 (07:04 +0000)]
Documentation updates

svn path=/trunk/; revision=6138

16 years agoAllow NULL strings in g_parse_debug_string. (#503862, Matthew Barnes)
Mathias Hasselmann [Sun, 16 Dec 2007 15:04:51 +0000 (15:04 +0000)]
Allow NULL strings in g_parse_debug_string. (#503862, Matthew Barnes)

* glib/gutils.c:
Allow NULL strings in g_parse_debug_string. (#503862, Matthew Barnes)

svn path=/trunk/; revision=6137

16 years agoUpdated Spanish translation
Jorge Gonzalez Gonzalez [Sat, 15 Dec 2007 20:57:31 +0000 (20:57 +0000)]
Updated Spanish translation

svn path=/trunk/; revision=6136

16 years agoAdd gio-ls.c Updated Norwegian bokmål translation.
Kjartan Maraas [Sat, 15 Dec 2007 11:44:34 +0000 (11:44 +0000)]
Add gio-ls.c Updated Norwegian bokmål translation.

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

* POTFILES.in: Add gio-ls.c
* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=6135

16 years agoMore doc fixups
Matthias Clasen [Sat, 15 Dec 2007 06:05:40 +0000 (06:05 +0000)]
More doc fixups

svn path=/trunk/; revision=6134

16 years agoFix up docs
Matthias Clasen [Sat, 15 Dec 2007 06:03:35 +0000 (06:03 +0000)]
Fix up docs

svn path=/trunk/; revision=6133

16 years agoUse hash iterators
Matthias Clasen [Sat, 15 Dec 2007 04:39:26 +0000 (04:39 +0000)]
Use hash iterators

svn path=/trunk/; revision=6132