platform/upstream/glib.git
11 years agodirectory monitor: use the right 'mount_notify'
Ryan Lortie [Thu, 25 Jul 2013 17:19:56 +0000 (13:19 -0400)]
directory monitor: use the right 'mount_notify'

During initialisation of a directory monitor with the
G_FILE_MONITOR_WATCH_MOUNTS flag set, GLocalDirectory monitor will add a
UNIX mount watch in case the file notification backend doesn't support
reporting these events for itself.

Unfortunately, it was performing the check incorrectly, resulting in a
monitor always being added.

Fix that, and add the #define for G_LOCAL_DIRECTORY_MONITOR_GET_CLASS()
that was also missing (since the fix depends on it).

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

11 years agogoutputstream: Add clear warning about short writes to _write_bytes() and async version
Colin Walters [Wed, 2 Oct 2013 14:32:03 +0000 (10:32 -0400)]
goutputstream: Add clear warning about short writes to _write_bytes() and async version

Matthew Barnes noted this on IRC a few days ago.  I just had this file
open for other reasons and decided to tweak the docs to make this trap
more clear.

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

11 years agog_settings_list_children: only list viable schemas
Ryan Lortie [Thu, 8 Aug 2013 16:50:21 +0000 (18:50 +0200)]
g_settings_list_children: only list viable schemas

Don't return children with invalid schemas from
g_settings_list_children() (ie: missing schemas or mismatched paths).
This prevents gsettings list-recursively from crashing when broken
schemas are installed on the system.

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

11 years agounicode: Update to unicode 6.3.0
Christian Persch [Tue, 1 Oct 2013 13:40:43 +0000 (15:40 +0200)]
unicode: Update to unicode 6.3.0

No new blocks were added in 6.3, and only 5 new characters to be used
with the updated BiDi algorithm. And some character properties were changed.

See http://www.unicode.org/versions/Unicode6.3.0/ for more information.

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

11 years agoFix crashes in various GParamSpec creation functions
Simon Feltman [Tue, 1 Oct 2013 10:38:24 +0000 (03:38 -0700)]
Fix crashes in various GParamSpec creation functions

Add NULL check and return after calls to g_param_spec_internal in GParamSpec
creation functions. This avoids glib crashing due to things like badly named
properties.

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

11 years agoAdd missing string.h include
Michael Forney [Tue, 1 Oct 2013 12:19:55 +0000 (05:19 -0700)]
Add missing string.h include

Required for memset()

11 years agoFix a careless mistake in the last commit
Ryan Lortie [Mon, 30 Sep 2013 17:06:30 +0000 (13:06 -0400)]
Fix a careless mistake in the last commit

Thanks Colin :)

11 years agogmain: Remove dispatching source stack
Ryan Lortie [Wed, 12 Jun 2013 18:57:09 +0000 (14:57 -0400)]
gmain: Remove dispatching source stack

This stack exists only to answer the question of "what is the currently
dispatching source" and is handled in a way that makes it very clear
that we don't need to be using a linked list at all...

Just store the GSource directly.

Independently discovered (and same solution) by Phillip Susi.

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

11 years agoGOutputStream: Use async read/write of streams in splice_async()
Mike Ruprecht [Mon, 18 Feb 2013 14:12:50 +0000 (08:12 -0600)]
GOutputStream: Use async read/write of streams in splice_async()

There are some corner cases where using the sync version of read/write
in a thread could cause thread-safety issues. In these cases it's
possible to override the output stream's splice_async() function,
but for input streams one would need to do some acrobatics to
stay thread-safe. Alternatively, some implementations may not even
override their sync read/write functions.

This patch refactors the default splice_async() implementation to
call the sync read and write functions in a thread only when both
async versions are thread-based. When one or both are non-threaded,
it calls the virtual write_async() and read_async() functions of the
involved streams within the same thread.

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

11 years agoGOutputStream: Split _close_async for internal use
Mike Ruprecht [Mon, 18 Feb 2013 13:58:58 +0000 (07:58 -0600)]
GOutputStream: Split _close_async for internal use

Refactor g_output_stream_close_async() into itself and an internal
variant for potential use inside other operations (splice_async).
The internal version must be called between
g_output_stream_set_pending() and g_output_stream_clear_pending().

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

