platform/upstream/glib.git
16 years agoChange the API a bit so that unhandled methods get reported via the reply,
Alexander Larsson [Wed, 9 Jan 2008 14:43:41 +0000 (14:43 +0000)]
Change the API a bit so that unhandled methods get reported via the reply,

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

        * gio-marshal.list:
        * gmountoperation.[ch]:
Change the API a bit so that unhandled methods
get reported via the reply, rather than by
the signal emission return value. This is because
some handlers can't know this immediately without
doing I/O, and this is an async operation that
should not block.

svn path=/trunk/; revision=6282

16 years agoFix double free crash (#508224) Patch from Joe Marcus Clarke
Alexander Larsson [Wed, 9 Jan 2008 08:08:43 +0000 (08:08 +0000)]
Fix double free crash (#508224) Patch from Joe Marcus Clarke

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

        * fam/fam-helper.c:
        * fam/gfamdirectorymonitor.c:
        * fam/gfamfilemonitor.c:
Fix double free crash (#508224)
Patch from Joe Marcus Clarke

svn path=/trunk/; revision=6281

16 years agoAdd gio/gio.h include to check for c++ problems.
Alexander Larsson [Tue, 8 Jan 2008 20:37:43 +0000 (20:37 +0000)]
Add gio/gio.h include to check for c++ problems.

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

* tests/cxx-test.C:
Add gio/gio.h include to check for c++ problems.

svn path=/trunk/; revision=6280

16 years agoRemove GDirectoryMonitor refernces
Alexander Larsson [Tue, 8 Jan 2008 09:11:15 +0000 (09:11 +0000)]
Remove GDirectoryMonitor refernces

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

        * gio/gio-docs.xml:
        * gio/migrating.xml:
Remove GDirectoryMonitor refernces

svn path=/trunk/; revision=6278

16 years agobump version
Matthias Clasen [Mon, 7 Jan 2008 17:00:01 +0000 (17:00 +0000)]
bump version

svn path=/trunk/; revision=6269

16 years ago2.15.1 GLIB_2_15_1
Matthias Clasen [Mon, 7 Jan 2008 16:47:36 +0000 (16:47 +0000)]
2.15.1

svn path=/trunk/; revision=6267

16 years agoremove deleted file gio/gdirectorymonitor.c
Luca Ferretti [Mon, 7 Jan 2008 14:38:35 +0000 (14:38 +0000)]
remove deleted file gio/gdirectorymonitor.c

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

* POTFILES.in: remove deleted file gio/gdirectorymonitor.c

* it.po: Updated Italian translation.

svn path=/trunk/; revision=6266

16 years agoUpdates
Matthias Clasen [Mon, 7 Jan 2008 14:09:12 +0000 (14:09 +0000)]
Updates

svn path=/trunk/; revision=6265

16 years agoFix warning (#507835)
Alexander Larsson [Mon, 7 Jan 2008 13:58:37 +0000 (13:58 +0000)]
Fix warning (#507835)

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

* gunixinputstream.c (g_unix_input_stream_skip_finish):
Fix warning (#507835)

svn path=/trunk/; revision=6264

16 years agoPass --internal to glib-genmarshal
Alexander Larsson [Mon, 7 Jan 2008 13:56:10 +0000 (13:56 +0000)]
Pass --internal to glib-genmarshal

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

        * Makefile.am:
Pass --internal to glib-genmarshal

        * gfilemonitor.c:
        * gmountoperation.c:
        * gio-marshal.list:
Use better types for signal arguments (#507822)

svn path=/trunk/; revision=6263

16 years agoBuild test subdir after . Remove gdirectorymonitor.[ch]
Alexander Larsson [Mon, 7 Jan 2008 13:42:08 +0000 (13:42 +0000)]
Build test subdir after . Remove gdirectorymonitor.[ch]

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

        * Makefile.am:
Build test subdir after .
Remove gdirectorymonitor.[ch]

        * gdirectorymonitor.[ch]:
        * gfilemonitor.c:
        * gfile.[ch]:
        * gio.h:
Remove GDirectoryMonitor and make
GFileMonitor the baseclass for both file and
directory monitors. Lift the more generic
rate limiting code from GDirectoryMonitor
into GFileMonitor.

        * fam/fam-helper.c:
        * fam/gfamdirectorymonitor.[ch]:
        * inotify/ginotifydirectorymonitor.[ch]:
        * inotify/inotify-helper.c:
        * glocaldirectorymonitor.[ch]:
        * glocalfile.c:
        * gvolumemonitor.c:
Update for the removed GDirectoryMonitor.

        * gmemoryoutputstream.c:
Remove ununsed variable

svn path=/trunk/; revision=6262

16 years agoTranslation updated by Ivar Smolin
Priit Laes [Mon, 7 Jan 2008 11:09:26 +0000 (11:09 +0000)]
Translation updated by Ivar Smolin

2008-01-07  Priit Laes  <plaes at svn dot gnome dot org>

* et.po: Translation updated by Ivar Smolin

svn path=/trunk/; revision=6261

16 years agoTranslate error strings
Alexander Larsson [Mon, 7 Jan 2008 10:11:57 +0000 (10:11 +0000)]
Translate error strings

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

        * gmemoryinputstream.c:
Translate error strings

        * gio.symbols:
        * gmemoryoutputstream.[ch]:
New implementation that avoids using GByteArray
in implementation and API. (#506377)

svn path=/trunk/; revision=6260

16 years agoAdd gio/test/Makefile to AC_CONFIG_FILES
Alexander Larsson [Mon, 7 Jan 2008 08:57:29 +0000 (08:57 +0000)]
Add gio/test/Makefile to AC_CONFIG_FILES

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

* configure.in:
Add gio/test/Makefile to AC_CONFIG_FILES

svn path=/trunk/; revision=6259

16 years agoUpdates
Matthias Clasen [Mon, 7 Jan 2008 06:19:27 +0000 (06:19 +0000)]
Updates

svn path=/trunk/; revision=6258

16 years agoAdd some tests
Matthias Clasen [Mon, 7 Jan 2008 06:14:40 +0000 (06:14 +0000)]
Add some tests

svn path=/trunk/; revision=6257

16 years agoMark strings for translation.
Matthias Clasen [Mon, 7 Jan 2008 05:18:17 +0000 (05:18 +0000)]
Mark strings for translation.

svn path=/trunk/; revision=6256

16 years agoAdd a translator comment (#503051, Pedro de Medeiros)
Matthias Clasen [Mon, 7 Jan 2008 03:39:41 +0000 (03:39 +0000)]
Add a translator comment (#503051, Pedro de Medeiros)

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

        * glib/gregex.c: Add a translator comment (#503051,
        Pedro de Medeiros)

svn path=/trunk/; revision=6255

16 years agoCope with gcc 4.3 changed 'extern inline' semantics. (#315437, patch by
Matthias Clasen [Mon, 7 Jan 2008 03:08:37 +0000 (03:08 +0000)]
Cope with gcc 4.3 changed 'extern inline' semantics. (#315437, patch by

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

        * glib/gutils.h: Cope with gcc 4.3 changed 'extern inline'
        semantics.  (#315437, patch by Loïc Minier)

svn path=/trunk/; revision=6254

16 years agoFix fdwalk on OS X
Matthias Clasen [Sun, 6 Jan 2008 23:12:24 +0000 (23:12 +0000)]
Fix fdwalk on OS X

svn path=/trunk/; revision=6253

16 years agoDocument new dependencies
Matthias Clasen [Sun, 6 Jan 2008 17:48:41 +0000 (17:48 +0000)]
Document new dependencies

svn path=/trunk/; revision=6252

16 years agoRequire glib-2.0
Matthias Clasen [Sun, 6 Jan 2008 17:18:52 +0000 (17:18 +0000)]
Require glib-2.0

svn path=/trunk/; revision=6251

16 years agoupdated hebrew translation
Yair Hershkovitz [Sun, 6 Jan 2008 16:28:46 +0000 (16:28 +0000)]
updated hebrew translation

svn path=/trunk/; revision=6250

16 years agoSmall doc addition
Matthias Clasen [Sun, 6 Jan 2008 08:06:52 +0000 (08:06 +0000)]
Small doc addition

svn path=/trunk/; revision=6249

16 years agoUpdates
Matthias Clasen [Sun, 6 Jan 2008 08:04:57 +0000 (08:04 +0000)]
Updates

svn path=/trunk/; revision=6248

16 years agoDocumentation additions
Matthias Clasen [Sun, 6 Jan 2008 08:04:39 +0000 (08:04 +0000)]
Documentation additions

svn path=/trunk/; revision=6247

16 years agoUpdated Belarusian Latin translation.
Ihar Hrachyshka [Sun, 6 Jan 2008 00:19:52 +0000 (00:19 +0000)]
Updated Belarusian Latin translation.

svn path=/trunk/; revision=6246

16 years agoupdating for Punjabi
Amanpreet Singh Alam [Sat, 5 Jan 2008 17:44:59 +0000 (17:44 +0000)]
updating for Punjabi

svn path=/trunk/; revision=6245

16 years agoUse the right type (uint) for the ask_password signal.
Alexander Larsson [Fri, 4 Jan 2008 15:19:36 +0000 (15:19 +0000)]
Use the right type (uint) for the ask_password signal.

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

        * gio-marshal.list:
        * gmountoperation.c:
Use the right type (uint) for the ask_password signal.

svn path=/trunk/; revision=6244

16 years agoResolve 64 bit-shift bug in g_markup_collect_attributes.
Mathias Hasselmann [Fri, 4 Jan 2008 12:40:03 +0000 (12:40 +0000)]
Resolve 64 bit-shift bug in g_markup_collect_attributes.
Spotted by Lieven van der Heide.

* glib/gmarkup.c: Use G_GUINT64_CONSTANT in bit-shift.

svn path=/trunk/; revision=6243

16 years agoAdd g_app_info_supports_files() Remove desktop arg from
Alexander Larsson [Fri, 4 Jan 2008 10:51:56 +0000 (10:51 +0000)]
Add g_app_info_supports_files() Remove desktop arg from

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

        * gappinfo.[ch]:
        * gwin32appinfo.c:
        * gio.symbols:
Add g_app_info_supports_files()
        Remove desktop arg from g_app_info_should_show().

        * gdesktopappinfo.[ch]:
Implement g_app_info_supports_files() and new should_show()
Add g_desktop_app_info_set_desktop_env() to set the desktop
for should_show(). (This will be set by gtk+ later)

svn path=/trunk/; revision=6242

16 years agoImprove API so that you can use multile chunks of memory and custom
Alexander Larsson [Fri, 4 Jan 2008 10:17:57 +0000 (10:17 +0000)]
Improve API so that you can use multile chunks of memory and custom

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

        * gio.symbols:
        * gmemoryinputstream.[ch]:
Improve API so that you can use multile chunks
of memory and custom destroy functions. (#506374)

svn path=/trunk/; revision=6241

16 years agoUpdated Vietnamese translation
Clytie Siddall [Fri, 4 Jan 2008 08:12:36 +0000 (08:12 +0000)]
Updated Vietnamese translation

svn path=/trunk/; revision=6240

16 years ago2008-01-04 vi.po Updated Vietnamese translation
Clytie Siddall [Fri, 4 Jan 2008 08:00:23 +0000 (08:00 +0000)]
2008-01-04    vi.po    Updated Vietnamese translation

Clytie Siddall <clytie@riverland.net.au>

svn path=/trunk/; revision=6239

16 years agoHandle NULL attribute matchers safely, as we return this for empty
Alexander Larsson [Thu, 3 Jan 2008 14:58:53 +0000 (14:58 +0000)]
Handle NULL attribute matchers safely, as we return this for empty

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

        * gfileinfo.c:
Handle NULL attribute matchers safely, as we return this
for empty attribute matcher strings.

svn path=/trunk/; revision=6238

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