Giovanni Campagna [Fri, 12 Apr 2013 15:25:15 +0000 (17:25 +0200)]
GVariant: fix transfer annotation
g_variant_new_from_bytes() returns a floating reference, so it
must be annotated (transfer none)
https://bugzilla.gnome.org/show_bug.cgi?id=697887
Emilio Pozuelo Monfort [Sat, 13 Apr 2013 10:02:24 +0000 (12:02 +0200)]
check-abis.sh: allow _ftext as that's leaked on mips
https://bugzilla.gnome.org/show_bug.cgi?id=697942
Sebastian Dröge [Wed, 28 Nov 2012 15:55:54 +0000 (16:55 +0100)]
Fix compilation on Android with the bionic C library
https://bugzilla.gnome.org/show_bug.cgi?id=689223
Jasper St. Pierre [Wed, 27 Mar 2013 20:41:44 +0000 (16:41 -0400)]
bookmarkfile: Fix annotations on GBookmarkFile
Marek Kasik [Wed, 10 Apr 2013 11:48:49 +0000 (13:48 +0200)]
tests: Add test for disabled help options
Test whether help options are hidden when they are disabled
by g_option_context_set_help_enabled(.., FALSE).
https://bugzilla.gnome.org/show_bug.cgi?id=697652
Marek Kasik [Tue, 9 Apr 2013 16:03:53 +0000 (18:03 +0200)]
Don't show help options when help is disabled
Check whether help is enabled when creating help text
in g_option_context_get_help().
https://bugzilla.gnome.org/show_bug.cgi?id=697652
Jason Quinn [Thu, 11 Apr 2013 09:00:38 +0000 (05:00 -0400)]
building.xml: Fix a typo of "fo" to "of"
https://bugzilla.gnome.org/show_bug.cgi?id=697771
Balázs Úr [Wed, 10 Apr 2013 21:33:20 +0000 (23:33 +0200)]
Updated Hungarian translation
Sébastien Wilmet [Thu, 31 Jan 2013 17:45:32 +0000 (18:45 +0100)]
Add async version of g_file_trash()
https://bugzilla.gnome.org/show_bug.cgi?id=548353
Sébastien Wilmet [Thu, 31 Jan 2013 17:44:24 +0000 (18:44 +0100)]
Add missing details in GFile documentation
https://bugzilla.gnome.org/show_bug.cgi?id=548353
Dan Winship [Wed, 10 Apr 2013 15:39:12 +0000 (11:39 -0400)]
gmain: fix double-unlock in g_main_context_unref()
When unreffing a context with sources still attached, it would end up
unlocking an already-unlocked context, causing crashes on platforms
that (unlike Linux) actually check for that.
https://bugzilla.gnome.org/show_bug.cgi?id=697595
Lionel Landwerlin [Fri, 5 Apr 2013 14:21:23 +0000 (15:21 +0100)]
gunixmounts: remove warning on unused variable
https://bugzilla.gnome.org/show_bug.cgi?id=697367
Robert Ancell [Wed, 10 Apr 2013 03:53:14 +0000 (15:53 +1200)]
Fix deprecation warning for g_io_channel_read
Руслан Ижбулатов [Tue, 9 Apr 2013 12:09:33 +0000 (14:09 +0200)]
win32: Allow POSIX threads to be used if --with-threads=posix
All tests pass with this patch AND a good pthreads implementation
(i'm using winpthreads, not pthreads-w32).
https://bugzilla.gnome.org/show_bug.cgi?id=697626
Руслан Ижбулатов [Tue, 9 Apr 2013 12:02:54 +0000 (14:02 +0200)]
win32: Fix warning
Руслан Ижбулатов [Sat, 3 Dec 2011 03:08:26 +0000 (07:08 +0400)]
Use AC_LINK_IFELSE instead of AC_TRY_COMPILE
Fixes #665445
Lars Uebernickel [Mon, 8 Apr 2013 06:13:10 +0000 (08:13 +0200)]
g_dbus_connection_signal_subscribe: add path and namespace matching
https://bugzilla.gnome.org/show_bug.cgi?id=695156
James Turner [Fri, 5 Apr 2013 19:29:55 +0000 (15:29 -0400)]
g_atomic_int_get, g_atomic_pointer_get: accept const arguments
https://bugzilla.gnome.org/show_bug.cgi?id=697386
Antoine Jacoutot [Tue, 26 Mar 2013 11:34:51 +0000 (12:34 +0100)]
simpler regex match on the shebang
The previous pattern didn't match on traditional non-GNU sed(1).
https://bugzilla.gnome.org/show_bug.cgi?id=696629
Lionel Landwerlin [Fri, 5 Apr 2013 14:18:28 +0000 (15:18 +0100)]
gunixmounts: correctly flag hasmntopt usage
https://bugzilla.gnome.org/show_bug.cgi?id=697365
Shankar Prasad [Fri, 5 Apr 2013 11:53:01 +0000 (17:23 +0530)]
Updated kn translations
Shankar Prasad [Fri, 5 Apr 2013 10:50:28 +0000 (16:20 +0530)]
Updated kn translations
Shankar Prasad [Fri, 5 Apr 2013 07:06:07 +0000 (12:36 +0530)]
Updated kn translations
Jesse van den Kieboom [Fri, 5 Apr 2013 06:01:17 +0000 (08:01 +0200)]
GDateTime to GTimeZone in opaque structure doc
Cosimo Cecchi [Thu, 4 Apr 2013 17:15:00 +0000 (13:15 -0400)]
gversionmacros: fix a typo
Cosimo Cecchi [Wed, 3 Apr 2013 18:12:03 +0000 (14:12 -0400)]
application: introduce methods to mark the application as busy
This feature is intended for clients that want to signal a desktop shell
their busy state, for instance because a long-running operation is
pending.
The API works in a similar way to g_application_hold and
g_application_release: applications can call g_application_mark_busy()
to increase a counter that will keep the application marked as busy
until the counter reaches zero again.
The busy state is exported read-only on the org.gtk.Application interface
for clients to use.
https://bugzilla.gnome.org/show_bug.cgi?id=672018
Ryan Lortie [Thu, 4 Apr 2013 15:12:42 +0000 (11:12 -0400)]
gtype: interface-after-init exception for gtk#
gtk# also has a problem with the new interface-after-init restriction
that nobody noticed until now. Add an exception for them as well so
that they have a cycle or so to sort things out.
https://bugzilla.gnome.org/show_bug.cgi?id=687659
Ryan Lortie [Thu, 4 Apr 2013 13:31:11 +0000 (09:31 -0400)]
gtype: interface-after-init exception for glibmm
glibmm has a pretty difficult-to-solve problem caused by our recent
change to deny addition of interfaces to classes after initialisation.
They're looking for a long-term workaround for the problem, but in the
meantime we can allow the registration to succeed (with warning) if the
class looks like it's being defined by gtkmm.
https://bugzilla.gnome.org/show_bug.cgi?id=697229
Andres G. Aragoneses [Thu, 4 Apr 2013 11:10:28 +0000 (12:10 +0100)]
gobject: fix G_DEFINE_TYPE_EXTENDED docs so code snippet actually compiles
Flags being used in the G_DEFINE_TYPE_EXTENDED sample was "0", so it
should expand to 0 as well, otherwise the compiler would bark with:
maman-bar.c: In function ‘maman_bar_get_type’:
maman-bar.c:36:53: error: ‘flags’ undeclared (first use in this function)
maman-bar.c:36:53: note: each undeclared identifier is reported only once for each function it appears in
https://bugzilla.gnome.org/show_bug.cgi?id=697250
Nilamdyuti Goswami [Thu, 4 Apr 2013 07:56:59 +0000 (13:26 +0530)]
Assamese translation updated
David Gomes [Wed, 3 Apr 2013 19:15:49 +0000 (20:15 +0100)]
gsettings: implemented --version command
This was discussed in
https://bugzilla.gnome.org/show_bug.cgi?id=697131
Kjartan Maraas [Wed, 3 Apr 2013 09:51:27 +0000 (11:51 +0200)]
Updated Norwegian bokmål translation
Colin Walters [Wed, 3 Apr 2013 04:31:28 +0000 (00:31 -0400)]
gmacros: Mark G_UNAVAILABLE() functions as deprecated (gcc <= 4.4)
RHEL6 ships with GCC 4.4 by default, which doesn't understand the
nicer deprecated attribute that takes a message. However, we can at
least fall back to the old G_DEPRECATED, rather than silently doing
nothing.
This gives me warning messages when building OSTree on RHEL6 when I
accidentally added a usage of g_unix_fd_source_new().
https://bugzilla.gnome.org/show_bug.cgi?id=697160
Giovanni Campagna [Fri, 29 Mar 2013 14:39:26 +0000 (15:39 +0100)]
GThreadedResolver: set an error if no records could be found
It is possible that the upstream servers return something, but
we then filter all results because they are of the wrong type.
In that case the API and subsequent GTask calls expect a GError
to be set.
https://bugzilla.gnome.org/show_bug.cgi?id=696857
Guido Günther [Sun, 24 Mar 2013 16:11:49 +0000 (17:11 +0100)]
codegen: move G_DEFINE_INTERFACE{,_WITH_CODE} before _default_init
to avoid warnings when built with -Wredundant-decls:
sessionmanager-presence-generated.c:316:1: warning: redundant redeclaration of ‘session_manager_presence_default_init’ [-Wredundant-decls]
sessionmanager-presence-generated.c:281:1: note: previous definition of ‘session_manager_presence_default_init’ was here
sessionmanager-presence-generated.c:1273:1: warning: redundant redeclaration of ‘object_default_init’ [-Wredundant-decls]
sessionmanager-presence-generated.c:1259:1: note: previous definition of ‘object_default_init’ was here
https://bugzilla.gnome.org/show_bug.cgi?id=696108
Guido Günther [Mon, 18 Mar 2013 21:31:36 +0000 (22:31 +0100)]
codegen: Avoid warnings when the generated client code is built with -Wunused-parameter
https://bugzilla.gnome.org/show_bug.cgi?id=696108
Colin Walters [Tue, 2 Apr 2013 18:10:15 +0000 (14:10 -0400)]
ghash: Suppress -Wmaybe-uninitialized from GCC 4.4
It's not clever enough to figure out that these are always initialized
in code paths that use them.
Reviewed-By: Benjamin Otte <otte@gnome.org>
Ryan Lortie [Mon, 1 Apr 2013 19:01:20 +0000 (15:01 -0400)]
gaction: add parser for detailed action names
Expand and formalise the syntax for detailed action names, adding a
well-documented (and tested) public parser API for them.
Port the only GLib-based user of detailed action names to the new API:
g_menu_item_set_detailed_action(). The users in Gtk+ will also be
ported soon.
https://bugzilla.gnome.org/show_bug.cgi?id=688954
Ryan Lortie [Mon, 1 Apr 2013 20:53:33 +0000 (16:53 -0400)]
Add GLib 2.38 version macros
Hib Eris [Sun, 31 Mar 2013 14:40:34 +0000 (16:40 +0200)]
Fix compile error in gdbusmessage.c for win64
https://bugzilla.gnome.org/show_bug.cgi?id=696973
Xan Lopez [Tue, 26 Mar 2013 18:19:41 +0000 (19:19 +0100)]
gtask: free error on finalize if it's set
https://bugzilla.gnome.org/show_bug.cgi?id=696652
Murray Cumming [Tue, 26 Mar 2013 09:51:48 +0000 (10:51 +0100)]
Fix tiny docs typo.
Ryan Lortie [Mon, 25 Mar 2013 21:49:20 +0000 (17:49 -0400)]
bump version for start of unstable branch
Ryan Lortie [Mon, 25 Mar 2013 21:39:21 +0000 (17:39 -0400)]
GLib 2.36.0
Colin Walters [Sun, 17 Mar 2013 22:33:59 +0000 (18:33 -0400)]
g_file_copy(): Ensure G_FILE_COPY_OVERWRITE preserves permissions
We need to close the stream *before* applying the file modes, because
g_file_replace() allocates a temporary file. At the moment we're
applying the modes to the extant file, then immediately rename()ing
over it with the default perms.
This regressed with commit
166766a89fcd173dcd6ffda11f902029928f7f28.
The real fix here is to have g_file_create_with_info() so that we can
atomically create a file with the permissions we want.
https://bugzilla.gnome.org/show_bug.cgi?id=696014
Ani Peter [Mon, 25 Mar 2013 17:38:52 +0000 (23:08 +0530)]
Completed for Malayalam
A S Alam [Mon, 25 Mar 2013 17:20:00 +0000 (22:50 +0530)]
Punjabi: Translation updated (aalam)
Krishnababu Krothapalli [Mon, 25 Mar 2013 09:56:55 +0000 (15:26 +0530)]
Updated Telugu Translations
Krishnababu Krothapalli [Wed, 28 Nov 2012 10:36:58 +0000 (16:06 +0530)]
Updated Telugu Translations
Murray Cumming [Mon, 25 Mar 2013 09:16:49 +0000 (10:16 +0100)]
Corrected some GLIB_AVAILABLE_IN_*
Petr Kovar [Sun, 24 Mar 2013 19:20:55 +0000 (20:20 +0100)]
Update Czech translation
Guido Günther [Sat, 23 Mar 2013 11:41:15 +0000 (12:41 +0100)]
Init padding to NULL to avoid a missing initializer warning
like
sessionmanager-presence-generated.c:920:1: warning: missing initializer [-Wmissing-field-initializers]
sessionmanager-presence-generated.c:920:1: warning: (near initialization for ‘_org_gnome_session_manager_presence_skeleton_vtable.padding’) [-Wmissing-field-initializers]
https://bugzilla.gnome.org/review?bug=696108
Yuri Myasoedov [Sat, 23 Mar 2013 17:12:04 +0000 (21:12 +0400)]
Updated Russian translation
Jiro Matsuzawa [Sat, 23 Mar 2013 10:10:01 +0000 (19:10 +0900)]
[l10n] Update Japanese translation
ManojKumar Giri [Fri, 22 Mar 2013 12:56:42 +0000 (18:26 +0530)]
Updated Odia Language along with FUEL implementation
ManojKumar Giri [Fri, 22 Mar 2013 12:52:51 +0000 (18:22 +0530)]
Updated Odia Language along with FUEL implementation
ManojKumar Giri [Fri, 22 Mar 2013 12:41:16 +0000 (18:11 +0530)]
Updated Odia Language along with FUEL implementation
Sweta Kothari [Fri, 22 Mar 2013 10:56:24 +0000 (16:26 +0530)]
Updated gujarati file
Sandeep Sheshrao Shedmake [Fri, 22 Mar 2013 10:16:01 +0000 (15:46 +0530)]
Updated Marathi Translations
Shantha kumar [Fri, 22 Mar 2013 09:47:35 +0000 (15:17 +0530)]
Tamil Translations Updated
Murray Cumming [Thu, 21 Mar 2013 12:10:36 +0000 (13:10 +0100)]
Corrected a GLIB_AVAILABLE_IN_*
Rajesh Ranjan [Thu, 21 Mar 2013 09:28:09 +0000 (14:58 +0530)]
hindi translation
Tristan Van Berkom [Wed, 16 Jan 2013 07:26:08 +0000 (16:26 +0900)]
Added examples to GTestDBus documentation
Gabor Kelemen [Wed, 20 Mar 2013 23:22:58 +0000 (00:22 +0100)]
Updated Hungarian translation
Inaki Larranaga Murgoitio [Wed, 20 Mar 2013 08:35:28 +0000 (09:35 +0100)]
Updated Basque language
Victor Ibragimov [Tue, 19 Mar 2013 21:30:07 +0000 (22:30 +0100)]
[l10n] Added Tadjik translation
Ryan Lortie [Tue, 19 Mar 2013 03:28:27 +0000 (23:28 -0400)]
More clean up for Unicode corrigendum #9
Fix some more testcases.
Ryan Lortie [Tue, 19 Mar 2013 03:01:08 +0000 (23:01 -0400)]
Small NEWS change
Ryan Lortie [Tue, 19 Mar 2013 02:57:55 +0000 (22:57 -0400)]
tests: remove a pair of testcases that fail in en_CA
These testcases don't work with the Canadian date format, so remove
them.
Ján Kyselica [Mon, 18 Mar 2013 20:22:18 +0000 (21:22 +0100)]
Updated slovak translation
Matthias Clasen [Mon, 18 Mar 2013 19:23:07 +0000 (15:23 -0400)]
Another update
Christian Persch [Mon, 18 Mar 2013 13:01:28 +0000 (14:01 +0100)]
goption: g_option_context_new allows NULL for parameter_string
Chun-wei Fan [Mon, 18 Mar 2013 08:52:36 +0000 (16:52 +0800)]
Update Visual Studio property sheets
"Install" gtask.h... it's needed.
Matthias Clasen [Mon, 18 Mar 2013 03:30:34 +0000 (23:30 -0400)]
g_hash_table_get_keys: Improve docs slightly
https://bugzilla.gnome.org/show_bug.cgi?id=630284
Matthias Clasen [Mon, 18 Mar 2013 03:01:21 +0000 (23:01 -0400)]
Small cleanup to tutorial headings
This makes all the subsection headers consistent.
https://bugzilla.gnome.org/show_bug.cgi?id=659428
David King [Fri, 17 Feb 2012 14:54:31 +0000 (14:54 +0000)]
docs: Elaborate replacement for g_strncasecmp
https://bugzilla.gnome.org/show_bug.cgi?id=568405
David Schleef [Sun, 17 Mar 2013 22:56:17 +0000 (15:56 -0700)]
Add warning to g_base64_decode()
https://bugzilla.gnome.org/show_bug.cgi?id=696015
Patrick Ohly [Thu, 7 Mar 2013 17:44:44 +0000 (18:44 +0100)]
GDBusMethodInvocation: leak and potential crash
_g_dbus_method_invocation_new is said to allow method_info == NULL,
but will crash inside g_dbus_method_info_ref when the method_info
really is NULL, because g_dbus_method_info_ref does not allow NULL as
parameter. Fixed by checking for NULL in _g_dbus_method_invocation_new
itself.
The leak itself happens because _g_dbus_method_invocation_new stores a
new reference to the method_info without also unreferencing it. Fixed
by adding the missing unref, protected by an if because the pointer
may be NULL.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=695376
Rūdolfs Mazurs [Sun, 17 Mar 2013 18:08:27 +0000 (20:08 +0200)]
Updated Latvian translation
Ihar Hrachyshka [Sun, 17 Mar 2013 13:40:46 +0000 (16:40 +0300)]
Updated Belarusian translation.
Gheyret Kenji [Sun, 17 Mar 2013 04:54:19 +0000 (13:54 +0900)]
Updated Uyghur translation
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
Stephan Bergmann [Fri, 15 Mar 2013 16:30:24 +0000 (17:30 +0100)]
gmacros: Ensure GUINT32/64_SWAP_LE_BE macros parenthesize arguments
Like all macros, we need to parenthesize arguments to ensure the order
of operations is correct.
See the mail thread starting at
<http://lists.fedoraproject.org/pipermail/devel/2013-March/180302.html>
"GCC produced wrong code in gvfs-1.14.2-3.fc18.x86_64" for how this
caused trouble with GVFS (which in turn caused trouble with
LibreOffice, where running "soffice sftp://.../.../test.odt" to access
an .odt file via GVFS failed to properly type-detect that file as a
Writer document and produced bogus error messages about the file being
broken).
https://bugzilla.gnome.org/show_bug.cgi?id=695925
Duarte Loreto [Fri, 15 Mar 2013 12:55:57 +0000 (12:55 +0000)]
Updated Portuguese translation and converted to New Spelling (Novo AO)
Sébastien Wilmet [Thu, 14 Mar 2013 22:24:18 +0000 (23:24 +0100)]
Doc: clarify set_property() vfunc
Implementations "don't need to ...". It was not clear what happen
if they do it all the same.
https://bugzilla.gnome.org/show_bug.cgi?id=695887
Sébastien Wilmet [Thu, 14 Mar 2013 21:56:54 +0000 (22:56 +0100)]
Doc: clarify a bit g_signal_connect_object()
"the object" can be a bit confusing for a beginner, he can think it is
the @instance.
https://bugzilla.gnome.org/show_bug.cgi?id=695887
Martin Srebotnjak [Thu, 14 Mar 2013 22:17:33 +0000 (23:17 +0100)]
Updated Slovenian translation
Sweta Kothari [Thu, 14 Mar 2013 10:58:11 +0000 (16:28 +0530)]
Updated gujarati file
Sweta Kothari [Thu, 14 Mar 2013 09:54:20 +0000 (15:24 +0530)]
Updated gujarati file
Emilio Pozuelo Monfort [Mon, 4 Mar 2013 19:03:26 +0000 (20:03 +0100)]
live-g-file: test hidden files
We test for traditional Unix dot-leading files as well as
for files listed in the .hidden file.
https://bugzilla.gnome.org/show_bug.cgi?id=695147
Ryan Lortie [Tue, 12 Mar 2013 16:53:42 +0000 (12:53 -0400)]
glocalfileinfo: Stop using PATH_MAX for .hidden
We were using PATH_MAX to size a static array for reading lines from
the .hidden file. Some platforms (Hurd) don't declare a PATH_MAX.
Switch to using g_file_get_contents() and g_str_split('\n') instead.
Also take the time to clean up a bit with a switch to using a 'set mode'
GHashTable (since this code was originally written before we had those).
This patch is largely based on a patch from Emilio Pozuelo Monfort (who
also reported the bug).
https://bugzilla.gnome.org/show_bug.cgi?id=695147
Gheyret Kenji [Wed, 13 Mar 2013 11:48:15 +0000 (20:48 +0900)]
Updated Uyghur translation
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
Gheyret Kenji [Wed, 13 Mar 2013 11:39:02 +0000 (20:39 +0900)]
Updated Uyghur translation
Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
Joe Hansen [Tue, 12 Mar 2013 22:14:39 +0000 (23:14 +0100)]
Updated Danish translation
Carles Ferrando [Tue, 12 Mar 2013 22:02:33 +0000 (23:02 +0100)]
[l10n] Updated Catalan (Valencian) translation
Gil Forcada [Tue, 12 Mar 2013 22:02:24 +0000 (23:02 +0100)]
[l10n] Updated Catalan translation
Claude Paroz [Tue, 12 Mar 2013 17:17:12 +0000 (18:17 +0100)]
Updated French translation
Ryan Lortie [Tue, 12 Mar 2013 16:32:16 +0000 (12:32 -0400)]
tests: clean up for Unicode corrigendum #9
Unicode corrigendum #9 spells out in no uncertain terms that on
conversion interfaces we should not reject characters like U+FFFE and
U+FFFF which we were doing before.
Commit
f91ef4ef15d220f6899c97aaf5b1c0a8f68cfe9a started accepting these
characters, but we had some testcases that were checking that strings
containing these characters should be rejected.
Update the tests.
https://bugzilla.gnome.org/show_bug.cgi?id=694669
Nilamdyuti Goswami [Tue, 12 Mar 2013 12:53:29 +0000 (18:23 +0530)]
Assamese translation updated for gnome 3.8
Martin Pitt [Mon, 11 Mar 2013 08:29:34 +0000 (09:29 +0100)]
Fix /appinfo/mime tests
Commit f641699 (for bug 675333) introduced a check whether the Exec= program in
a .desktop actually exists. This broke the /appinfo/mime/* test cases which use
executable names like "my_app".
Use real ones instead (like "echo" and "sleep"), and add a new
/appinfo/mime/ignore-nonexisting test case which verifies that
g_desktop_app_info_new() indeed ignores nonexisting executables.
https://bugzilla.gnome.org/show_bug.cgi?id=695191
Milo Casagrande [Mon, 11 Mar 2013 21:08:36 +0000 (22:08 +0100)]
[l10n] Updated Italian translation.