11 years agoGOutputStream: Rename _g_output_stream_close_internal() for consistency
Mike Ruprecht [Sun, 24 Feb 2013 15:09:05 +0000 (09:09 -0600)]
GOutputStream: Rename _g_output_stream_close_internal() for consistency

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

11 years agotests: Add testcases for g_output_stream_splice_async()
Mike Ruprecht [Sat, 23 Feb 2013 21:13:53 +0000 (15:13 -0600)]
tests: Add testcases for g_output_stream_splice_async()

Previously, no testcases tested the close flags of
g_output_stream_splice_async. This patch adds tests for that and
also tests various combinations of threaded and non-threaded
GInputStream async reads and GOutputStream async writes.

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

11 years agoGOutputStream: Add g_output_stream_async_write_is_via_threads()
Mike Ruprecht [Sat, 23 Feb 2013 23:42:49 +0000 (17:42 -0600)]
GOutputStream: Add g_output_stream_async_write_is_via_threads()

In implementing a better g_output_stream_splice_async() and possibly
other situtations it's helpful to know whether the output stream's
write function internally uses threads. If it and the input stream's
read async functions use threads, then the splice function could
spawn a single thread for better efficiency.

This patch adds a function to determine whether an output stream's
g_output_stream_write_async() function internally uses threads.

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

11 years agoGInputStream: Add g_input_stream_async_read_is_via_threads()
Mike Ruprecht [Sat, 23 Feb 2013 23:32:31 +0000 (17:32 -0600)]
GInputStream: Add g_input_stream_async_read_is_via_threads()

In implementing a better g_output_stream_splice_async() and possibly
other situtations it's helpful to know whether the input stream's
read function internally uses threads. If it and the output stream's
write async functions use threads, then the splice function could
spawn a single thread for better efficiency.

This patch adds a function to determine whether an input stream's
g_input_stream_read_async() function internally uses threads.

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

11 years agoFix the -Werror=format-nonliteral fixes for older GCCs
John Ralls [Sun, 29 Sep 2013 18:33:30 +0000 (11:33 -0700)]
Fix the -Werror=format-nonliteral fixes for older GCCs

They don't allow that pragma inside functions.

11 years agoMore -Werror=format-nonliteral fixes
John Ralls [Sat, 28 Sep 2013 23:44:32 +0000 (16:44 -0700)]
More -Werror=format-nonliteral fixes

This fixes the build with CLang.

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

11 years agogfileutils: Make -Werror=format-nonliteral happy
Colin Walters [Mon, 17 Jun 2013 21:49:12 +0000 (17:49 -0400)]
gfileutils: Make -Werror=format-nonliteral happy

I tried to please it by using G_GNUC_FORMAT, but that didn't work, so
let's just fall back to pushing an ignore.

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

11 years agogmessages: fix clang annotations to work with older versions
Dan Winship [Sat, 28 Sep 2013 16:31:52 +0000 (12:31 -0400)]
gmessages: fix clang annotations to work with older versions

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

11 years agogio: make gnetworking.h nodist
Dan Winship [Sat, 28 Sep 2013 16:18:14 +0000 (12:18 -0400)]
gio: make gnetworking.h nodist

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

11 years ago.gitignore: add "signals"
Dan Winship [Sat, 28 Sep 2013 14:39:01 +0000 (10:39 -0400)]
.gitignore: add "signals"

11 years agoOnly use SA_RESTART if it exists
Patrick Welche [Fri, 27 Sep 2013 09:09:32 +0000 (10:09 +0100)]
Only use SA_RESTART if it exists

Fixes build on QNX (and possibly HPUX given Bug 168352)
Patch essentially from pkgsrc devel/glib2/patches/patch-ai

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

11 years agogdesktopappinfo: Call g_file_get_path() on demand
Bastien Nocera [Wed, 25 Sep 2013 14:14:17 +0000 (16:14 +0200)]
gdesktopappinfo: Call g_file_get_path() on demand

Rather than always calling out to g_file_get_path() (which
might block, whatever the documentation might say), postpone
the call until we actually need it.

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

11 years agogio: Fix documentation for GSocketControlMessage that refers to a 'file description...
Robert Ancell [Fri, 27 Sep 2013 02:52:51 +0000 (14:52 +1200)]
gio: Fix documentation for GSocketControlMessage that refers to a 'file description' instead of a 'file descriptor'

