platform/upstream/glib.git
12 years agoAdd support for MX, TXT, NS and SOA records to GResolver
Stef Walter [Wed, 4 Apr 2012 15:13:10 +0000 (17:13 +0200)]
Add support for MX, TXT, NS and SOA records to GResolver

 * Add resolver functions for looking up DNS records of
   various types. Currently implemented: MX, TXT, SOA, SRV, NS
 * Return records as GVariant tuples.
 * Make the GSrvTarget lookups a wrapper over this new
   functionality.
 * Rework the resolver test so that it has support for
   looking up MX, NS, SOA, TXT records, and uses GOptionContext

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

12 years agoUpdate Czech translation
Petr Kovar [Mon, 16 Apr 2012 13:21:17 +0000 (15:21 +0200)]
Update Czech translation

12 years agoupdate Simplified Chinese (zh_CN) translation
Yinghua Wang [Mon, 16 Apr 2012 06:06:56 +0000 (14:06 +0800)]
update Simplified Chinese (zh_CN) translation

12 years agoconfigure: Fix typo in ELF check
Rafał Mużyło [Sun, 15 Apr 2012 15:17:07 +0000 (11:17 -0400)]
configure: Fix typo in ELF check

Signed-off-by: Colin Walters <walters@verbum.org>
12 years agobuild: When cross compiling, don't require host binaries if tests are not enabled
Colin Walters [Thu, 12 Apr 2012 17:54:55 +0000 (13:54 -0400)]
build: When cross compiling, don't require host binaries if tests are not enabled

These binaries are now only used by the test suite.  glib-genmarshal
*used* to be required to generate marshallers, but isn't anymore now
that we use libffi (via g_cclosure_marshal_generic).

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

12 years agobuild: Add --disable-modular-tests build option
Colin Walters [Fri, 13 Jan 2012 15:09:10 +0000 (10:09 -0500)]
build: Add --disable-modular-tests build option

This patch solves two problems:

First, it allows builders to optionally cut the circular dependency
between dbus and glib by disabling the modular tests (just like how
the tests can be disabled in dbus).

Second, the tests are entirely pointless to build if cross-compiling.

It also moves us slightly closer to the long term future we want where
the tests are a separate ./configure invocation and run against the
INSTALLED glib, not the one in the source tree. This would allow us to
run the tests constantly, not just when glib is built.

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

12 years agoUpdated Russian translation
Yuri Myasoedov [Sat, 14 Apr 2012 20:27:04 +0000 (00:27 +0400)]
Updated Russian translation

12 years agofileinfo: document the correct type for trash::orig-path
Cosimo Cecchi [Fri, 13 Apr 2012 20:06:16 +0000 (16:06 -0400)]
fileinfo: document the correct type for trash::orig-path

The correct type for this attribute, as set by GVfs, is
G_FILE_ATTRIBUTE_TYPE_BYTE_STRING (which is the correct type for file
paths anyway).

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

12 years agoGDBusAuth: Handle when no there is no auth observer present
David Zeuthen [Sat, 14 Apr 2012 16:40:57 +0000 (12:40 -0400)]
GDBusAuth: Handle when no there is no auth observer present

I obviously fucked up when adding the ::allow-mechanism signal, sorry.

Signed-off-by: David Zeuthen <davidz@redhat.com>
12 years agoCheck that auth methods work and interoperate with libdbus-1
David Zeuthen [Thu, 12 Apr 2012 03:34:08 +0000 (23:34 -0400)]
Check that auth methods work and interoperate with libdbus-1

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

Signed-off-by: David Zeuthen <davidz@redhat.com>
12 years agoGSocketControlMessage: Don't warn about unknown messages
David Zeuthen [Sat, 14 Apr 2012 16:29:30 +0000 (12:29 -0400)]
GSocketControlMessage: Don't warn about unknown messages

If we do this, the tests added in bug 673943 will cause warnings.

Signed-off-by: David Zeuthen <davidz@redhat.com>
12 years agoGDBusAuthObserver: Add a way to control what authentication mechanisms to use
David Zeuthen [Thu, 12 Apr 2012 03:30:48 +0000 (23:30 -0400)]
GDBusAuthObserver: Add a way to control what authentication mechanisms to use

This is related to https://bugzilla.gnome.org/show_bug.cgi?id=673943
but also useful in a lot of other contexts.

