platform/upstream/glib.git
11 years agoGFile: fix the *_async_thread()
Sébastien Wilmet [Wed, 17 Apr 2013 13:07:03 +0000 (15:07 +0200)]
GFile: fix the *_async_thread()

In the *_async_thread() functions, call the corresponding synchronous
function instead of calling the interface vfunc, which can be NULL.

In some cases the check for the vfunc == NULL was done, but to be
consistent it is better to always call the synchronous version (and the
code is simpler).

https://bugzilla.gnome.org/show_bug.cgi?id=548353

11 years agoGMenu: add g_menu_remove_all() API
Ryan Lortie [Mon, 8 Apr 2013 19:27:16 +0000 (15:27 -0400)]
GMenu: add g_menu_remove_all() API

Removes all of the items from a GMenu.  The keyboard indicator wants to
do this as part of refreshing the layout list, as an example.

https://bugzilla.gnome.org/show_bug.cgi?id=697601

11 years agoGVariant parser: tweak lexer for format strings
Ryan Lortie [Wed, 17 Apr 2013 16:12:20 +0000 (12:12 -0400)]
GVariant parser: tweak lexer for format strings

Tweak the lexer so that '[%s]' gets parsed as three separate tokens,
instead of the closing bracket getting sucked into the format string.

11 years agoGVariant parser: turn two asserts into soft errors
Ryan Lortie [Wed, 17 Apr 2013 16:08:00 +0000 (12:08 -0400)]
GVariant parser: turn two asserts into soft errors

Parsing wrongly-typed GVariant text format data is a well-defined
operation and it ought to result in a GError.  We do that for most
cases, but 'v' and 'ay' were being treated differently.  Fix those as
well.

11 years agoutils: avoid redundant set/endpwent around getpwuid
Robert Bragg [Wed, 17 Apr 2013 08:35:50 +0000 (04:35 -0400)]
utils: avoid redundant set/endpwent around getpwuid

set/endpwent are only required for iterating through passwd entries
using getpwent(). Since we are explicitly requesting a passwd entry
for a uid then the set/endpwent calls are redundant.

Removing these redundant calls is required for building on Android
since their C library doesn't implement these.

https://bugzilla.gnome.org/show_bug.cgi?id=645881

11 years agoGVariant: fix transfer annotation
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

11 years agocheck-abis.sh: allow _ftext as that's leaked on mips
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

11 years agoFix compilation on Android with the bionic C library
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

11 years agobookmarkfile: Fix annotations on GBookmarkFile
Jasper St. Pierre [Wed, 27 Mar 2013 20:41:44 +0000 (16:41 -0400)]
bookmarkfile: Fix annotations on GBookmarkFile

11 years agotests: Add test for disabled help options
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

11 years agoDon't show help options when help is disabled
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

11 years agobuilding.xml: Fix a typo of "fo" to "of"
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

11 years agoUpdated Hungarian translation
Balázs Úr [Wed, 10 Apr 2013 21:33:20 +0000 (23:33 +0200)]
Updated Hungarian translation

11 years agoAdd async version of g_file_trash()
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

11 years agoAdd missing details in GFile documentation
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

11 years agogmain: fix double-unlock in g_main_context_unref()
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

11 years agogunixmounts: remove warning on unused variable
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

11 years agoFix deprecation warning for g_io_channel_read
Robert Ancell [Wed, 10 Apr 2013 03:53:14 +0000 (15:53 +1200)]
Fix deprecation warning for g_io_channel_read

11 years agowin32: Allow POSIX threads to be used if --with-threads=posix
Руслан Ижбулатов [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

11 years agowin32: Fix warning
Руслан Ижбулатов [Tue, 9 Apr 2013 12:02:54 +0000 (14:02 +0200)]
win32: Fix warning

11 years agoUse AC_LINK_IFELSE instead of AC_TRY_COMPILE
Руслан Ижбулатов [Sat, 3 Dec 2011 03:08:26 +0000 (07:08 +0400)]
Use AC_LINK_IFELSE instead of AC_TRY_COMPILE

Fixes #665445

11 years agog_dbus_connection_signal_subscribe: add path and namespace matching
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

11 years agog_atomic_int_get, g_atomic_pointer_get: accept const arguments
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

11 years agosimpler regex match on the shebang
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

11 years agogunixmounts: correctly flag hasmntopt usage
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

11 years agoUpdated kn translations
Shankar Prasad [Fri, 5 Apr 2013 11:53:01 +0000 (17:23 +0530)]
Updated kn translations

11 years agoUpdated kn translations
Shankar Prasad [Fri, 5 Apr 2013 10:50:28 +0000 (16:20 +0530)]
Updated kn translations

11 years agoUpdated kn translations
Shankar Prasad [Fri, 5 Apr 2013 07:06:07 +0000 (12:36 +0530)]
Updated kn translations

11 years agoGDateTime to GTimeZone in opaque structure doc
Jesse van den Kieboom [Fri, 5 Apr 2013 06:01:17 +0000 (08:01 +0200)]
GDateTime to GTimeZone in opaque structure doc

11 years agogversionmacros: fix a typo
Cosimo Cecchi [Thu, 4 Apr 2013 17:15:00 +0000 (13:15 -0400)]
gversionmacros: fix a typo

11 years agoapplication: introduce methods to mark the application as busy
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

11 years agogtype: interface-after-init exception for gtk#
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

11 years agogtype: interface-after-init exception for glibmm
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

11 years agogobject: fix G_DEFINE_TYPE_EXTENDED docs so code snippet actually compiles
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

11 years agoAssamese translation updated
Nilamdyuti Goswami [Thu, 4 Apr 2013 07:56:59 +0000 (13:26 +0530)]
Assamese translation updated

11 years agogsettings: implemented --version command
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

11 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Wed, 3 Apr 2013 09:51:27 +0000 (11:51 +0200)]
Updated Norwegian bokmål translation