11 years agogio: Fix -Werror format string errors from mismatched ints.
Jan Schmidt [Wed, 25 Sep 2013 09:22:26 +0000 (19:22 +1000)]
gio: Fix -Werror format string errors from mismatched ints.

11 years agoglocalfile: Only use O_DIRECTORY if available
William Orr [Thu, 26 Sep 2013 18:02:06 +0000 (11:02 -0700)]
glocalfile: Only use O_DIRECTORY if available

Solaris 10 for example doesn't have it.

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

11 years agoUpdated Russian translation
Yuri Myasoedov [Wed, 25 Sep 2013 19:11:08 +0000 (23:11 +0400)]
Updated Russian translation

11 years agoFix typo in GLIB_VERSION_2_40 docs.
Krzesimir Nowak [Wed, 25 Sep 2013 07:39:20 +0000 (09:39 +0200)]
Fix typo in GLIB_VERSION_2_40 docs.

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

11 years agoTamil Translations Updated
Shantha kumar [Wed, 25 Sep 2013 06:58:53 +0000 (12:28 +0530)]
Tamil Translations Updated

11 years agogio: Fix typo in the /org/freedesktop/DBus path
James Strandboge [Tue, 24 Sep 2013 12:19:20 +0000 (13:19 +0100)]
gio: Fix typo in the /org/freedesktop/DBus path

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

