Matthias Clasen [Mon, 7 Jan 2008 05:18:17 +0000 (05:18 +0000)]
Mark strings for translation.
svn path=/trunk/; revision=6256
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
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
Matthias Clasen [Sun, 6 Jan 2008 23:12:24 +0000 (23:12 +0000)]
Fix fdwalk on OS X
svn path=/trunk/; revision=6253
Matthias Clasen [Sun, 6 Jan 2008 17:48:41 +0000 (17:48 +0000)]
Document new dependencies
svn path=/trunk/; revision=6252
Matthias Clasen [Sun, 6 Jan 2008 17:18:52 +0000 (17:18 +0000)]
Require glib-2.0
svn path=/trunk/; revision=6251
Yair Hershkovitz [Sun, 6 Jan 2008 16:28:46 +0000 (16:28 +0000)]
updated hebrew translation
svn path=/trunk/; revision=6250
Matthias Clasen [Sun, 6 Jan 2008 08:06:52 +0000 (08:06 +0000)]
Small doc addition
svn path=/trunk/; revision=6249
Matthias Clasen [Sun, 6 Jan 2008 08:04:57 +0000 (08:04 +0000)]
Updates
svn path=/trunk/; revision=6248
Matthias Clasen [Sun, 6 Jan 2008 08:04:39 +0000 (08:04 +0000)]
Documentation additions
svn path=/trunk/; revision=6247
Ihar Hrachyshka [Sun, 6 Jan 2008 00:19:52 +0000 (00:19 +0000)]
Updated Belarusian Latin translation.
svn path=/trunk/; revision=6246
Amanpreet Singh Alam [Sat, 5 Jan 2008 17:44:59 +0000 (17:44 +0000)]
updating for Punjabi
svn path=/trunk/; revision=6245
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
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
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
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
Clytie Siddall [Fri, 4 Jan 2008 08:12:36 +0000 (08:12 +0000)]
Updated Vietnamese translation
svn path=/trunk/; revision=6240
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
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
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
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
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
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
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
Daniel Nylander [Wed, 2 Jan 2008 12:03:45 +0000 (12:03 +0000)]
sv.po: Swedish translation updated
svn path=/trunk/; revision=6231
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
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
Yannig MARCHEGAY [Tue, 1 Jan 2008 09:19:47 +0000 (09:19 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=6228
Matthias Clasen [Tue, 1 Jan 2008 04:13:26 +0000 (04:13 +0000)]
Remove C99 comments
svn path=/trunk/; revision=6227
Yannig MARCHEGAY [Mon, 31 Dec 2007 21:54:47 +0000 (21:54 +0000)]
Updated Occitan translation
svn path=/trunk/; revision=6226
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
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
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
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
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
Matthias Clasen [Mon, 31 Dec 2007 04:45:19 +0000 (04:45 +0000)]
Doc additions
svn path=/trunk/; revision=6220
Matthias Clasen [Mon, 31 Dec 2007 02:30:33 +0000 (02:30 +0000)]
Fix build with --disable-visibility
svn path=/trunk/; revision=6219
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
Matthias Clasen [Sun, 30 Dec 2007 06:15:12 +0000 (06:15 +0000)]
Fix a cross-reference
svn path=/trunk/; revision=6217
Matthias Clasen [Sun, 30 Dec 2007 06:13:12 +0000 (06:13 +0000)]
More docs
svn path=/trunk/; revision=6216
Matthias Clasen [Sun, 30 Dec 2007 05:55:23 +0000 (05:55 +0000)]
Doc updates
svn path=/trunk/; revision=6215
Matthias Clasen [Sun, 30 Dec 2007 05:54:31 +0000 (05:54 +0000)]
Updates
svn path=/trunk/; revision=6214
Matthias Clasen [Sun, 30 Dec 2007 05:30:42 +0000 (05:30 +0000)]
More doc updates
svn path=/trunk/; revision=6213
Matthias Clasen [Sun, 30 Dec 2007 05:22:33 +0000 (05:22 +0000)]
More doc updates
svn path=/trunk/; revision=6212
Matthias Clasen [Sun, 30 Dec 2007 05:21:05 +0000 (05:21 +0000)]
Documentation updates
svn path=/trunk/; revision=6211
Matthias Clasen [Sun, 30 Dec 2007 05:12:15 +0000 (05:12 +0000)]
Documentation updates
svn path=/trunk/; revision=6210
Matthias Clasen [Sun, 30 Dec 2007 05:10:23 +0000 (05:10 +0000)]
Documentation updates
svn path=/trunk/; revision=6209
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
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
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
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
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
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
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
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
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
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
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
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
Jorge Gonzalez Gonzalez [Sun, 23 Dec 2007 12:43:01 +0000 (12:43 +0000)]
Updated Spanish translation
svn path=/trunk/; revision=6195
Djihed Afifi [Sun, 23 Dec 2007 11:55:44 +0000 (11:55 +0000)]
Updated Arabic Translation by Djihed Afifi.
svn path=/trunk/; revision=6193
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
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
Matthias Clasen [Sun, 23 Dec 2007 02:57:57 +0000 (02:57 +0000)]
Fix a typo
svn path=/trunk/; revision=6189
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
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
Matej Urbančič [Fri, 21 Dec 2007 14:30:08 +0000 (14:30 +0000)]
Updated Slovenian translation
svn path=/trunk/; revision=6186
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
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
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
Matthias Clasen [Fri, 21 Dec 2007 00:44:40 +0000 (00:44 +0000)]
Bump version
svn path=/trunk/; revision=6182
Matthias Clasen [Fri, 21 Dec 2007 00:37:41 +0000 (00:37 +0000)]
2.15.0
svn path=/trunk/; revision=6180
Matthias Clasen [Thu, 20 Dec 2007 20:24:20 +0000 (20:24 +0000)]
Updates
svn path=/trunk/; revision=6179
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
Matthias Clasen [Thu, 20 Dec 2007 15:50:08 +0000 (15:50 +0000)]
Fix make dist
svn path=/trunk/; revision=6177
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
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
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
Matej Urbančič [Thu, 20 Dec 2007 14:19:58 +0000 (14:19 +0000)]
Updated Slovenian translation
svn path=/trunk/; revision=6173
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
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
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
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
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
Matthias Clasen [Thu, 20 Dec 2007 03:16:02 +0000 (03:16 +0000)]
Updates
svn path=/trunk/; revision=6167
Matthias Clasen [Thu, 20 Dec 2007 03:12:24 +0000 (03:12 +0000)]
Remove C99 comments
svn path=/trunk/; revision=6166
Matthias Clasen [Thu, 20 Dec 2007 03:11:11 +0000 (03:11 +0000)]
Additions
svn path=/trunk/; revision=6165
Matthias Clasen [Thu, 20 Dec 2007 02:56:03 +0000 (02:56 +0000)]
Additions
svn path=/trunk/; revision=6164
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
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
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
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
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
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
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
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
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
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
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
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