Nguyễn Thái Ngọc Duy [Sat, 26 Mar 2011 17:38:07 +0000 (00:38 +0700)]
Updated Vietnamese translation
Nguyễn Thái Ngọc Duy [Sat, 26 Mar 2011 17:34:44 +0000 (00:34 +0700)]
po/vi.po: import from Damned Lies
Ask H. Larsen [Sat, 26 Mar 2011 13:17:39 +0000 (14:17 +0100)]
Updated Danish translation
David Zeuthen [Fri, 25 Mar 2011 21:56:59 +0000 (17:56 -0400)]
Fix test suite breakage caused by Murray's commit
See https://bugzilla.gnome.org/show_bug.cgi?id=645682
Signed-off-by: David Zeuthen <davidz@redhat.com>
Alexander Shopov [Fri, 25 Mar 2011 20:13:47 +0000 (22:13 +0200)]
Updated Bulgarian translation
Daniel Nylander [Fri, 25 Mar 2011 17:22:51 +0000 (18:22 +0100)]
Updated Swedish translation
Daniel Nylander [Fri, 25 Mar 2011 17:22:13 +0000 (18:22 +0100)]
Updated Swedish translation
Tristan Van Berkom [Thu, 24 Mar 2011 14:07:18 +0000 (10:07 -0400)]
GDBusServer: move business logic from _new() function to initable_init()
https://bugzilla.gnome.org/show_bug.cgi?id=639478
Signed-off-by: David Zeuthen <davidz@redhat.com>
Murray Cumming [Thu, 24 Mar 2011 08:33:55 +0000 (09:33 +0100)]
Docs: Changed can not to cannot.
Daniel Nylander [Tue, 22 Mar 2011 14:12:41 +0000 (15:12 +0100)]
Updated Swedish translation
Daniel Nylander [Tue, 22 Mar 2011 14:12:10 +0000 (15:12 +0100)]
Updated Swedish translation
Luca Ferretti [Tue, 22 Mar 2011 13:42:32 +0000 (14:42 +0100)]
Updated Italian translation
Sweta Kothari [Mon, 21 Mar 2011 11:11:46 +0000 (16:41 +0530)]
Updated Gujarati Translations
Piotr Drąg [Sat, 19 Mar 2011 15:31:42 +0000 (16:31 +0100)]
Updated Polish translation
Piotr Drąg [Sat, 19 Mar 2011 15:30:22 +0000 (16:30 +0100)]
Updated Polish translation
Gabor Kelemen [Fri, 18 Mar 2011 16:11:24 +0000 (17:11 +0100)]
Updated Hungarian translation
Bruno Brouard [Thu, 17 Mar 2011 20:40:03 +0000 (21:40 +0100)]
Updated French translation
Daniel Mustieles [Thu, 17 Mar 2011 19:35:31 +0000 (20:35 +0100)]
Updated Spanish translation
Mario Blättermann [Thu, 17 Mar 2011 11:53:06 +0000 (12:53 +0100)]
[l10n] Updated German translation
Sweta Kothari [Thu, 17 Mar 2011 10:39:40 +0000 (16:09 +0530)]
Updated Gujarati Translations
Matthias Clasen [Tue, 15 Mar 2011 15:28:03 +0000 (11:28 -0400)]
Document which files glib-compile-schemas looks at
Otherwise, your vendor override files are silently ignored...
Lucian Adrian Grijincu [Tue, 15 Mar 2011 13:08:09 +0000 (14:08 +0100)]
Updated Romanian translation
Lucian Adrian Grijincu [Tue, 15 Mar 2011 13:06:59 +0000 (14:06 +0100)]
Updated Romanian translation
Lucian Adrian Grijincu [Tue, 15 Mar 2011 13:03:51 +0000 (14:03 +0100)]
Updated Romanian translation
Lupescu Mircea [Tue, 15 Mar 2011 13:00:11 +0000 (14:00 +0100)]
Updated Romanian translation
Lucian Adrian Grijincu [Tue, 15 Mar 2011 12:34:46 +0000 (13:34 +0100)]
Updated Romanian translation
Emmanuele Bassi [Tue, 15 Mar 2011 09:03:28 +0000 (09:03 +0000)]
Revert "Remove all uses of G_CONST_RETURN"
This reverts commit
36741245cca56e979fe85e3de676fb3912058f2c.
The removal has not been discussed, except on Bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=644611
Emmanuele Bassi [Tue, 15 Mar 2011 09:02:08 +0000 (09:02 +0000)]
Revert "Deprecate G_CONST_RETURN"
This reverts commit
a7fc7909dad9b88e8b2d1c6cde801e8888bdfc36.
The deprecations was not discussed except on Bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=644611
Ryan Lortie [Tue, 15 Mar 2011 05:29:52 +0000 (01:29 -0400)]
GVariant parser: fix tuple type checking
Robert Ancell discovered that the GVariant parser messes up pretty badly
when the type of a tuple is specified and the tuple in the text being
parsed has a different number of elements (but otherwise matching child
types).
Check that we have the expected number of elements.
Closes #644786.
Ryan Lortie [Sun, 13 Mar 2011 03:04:53 +0000 (22:04 -0500)]
Deprecate G_CONST_RETURN
Ryan Lortie [Sun, 13 Mar 2011 02:50:45 +0000 (21:50 -0500)]
Remove all uses of G_CONST_RETURN
Just use 'const'.
Christian Persch [Wed, 2 Mar 2011 14:48:40 +0000 (15:48 +0100)]
Add G_SIGNAL_MUST_COLLECT
In some cases, signal arguments have to be collected, even if there are i
no signal handlers connected (e.g. for GVariant parameters, where collection
consumes a floating variant).
Based on a patch by Christian Persch.
Bug #643624.
Olivier Crête [Mon, 14 Mar 2011 18:54:46 +0000 (14:54 -0400)]
GDBusProxy: Check if connection is NULL before unreffing
If no connection can be established with the bus, it is possible that
the GDBusPRoxy will be finalized without having a connection object.
Owen W. Taylor [Sun, 13 Mar 2011 01:48:31 +0000 (20:48 -0500)]
Correct internal definition of C_()
* Since the GLib translations are lazily initialized, we need an
internal wrapper for g_dpgettext() that does the initialization
in the same way as glib_gettext()
* We need to use the glib domain defined by GETTEXT_PACKAGE
rather than than the application's domain.
https://bugzilla.gnome.org/show_bug.cgi?id=644607
Gabor Kelemen [Sun, 13 Mar 2011 01:21:55 +0000 (02:21 +0100)]
Updated Hungarian translation
Emilio Pozuelo Monfort [Sat, 12 Mar 2011 10:08:52 +0000 (10:08 +0000)]
Document g_timeout_add_seconds first call latency
And fix /timeout/rounding to not fail if the first call
happens after 2 seconds.
https://bugzilla.gnome.org/show_bug.cgi?id=644552
Duarte Loreto [Sat, 12 Mar 2011 01:09:49 +0000 (01:09 +0000)]
Updated Portuguese translation
Murray Cumming [Fri, 11 Mar 2011 08:59:09 +0000 (09:59 +0100)]
g_file_info_get/set_attribute_string*(): Document the UTF-8ness.
* gio/gfileattribute.c: (_g_file_attribute_value_get_string,
_g_file_attribute_value_set_string): These use
G_FILE_ATTRIBUTE_TYPE_STRING, which is documented as UTF-8, so
document these private functions as using UTF-8.
* gio/gfileinfo.c: (g_file_info_get_attribute_string,
g_file_info_set_attribute_string, and stringv versions):
Document that the strings are UTF-8 because the implementation uses
those private functions, that use UTF-8.
This helps language bindings (such as glibmm) whose API
distinguishes between known and unknown encodings.
Tor Lillqvist [Fri, 11 Mar 2011 08:19:42 +0000 (10:19 +0200)]
Use g_usleep() for portability, bug #644465
Matthias Clasen [Fri, 11 Mar 2011 04:27:49 +0000 (23:27 -0500)]
Fix cleanup in g_markup_collect
Patch by Matt Barnes,
https://bugzilla.gnome.org/show_bug.cgi?id=644428
Matthias Clasen [Fri, 11 Mar 2011 04:25:22 +0000 (23:25 -0500)]
Add a testcase for g_markup_collect cleanup
Taken from https://bugzilla.gnome.org/show_bug.cgi?id=644428.
The test is currently failing.
Andre Klapper [Thu, 10 Mar 2011 11:33:58 +0000 (12:33 +0100)]
Add missing files to POTFILES.in
Chun-wei Fan [Thu, 10 Mar 2011 04:40:57 +0000 (12:40 +0800)]
Update config.h.win32.in for VS 2010
VS2010 ships with stdint.h by default, so update config.h.win32.in
to reflect that
Michael Kotsarinis [Wed, 9 Mar 2011 23:36:54 +0000 (01:36 +0200)]
l10n: Updated Greek translation for glib
Martin Nordholts [Tue, 8 Mar 2011 06:36:15 +0000 (07:36 +0100)]
Check availability of linux/magic.h
Check availability of linux/magic.h. It isn't available in Linux
versions before 2.6.19.
Matthias Clasen [Mon, 7 Mar 2011 04:08:46 +0000 (23:08 -0500)]
Improve preconditions in action-related GApplication api
https://bugzilla.gnome.org/show_bug.cgi?id=643780
Matthias Clasen [Mon, 7 Mar 2011 03:37:01 +0000 (22:37 -0500)]
Go back to the old logic in set_expiration
It was more complicated, but also more correct...
Also add a test to ensure that our rounding works as expected.
https://bugzilla.gnome.org/show_bug.cgi?id=643795
Matthias Clasen [Mon, 28 Feb 2011 02:26:42 +0000 (21:26 -0500)]
Forgotten file
Murray Cumming [Sat, 5 Mar 2011 13:51:55 +0000 (14:51 +0100)]
g_application_run(): Add (allow-none) introspection annotation.
Matthias Clasen [Fri, 4 Mar 2011 17:10:06 +0000 (12:10 -0500)]
Some more details about GApplicationFlags
Matthias Clasen [Fri, 4 Mar 2011 17:03:15 +0000 (12:03 -0500)]
Add more GApplication docs
Add more details about ::command-line to the g_application_run docs.
Murray Cumming [Mon, 28 Feb 2011 10:15:13 +0000 (11:15 +0100)]
GApplication: Check more before warning about a missing signal handler.
* gio/application.c (g_application_real_command_line): Check that the
default signal handler is not the current one before complaining, because
it is not unusual for overloads to call the base class implementation as
a matter of habit.
g_application_real_open() and g_application_real_activate() already do this
extra check.
Matthias Clasen [Fri, 4 Mar 2011 06:53:56 +0000 (01:53 -0500)]
GApplication: More documentation tweaks
Matthias Clasen [Fri, 4 Mar 2011 06:36:51 +0000 (01:36 -0500)]
Fix a typo
Ryan Lortie [Fri, 4 Mar 2011 05:57:51 +0000 (00:57 -0500)]
GVariant docs cleanups
Fix some gtk-doc warnings
Ryan Lortie [Wed, 2 Mar 2011 11:15:21 +0000 (06:15 -0500)]
GVariant: add G_VARIANT_TYPE_VARDICT for a{sv}
Matthias Clasen [Fri, 4 Mar 2011 05:27:23 +0000 (00:27 -0500)]
Small doc correction
We don't actually pass @argc to local_command_line().
Matthias Clasen [Fri, 4 Mar 2011 05:12:34 +0000 (00:12 -0500)]
GApplication: Clarify docs for @argv
Clearly state that @argv may be NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=643649
Matthias Clasen [Fri, 4 Mar 2011 05:03:13 +0000 (00:03 -0500)]
GApplication: Beef up the local_command_line() docs
This adds some details, such as the meaning of @argc, @argv and @status,
even though gtk-doc does not make it easy to document vfunc arguments.
Requested in
https://bugzilla.gnome.org/show_bug.cgi?id=643478
Matthias Clasen [Fri, 4 Mar 2011 04:34:49 +0000 (23:34 -0500)]
GApplication: Improve documentation
This commit adds some details regarding platform data.
Matthias Clasen [Fri, 4 Mar 2011 03:40:48 +0000 (22:40 -0500)]
Try harder to explain GApplicationCommandline
Trying to answer some of the questions in
https://bugzilla.gnome.org/show_bug.cgi?id=643468
Will Thompson [Thu, 3 Mar 2011 14:51:41 +0000 (14:51 +0000)]
g_value_array_remove(): clarify docstring formatting
Duarte Loreto [Wed, 2 Mar 2011 01:11:04 +0000 (01:11 +0000)]
Updated Portuguese translation
Yaron Shahrabani [Sun, 27 Feb 2011 20:56:31 +0000 (22:56 +0200)]
Updated Hebrew translation.
Luca Ferretti [Sun, 27 Feb 2011 20:47:44 +0000 (21:47 +0100)]
Updated Italian translation
Changwoo Ryu [Sun, 27 Feb 2011 05:43:34 +0000 (14:43 +0900)]
Updated Korean translation
Bruno Brouard [Fri, 25 Feb 2011 22:53:52 +0000 (23:53 +0100)]
Updated French translation
Matthias Clasen [Fri, 25 Feb 2011 16:13:55 +0000 (11:13 -0500)]
GApplications: Tighten up application-id validity checks
Also add tests for these conditions.
https://bugzilla.gnome.org/show_bug.cgi?id=643197
Matthias Clasen [Fri, 25 Feb 2011 15:41:29 +0000 (10:41 -0500)]
Add some tests for g_hash_table_lookup_extended
Matthias Clasen [Fri, 25 Feb 2011 15:40:39 +0000 (10:40 -0500)]
GHashTable: Clarify g_hash_table_lookup_extended docs
Passing NULL as a key is only ok if your hash and equal functions
can deal with it.
https://bugzilla.gnome.org/show_bug.cgi?id=642944
Matthias Clasen [Fri, 25 Feb 2011 15:10:37 +0000 (10:10 -0500)]
GOptionContext: Warn about invalid arg/flag combinations
This was proposed by Kjell Ahlstedt in bug 642825.
Also adding a few tests for this new behaviour.
Matthias Clasen [Fri, 25 Feb 2011 13:45:28 +0000 (08:45 -0500)]
Treat optional arguments the same for long and short options
This was noticed in bug 642825 and the change was proposed
by Kjell Ahlstedt.
Daniel Mustieles [Thu, 24 Feb 2011 19:36:04 +0000 (20:36 +0100)]
Updated Spanish translation
Chun-wei Fan [Thu, 24 Feb 2011 04:38:51 +0000 (12:38 +0800)]
Fix the VS2010 project generation for GLib
The scripts accently pick up gcc-only source files... this fixes that.
Piotr Drąg [Wed, 23 Feb 2011 21:03:34 +0000 (22:03 +0100)]
Updated Polish translation
Chun-wei Fan [Wed, 23 Feb 2011 06:22:36 +0000 (14:22 +0800)]
Remove uneeded item form VS10 folder
There is no install.vcxproj.filters...oops
Alexander Shopov [Wed, 23 Feb 2011 06:02:23 +0000 (08:02 +0200)]
Updated Bulgarian translation
Matthias Clasen [Wed, 23 Feb 2011 05:13:39 +0000 (00:13 -0500)]
Allow to list keys in all schemas
Make the schema argument to gsettings list-recursively optional.
This allows to search for not exactly known keys by going
gsettings list-recursively | grep 'font'
Cosimo Cecchi [Wed, 23 Feb 2011 03:02:05 +0000 (22:02 -0500)]
application: fix a typo in the docs annotation
Andreas Rottmann [Tue, 22 Feb 2011 14:12:30 +0000 (15:12 +0100)]
Bug 638185 - GIOCondition should be annotated as "flags"
Add a gtk-doc annotation to GIOCondition marking it as a flags type.
Chun-wei Fan [Tue, 22 Feb 2011 12:08:36 +0000 (20:08 +0800)]
Visual C++ 2010 Project Files
These are the actual GLib VS2010 project files (*.vcxproj,
*.vcxproj.filters) and property sheet file (*.props) that are used
to compile the GLib, GModule, GObject, GThread, GIO DLLs, along with
the gspawn-win32-helper* programs, glib-genmarshal utility and
testglib test program. A readme.txt file is also enclosed for
references for building GLib under VS2010.
Note that the project files for GLib, GIO and GObject are templates
that makes use of the autotools items of my last commit so that maintenance
of those files are simplified as new source files are added to these rather
frequently.
Suggestions are welcome for these-please let me know via BugZilla.
Thank you!
Chun-wei Fan [Tue, 22 Feb 2011 11:58:18 +0000 (19:58 +0800)]
Visual C++ 2010 Project Files: autotools files
These are the updates to the autotools files to
ensure the expansion of the GIO, GLib and GObject
project files (*.vcxproj, *.vcxproj.filters) and to
enable the distribution of the VS2010 project files
The actual VS2010 project files will follow shortly
Bruce Cowan [Sun, 20 Feb 2011 16:47:56 +0000 (16:47 +0000)]
Updated British English translation
Vincent Untz [Sun, 20 Feb 2011 09:41:17 +0000 (10:41 +0100)]
appinfo: Do not override system default handler with less specific one
We were considering explicitly configured defaults for parent types
after we already got results for the specific type we're interested in.
This resulted in the explicit default for text/plain to override all
system defaults for subtypes of text/plain, for example. The explicit
default should not apply to subtypes that have a system default.
https://bugzilla.gnome.org/show_bug.cgi?id=642797
Tor Lillqvist [Sat, 19 Feb 2011 23:23:48 +0000 (01:23 +0200)]
Export _glib_get_locale_dir() as it is now used in gio, too
Matthias Clasen [Sat, 19 Feb 2011 21:27:51 +0000 (16:27 -0500)]
Be more forgiving when parsing introspection xml
Accept (and silently ignore) version attributes on <interface>
and <method> elements - these occur in the wild, and ignoring
them does not cost us anything.
Matthias Clasen [Sat, 19 Feb 2011 04:46:09 +0000 (23:46 -0500)]
Add a testcase for bug 637738
Matthias Clasen [Sat, 19 Feb 2011 03:42:24 +0000 (22:42 -0500)]
Document G_VALUE_NOCOPY_CONTENTS
https://bugzilla.gnome.org/show_bug.cgi?id=624943
Matthias Clasen [Sat, 19 Feb 2011 03:35:49 +0000 (22:35 -0500)]
Expand the documentation of g_type_get_qdata()
https://bugzilla.gnome.org/show_bug.cgi?id=613269
Matthias Clasen [Fri, 18 Feb 2011 04:30:45 +0000 (23:30 -0500)]
Updates
Matthias Clasen [Fri, 18 Feb 2011 04:30:29 +0000 (23:30 -0500)]
Bump micro to .2
Lin Ma [Thu, 17 Feb 2011 06:57:37 +0000 (14:57 +0800)]
Fixed bugster 7007407. Do not clear stat info until a node is really
deleted.
Alexander Shopov [Wed, 16 Feb 2011 20:28:00 +0000 (22:28 +0200)]
Updated Bulgarian translation
Colin Walters [Wed, 16 Feb 2011 18:49:20 +0000 (13:49 -0500)]
gdesktopappinfo: Handle g_get_prgname() being NULL
Reported-By: Sebastien Bacher <seb128@ubuntu.com>
https://bugzilla.gnome.org/show_bug.cgi?id=642490
Matthias Clasen [Wed, 16 Feb 2011 06:28:27 +0000 (01:28 -0500)]
Use glibc qsort_r() for g_qsort_with_data()
No point in using an outdated copy that claims to
'work best on a Sun 4/260' when we can just wrap qsort_r...
Stef Walter [Tue, 15 Feb 2011 18:54:53 +0000 (19:54 +0100)]
Better documentation for g_value_dup_object().
State that NULL is returned when value is NULL.
Damien Lespiau [Thu, 30 Sep 2010 16:27:19 +0000 (17:27 +0100)]
gtimezone: Rename shadowing variable 'time' to 'time_'
Matthias Clasen [Wed, 16 Feb 2011 00:50:55 +0000 (19:50 -0500)]
Don't report standard interfaces more than once
If they have a custom implementation, don't add the canned
introspection XML, just rely on the generated XML. Fixes
https://bugzilla.gnome.org/show_bug.cgi?id=642042
Matthias Clasen [Wed, 16 Feb 2011 00:49:24 +0000 (19:49 -0500)]
Add a (currently failing) testcase
This testcase check that we don't report the standard interfaces
more than one in the introspection XML, see
https://bugzilla.gnome.org/show_bug.cgi?id=642042
Daniel Mustieles [Tue, 15 Feb 2011 20:32:56 +0000 (21:32 +0100)]
Updated Spanish translation