11 years agogio/gsocket.c: Fix error code checks when SOCK_CLOEXEC is defined but
Svante Signell [Wed, 18 Sep 2013 14:39:09 +0000 (16:39 +0200)]
gio/gsocket.c: Fix error code checks when SOCK_CLOEXEC is defined but
not supported on GNU/Hurd.

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

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Tue, 24 Sep 2013 11:01:24 +0000 (19:01 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agoBump version to 2.39.0
Ryan Lortie [Mon, 23 Sep 2013 21:47:49 +0000 (17:47 -0400)]
Bump version to 2.39.0

11 years agoIntroduce version macros for 2.40
Ryan Lortie [Mon, 23 Sep 2013 21:46:58 +0000 (17:46 -0400)]
Introduce version macros for 2.40

11 years agoGLib 2.38.0 2.38.0
Ryan Lortie [Mon, 23 Sep 2013 20:14:57 +0000 (16:14 -0400)]
GLib 2.38.0

11 years agofix up refcount/properties test case
Ryan Lortie [Mon, 23 Sep 2013 21:04:53 +0000 (17:04 -0400)]
fix up refcount/properties test case

Recent changes to the properties testcase made invalid use of the GArray
free function.  This free function takes a pointer to the item to be
freed, not the item itself.  Since that item was a pointer to a GObject,
g_object_unref() was getting a GObject**, rather than a GObject*.

The use of GArray in this testcase is pretty questionable in the first
place, so just use C arrays instead.

11 years agogio docs: add some missing functions
Ryan Lortie [Mon, 23 Sep 2013 20:38:49 +0000 (16:38 -0400)]
gio docs: add some missing functions

11 years agoMore gio-du win32 fixes
Ryan Lortie [Mon, 23 Sep 2013 20:29:24 +0000 (16:29 -0400)]
More gio-du win32 fixes

Don't free the utf8 filename before the async function completes.

also, gitignore

11 years agoRevert "gcancellable: allow g_cancellable_disconnect from "cancelled" handler on...
Ryan Lortie [Mon, 23 Sep 2013 20:15:34 +0000 (16:15 -0400)]
Revert "gcancellable: allow g_cancellable_disconnect from "cancelled" handler on same thread"

This reverts commits 83605e2d0a7b0d39987715cfd046f7b8ef6de94e and
140fa7ee4669adb3827e3ddea5be57f51ee7af3e.

11 years agocancellable: Minor fix to docs
Alexander Larsson [Mon, 23 Sep 2013 07:11:04 +0000 (09:11 +0200)]
cancellable: Minor fix to docs

The code uses "my_data", not "data" everywhere else.

11 years agogcancellable: allow g_cancellable_disconnect from "cancelled" handler on same thread
Ray Strode [Tue, 10 Sep 2013 19:32:12 +0000 (15:32 -0400)]
gcancellable: allow g_cancellable_disconnect from "cancelled" handler on same thread

g_cancellable_disconnect will wait until any pending "cancelled"
handlers finish.  This is useful because disconnecting a handler can have the
side-effect of freeing data that the cancelled handler may rely on.
Unfortunately, the code used to enforce this synchronization between
"cancelled" handlers and g_cancellable_disconnect will also cause
deadlock if the cancelled handler itself calls g_cancellable_disconect.

Obviously, if g_cancellable_disconnect is explicitly called by a "cancelled"
handler, then the "cancelled" handler is shouldering the responsibility
of not using any data that may be freed by disconnection.

Also, g_cancellable_disconnect can be called in unexpected places by
lower layers in the code (for instance as a result of g_source_destroy).
In practice, this means it's easy for deadlocks to inadvertently crop
up when using "cancelled" handlers.

For these reasons, it would be good to fix the deadlock.

This commit prevents the deadlock by allowing foregoing synchronization,
if a pending "cancelled" handler is in the same thread as the
g_cancellabale_disconnnect call.

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

11 years agoUpdated Portuguese translation
Duarte Loreto [Sun, 22 Sep 2013 23:16:05 +0000 (00:16 +0100)]
Updated Portuguese translation

11 years agoUpdated French translation
Claude Paroz [Sun, 22 Sep 2013 18:01:57 +0000 (20:01 +0200)]
Updated French translation

11 years agotests: add signal disconnection test
Ray Strode [Fri, 20 Sep 2013 19:20:39 +0000 (15:20 -0400)]
tests: add signal disconnection test

This commit adds a test to ensure that during a signal emission, if
a signal handler gets disconnected, it won't be run, even if it would
have run before the disconnection.

11 years agotests: free properties test object from main thread instead of helper thread
Ray Strode [Fri, 20 Sep 2013 19:41:29 +0000 (15:41 -0400)]
tests: free properties test object from main thread instead of helper thread

The test objects are used from the main thread after the helper threads
are destroyed, so we need to keep them alive until we're done using them.

11 years agodocs: fix GSourceFuncs docs
Dieter Verfaillie [Fri, 20 Sep 2013 19:07:28 +0000 (21:07 +0200)]
docs: fix GSourceFuncs docs

"returns" at the start of a description continuation
line seems to confuse GTK-Doc's parser. Rearrange
the text a bit to work around this...

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

11 years agogsettings: Correct a GLIB_AVAILABLE_IN_*
Murray Cumming [Fri, 20 Sep 2013 07:27:53 +0000 (09:27 +0200)]
gsettings: Correct a GLIB_AVAILABLE_IN_*

11 years agogobject: Fix compilation on OS X/ppc64
Misty De Meo [Thu, 19 Sep 2013 06:41:22 +0000 (23:41 -0700)]
gobject: Fix compilation on OS X/ppc64

Apple's GCC compilers cannot deal well with 64-bit pointers in
transparent unions on ppc64, so compilation of
_G_DEFINE_BOXED_TYPE_BEGIN was failing. Fortunately glib already
provides a fallback for compilers that can't deal with it; this adds
this specific case to the check.

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

11 years agoPunjabi Translation updated by Aman
A S Alam [Wed, 18 Sep 2013 13:49:53 +0000 (08:49 -0500)]
Punjabi Translation updated by Aman

11 years agoUpdated Danish translation
Ask H. Larsen [Tue, 17 Sep 2013 16:28:19 +0000 (18:28 +0200)]
Updated Danish translation

11 years agoGLib 2.37.93 2.37.93
Ryan Lortie [Tue, 17 Sep 2013 15:39:56 +0000 (11:39 -0400)]
GLib 2.37.93

11 years agomeasure_disk_usage: properly report results
Ryan Lortie [Tue, 17 Sep 2013 13:53:18 +0000 (09:53 -0400)]
measure_disk_usage: properly report results

In the async case, make sure we copy all of the out parameters from the
results structure, not just 'disk_usage'.

11 years agomeasure_disk_usage: skip progress on NULL callback
Ryan Lortie [Tue, 17 Sep 2013 13:40:04 +0000 (09:40 -0400)]
measure_disk_usage: skip progress on NULL callback

In the real_..._async wrapper for GFile.measure_disk_usage, skip the
wrapping of the progress callback in the case that the user gave a NULL
callback to the async function.  This is a performance improvement
because the sync version won't have to do continuous sampling of the
clock to issue a call to the wrapper which will then do nothing.

Unfortunately, I made this simplifying assumption when writing the
wrapper, but forgot to actually implement it when making the sync call.
As a result, the wrapper is still called, and invokes the NULL callback,
causing a segfault.

Make sure we pass NULL if the user's callback was NULL.

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

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Tue, 17 Sep 2013 11:35:13 +0000 (19:35 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agobump
Ryan Lortie [Mon, 16 Sep 2013 18:14:07 +0000 (14:14 -0400)]
bump

11 years agoGLib 2.37.92 2.37.92
Ryan Lortie [Mon, 16 Sep 2013 17:47:04 +0000 (13:47 -0400)]
GLib 2.37.92

11 years agogio-du: show the correct filename in progress
Ryan Lortie [Mon, 16 Sep 2013 17:42:02 +0000 (13:42 -0400)]
gio-du: show the correct filename in progress

We were showing argv[1] in the progress output before, which is not
always the filename.

11 years agogio-du: Improve test program on Windows
Chun-wei Fan [Fri, 13 Sep 2013 09:42:44 +0000 (17:42 +0800)]
gio-du: Improve test program on Windows

Make use of __wgetmainargs() on Windows so that we can get wide char
versions of the argv's that are passed in when this test program is being
invoked.  This is necessary as one might enter non-ASCII, such as
CJK characters filenames and/or directories to run the test program
against, so that we can process the name(s) and pass the proper
UTF-8-encoded name(s) of the files/directories that is being tested.

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

11 years agoGLocalFile: use GDir for g_file_measure_disk_usage
Ryan Lortie [Thu, 12 Sep 2013 15:44:11 +0000 (11:44 -0400)]
GLocalFile: use GDir for g_file_measure_disk_usage

It turns out that although dirent is available on mingw32 (where the
code was originally tested), it is not usable from MSVC.

Avoid portability problems by just using GDir.

Also, be careful about ensuring that we utf8-format filenames in our
error messages, and leave out the "file://" component since the strings
we're displaying are not URIs (and we don't want to make them URIs since
the extra escaping would reduce legibility).

Thanks to Chun-wei Fan <fanchunwei@src.gnome.org> for portions of this
patch and for reviews.

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

11 years agoGDir: add some glib-private APIs
Ryan Lortie [Thu, 12 Sep 2013 09:00:29 +0000 (17:00 +0800)]
GDir: add some glib-private APIs

Add a simple UNIX-only API that is used to create a GDir object from a
DIR* that is aquired using opendir() or fdopendir().

This makes it possible to use GDir with openat(), which in turn will
allow use of GDir in the existing GLocalFile implementation of
g_file_measure_disk_usage(), avoiding the current MSVC compatibility
problems there.

Also add an API similar to g_dir_open(), but without the GError handling
(since we want to create a better error message from inside of
glocalfile.c).

Thanks to Chun-wei Fan <fanchunwei@src.gnome.org> for portions of this
patch and for reviews.

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

11 years agoUpdated German translation
Benjamin Steinwender [Mon, 16 Sep 2013 17:05:54 +0000 (19:05 +0200)]
Updated German translation

11 years agoUpdated Hungarian translation
Gabor Kelemen [Mon, 16 Sep 2013 11:07:12 +0000 (13:07 +0200)]
Updated Hungarian translation

11 years agoUpdated Korean translation
Changwoo Ryu [Sat, 14 Sep 2013 13:46:15 +0000 (22:46 +0900)]
Updated Korean translation

11 years agoUpdated Indonesian translation
Andika Triwidada [Sat, 14 Sep 2013 08:42:05 +0000 (15:42 +0700)]
Updated Indonesian translation

11 years ago[l10n] Update Catalan translation
Gil Forcada [Fri, 13 Sep 2013 22:06:21 +0000 (00:06 +0200)]
[l10n] Update Catalan translation

11 years agogmodule: Two minor g-i annotations fixes
Rico Tzschichholz [Fri, 13 Sep 2013 19:16:14 +0000 (21:16 +0200)]
gmodule: Two minor g-i annotations fixes

11 years agoAssamese Translation Updated
Nilamdyuti Goswami [Fri, 13 Sep 2013 12:55:03 +0000 (18:25 +0530)]
Assamese Translation Updated

11 years agogio/tests/gio-du.c: Avoid Using Unintialized Variable
Chun-wei Fan [Mon, 9 Sep 2013 16:49:39 +0000 (00:49 +0800)]
gio/tests/gio-du.c: Avoid Using Unintialized Variable

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

11 years agoUpdated Lithuanian translation
Aurimas Černius [Thu, 12 Sep 2013 20:16:04 +0000 (23:16 +0300)]
Updated Lithuanian translation

11 years agotests: remove assertion for '!uncertain' on .txt
Ryan Lortie [Thu, 12 Sep 2013 18:38:08 +0000 (14:38 -0400)]
tests: remove assertion for '!uncertain' on .txt

Virtaal installs a mime package for various .po-like file formats, one
of which has the extension .txt.  This causes GLib to report ".txt"
files still as "text/plain" but no longer with complete certainty.

The result is that asserting !uncertain during the testsuite causes the
test to fail if Virtaal happens to be installed.

Remove this assertion.

11 years agotests: properly set locale to C
Ryan Lortie [Thu, 12 Sep 2013 18:22:56 +0000 (14:22 -0400)]
tests: properly set locale to C

We're testing for particular error messages, so we need to set to a C
locale to make sure we get the untranslated version.

Previously, this test set the LANG environment variable, but that's not
good enough if LANGUAGE is also set.  The only way to ensure that
LANGUAGE is ignored is to disable l10n with LC_ALL=C.

11 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Thu, 12 Sep 2013 16:20:01 +0000 (19:20 +0300)]
Updated Belarusian translation.