11 years agogmacros: Mark G_UNAVAILABLE() functions as deprecated (gcc <= 4.4)
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

11 years agoGThreadedResolver: set an error if no records could be found
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

11 years agocodegen: move G_DEFINE_INTERFACE{,_WITH_CODE} before _default_init
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

11 years agocodegen: Avoid warnings when the generated client code is built with -Wunused-parameter
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

11 years agoghash: Suppress -Wmaybe-uninitialized from GCC 4.4
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>
11 years agogaction: add parser for detailed action names
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

11 years agoAdd GLib 2.38 version macros
Ryan Lortie [Mon, 1 Apr 2013 20:53:33 +0000 (16:53 -0400)]
Add GLib 2.38 version macros

11 years agoFix compile error in gdbusmessage.c for win64
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

11 years agogtask: free error on finalize if it's set
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

11 years agoFix tiny docs typo.
Murray Cumming [Tue, 26 Mar 2013 09:51:48 +0000 (10:51 +0100)]
Fix tiny docs typo.

11 years agobump version for start of unstable branch
Ryan Lortie [Mon, 25 Mar 2013 21:49:20 +0000 (17:49 -0400)]
bump version for start of unstable branch

11 years agoGLib 2.36.0 2.36.0 upstream/2.36.0
Ryan Lortie [Mon, 25 Mar 2013 21:39:21 +0000 (17:39 -0400)]
GLib 2.36.0

11 years agog_file_copy(): Ensure G_FILE_COPY_OVERWRITE preserves permissions
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

11 years agoCompleted for Malayalam
Ani Peter [Mon, 25 Mar 2013 17:38:52 +0000 (23:08 +0530)]
Completed for Malayalam

11 years agoPunjabi: Translation updated (aalam)
A S Alam [Mon, 25 Mar 2013 17:20:00 +0000 (22:50 +0530)]
Punjabi: Translation updated (aalam)

11 years agoUpdated Telugu Translations
Krishnababu Krothapalli [Mon, 25 Mar 2013 09:56:55 +0000 (15:26 +0530)]
Updated Telugu Translations

11 years agoUpdated Telugu Translations
Krishnababu Krothapalli [Wed, 28 Nov 2012 10:36:58 +0000 (16:06 +0530)]
Updated Telugu Translations

11 years agoCorrected some GLIB_AVAILABLE_IN_*
Murray Cumming [Mon, 25 Mar 2013 09:16:49 +0000 (10:16 +0100)]
Corrected some GLIB_AVAILABLE_IN_*

11 years agoUpdate Czech translation
Petr Kovar [Sun, 24 Mar 2013 19:20:55 +0000 (20:20 +0100)]
Update Czech translation

11 years agoInit padding to NULL to avoid a missing initializer warning
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

11 years agoUpdated Russian translation
Yuri Myasoedov [Sat, 23 Mar 2013 17:12:04 +0000 (21:12 +0400)]
Updated Russian translation

11 years ago[l10n] Update Japanese translation
Jiro Matsuzawa [Sat, 23 Mar 2013 10:10:01 +0000 (19:10 +0900)]
[l10n] Update Japanese translation

11 years agoUpdated Odia Language along with FUEL implementation
ManojKumar Giri [Fri, 22 Mar 2013 12:56:42 +0000 (18:26 +0530)]
Updated Odia Language along with FUEL implementation

11 years agoUpdated 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

11 years agoUpdated 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

11 years agoUpdated gujarati file
Sweta Kothari [Fri, 22 Mar 2013 10:56:24 +0000 (16:26 +0530)]
Updated gujarati file

11 years agoUpdated Marathi Translations
Sandeep Sheshrao Shedmake [Fri, 22 Mar 2013 10:16:01 +0000 (15:46 +0530)]
Updated Marathi Translations

11 years agoTamil Translations Updated
Shantha kumar [Fri, 22 Mar 2013 09:47:35 +0000 (15:17 +0530)]
Tamil Translations Updated

