platform/upstream/glib.git
10 years agoClarify g_propagate_error docs
Matthias Clasen [Fri, 10 Oct 2014 18:17:56 +0000 (14:17 -0400)]
Clarify g_propagate_error docs

I just ran into a bug that was caused by having src being a
persistent GError* that was not cleared after propagating it.

10 years agoFix g_cond_timed_wait() timeout with !CLOCK_MONOTONIC
Benjamin Gilbert [Thu, 9 Oct 2014 04:07:36 +0000 (00:07 -0400)]
Fix g_cond_timed_wait() timeout with !CLOCK_MONOTONIC

g_get_monotonic_time() and g_get_real_time() now always use different
clocks, so we cannot avoid correcting for their offset.  Fixes failure
to time out on Mac OS X.

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

10 years agogarray: initialize allocated size in g_byte_array_new_take()
Aleksander Morgado [Wed, 8 Oct 2014 18:37:42 +0000 (20:37 +0200)]
garray: initialize allocated size in g_byte_array_new_take()

Internal allocation size (array->alloc) was being kept to 0 when a new
GByteArray was created from an already existing heap-allocated buffer.

Among other things, this was making g_byte_array_set_size() fully clear all
the buffer contents (not just the newly allocated memory) when
G_DEBUG=gc-friendly was being used...

  if (G_UNLIKELY (g_mem_gc_friendly))
    memset (array->data + array->alloc, 0, want_alloc - array->alloc);

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

10 years agoAdd advice on g_cancellable_reset
Matthias Clasen [Tue, 7 Oct 2014 02:41:06 +0000 (22:41 -0400)]
Add advice on g_cancellable_reset

Don't use it at home.

10 years agotlscertificate: add support for certificate chains
Aleix Conchillo Flaqué [Mon, 6 Oct 2014 17:19:48 +0000 (10:19 -0700)]
tlscertificate: add support for certificate chains

This patch changes the behavior of the following functions:

   g_tls_certificate_new_from_pem
   g_tls_certificate_new_from_file
   g_tls_certificate_new_from_files

If more than one certificate is found it will try to load the chain.

It is assumed that the chain will be in the right order (top-level
certificate will be the last one in the file). If the chain cannot be
verified, the first certificate in the file will be returned as before.

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

10 years agoFix typo
Michael Catanzaro [Sun, 5 Oct 2014 17:11:08 +0000 (12:11 -0500)]
Fix typo

10 years agoUpdated Italian translation
Milo Casagrande [Sun, 5 Oct 2014 13:07:12 +0000 (13:07 +0000)]
Updated Italian translation

10 years agoGDataSet: Add more tests
Matthias Clasen [Thu, 2 Oct 2014 18:41:01 +0000 (14:41 -0400)]
GDataSet: Add more tests

These tests exercise the NULL key fix from the previous commit.

10 years agoGDataSet: silently accept NULL/0 as keys
Matthias Clasen [Thu, 2 Oct 2014 18:40:16 +0000 (14:40 -0400)]
GDataSet: silently accept NULL/0 as keys

This used to be the behaviour before we made these functions
threadsafe; keep it that way.

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

10 years agogdesktopappinfo: Use symbolic names in the code
Bastien Nocera [Thu, 4 Sep 2014 13:39:19 +0000 (15:39 +0200)]
gdesktopappinfo: Use symbolic names in the code

We have #defines for the key file groups, so use them to avoid typos.

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

10 years agoGCredentials: Fix ABI break when adding NetBSD support
Ting-Wei Lan [Mon, 29 Sep 2014 15:25:11 +0000 (23:25 +0800)]
GCredentials: Fix ABI break when adding NetBSD support

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

10 years agoAdd version macros for 2.44
Ryan Lortie [Mon, 29 Sep 2014 15:39:51 +0000 (11:39 -0400)]
Add version macros for 2.44

10 years agotests: Fix some minor leaks in the unit tests
Philip Withnall [Fri, 26 Sep 2014 15:18:46 +0000 (16:18 +0100)]
tests: Fix some minor leaks in the unit tests

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