11 years agoUpdated Latvian translation
Rūdolfs Mazurs [Wed, 11 Sep 2013 19:36:52 +0000 (22:36 +0300)]
Updated Latvian translation

11 years agoUpdated Czech translation
Marek Černocký [Tue, 10 Sep 2013 19:01:15 +0000 (21:01 +0200)]
Updated Czech translation

11 years agoUpdated Czech translation
Marek Černocký [Tue, 10 Sep 2013 19:00:16 +0000 (21:00 +0200)]
Updated Czech translation

11 years agoUpdated Galician translations
Fran Diéguez [Tue, 10 Sep 2013 13:53:23 +0000 (15:53 +0200)]
Updated Galician translations

11 years ago[l10n] Updated Italian translation.
Milo Casagrande [Tue, 10 Sep 2013 08:03:24 +0000 (10:03 +0200)]
[l10n] Updated Italian translation.

11 years agoUpdated Brazilian Portuguese translation
Enrico Nicoletto [Mon, 9 Sep 2013 23:31:50 +0000 (20:31 -0300)]
Updated Brazilian Portuguese translation

11 years agoUpdated Polish translation
Piotr Drąg [Mon, 9 Sep 2013 22:56:17 +0000 (00:56 +0200)]
Updated Polish translation

11 years agogio/tests/network-address: fix SCOPE_ID_TEST_INDEX fallback
Dieter Verfaillie [Mon, 9 Sep 2013 21:34:01 +0000 (23:34 +0200)]
gio/tests/network-address: fix SCOPE_ID_TEST_INDEX fallback