12 years agoGDesktopAppInfo: add an accessor for StartupWMClass
Giovanni Campagna [Thu, 5 Apr 2012 21:26:12 +0000 (23:26 +0200)]
GDesktopAppInfo: add an accessor for StartupWMClass

Components using GIO to do window to application matching can
use that field to retrieve potential candidates.

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

12 years agoAdd version macros for 2.34
Giovanni Campagna [Mon, 9 Apr 2012 18:27:24 +0000 (20:27 +0200)]
Add version macros for 2.34

This marks the start of the new development cycle, and opens the
window for API additions.

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

12 years agoBump version
Matthias Clasen [Fri, 13 Apr 2012 23:54:42 +0000 (19:54 -0400)]
Bump version

12 years ago2.32.1 2.32.1
Matthias Clasen [Fri, 13 Apr 2012 23:53:42 +0000 (19:53 -0400)]
2.32.1

12 years agoFix distcheck
Matthias Clasen [Fri, 13 Apr 2012 22:51:23 +0000 (18:51 -0400)]
Fix distcheck

I forgot to dist a test script, and forgot to look for it
in srcdir instead of builddir.

12 years ago[l10n] Updated German translation
Christian Kirbach [Fri, 13 Apr 2012 17:39:19 +0000 (19:39 +0200)]
[l10n] Updated German translation

12 years agotests/mainloop: fix a race condition
Dan Winship [Fri, 13 Apr 2012 15:43:09 +0000 (11:43 -0400)]
tests/mainloop: fix a race condition

Rather than depending on the machine's speed/load, just interlock
between the two threads properly.

12 years agotests/mainloop: use g_assert_cmpint(), for better error messages
Dan Winship [Fri, 13 Apr 2012 15:42:39 +0000 (11:42 -0400)]
tests/mainloop: use g_assert_cmpint(), for better error messages

12 years agoMake the markup-parse test independent of the locale
Matthias Clasen [Fri, 13 Apr 2012 13:31:08 +0000 (09:31 -0400)]
Make the markup-parse test independent of the locale

I added a setlocale call, because we need it for Unicode to
come out right; but I forgot to fix the locale, so we now
fail when comparing error messages to the expected (English)
result. Correct this by setting LANG explicitly to en_US.utf-8.

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

12 years agoUpdated British English translation
Bruce Cowan [Fri, 13 Apr 2012 12:27:39 +0000 (13:27 +0100)]
Updated British English translation

12 years agoGResource docs: fix typo
Kalev Lember [Fri, 13 Apr 2012 10:22:46 +0000 (13:22 +0300)]
GResource docs: fix typo

12 years agoGSettings docs: clarify what is a good path
Ryan Lortie [Fri, 13 Apr 2012 00:04:32 +0000 (20:04 -0400)]
GSettings docs: clarify what is a good path

Add an explicit note to the docs about choosing paths based on domain
names, not ones like "/apps/", "/desktop/" or "/system/".

12 years agoglib-compile-schemas: warn about bad dconf paths
Ryan Lortie [Thu, 12 Apr 2012 23:55:34 +0000 (19:55 -0400)]
glib-compile-schemas: warn about bad dconf paths

For quite some time the recommended usage of GSettings and dconf has
been to use paths like /org/gnome/example/.  Use of /apps/ has spilled
over from GConf and is continuing to make its way into a number of
applications as they port.

glib-compile-schemas will now warn about these types of paths being
used.  This generates a lot of noise, but hopefully it will reduce the
number of ported applications making this mistake.

12 years agoFall back to SO_PEERCRED if credentials passing fails
Alexander Larsson [Thu, 12 Apr 2012 14:50:20 +0000 (16:50 +0200)]
Fall back to SO_PEERCRED if credentials passing fails

Turns out libdbus doesn't send struct ucred credentials on linux, but
just relies on the SO_PEERCRED support. However, gdbus does send, and
expect to recieve a ucred credential. So, when libdbus talks to a
gdbus server the authentication fails to send the credentials.

We fix this by falling back to g_socket_get_credentials() if we don't
get any credential messages.

12 years agoDetect "empty" socket credentials on Linux
Alexander Larsson [Thu, 12 Apr 2012 14:43:49 +0000 (16:43 +0200)]
Detect "empty" socket credentials on Linux