11 years agoCorrected a GLIB_AVAILABLE_IN_*
Murray Cumming [Thu, 21 Mar 2013 12:10:36 +0000 (13:10 +0100)]
Corrected a GLIB_AVAILABLE_IN_*

11 years agohindi translation
Rajesh Ranjan [Thu, 21 Mar 2013 09:28:09 +0000 (14:58 +0530)]
hindi translation

11 years agoAdded examples to GTestDBus documentation
Tristan Van Berkom [Wed, 16 Jan 2013 07:26:08 +0000 (16:26 +0900)]
Added examples to GTestDBus documentation

11 years agoUpdated Hungarian translation
Gabor Kelemen [Wed, 20 Mar 2013 23:22:58 +0000 (00:22 +0100)]
Updated Hungarian translation

11 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Wed, 20 Mar 2013 08:35:28 +0000 (09:35 +0100)]
Updated Basque language

11 years ago[l10n] Added Tadjik translation
Victor Ibragimov [Tue, 19 Mar 2013 21:30:07 +0000 (22:30 +0100)]
[l10n] Added Tadjik translation

11 years agoMore clean up for Unicode corrigendum #9 2.35.9 upstream/2.35.9
Ryan Lortie [Tue, 19 Mar 2013 03:28:27 +0000 (23:28 -0400)]
More clean up for Unicode corrigendum #9

Fix some more testcases.

11 years agoSmall NEWS change
Ryan Lortie [Tue, 19 Mar 2013 03:01:08 +0000 (23:01 -0400)]
Small NEWS change

11 years agotests: remove a pair of testcases that fail in en_CA
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.

11 years agoUpdated slovak translation
Ján Kyselica [Mon, 18 Mar 2013 20:22:18 +0000 (21:22 +0100)]
Updated slovak translation

11 years agoAnother update
Matthias Clasen [Mon, 18 Mar 2013 19:23:07 +0000 (15:23 -0400)]
Another update

11 years agogoption: g_option_context_new allows NULL for parameter_string
Christian Persch [Mon, 18 Mar 2013 13:01:28 +0000 (14:01 +0100)]
goption: g_option_context_new allows NULL for parameter_string

11 years agoUpdate Visual Studio property sheets
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.

11 years agog_hash_table_get_keys: Improve docs slightly
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

11 years agoSmall cleanup to tutorial headings
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

11 years agodocs: Elaborate replacement for g_strncasecmp
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

11 years agoAdd warning to g_base64_decode()
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

11 years agoGDBusMethodInvocation: leak and potential crash
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

11 years agoUpdated Latvian translation
Rūdolfs Mazurs [Sun, 17 Mar 2013 18:08:27 +0000 (20:08 +0200)]
Updated Latvian translation

11 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Sun, 17 Mar 2013 13:40:46 +0000 (16:40 +0300)]
Updated Belarusian translation.

11 years agoUpdated Uyghur 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>
11 years agogmacros: Ensure GUINT32/64_SWAP_LE_BE macros parenthesize arguments
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

11 years agoUpdated Portuguese translation and converted to New Spelling (Novo AO)
Duarte Loreto [Fri, 15 Mar 2013 12:55:57 +0000 (12:55 +0000)]
Updated Portuguese translation and converted to New Spelling (Novo AO)

11 years agoDoc: clarify set_property() vfunc
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

11 years agoDoc: clarify a bit g_signal_connect_object()
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

11 years agoUpdated Slovenian translation
Martin Srebotnjak [Thu, 14 Mar 2013 22:17:33 +0000 (23:17 +0100)]
Updated Slovenian translation

11 years agoUpdated gujarati file
Sweta Kothari [Thu, 14 Mar 2013 10:58:11 +0000 (16:28 +0530)]
Updated gujarati file

11 years agoUpdated gujarati file
Sweta Kothari [Thu, 14 Mar 2013 09:54:20 +0000 (15:24 +0530)]
Updated gujarati file

11 years agolive-g-file: test hidden files
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

11 years agoglocalfileinfo: Stop using PATH_MAX for .hidden
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

11 years agoUpdated Uyghur translation
Gheyret Kenji [Wed, 13 Mar 2013 11:48:15 +0000 (20:48 +0900)]
Updated Uyghur translation

Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
11 years agoUpdated Uyghur translation
Gheyret Kenji [Wed, 13 Mar 2013 11:39:02 +0000 (20:39 +0900)]
Updated Uyghur translation

Signed-off-by: Gheyret Kenji <gheyret@gmail.com>
11 years agoUpdated Danish translation
Joe Hansen [Tue, 12 Mar 2013 22:14:39 +0000 (23:14 +0100)]
Updated Danish translation

11 years ago[l10n] Updated Catalan (Valencian) translation
Carles Ferrando [Tue, 12 Mar 2013 22:02:33 +0000 (23:02 +0100)]
[l10n] Updated Catalan (Valencian) translation

11 years ago[l10n] Updated Catalan translation
Gil Forcada [Tue, 12 Mar 2013 22:02:24 +0000 (23:02 +0100)]
[l10n] Updated Catalan translation