11 years agoTrivial typo fix
Kalev Lember [Mon, 9 Sep 2013 21:35:25 +0000 (23:35 +0200)]
Trivial typo fix

11 years agoUpdated Slovenian translation
Matej Urbančič [Mon, 9 Sep 2013 18:35:43 +0000 (20:35 +0200)]
Updated Slovenian translation

11 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 9 Sep 2013 14:46:32 +0000 (16:46 +0200)]
Updated Spanish translation

11 years agotests/: add gio-du
Ryan Lortie [Sun, 28 Jul 2013 18:46:14 +0000 (14:46 -0400)]
tests/: add gio-du

This is basically a minimally-featured 'du' equivalent to manually test
g_file_measure_disk_usage().

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

11 years agoGFile: add new g_file_measure_disk_usage() API
Ryan Lortie [Sun, 28 Jul 2013 17:41:17 +0000 (13:41 -0400)]
GFile: add new g_file_measure_disk_usage() API

This is essentially the equivalent of 'du'.

This is currently only supported on local files.  gvfs will add support for the
interface later.

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

11 years agoUpdated Serbian translation
Мирослав Николић [Thu, 5 Sep 2013 06:05:45 +0000 (08:05 +0200)]
Updated Serbian translation

11 years agoVisual C++ Builds: Fix "install" Projects
Chun-wei Fan [Thu, 5 Sep 2013 05:58:24 +0000 (13:58 +0800)]
Visual C++ Builds: Fix "install" Projects