10 years agogslist: indentation fix
Sébastien Wilmet [Fri, 26 Sep 2014 22:04:55 +0000 (00:04 +0200)]
gslist: indentation fix

10 years agodocs: syntax highlighting for the code examples
Sébastien Wilmet [Thu, 18 Sep 2014 14:41:32 +0000 (16:41 +0200)]
docs: syntax highlighting for the code examples

In the sections Concepts, Tools and Tutorial.

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

10 years agogmain: Unref child sources when finalising a GSource
Philip Withnall [Thu, 25 Sep 2014 08:51:25 +0000 (09:51 +0100)]
gmain: Unref child sources when finalising a GSource

If a GSource is created, *not* attached to a GMainContext, and then has
child sources added, dropping the last reference to the parent GSource
will leak its references to its child sources. Currently, child sources
are only unreffed when g_source_destroy() is called on the parent.

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

10 years agogmain: Fix some signed/unsigned integer comparisons
Philip Withnall [Thu, 25 Sep 2014 08:51:00 +0000 (09:51 +0100)]
gmain: Fix some signed/unsigned integer comparisons

Just to shut gcc up.

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

10 years agoUpdated gujarati translations
Sweta Kothari [Wed, 24 Sep 2014 17:39:32 +0000 (23:09 +0530)]
Updated gujarati translations

10 years agoUpdated Telugu translation
Krishnababu Krothapalli [Tue, 23 Sep 2014 14:28:34 +0000 (14:28 +0000)]
Updated Telugu translation

10 years agoInclude <stdint.h> in glib/valgrind.h
Hib Eris [Mon, 22 Sep 2014 20:37:43 +0000 (22:37 +0200)]
Include <stdint.h> in glib/valgrind.h

This ensures the uintptr_t type is defined on mingw-w64.

Fixes compile error:

make[4]: Entering directory
`/home/abuild/rpmbuild/BUILD/glib-2.42.0/gobject'
  CC       libgobject_2_0_la-gtype.lo
In file included from gtype.c:24:0:
../glib/valgrind.h: In function 'VALGRIND_PRINTF':
../glib/valgrind.h:5601:4: error: unknown type name 'uintptr_t'
    uintptr_t _qzz_res;
    ^

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

10 years agoUpdated Bengali (India) translation
Saibal Ray [Tue, 23 Sep 2014 11:27:44 +0000 (11:27 +0000)]
Updated Bengali (India) translation

10 years agogtask: Ignore errors from g_thread_pool_push()
Philip Withnall [Fri, 19 Sep 2014 07:54:33 +0000 (08:54 +0100)]
gtask: Ignore errors from g_thread_pool_push()

g_thread_pool_push() only returns an error if it fails to spawn a new
thread. However, it unconditionally adds the task to its worker queue,
so:
 • if _any_ threads exist in the pool, the task will eventually be
   handled; and
 • if _no_ threads exist in the pool, the task will be handled if one
   is eventually successfully spawned.
If no more threads are ever spawned, the process probably has bigger
problems than a single GTask which is taking forever to complete.

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

10 years agogtask: Document signal handler reference counting
Philip Withnall [Wed, 17 Sep 2014 16:20:46 +0000 (17:20 +0100)]
gtask: Document signal handler reference counting

Explain why the signal handler holds a reference to the GTask, even
though that causes a reference loop at first glance.

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

10 years agogtask: Fix a signed/unsigned integer comparison
Philip Withnall [Wed, 17 Sep 2014 14:07:25 +0000 (15:07 +0100)]
gtask: Fix a signed/unsigned integer comparison

The GSource times assigned to creation_time are always signed.

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

10 years agoGLib 2.42.0 2.42.0
Ryan Lortie [Mon, 22 Sep 2014 17:15:02 +0000 (13:15 -0400)]
GLib 2.42.0

10 years agoupdate Punjabi Translation for 3.14 release
A S Alam [Sun, 21 Sep 2014 13:52:43 +0000 (08:52 -0500)]
update Punjabi Translation for 3.14 release

10 years agoUpdated Hindi translation
Rajesh Ranjan [Sun, 21 Sep 2014 04:14:06 +0000 (04:14 +0000)]
Updated Hindi translation

10 years agoRevert "update zh_CN translation"
YunQiang Su [Sun, 21 Sep 2014 02:58:01 +0000 (10:58 +0800)]
Revert "update zh_CN translation"

Add wrong po file
This reverts commit ee3d55573ff3731b2f92deb5e35decc316d53475.

10 years agoupdate zh_CN translation
YunQiang Su [Sun, 21 Sep 2014 02:30:53 +0000 (10:30 +0800)]
update zh_CN translation

10 years agoupdate zh_CN translation
Tong Hui [Sun, 21 Sep 2014 02:24:22 +0000 (10:24 +0800)]
update zh_CN translation

10 years agoUpdated Danish translation
Ask H. Larsen [Sat, 20 Sep 2014 15:19:18 +0000 (17:19 +0200)]
Updated Danish translation

10 years agogmain: improve g_source_set_name thread safety
Ryan Lortie [Tue, 16 Sep 2014 23:48:06 +0000 (19:48 -0400)]
gmain: improve g_source_set_name thread safety

Step up thread safety on g_source_set_name() to the same standard as all
other GSource functions: after we are attached to a main context, this
function should be threadsafe.

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

10 years agogsource: clarify restrictions on non-existant IDs
Ryan Lortie [Tue, 16 Sep 2014 23:40:30 +0000 (19:40 -0400)]
gsource: clarify restrictions on non-existant IDs

Document that one must not use the "by id" source APIs with non-existent
IDs.  The real justification behind this restriction is that the reuse
of source ids makes it unsafe to call these functions unless you're
absolutely sure that the source exists and it belongs to you.  If you
call one of these functions on a source that may already have been
removed then you run the risk of finding someone else's source (with
your reused id).

This also bails us out of a slightly tricky situation with respect to
the threadsafety of g_main_context_find_source_by_id().  The fact that
this function doesn't return a reference implies that its return value
cannot be safely accessed unless we already know for sure that a
reference is being held elsewhere (by example, by the main context
itself if we know that the source has not been removed).  The function
itself, however, performs an access to the value, which could result in
a crash.

If we mandate that it is only valid to call this function on
known-to-exist source IDs then we dodge this problem.

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

10 years agoGVariant: say that serialized form needs an out-of-band length
Simon McVittie [Fri, 19 Sep 2014 14:05:04 +0000 (15:05 +0100)]
GVariant: say that serialized form needs an out-of-band length

This confused me for a while, because it isn't the same as D-Bus.
Like GVariant, the D-Bus serialization needs an out-of-band
endianness and type indicator, but unlike GVariant, serialized
D-Bus objects encapsulate their own length (often by starting with
a byte-count). This does come at some redundancy cost, so I can see
why the more efficient GVariant format does this the way it does;
but it's a difference between D-Bus and GVariant that seems worth
calling out.

It's also relevant for the designers of file or message-framing
formats: with D-Bus serialization it would be feasible to say "the file
starts with a little-endian D-Bus variant, followed by...",
but in GVariant you wouldn't be able to deserialize the variant
unless you either assume that it extends to end-of-file, or have
an explicit length.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=736975
Reviewed-by: Ryan Lortie
10 years agogresource: Make extract work better
Matthias Clasen [Thu, 18 Sep 2014 19:26:36 +0000 (15:26 -0400)]
gresource: Make extract work better

When no section is specified, look for the resource to extract
in all sections - previously, we would stop after the first
section.

10 years agogresource: Use GError in more places
Matthias Clasen [Thu, 18 Sep 2014 18:51:09 +0000 (14:51 -0400)]
gresource: Use GError in more places

The API gives us an error message, lets use it.

10 years agoUpdate URLs library.gnome.org -> developer.gnome.org
Sébastien Wilmet [Thu, 18 Sep 2014 18:31:52 +0000 (20:31 +0200)]
Update URLs library.gnome.org -> developer.gnome.org

10 years agoUpdated Serbian translation
Мирослав Николић [Wed, 17 Sep 2014 19:11:50 +0000 (21:11 +0200)]
Updated Serbian translation

10 years agoUpdated Marathi Translations
Sandeep Sheshrao Shedmake [Fri, 12 Sep 2014 13:31:35 +0000 (19:01 +0530)]
Updated Marathi Translations

10 years agoGApplication:handle-local-options: document return value
Jasper St. Pierre [Tue, 16 Sep 2014 21:41:58 +0000 (15:41 -0600)]
GApplication:handle-local-options: document return value

The return value for this signal was documented in the prose, but not
properly in a Returns: stanza.  Fix that.

10 years agogoption: Add G_OPTION_FLAG_NONE
Jasper St. Pierre [Tue, 16 Sep 2014 21:39:59 +0000 (15:39 -0600)]
goption: Add G_OPTION_FLAG_NONE

This is helpful to better document code, as G_OPTION_FLAG_NONE is more
readable than 0.

10 years agog_application_add_main_option: fix type signature
Jasper St. Pierre [Tue, 16 Sep 2014 21:39:41 +0000 (15:39 -0600)]
g_application_add_main_option: fix type signature

The flags argument is a GOptionFlags so use that type instead of 'int'.

10 years agoFix some introspection warnings
Jasper St. Pierre [Tue, 16 Sep 2014 20:45:34 +0000 (14:45 -0600)]
Fix some introspection warnings

10 years ago2.41.5 2.41.5
Matthias Clasen [Mon, 15 Sep 2014 18:43:42 +0000 (14:43 -0400)]
2.41.5

10 years agogrand: Only use rand_s() when targetting Visual Studio >= 2005
Sebastian Dröge [Sat, 13 Sep 2014 13:31:03 +0000 (16:31 +0300)]
grand: Only use rand_s() when targetting Visual Studio >= 2005

It did not exist before. Fall back to the current time plus
process id on older targets. This makes GLib work again on
Windows XP.

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

10 years agoUpdated Tamil translation
Shantha kumar [Mon, 15 Sep 2014 13:39:11 +0000 (13:39 +0000)]
Updated Tamil translation

10 years agoUpdated Slovenian translation
Matej Urbančič [Sun, 14 Sep 2014 20:18:09 +0000 (22:18 +0200)]
Updated Slovenian translation

10 years agodocs: various small fixes
Sébastien Wilmet [Tue, 9 Sep 2014 19:20:34 +0000 (21:20 +0200)]
docs: various small fixes

For the GPtrArray example, several variables declared on the same line
is harder to read and to work with (to move, remove or comment a single
variable declaration).

10 years agoUpdated Kannada translation
Shankar Prasad [Fri, 12 Sep 2014 12:58:11 +0000 (12:58 +0000)]
Updated Kannada translation

10 years agoMSVC Builds: Update "Installation"
Chun-wei Fan [Fri, 12 Sep 2014 07:51:49 +0000 (15:51 +0800)]
MSVC Builds: Update "Installation"

This updates the glib-install.[props|vsprops] so that the headers to
"install" for the build are kept up-to-date.  Note that this has been
generated by a script, so that this hopefully means that the header
"installation" can be maintained along with the autotools files for most
uses, to simplify maintenance.

10 years agoUpdated Hungarian translation
Balázs Úr [Thu, 11 Sep 2014 16:40:14 +0000 (16:40 +0000)]
Updated Hungarian translation

10 years agogutils: Don't use issetugid() on Android
Sebastian Dröge [Tue, 9 Sep 2014 18:18:20 +0000 (20:18 +0200)]
gutils: Don't use issetugid() on Android

Android had it in older versions but the new 64 bit ABI does not
have it anymore, and some versions of the 32 bit ABI neither.

https://code.google.com/p/android-developer-preview/issues/detail?id=168

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

10 years agoGDesktopAppInfo: avoid inotify on missing dirs
Ryan Lortie [Tue, 9 Sep 2014 17:58:38 +0000 (13:58 -0400)]
GDesktopAppInfo: avoid inotify on missing dirs

Some desktop file directories, like /usr/local/share/applications may be
missing on some systems.

When we try to inotify on these directories, this will result in a
every-4-seconds poll being setup which is quite bad.

This is an issue that should be fixed in inotify itself but the problem
is much larger there.  For now, we can work around it in GDesktopAppInfo
by refusing to monitor missing directories.

We may get some spurious notifications of changes in the case that
/usr/local/share or /usr/local/share/applications is created without
actually adding desktop files, but spurious changes can already be
reported in other cases, so that's OK.  We won't get (user-visible)
notification for a simple case of a completely unrelated file being
created (however we cannot avoid the wakeup in this case due to how
inotify works).  That's probably pretty theoretical, though, since files
in /usr don't change much and for the home directory we're likely to
have at least ~/.config and ~/.local existing.

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

10 years agoapps test: add new "monitor" subcommand
Ryan Lortie [Tue, 9 Sep 2014 17:58:18 +0000 (13:58 -0400)]
apps test: add new "monitor" subcommand

Waits until something modifies a desktop directory, then exits.

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

10 years agoUpdated Russian translation
Yuri Myasoedov [Tue, 9 Sep 2014 13:04:40 +0000 (17:04 +0400)]
Updated Russian translation

10 years agoFix minor mem leak in test case
Paolo Borelli [Sun, 7 Sep 2014 16:34:26 +0000 (18:34 +0200)]
Fix minor mem leak in test case

10 years agoGThreadPool: expand g_thread_pool_new docs
Paolo Borelli [Wed, 3 Sep 2014 06:12:01 +0000 (08:12 +0200)]
GThreadPool: expand g_thread_pool_new docs

10 years agoFix docs to talk about --enable-coverage
Matthias Clasen [Mon, 8 Sep 2014 02:50:36 +0000 (22:50 -0400)]
Fix docs to talk about --enable-coverage

The configure options to turn on coverage testing got renamed
at some point, but the docs were not updated. Fix that.

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

10 years agoUpdated Latvian translation
Rūdolfs Mazurs [Sun, 7 Sep 2014 09:55:20 +0000 (12:55 +0300)]
Updated Latvian translation

10 years agoUpdated Galician translations
Fran Diéguez [Thu, 4 Sep 2014 19:35:07 +0000 (21:35 +0200)]
Updated Galician translations

10 years agoGDesktopAppInfo: fix default app logic
Ryan Lortie [Thu, 4 Sep 2014 17:17:27 +0000 (13:17 -0400)]
GDesktopAppInfo: fix default app logic

We use "tweaks" structures to track how a particular directory impacts
the list of added, removed and default applications.  We maintain this
set of tweaks for each directory, in a hash table, keyed by unaliased
mime type name, in order to facilitate fast lookups.

A typo in the logic for creating and maintaining the uniqueness of these
structures was causing the default app to be selected incorrectly from
time to time.  Fix that.

10 years agoGCredentials: credentials messages are not correctly supported on NetBSD
Patrick Welche [Mon, 1 Sep 2014 16:42:43 +0000 (18:42 +0200)]
GCredentials: credentials messages are not correctly supported on NetBSD

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

10 years agoUpdated Indonesian translation
Andika Triwidada [Wed, 3 Sep 2014 13:49:48 +0000 (13:49 +0000)]
Updated Indonesian translation

10 years agoUpdated Polish translation
Piotr Drąg [Wed, 3 Sep 2014 01:10:27 +0000 (03:10 +0200)]
Updated Polish translation

10 years ago2.41.4 2.41.4
Matthias Clasen [Tue, 2 Sep 2014 15:36:32 +0000 (11:36 -0400)]
2.41.4

10 years agoUpdated Korean translation
Changwoo Ryu [Tue, 2 Sep 2014 04:05:58 +0000 (13:05 +0900)]
Updated Korean translation

10 years agoUpdated French translation
Claude Paroz [Mon, 1 Sep 2014 07:30:32 +0000 (09:30 +0200)]
Updated French translation

10 years agoUpdated German translation
Christian Kirbach [Sun, 31 Aug 2014 22:00:45 +0000 (22:00 +0000)]
Updated German translation

10 years agoDon't mark GThread struct as deprecated
Matthias Clasen [Fri, 29 Aug 2014 19:12:31 +0000 (15:12 -0400)]
Don't mark GThread struct as deprecated

Having a definition of struct _GThread inside a deprecation
ifdef confuses gtk-doc into marking it as deprecated. Avoid this.

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

10 years agoUpdated Greek translation
Maria Mavridou [Thu, 28 Aug 2014 21:25:31 +0000 (21:25 +0000)]
Updated Greek translation

10 years agoUpdated Hebrew translation
Yosef Or Boczko [Thu, 28 Aug 2014 15:11:06 +0000 (18:11 +0300)]
Updated Hebrew translation

10 years agoUpdated Oriya translation
Manoj Kumar Giri [Wed, 27 Aug 2014 13:34:53 +0000 (13:34 +0000)]
Updated Oriya translation

10 years agoGUnixMounts: Improve efficiency in polling case
Patrick Welche [Tue, 26 Aug 2014 16:27:23 +0000 (17:27 +0100)]
GUnixMounts: Improve efficiency in polling case

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

10 years agogmacros.h: add G_GNUC_*_IGNORE_DEPRECATIONS macros for clang
Thomas Haller [Fri, 1 Aug 2014 14:59:36 +0000 (16:59 +0200)]
gmacros.h: add G_GNUC_*_IGNORE_DEPRECATIONS macros for clang

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

Signed-off-by: Thomas Haller <thaller@redhat.com>
10 years agogsocketclient: Handle cancellation between CONNECTING and CONNECTED
Philip Withnall [Thu, 21 Aug 2014 18:00:13 +0000 (19:00 +0100)]
gsocketclient: Handle cancellation between CONNECTING and CONNECTED

If a g_socket_client_connect_async() operation is cancelled between the
CONNECTING and CONNECTED events (i.e. while in the
g_socket_connection_connect_async() call), the code in
g_socket_client_connected_callback() would previously unconditionally
loop round and try the next socket address from the address enumerator
(by calling enumerator_next_async()). This would correctly handle the
cancellation and return from the overall task — but not before emitting
a spurious RESOLVING event.

Avoid emitting the spurious RESOLVING event by explicitly handling
cancellation at the beginning of g_socket_client_connected_callback().

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

10 years agoUpdated Czech translation
Marek Černocký [Fri, 22 Aug 2014 06:08:51 +0000 (08:08 +0200)]
Updated Czech translation

10 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Thu, 21 Aug 2014 09:06:03 +0000 (17:06 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

10 years agoGApplication: Add g_application_add_main_option
Jonas Danielsson [Wed, 13 Aug 2014 11:06:36 +0000 (07:06 -0400)]
GApplication: Add g_application_add_main_option

This function adds a single main option entry to be handeled by
GApplication. The option entry has it arg_data field set to NULL
and will be added to the applications packed_options.

The rationale for this is that bindings will be able to add
command line options even when they can't use the un-boxed struct
GOptionEntry.

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

10 years agoGUnixMounts: Fall back to polling on systems without mtab
Patrick Welche [Mon, 18 Aug 2014 20:48:28 +0000 (21:48 +0100)]
GUnixMounts: Fall back to polling on systems without mtab

This is necessary for many of the BSD family at least.

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

10 years agoUpdated Assamese translation
ngoswami [Mon, 18 Aug 2014 15:44:42 +0000 (15:44 +0000)]
Updated Assamese translation

10 years agodocs: Fix broken gtk-doc formatting
Rico Tzschichholz [Mon, 18 Aug 2014 12:08:41 +0000 (14:08 +0200)]
docs: Fix broken gtk-doc formatting

10 years agodocs: Add index for 2.42 api
Rico Tzschichholz [Sun, 17 Aug 2014 20:54:22 +0000 (22:54 +0200)]
docs: Add index for 2.42 api

10 years ago[l10n] Updated Catalan (Valencian) translation
Carles Ferrando [Sun, 17 Aug 2014 11:19:46 +0000 (13:19 +0200)]
[l10n] Updated Catalan (Valencian) translation

10 years ago[l10n] Updated Catalan translation
Gil Forcada [Sun, 17 Aug 2014 11:19:42 +0000 (13:19 +0200)]
[l10n] Updated Catalan translation

10 years agoUpdates for 2.41.3 2.41.3
Matthias Clasen [Sat, 16 Aug 2014 12:59:40 +0000 (08:59 -0400)]
Updates for 2.41.3

10 years agoUpdated German translation
Christian Kirbach [Fri, 15 Aug 2014 15:56:35 +0000 (17:56 +0200)]
Updated German translation

10 years agoVisual C++ Builds: Update README.txt's
Chun-wei Fan [Wed, 13 Aug 2014 01:55:11 +0000 (09:55 +0800)]
Visual C++ Builds: Update README.txt's

Update notes about usage of PCRE and for people attempting to build GLib
on a Chinese, Japanese or Korean locale.

10 years agodocs: hyphenate "High-level" and "Low-level"
Dan Winship [Tue, 12 Aug 2014 11:50:20 +0000 (07:50 -0400)]
docs: hyphenate "High-level" and "Low-level"

10 years agoMSVC Builds: Generate glib-mkenums If Possible
Chun-wei Fan [Fri, 8 Aug 2014 09:39:22 +0000 (17:39 +0800)]
MSVC Builds: Generate glib-mkenums If Possible

As glib-mkenums would likely be used in the building of the other
components of the stack, such as Cogl, Clutter and
gsettings-desktop-schemas, generate that using a Python script (if Python
can be found) and "install" it.

10 years agogtype: Fast-path for g_type_is_a
Edward Hervey [Mon, 23 Jun 2014 09:39:04 +0000 (11:39 +0200)]
gtype: Fast-path for g_type_is_a

Do I really need to explain why ?

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

10 years agoDo not crash when checking whether an instance type is of a given fundamental.
Andre Moreira Magalhaes (andrunko) [Wed, 30 Jul 2014 00:04:48 +0000 (21:04 -0300)]
Do not crash when checking whether an instance type is of a given fundamental.

Not all instances have a TypeNode associated (e.g. GstEvent), so lets check if node is available
before trying to use it.

This crash can be easily reproduced by creating an event with gst_event_new_eos and using
G_IS_OBJECT on the event instance.

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

10 years agoUpdated Slovenian translation
Matej Urbančič [Wed, 6 Aug 2014 12:15:40 +0000 (14:15 +0200)]
Updated Slovenian translation

10 years agoMake sure compiled resources only have / as dirsep
Руслан Ижбулатов [Mon, 21 Apr 2014 15:00:18 +0000 (15:00 +0000)]
Make sure compiled resources only have / as dirsep

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

10 years agoUpdated Slovenian translation
Martin Srebotnjak [Tue, 5 Aug 2014 19:03:32 +0000 (21:03 +0200)]
Updated Slovenian translation

10 years agoUpdated Basque language
Inaki Larranaga Murgoitio [Tue, 5 Aug 2014 12:02:42 +0000 (14:02 +0200)]
Updated Basque language

10 years agoChange W32 console detection to look at the window, not stdout
Руслан Ижбулатов [Wed, 30 Jul 2014 07:15:39 +0000 (07:15 +0000)]
Change W32 console detection to look at the window, not stdout

Check for console window being attached to the process, not for stdout
being redirected into a console window.

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

10 years agoFix tests to compile again - add missing headers to W32, call correct process-id...
Руслан Ижбулатов [Mon, 21 Apr 2014 15:44:47 +0000 (15:44 +0000)]
Fix tests to compile again - add missing headers to W32, call  correct process-id-getting function

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

10 years agoSilence a controversial warning in win_iconv
Руслан Ижбулатов [Sat, 2 Aug 2014 12:36:37 +0000 (12:36 +0000)]
Silence a controversial warning in win_iconv

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

10 years agoSilence some uncontroversial warnings
Руслан Ижбулатов [Sat, 2 Aug 2014 12:35:43 +0000 (12:35 +0000)]
Silence some uncontroversial warnings

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

10 years agoFix printf-tests on W32 by ifdefing the expected output
Руслан Ижбулатов [Sat, 2 Aug 2014 12:22:16 +0000 (12:22 +0000)]
Fix printf-tests on W32 by ifdefing the expected output

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