Chandan Kumar (ciypro) [Wed, 11 Apr 2012 10:55:22 +0000 (16:25 +0530)]
Updated HINDI translation
Kjartan Maraas [Wed, 11 Apr 2012 10:41:51 +0000 (12:41 +0200)]
Updated Norwegian bokmål translation
Matthias Clasen [Wed, 11 Apr 2012 03:52:30 +0000 (23:52 -0400)]
Updates
Carles Ferrando [Tue, 10 Apr 2012 21:12:29 +0000 (23:12 +0200)]
[l10n]Updated Catalan (Valencian) translation
Jordi Serratosa [Tue, 10 Apr 2012 21:12:23 +0000 (23:12 +0200)]
[l10n] Fixes on Catalan translation
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>
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>
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>
Yaron Shahrabani [Tue, 10 Apr 2012 17:06:51 +0000 (20:06 +0300)]
Updated Hebrew translation.
Мирослав Николић [Tue, 10 Apr 2012 09:06:03 +0000 (11:06 +0200)]
Updated Serbian translation
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
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.
Aurimas Černius [Mon, 9 Apr 2012 18:52:10 +0000 (21:52 +0300)]
Updated Lithuanian translation
Piotr Drąg [Mon, 9 Apr 2012 15:24:00 +0000 (17:24 +0200)]
Updated POTFILES.skip
Fran Diéguez [Sun, 8 Apr 2012 19:56:22 +0000 (21:56 +0200)]
Updated Galician translations
Matthias Clasen [Sun, 8 Apr 2012 14:23:16 +0000 (10:23 -0400)]
binding: 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.
Matthias Clasen [Sun, 8 Apr 2012 14:21:27 +0000 (10:21 -0400)]
mainloop: Improve test coverage
Matthias Clasen [Sun, 8 Apr 2012 14:20:46 +0000 (10:20 -0400)]
settings: Improve test coverage
Matthias Clasen [Sun, 8 Apr 2012 14:20:10 +0000 (10:20 -0400)]
gdbusserver: Improve test coverage
Matthias Clasen [Sun, 8 Apr 2012 14:19:20 +0000 (10:19 -0400)]
icon: 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.
Matthias Clasen [Sun, 8 Apr 2012 14:17:04 +0000 (10:17 -0400)]
networkaddress: Improve test coverage
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.
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.
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.
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.
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.
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.
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.
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.
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.
Piotr Drąg [Sun, 8 Apr 2012 11:13:53 +0000 (13:13 +0200)]
Updated Polish translation
Alexander Shopov [Sat, 7 Apr 2012 17:58:19 +0000 (20:58 +0300)]
Updated Bulgarian translation
Matthias Clasen [Sat, 7 Apr 2012 01:22:17 +0000 (21:22 -0400)]
Formatting cleanup
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
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.
Matthias Clasen [Fri, 6 Apr 2012 23:15:53 +0000 (19:15 -0400)]
Revert "GDesktopAppInfo: add an accessor for StartupWMClass"
This reverts commit
3ccc4cf91d4ee20df4207f04d3344ee33f1b5c94.
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
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
Sasi Bhushan [Thu, 5 Apr 2012 13:53:08 +0000 (19:23 +0530)]
Updated Telugu Translation
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
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
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
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
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
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
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
Ihar Hrachyshka [Thu, 5 Apr 2012 12:25:42 +0000 (15:25 +0300)]
Updated Belarusian translation.
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.
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
Dan Winship [Wed, 4 Apr 2012 19:22:15 +0000 (15:22 -0400)]
Fix some gtk-doc stuff
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.
Matthias Clasen [Wed, 4 Apr 2012 18:39:17 +0000 (14:39 -0400)]
Improve GApplication tests
Make GApplication tests manage their dbus connections.
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.
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.
Matthias Clasen [Wed, 4 Apr 2012 01:52:45 +0000 (21:52 -0400)]
Add tests for action-related gapplication api
Matthias Clasen [Wed, 4 Apr 2012 01:39:06 +0000 (21:39 -0400)]
Add a test for g_application_quit
Matthias Clasen [Tue, 3 Apr 2012 05:43:45 +0000 (01:43 -0400)]
Improve keyfile test coverage
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.
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.
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
Daniel Mustieles [Wed, 4 Apr 2012 15:18:59 +0000 (17:18 +0200)]
Updated Spanish translation
Gabor Kelemen [Wed, 4 Apr 2012 15:02:04 +0000 (17:02 +0200)]
Updated Hungarian translation
Dan Winship [Wed, 4 Apr 2012 14:47:04 +0000 (10:47 -0400)]
Fix warnings caused by an ifdeffed-out test case
Matej Urbančič [Wed, 4 Apr 2012 11:42:44 +0000 (13:42 +0200)]
Updated Slovenian translation
Rodrigo Moya [Wed, 4 Apr 2012 09:55:40 +0000 (11:55 +0200)]
Use 'if test' for checking auto* variables' values
Rodrigo Moya [Wed, 4 Apr 2012 09:39:03 +0000 (11:39 +0200)]
Always include G_SOCKET_FAMILY_UNIX value in GSocketFamily
This is needed because glib-mkenums doesn't handle #ifdef values in
enums, and so it needs to have all values always defined in the enum.
When not available, define the missing values to a negative value.
Guillaume Desmottes [Tue, 3 Apr 2012 14:37:22 +0000 (16:37 +0200)]
use GLIB_DEPRECATED_IN_2_32_FOR to deprecate g_value_{g,s}et_schar
https://bugzilla.gnome.org/show_bug.cgi?id=673439
Will Thompson [Fri, 30 Mar 2012 13:44:05 +0000 (14:44 +0100)]
g_input_stream_read[_finish]: document returning 0 on EOF
g_input_stream_read() does state that it returns 0 on end of file, but
not in the Returns: line, so it's easy to miss on a quick skim-read.
g_input_stream_read_async() documents that g_input_stream_read_finish()
returns 0 on end of file, but g_input_stream_read_finish() itself does
not.
https://bugzilla.gnome.org/show_bug.cgi?id=673174
Matthias Clasen [Mon, 2 Apr 2012 12:53:20 +0000 (08:53 -0400)]
Rework the libelf configure checks one more time
It seems that there is quite a bit of variation out there, in
terms of libelf versions and API. Make the checks more thorough,
by not only checking for elf_begin, but also some of the shdr function
that we need. Also, explicitly check for libelf.h.
This should address bug 673132 and 673253.
Matthias Clasen [Mon, 2 Apr 2012 12:00:48 +0000 (08:00 -0400)]
Use new hashset api in the hash set tests
Matthias Clasen [Mon, 2 Apr 2012 11:59:55 +0000 (07:59 -0400)]
Dispose test object
While not very important, it means one less untested function
in the coverage report.
Matthias Clasen [Mon, 2 Apr 2012 11:59:23 +0000 (07:59 -0400)]
Drop g_thread_init from tests
This is not needed anymore.
Matthias Clasen [Mon, 2 Apr 2012 11:37:55 +0000 (07:37 -0400)]
Improve GBusObjectManager test coverage
David King [Mon, 2 Apr 2012 09:22:56 +0000 (10:22 +0100)]
docs: Fix typo in glib-compile-schemas man page
Matthias Clasen [Mon, 2 Apr 2012 03:04:59 +0000 (23:04 -0400)]
Improve boxed test coverage
This commit add basic tests for all GLib types that are registered
as boxed types.
Matthias Clasen [Mon, 2 Apr 2012 02:04:08 +0000 (22:04 -0400)]
Drop some unused PCRE sources
There is no point in compiling these, since we are not calling
any of the functions in them.
Daniel Nylander [Sun, 1 Apr 2012 11:11:33 +0000 (13:11 +0200)]
Updated Swedish translation
Antoine Jacoutot [Sat, 31 Mar 2012 20:48:42 +0000 (22:48 +0200)]
gthread-posix: fix typo in error message
Antoine Jacoutot [Sat, 31 Mar 2012 18:20:19 +0000 (20:20 +0200)]
gresource: libelf, try pkg-config first then fall-back to AC_CHECK_LIB
On some systems gelf.h may not be stored under the top level include
directory in which case we need to add the correct include paths in
cflags by using pkg-config(1).
Robert Ancell [Sat, 24 Mar 2012 12:58:45 +0000 (23:58 +1100)]
Add missing allow-none annotations for function parameters.
Found using:
find . -name '*.c' | xargs grep 'or %NULL' | grep ' \* @' | grep -v '@error' | grep -v allow-none
Matthias Clasen [Fri, 30 Mar 2012 21:34:37 +0000 (17:34 -0400)]
Fix a link
As pointed out in bug 673139, the link to the mailing list
information page was outdated.
ManojKumar Giri [Fri, 30 Mar 2012 12:38:23 +0000 (18:08 +0530)]
Updated Odia Translation
Christian Persch [Thu, 22 Mar 2012 13:01:40 +0000 (14:01 +0100)]
resources: compiler: Respect absolute paths
When a <file> already has an absolute path, use it directly instead of trying to
locate it in the --sourcedir directories.
https://bugzilla.gnome.org/show_bug.cgi?id=672541
Kalev Lember [Wed, 28 Mar 2012 09:42:49 +0000 (12:42 +0300)]
configure: Fix alignment tests when cross compiling
When inserting custom code to AC_CHECK_ALIGNOF, make sure to not replace
the default includes, but instead append to them.
This fixes ALIGNOF_GUINT32 and ALIGNOF_GUINT64 that were both 0 when cross
compiling. The third 'unsigned long' test wasn't affected because the
AC_CHECK_ALIGNOF call didn't specify the optional 2nd parameter.
Chun-wei Fan [Wed, 28 Mar 2012 07:12:04 +0000 (15:12 +0800)]
Fix gspawn-win32-helper Visual C++ projects
The name of the executable for the Release|Win32 and Release|x64 configs
were mixed up. Fix that. DOH! for not noting this earlier.
Chun-wei Fan [Wed, 28 Mar 2012 06:57:12 +0000 (14:57 +0800)]
Fix VS property sheets
We need to accomodate for gspawn-win64-helper-console.exe for the "install"
phase too.
Daniel Mustieles [Tue, 27 Mar 2012 19:24:37 +0000 (21:24 +0200)]
Updated Spanish translation
Dan Winship [Tue, 27 Mar 2012 16:45:27 +0000 (12:45 -0400)]
GFileMonitor: fix docs bug
Sandeep Sheshrao Shedmake [Tue, 27 Mar 2012 09:34:14 +0000 (15:04 +0530)]
Updated Marathi Translations
Bastien Nocera [Tue, 27 Mar 2012 09:01:00 +0000 (11:01 +0200)]
all: s/availible/available/
Rajesh Ranjan [Tue, 27 Mar 2012 06:52:39 +0000 (12:22 +0530)]
hindi translation by Chandan Kumar
Sandeep Sheshrao Shedmake [Mon, 26 Mar 2012 14:18:20 +0000 (19:48 +0530)]
Updated Marathi Translations
ManojKumar Giri [Mon, 26 Mar 2012 13:12:41 +0000 (18:42 +0530)]
Updated Odia Translation
Marek Černocký [Mon, 26 Mar 2012 12:49:18 +0000 (14:49 +0200)]
Updated Czech translation
Rudolfs Mazurs [Sun, 25 Mar 2012 12:05:26 +0000 (15:05 +0300)]
Updated Latvian translation.
Luca Ferretti [Sun, 25 Mar 2012 11:14:47 +0000 (13:14 +0200)]
[l10n] Updated Italian translation
Shankar Prasad [Sun, 25 Mar 2012 07:56:17 +0000 (13:26 +0530)]
Updated Kannada Translation
Shankar Prasad [Sun, 25 Mar 2012 07:54:31 +0000 (13:24 +0530)]
Updated Kannada Translation