Due to the split up of the property sheets, the install projects did not
have info on the Intermediate and Output Paths, which caused confusing
messages from Visual Studio to show up upon completing build+"install" and
closing Visual Studio on whether to reload the install project, at least on
Visual Studio 2008.

Include the property sheet which defines these properties to fix this.

11 years agoUpdated Korean translation
Changwoo Ryu [Tue, 3 Sep 2013 15:29:58 +0000 (00:29 +0900)]
Updated Korean translation

11 years agobump version
Matthias Clasen [Mon, 2 Sep 2013 16:12:58 +0000 (12:12 -0400)]
bump version

11 years ago2.37.7 2.37.7
Matthias Clasen [Mon, 2 Sep 2013 15:25:57 +0000 (11:25 -0400)]
2.37.7

11 years agogobject-2.0: Annotate another GSignal function taking instances
Martin Pitt [Mon, 2 Sep 2013 10:04:43 +0000 (12:04 +0200)]
gobject-2.0: Annotate another GSignal function taking instances

As a followup to commit a72983a, annotate g_signal_handlers_destroy() as well.

11 years agogobject-2.0: Annotate GSignal functions taking instances
Emmanuele Bassi [Tue, 27 Aug 2013 12:11:47 +0000 (14:11 +0200)]
gobject-2.0: Annotate GSignal functions taking instances

Unbreak the GSignal API at least for GObject sub-classes.

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

11 years agoAdd Since tag for g_close
Matthias Clasen [Sun, 1 Sep 2013 18:54:33 +0000 (14:54 -0400)]
Add Since tag for g_close

The lack of this information in the docs was pointed out in

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

11 years ago[l10n] Update Catalan translation
Gil Forcada [Sat, 31 Aug 2013 20:45:44 +0000 (22:45 +0200)]
[l10n] Update Catalan translation

11 years agogmessages: fix g_test_expect_message() with NULL domains
Dan Winship [Sat, 31 Aug 2013 15:51:07 +0000 (11:51 -0400)]
gmessages: fix g_test_expect_message() with NULL domains

Allow passing a NULL domain to g_test_expect_message(), and more
importantly, don't crash if a message with a NULL domain gets logged
while there is an expected message.

11 years agogio/tests/socket: fix warning building on win32
Dan Winship [Sat, 24 Aug 2013 21:47:57 +0000 (17:47 -0400)]
gio/tests/socket: fix warning building on win32

setsockopt() has a broken prototype on win32. Fix this by just using
g_socket_set_option() instead.

11 years agogio/tests/socket: add test for g_socket_get_available_bytes()
Sebastian Dröge [Wed, 24 Oct 2012 12:25:01 +0000 (14:25 +0200)]
gio/tests/socket: add test for g_socket_get_available_bytes()

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

11 years agogsocket: Fix g_socket_get_available_bytes() on Windows and OS X
Dan Winship [Sat, 24 Aug 2013 17:55:06 +0000 (13:55 -0400)]
gsocket: Fix g_socket_get_available_bytes() on Windows and OS X

On Windows and OS X, FIONREAD on a UDP socket gets the total number of
bytes available, not the number of bytes available in the next packet,
which is the more useful number (and how the function always behaved
on Linux).

On OS X, fix this by using SO_NREAD. On Windows, fix this by doing a
MSG_PEEK recv() into a giant buffer, since there is apparently no
other way to get the information.

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

11 years agoAdd tests for new '%z' g_date_time_format extensions
Kalev Lember [Fri, 30 Aug 2013 19:58:49 +0000 (21:58 +0200)]
Add tests for new '%z' g_date_time_format extensions

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

11 years agogdatetime: Extend the '%z' timezone format
Kalev Lember [Fri, 30 Aug 2013 19:24:56 +0000 (21:24 +0200)]
gdatetime: Extend the '%z' timezone format

Implement gnulib strftime extensions for the '%z' numeric timezone
format. These are also supported and documented by GNU date(1):

%z     +hhmm numeric time zone (e.g., -0400)

%:z    +hh:mm numeric time zone (e.g., -04:00)

%::z   +hh:mm:ss numeric time zone (e.g., -04:00:00)

%:::z  numeric time zone with : to necessary precision (e.g., -04, +05:30)

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

11 years agoTamil Translations Updated
Shantha kumar [Fri, 30 Aug 2013 10:06:22 +0000 (15:36 +0530)]
Tamil Translations Updated