Linux uses struct ucred to pass over socket credentials. Historically
this has always worked in recievemsg, if SO_PASSCRED was set on the socket,
even if the remote side didn't pass any credits. But this change broke that:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=16e5726269611b71c930054ffe9b858c1cea88eb;hp=a9e9fd7182332d0cf5f3e601df3e71dd431b70d7

However, it doesn't actually fail getting the credentials, it just returns
an "empty" one, as initialized by cred_to_ucred() at:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=net/core/sock.c;h=b29ab61b029cf7f76fda992ecfcb8dcaa06b0483;#l756

So, we detect this and fail the credentials reading.

This actually happened in real life with gdbus acting as a server, as
gdbus expected an ucred but libdbus didn't send one.

12 years agoBe more precise about Carbon v. Cocoa.
William Hua [Thu, 12 Apr 2012 03:25:09 +0000 (23:25 -0400)]
Be more precise about Carbon v. Cocoa.

12 years ago[l10n] Update Japanese translation
OKANO Takayoshi [Thu, 12 Apr 2012 00:30:05 +0000 (09:30 +0900)]
[l10n] Update Japanese translation

12 years agogio-2.0.pc: Avoid full path to executables
Kalev Lember [Wed, 11 Apr 2012 13:41:48 +0000 (16:41 +0300)]
gio-2.0.pc: Avoid full path to executables

Instead of using full path in glib_compile_schemas and
glib_compile_resources variables, rely on having the executables in
PATH.

This fixes the cross-compiling case where we cannot execute the binaries
for target system. Instead of executing the target system's binaries, we
need to use the native versions installed on the build host. The easiest
way to find the native executables is to just pick them up from PATH.

In addition, this brings gio-2.0.pc in line with glib-2.0.pc -- the
latter has historically only listed the executable name and not the full
path.

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

12 years agoDon't use fast enumeration in old version of Mac OS.
Jeremy Huddleston [Wed, 11 Apr 2012 06:05:00 +0000 (02:05 -0400)]
Don't use fast enumeration in old version of Mac OS.

Signed-off-by: William Hua <william@attente.ca>
12 years agoLink with Foundation framework on OSX.
Jeremy Huddleston [Wed, 11 Apr 2012 05:44:29 +0000 (01:44 -0400)]
Link with Foundation framework on OSX.

Signed-off-by: William Hua <william@attente.ca>
12 years agoUpdated French translation
Bruno Brouard [Wed, 11 Apr 2012 12:53:22 +0000 (14:53 +0200)]
Updated French translation

12 years agoUpdated HINDI translation
Chandan Kumar (ciypro) [Wed, 11 Apr 2012 10:55:22 +0000 (16:25 +0530)]
Updated HINDI translation

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Wed, 11 Apr 2012 10:41:51 +0000 (12:41 +0200)]
Updated Norwegian bokmål translation

12 years agoUpdates
Matthias Clasen [Wed, 11 Apr 2012 03:52:30 +0000 (23:52 -0400)]
Updates

12 years ago[l10n]Updated Catalan (Valencian) translation
Carles Ferrando [Tue, 10 Apr 2012 21:12:29 +0000 (23:12 +0200)]
[l10n]Updated Catalan (Valencian) translation

12 years ago[l10n] Fixes on Catalan translation
Jordi Serratosa [Tue, 10 Apr 2012 21:12:23 +0000 (23:12 +0200)]
[l10n] Fixes on Catalan translation

12 years agogdbus: test case for 673612
Will Thompson [Fri, 6 Apr 2012 09:03:29 +0000 (10:03 +0100)]
gdbus: test case for 673612

When presented with an array of empty arrays of 8-byte-aligned types,
GDBus would incorrectly apply the 8-byte alignment when reading back.

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

Signed-off-by: David Zeuthen <davidz@redhat.com>
12 years agoGDBusMessage: do not align for grandchildren of empty arrays.
Will Thompson [Tue, 10 Apr 2012 12:20:09 +0000 (13:20 +0100)]
GDBusMessage: do not align for grandchildren of empty arrays.

D-Bus arrays are serialized as follows:

1. align to a 4-byte boundary (for the length)
2. uint32: the length of the serialized body in bytes
3. padding for the alignment of the body type (not included in the length)
4. the body.

