platform/upstream/glib.git
11 years agotests: Fix appinfo test
Jasper St. Pierre [Mon, 22 Apr 2013 17:12:12 +0000 (13:12 -0400)]
tests: Fix appinfo test

11 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 22 Apr 2013 15:49:06 +0000 (17:49 +0200)]
Updated Spanish translation

11 years agoUpdated gujarati file
Sweta Kothari [Mon, 22 Apr 2013 10:23:10 +0000 (15:53 +0530)]
Updated gujarati file

11 years agoUpdated POTFILES.in
Piotr Drąg [Sun, 21 Apr 2013 22:37:20 +0000 (00:37 +0200)]
Updated POTFILES.in

11 years agoGIcon: add g_icon_[de]serialize()
Ryan Lortie [Sat, 20 Apr 2013 22:50:21 +0000 (18:50 -0400)]
GIcon: add g_icon_[de]serialize()

Add support for serialising a GIcon to a GVariant and deserialising the
result back to a GIcon.

This solves a number of problems suffered by the existing to_string()
API, primarily these:

 - not forcing the icon to be a utf8 string means that we can
   efficiently encode a PNG (ie: just give the array of bytes)

 - there is no need to ensure that proper types are loaded before using
   the deserialisation interface.  'Foreign' icon types will probably
   emit a serialised format the deserialises to a GBytesIcon.

We additionally clearly document what is required for being a consumer
or implementation of #GIcon.

Further patches will be required to GdkPixbuf and GVfsIcon to bring
their implementations in line with the new rules (essentially: introduce
implementations of the new serialize() API).

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

11 years agoIntroduce GBytesIcon
Ryan Lortie [Sat, 20 Apr 2013 21:23:31 +0000 (17:23 -0400)]
Introduce GBytesIcon

GBytesIcon is an icon that has a GBytes inside of it where the GBytes
contains some sort of encoded image in a widely-recognised file format.
Ideally this will be a PNG.

It implements GLoadableIcon, so GTK will already understand how to use
it, but we will add another patch there to make things more efficient.

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

11 years agoGIcon: pure re-factor of _from_string()
Ryan Lortie [Sat, 20 Apr 2013 20:41:09 +0000 (16:41 -0400)]
GIcon: pure re-factor of _from_string()

Split out the 'simple string format' cases of URIs, file paths and
themed icons to a separate function.

This function will be shared by g_icon_deserialize().

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

11 years agogdesktopappinfo: Allow getting the desktop ID from the filename
Jasper St. Pierre [Sat, 20 Apr 2013 19:13:42 +0000 (15:13 -0400)]
gdesktopappinfo: Allow getting the desktop ID from the filename

11 years agogactionmap: don't require GActionGroup
Lars Uebernickel [Sat, 20 Apr 2013 22:58:14 +0000 (18:58 -0400)]
gactionmap: don't require GActionGroup

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

11 years agog_variant_get_data_as_bytes: return a sub-bytes if necessary
Lars Uebernickel [Sat, 20 Apr 2013 15:44:21 +0000 (11:44 -0400)]
g_variant_get_data_as_bytes: return a sub-bytes if necessary

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

11 years agoGVariant: add new g_variant_new_take_string() API
Ryan Lortie [Sat, 20 Apr 2013 15:44:53 +0000 (11:44 -0400)]
GVariant: add new g_variant_new_take_string() API

Lots of people have variously asked for APIs like
g_variant_new_string_printf() in order to avoid having to use
g_strdup_printf(), create a GVariant using g_variant_new_string(), then
free the temporary string.

Instead of supporting that, plus a million other potential cases,
introduce g_variant_new_take_string() as a compromise.

It's not possible to write:

 v = g_variant_new_take_string (g_strdup_printf (....));

to get the desired result and avoid the extra copies.  In addition, it
works with many other functions.

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

11 years agoAdd async version of g_file_make_directory()
Sébastien Wilmet [Wed, 17 Apr 2013 14:37:55 +0000 (16:37 +0200)]
Add async version of g_file_make_directory()

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

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)