Note that 3. is a no-op unless the body type is an 8-byte aligned type
(uint64, int64, double, struct, dict_entry), since you are always on a
4-byte boundary from aligning and writing the length.

So, an empty aax (that is, an array containing zero arrays of int64)
is serialized as follows:

1. align to a 4-byte boundary
2. length of the contents of this (empty) array, in bytes (0)
3. align to a 4-byte boundary (the child array's alignment requirement)
4. there is no body.

But previously, GDBus would recurse in step three to align not just for
the type of the child array, but for the nonexistent child array's
contents. This only affects the algorithm when the grandchild type has
8-byte alignment and the reader happened to not already be on an 8-byte
boundary, in which case 4 bytes were spuriously skipped.

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

Signed-off-by: David Zeuthen <davidz@redhat.com>
12 years agoGDBusMessage: print more debug info about alignment
Will Thompson [Tue, 10 Apr 2012 11:58:52 +0000 (12:58 +0100)]
GDBusMessage: print more debug info about alignment

Signed-off-by: David Zeuthen <davidz@redhat.com>
12 years agoUpdated Hebrew translation.
Yaron Shahrabani [Tue, 10 Apr 2012 17:06:51 +0000 (20:06 +0300)]
Updated Hebrew translation.

12 years agoUpdated Serbian translation
Мирослав Николић [Tue, 10 Apr 2012 09:06:03 +0000 (11:06 +0200)]
Updated Serbian translation

12 years agogclosure: Support return values of GVariants
Jasper St. Pierre [Mon, 9 Apr 2012 23:07:13 +0000 (20:07 -0300)]
gclosure: Support return values of GVariants

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

12 years agotests: always use four digit years for date parsing tests
Cosimo Cecchi [Mon, 9 Apr 2012 19:47:29 +0000 (15:47 -0400)]
tests: always use four digit years for date parsing tests

Or some system with different locale settings might get confused whether
a two digit year is to be parsed with regard to the current century or
as an absolute year.

12 years agoUpdated Lithuanian translation
Aurimas Černius [Mon, 9 Apr 2012 18:52:10 +0000 (21:52 +0300)]
Updated Lithuanian translation

12 years agoUpdated POTFILES.skip
Piotr Drąg [Mon, 9 Apr 2012 15:24:00 +0000 (17:24 +0200)]
Updated POTFILES.skip

12 years agoUpdated Galician translations
Fran Diéguez [Sun, 8 Apr 2012 19:56:22 +0000 (21:56 +0200)]
Updated Galician translations

12 years agobinding: Improve test coverage
Matthias Clasen [Sun, 8 Apr 2012 14:23:16 +0000 (10:23 -0400)]
binding: Improve test coverage

12 years agospawn: Improve test coverage
Matthias Clasen [Sun, 8 Apr 2012 14:21:50 +0000 (10:21 -0400)]
spawn: Improve test coverage

Add a test that excercises the script execution code.
Unfortunately, much of this code only runs in the forked
child, and therefore its execution does not get caught
by gcov.

12 years agomainloop: Improve test coverage
Matthias Clasen [Sun, 8 Apr 2012 14:21:27 +0000 (10:21 -0400)]
mainloop: Improve test coverage

12 years agosettings: Improve test coverage
Matthias Clasen [Sun, 8 Apr 2012 14:20:46 +0000 (10:20 -0400)]
settings: Improve test coverage

12 years agogdbusserver: Improve test coverage
Matthias Clasen [Sun, 8 Apr 2012 14:20:10 +0000 (10:20 -0400)]
gdbusserver: Improve test coverage

12 years agoicon: Improve test coverage
Matthias Clasen [Sun, 8 Apr 2012 14:19:20 +0000 (10:19 -0400)]
icon: Improve test coverage

12 years agocontenttype: Improve test coverage
Matthias Clasen [Sun, 8 Apr 2012 14:17:32 +0000 (10:17 -0400)]
contenttype: Improve test coverage

Excercise more parts of the guessing machinery.
These tests rely on the mime database being present.

12 years agonetworkaddress: Improve test coverage
Matthias Clasen [Sun, 8 Apr 2012 14:17:04 +0000 (10:17 -0400)]
networkaddress: Improve test coverage

12 years agonetworkaddress: Fix userinfo parsing in uris
Matthias Clasen [Sun, 8 Apr 2012 14:15:29 +0000 (10:15 -0400)]
networkaddress: Fix userinfo parsing in uris

The code that is checking the userinfo part was accidentally
given a pointer to the end of the userinfo, so it was not
checking the right portion of the string at all.

12 years agoutils: Improve test coverage
Matthias Clasen [Sat, 7 Apr 2012 15:32:36 +0000 (11:32 -0400)]
utils: Improve test coverage

Add a test for some of our gettext variants.

12 years agofileutils: Improve test coverage
Matthias Clasen [Sat, 7 Apr 2012 15:28:42 +0000 (11:28 -0400)]
fileutils: Improve test coverage

Add tests for corner cases of g_path_get_basename, and
for the errno-to-file-error conversion.

12 years agosort: Improve test coverage
Matthias Clasen [Sat, 7 Apr 2012 15:28:04 +0000 (11:28 -0400)]
sort: Improve test coverage

Test the code paths that sort 'large' items.

12 years agodate: Improve test coverage
Matthias Clasen [Sat, 7 Apr 2012 15:27:15 +0000 (11:27 -0400)]
date: Improve test coverage

Add tests that exercise g_date_order, g_date_compare, g_date_clamp,
and more of the date parsing functions.

12 years agoconvert: Improve test coverage
Matthias Clasen [Sat, 7 Apr 2012 15:23:47 +0000 (11:23 -0400)]
convert: Improve test coverage

Add a test that excercises the 'no conversion' code path.
This uncovered that we don't treat errno properly in this path,
and as a consequence, the returned error code is unreliable.

12 years agocollate: Improve test coverage
Matthias Clasen [Sat, 7 Apr 2012 15:22:13 +0000 (11:22 -0400)]
collate: Improve test coverage

Add some strings that exercise the non-ASCII parts of our
collation support.

12 years agoMake the dbus menu tests independent from the session bus
Matthias Clasen [Sat, 7 Apr 2012 15:21:09 +0000 (11:21 -0400)]
Make the dbus menu tests independent from the session bus

With this change,
DBUS_SESSION_BUS_ADDRESS= make check
succeed here.

12 years agoifdef out some unused code
Matthias Clasen [Sat, 7 Apr 2012 15:20:01 +0000 (11:20 -0400)]
ifdef out some unused code

Nothing wrong with leaving debug spew in the code, but we should
not build it if it is not used.

12 years agoUpdated Polish translation
Piotr Drąg [Sun, 8 Apr 2012 11:13:53 +0000 (13:13 +0200)]
Updated Polish translation

12 years agoUpdated Bulgarian translation
Alexander Shopov [Sat, 7 Apr 2012 17:58:19 +0000 (20:58 +0300)]
Updated Bulgarian translation

12 years agoFormatting cleanup
Matthias Clasen [Sat, 7 Apr 2012 01:22:17 +0000 (21:22 -0400)]
Formatting cleanup

12 years agoAlways use '/' in test paths
Matthias Clasen [Sat, 7 Apr 2012 00:50:34 +0000 (20:50 -0400)]
Always use '/' in test paths

It does not make much sense to use a platform-dependent
directory separator in these strings, since they are not
filesystem paths.

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

12 years agoDon't return values from void functions
Matthias Clasen [Sat, 7 Apr 2012 00:41:19 +0000 (20:41 -0400)]
Don't return values from void functions

Sun CC does not take that lightly.

12 years agoRevert "GDesktopAppInfo: add an accessor for StartupWMClass"
Matthias Clasen [Fri, 6 Apr 2012 23:15:53 +0000 (19:15 -0400)]
Revert "GDesktopAppInfo: add an accessor for StartupWMClass"

This reverts commit 3ccc4cf91d4ee20df4207f04d3344ee33f1b5c94.

12 years agoGDesktopAppInfo: add an accessor for StartupWMClass
Giovanni Campagna [Thu, 5 Apr 2012 21:26:12 +0000 (23:26 +0200)]
GDesktopAppInfo: add an accessor for StartupWMClass

Components using GIO to do window to application matching can
use that field to retrieve potential candidates.

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

12 years agogchecksum: fix strict-aliasing warnings in the MD5 code
Dan Winship [Wed, 4 Apr 2012 14:21:24 +0000 (10:21 -0400)]
gchecksum: fix strict-aliasing warnings in the MD5 code

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

12 years agoUpdated Telugu Translation
Sasi Bhushan [Thu, 5 Apr 2012 13:53:08 +0000 (19:23 +0530)]
Updated Telugu Translation

12 years agoFix malformed GTK-Doc comment blocks: remove repeated comment blocks.
Dieter Verfaillie [Tue, 3 Apr 2012 11:20:01 +0000 (13:20 +0200)]
Fix malformed GTK-Doc comment blocks: remove repeated comment blocks.

gio/gproxyresolver.h: GProxyResolver already documented in gio/giotypes.h
gio/gtlsbackend.h: GTlsBackend already documented in gio/gtlsbackend.c
gio/gtlsclientconnection.h: GTlsClientConnection already documented in gio/gtlsclientconnection.c
gio/gtlsconnection.h: GTlsConnection already documented in gio/gtlsconnection.c
gio/gunixconnection.h: GTcpConnection already documented in gio/giotypes.h
glib/gversion.h: GLIB_CHECK_VERSION already documented in glib/gversion.c

Found these thanks to the improved gobject-introspection
GTK-Doc comment block/annotation parser.
See https://bugzilla.gnome.org/show_bug.cgi?id=672254

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

12 years agoFix malformed GTK-Doc comment blocks: don't confuse GTK-Doc parsers.
Dieter Verfaillie [Tue, 3 Apr 2012 08:56:29 +0000 (10:56 +0200)]
Fix malformed GTK-Doc comment blocks: don't confuse GTK-Doc parsers.

Found these thanks to the improved gobject-introspection
GTK-Doc comment block/annotation parser.
See https://bugzilla.gnome.org/show_bug.cgi?id=672254

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

12 years agoFix malformed GTK-Doc comment blocks: invalid parameters and tags.
Dieter Verfaillie [Tue, 3 Apr 2012 18:17:00 +0000 (20:17 +0200)]
Fix malformed GTK-Doc comment blocks: invalid parameters and tags.

Found these thanks to the improved gobject-introspection
GTK-Doc comment block/annotation parser.
See https://bugzilla.gnome.org/show_bug.cgi?id=672254

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

12 years agoFix malformed GTK-Doc comment blocks: correct struct name.
Dieter Verfaillie [Mon, 2 Apr 2012 15:03:56 +0000 (17:03 +0200)]
Fix malformed GTK-Doc comment blocks: correct struct name.

Found these thanks to improved gobject-introspection GTK-Doc
comment block/annotation parser from:
https://bugzilla.gnome.org/show_bug.cgi?id=672254

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

12 years agoFix malformed GTK-Doc comment blocks: mutliline annotations are invalid.
Dieter Verfaillie [Mon, 2 Apr 2012 15:02:15 +0000 (17:02 +0200)]
Fix malformed GTK-Doc comment blocks: mutliline annotations are invalid.

Found these thanks to improved gobject-introspection GTK-Doc
comment block/annotation parser from:
https://bugzilla.gnome.org/show_bug.cgi?id=672254

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

12 years agoFix malformed GTK-Doc comment blocks: unmark non GTK-Doc comment block.
Dieter Verfaillie [Mon, 2 Apr 2012 15:01:32 +0000 (17:01 +0200)]
Fix malformed GTK-Doc comment blocks: unmark non GTK-Doc comment block.

Found these thanks to improved gobject-introspection GTK-Doc
comment block/annotation parser from:
https://bugzilla.gnome.org/show_bug.cgi?id=672254

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

12 years agoFix malformed GTK-Doc comment blocks: add missing colons.
Dieter Verfaillie [Mon, 2 Apr 2012 15:16:35 +0000 (17:16 +0200)]
Fix malformed GTK-Doc comment blocks: add missing colons.

Found these thanks to improved gobject-introspection GTK-Doc
comment block/annotation parser from:
https://bugzilla.gnome.org/show_bug.cgi?id=672254

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

12 years agoUpdated Belarusian translation.
Ihar Hrachyshka [Thu, 5 Apr 2012 12:25:42 +0000 (15:25 +0300)]
Updated Belarusian translation.

12 years agogobject/tests/signals.c: Remove C99ism
Chun-wei Fan [Thu, 5 Apr 2012 07:46:34 +0000 (15:46 +0800)]
gobject/tests/signals.c: Remove C99ism

Declare variables in start of block.

12 years agoUpdate GLib Visual C++ projects
Chun-wei Fan [Thu, 5 Apr 2012 07:45:38 +0000 (15:45 +0800)]
Update GLib Visual C++ projects

Some of the bundled PCRE source files are removed as they are not needed
anymore (please see commit e7c0f10e), so don't include them in the projects

12 years agoFix some gtk-doc stuff
Dan Winship [Wed, 4 Apr 2012 19:22:15 +0000 (15:22 -0400)]
Fix some gtk-doc stuff

12 years agoSwitch to using a mainloop when waiting for connection close
Matthias Clasen [Wed, 4 Apr 2012 18:56:17 +0000 (14:56 -0400)]
Switch to using a mainloop when waiting for connection close

GDBus heavily relies on idles for some of its cleanup operations,
and not running a mainloop leads to things not getting cleaned
up properly, which in turn leads to test failures, since the
session bus singleton does not get removed.

12 years agoImprove GApplication tests
Matthias Clasen [Wed, 4 Apr 2012 18:39:17 +0000 (14:39 -0400)]
Improve GApplication tests

Make GApplication tests manage their dbus connections.

12 years agoMake basic-application test more robust
Matthias Clasen [Wed, 4 Apr 2012 10:38:36 +0000 (06:38 -0400)]
Make basic-application test more robust

This program is only used indirectly from gapplication.c in
tests, but that is no reason to let it segfault when it is
run from the commandline without arguments.

12 years agoGActionMap: correct critical warnings
Matthias Clasen [Wed, 4 Apr 2012 10:36:45 +0000 (06:36 -0400)]
GActionMap: correct critical warnings

These warnings were copied from GSimpleActionGroup, but the function
names were not updated. Correct that.

12 years agoAdd tests for action-related gapplication api
Matthias Clasen [Wed, 4 Apr 2012 01:52:45 +0000 (21:52 -0400)]
Add tests for action-related gapplication api

12 years agoAdd a test for g_application_quit
Matthias Clasen [Wed, 4 Apr 2012 01:39:06 +0000 (21:39 -0400)]
Add a  test for g_application_quit

12 years agoImprove keyfile test coverage
Matthias Clasen [Tue, 3 Apr 2012 05:43:45 +0000 (01:43 -0400)]
Improve keyfile test coverage

12 years agoRemove a bit of unused code
Matthias Clasen [Tue, 3 Apr 2012 05:42:21 +0000 (01:42 -0400)]
Remove a bit of unused code

_g_utf8_strwidth is always called with max == -1, so remove the
parameter and update all callers.

12 years agoImprove test coverage
Matthias Clasen [Tue, 3 Apr 2012 05:09:39 +0000 (01:09 -0400)]
Improve test coverage

Add tests for all the suffixes in g_format_size.

12 years agotests/gdatetime: fix new_from_unix test
Dan Winship [Wed, 4 Apr 2012 18:38:18 +0000 (14:38 -0400)]
tests/gdatetime: fix new_from_unix test

When creating a struct tm for "1990-01-01T00:00:00" to pass to
mktime(), we have to set tm_isdst to -1; leaving it set to 0 will
result in the wrong time being generated when run in a timezone where
January 1 would normally be tm_isdst==1 (ie, in southern hemisphere
DST-observing countries, like Australia).

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

12 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 4 Apr 2012 15:18:59 +0000 (17:18 +0200)]
Updated Spanish translation

12 years agoUpdated Hungarian translation
Gabor Kelemen [Wed, 4 Apr 2012 15:02:04 +0000 (17:02 +0200)]
Updated Hungarian translation

12 years agoFix warnings caused by an ifdeffed-out test case
Dan Winship [Wed, 4 Apr 2012 14:47:04 +0000 (10:47 -0400)]
Fix warnings caused by an ifdeffed-out test case

12 years agoUpdated Slovenian translation
Matej Urbančič [Wed, 4 Apr 2012 11:42:44 +0000 (13:42 +0200)]
Updated Slovenian translation

12 years agoUse 'if test' for checking auto* variables' values
Rodrigo Moya [Wed, 4 Apr 2012 09:55:40 +0000 (11:55 +0200)]
Use 'if test' for checking auto* variables' values