platform/upstream/glib.git
10 years agoMake timeval tests independent of the environment
Matthias Clasen [Thu, 2 Jan 2014 02:39:51 +0000 (21:39 -0500)]
Make timeval tests independent of the environment

Some of the tested formats are locale-dependent, so unset
the TZ environment variable before testing them.

10 years agoMSVC 2012 Projects: Rename a Property Sheet
Chun-wei Fan [Thu, 2 Jan 2014 01:54:18 +0000 (09:54 +0800)]
MSVC 2012 Projects: Rename a Property Sheet

Forgot to update the property sheet file name from the Visual Studio 2010
update... Sorry!

10 years agoFix races in unix signal dispatch
Ryan Lortie [Tue, 29 Oct 2013 18:11:28 +0000 (11:11 -0700)]
Fix races in unix signal dispatch

Fix some races introduced in be2c7b83c4a9c9d3aa76b1499c27ab19e0f4e470
while keeping the property that multiple handlers for the same unix
signal all get dispatched.

Also fix the behaviour of the source checking for pending signals when
it's created.  No matter what we do here (clear the pending flag or not)
there is something that can go wrong.

If we clear the flag, we may prevent other sources from being
dispatched.  If we don't clear it, we may end up dispatching the same
source twice (if we manage to dispatch it from its own thread before the
GLib worker has a chance to run).

Instead, run the full dispatch procedure when a new source is added.  It
actually doesn't matter what thread this runs in since the lock is held.

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

10 years agogio/tests: Fix usage of BUILT_SOURCES
Colin Walters [Thu, 2 Jan 2014 00:05:34 +0000 (19:05 -0500)]
gio/tests: Fix usage of BUILT_SOURCES

10 years agoFix doc build
Yosef Or Boczko [Wed, 1 Jan 2014 23:40:26 +0000 (01:40 +0200)]
Fix doc build

10 years agoImprove gutils.c test coverage
Matthias Clasen [Wed, 1 Jan 2014 22:42:33 +0000 (17:42 -0500)]
Improve gutils.c test coverage

10 years agoImprove GDate test coverage
Matthias Clasen [Wed, 1 Jan 2014 22:41:59 +0000 (17:41 -0500)]
Improve GDate test coverage

10 years agoImprove GIOChannel test coverage
Matthias Clasen [Tue, 31 Dec 2013 14:19:50 +0000 (09:19 -0500)]
Improve GIOChannel test coverage

10 years agoImprove hostutils test coverage
Matthias Clasen [Tue, 31 Dec 2013 14:19:22 +0000 (09:19 -0500)]
Improve hostutils test coverage

10 years agoImprove GVariant test coverage
Matthias Clasen [Tue, 31 Dec 2013 14:18:50 +0000 (09:18 -0500)]
Improve GVariant test coverage

10 years agoTest stdio wrappers
Matthias Clasen [Tue, 31 Dec 2013 14:18:30 +0000 (09:18 -0500)]
Test stdio wrappers

10 years agoTrivial typo fix
Matthias Clasen [Tue, 31 Dec 2013 01:18:15 +0000 (20:18 -0500)]
Trivial typo fix

10 years agoImprove charset test coverage
Matthias Clasen [Mon, 30 Dec 2013 15:55:07 +0000 (10:55 -0500)]
Improve charset test coverage

10 years agoAdd tests for g_malloc
Matthias Clasen [Mon, 30 Dec 2013 15:54:46 +0000 (10:54 -0500)]
Add tests for g_malloc

10 years agoDrop memory-related trap variables
Matthias Clasen [Mon, 30 Dec 2013 15:53:32 +0000 (10:53 -0500)]
Drop memory-related trap variables

These are just more lo-tech conditional breakpoint wannabes.
Debuggers can be trusted to support conditional breakpoints
nowadays.

10 years agoImprove GAsyncQueue test coverage
Matthias Clasen [Mon, 30 Dec 2013 14:49:30 +0000 (09:49 -0500)]
Improve GAsyncQueue test coverage

10 years agoImprove test coverage of g_utf8_collate_key_for_filename
Matthias Clasen [Mon, 30 Dec 2013 14:48:56 +0000 (09:48 -0500)]
Improve test coverage of g_utf8_collate_key_for_filename

The existing tests were accidentally using the same test data
twice. Fix that, and add another set of tests that exercise
the filename collation special cases.

10 years agoAdd tests for g_spaced_primes_closest
Matthias Clasen [Mon, 30 Dec 2013 14:48:29 +0000 (09:48 -0500)]
Add tests for g_spaced_primes_closest

10 years agoImprove GOptionContext test coverage
Matthias Clasen [Mon, 30 Dec 2013 14:48:10 +0000 (09:48 -0500)]
Improve GOptionContext test coverage

10 years agoImprove GBookmarkFile test coverage
Matthias Clasen [Mon, 30 Dec 2013 14:47:49 +0000 (09:47 -0500)]
Improve GBookmarkFile test coverage

10 years agoGBookmarkFile: Streamline error handling a bit
Matthias Clasen [Tue, 31 Dec 2013 17:45:09 +0000 (12:45 -0500)]
GBookmarkFile: Streamline error handling a bit

10 years agoGBookmarkFile: Remove dead code
Matthias Clasen [Tue, 31 Dec 2013 17:48:05 +0000 (12:48 -0500)]
GBookmarkFile: Remove dead code

The icon element is actually parsed further up, and this
case is never hit, so remove it.

10 years agoMake a bookmark testfile roundtrippable
Matthias Clasen [Mon, 30 Dec 2013 14:45:53 +0000 (09:45 -0500)]
Make a bookmark testfile roundtrippable

This will be used in new tests in the following commit.

10 years agoTrivial formatting fixes
Matthias Clasen [Mon, 30 Dec 2013 13:57:04 +0000 (08:57 -0500)]
Trivial formatting fixes

10 years agoImprove glib-unix test coverage
Matthias Clasen [Sun, 29 Dec 2013 18:47:43 +0000 (13:47 -0500)]
Improve glib-unix test coverage

10 years agoImprove GHashTable test coverage
Matthias Clasen [Sun, 29 Dec 2013 18:46:00 +0000 (13:46 -0500)]
Improve GHashTable test coverage

10 years agoAdd a test for g_markup_parse_context_get_element_stack
Matthias Clasen [Sun, 29 Dec 2013 18:45:38 +0000 (13:45 -0500)]
Add a test for g_markup_parse_context_get_element_stack

10 years agoRemove broken attempt at parsing date-only
Matthias Clasen [Sun, 29 Dec 2013 18:43:28 +0000 (13:43 -0500)]
Remove broken attempt at parsing date-only

g_time_val_from_iso8601 was attempting to parse strings
having only a date, but failed to actually set the timeval
despite returning TRUE. Since the docs state that the function
only parses strings containing a date and a time, just return
FALSE in this case.

Also remove an incomplete testcase for this behaviour that was
just checking the boolean return value, but not timeval.

10 years agoAdd missing includes
Matthias Clasen [Sun, 29 Dec 2013 12:55:14 +0000 (07:55 -0500)]
Add missing includes

config.h needs to be included in every source file, first.

10 years agoImprove mainloop test coverage
Matthias Clasen [Sun, 29 Dec 2013 12:23:19 +0000 (07:23 -0500)]
Improve mainloop test coverage

10 years agoAdd tests for GTimer and GTimeVal
Matthias Clasen [Sun, 29 Dec 2013 12:23:01 +0000 (07:23 -0500)]
Add tests for GTimer and GTimeVal

10 years agoImprove GTree test coverage
Matthias Clasen [Thu, 26 Dec 2013 04:52:15 +0000 (23:52 -0500)]
Improve GTree test coverage

10 years agoImprove logging test coverage
Matthias Clasen [Thu, 26 Dec 2013 04:51:58 +0000 (23:51 -0500)]
Improve logging test coverage

10 years agoImprove testing test coverage
Matthias Clasen [Thu, 26 Dec 2013 04:51:26 +0000 (23:51 -0500)]
Improve testing test coverage

In particular, test the just-fixed g_test_trap_reached_timeout.

10 years agoFix g_test_trap_reached_timeout
Matthias Clasen [Thu, 26 Dec 2013 04:50:37 +0000 (23:50 -0500)]
Fix g_test_trap_reached_timeout

The function was returning the opposite of what the
documentation says.

10 years agoImprove GSlice test coverage
Matthias Clasen [Wed, 25 Dec 2013 04:35:31 +0000 (23:35 -0500)]
Improve GSlice test coverage

10 years agoImprove GNode test coverage
Matthias Clasen [Wed, 25 Dec 2013 04:33:28 +0000 (23:33 -0500)]
Improve GNode test coverage

10 years agoImprove fileutils test coverage
Matthias Clasen [Wed, 25 Dec 2013 04:26:25 +0000 (23:26 -0500)]
Improve fileutils test coverage

Add some tests for g_file_read_link.

10 years agoUnify error reporting in gfileutils.c
Matthias Clasen [Wed, 25 Dec 2013 04:24:40 +0000 (23:24 -0500)]
Unify error reporting in gfileutils.c

Use the set_file_error helper function in more places,
saving some 50 lines.

10 years agoImprove GResourceFile test coverage
Matthias Clasen [Tue, 24 Dec 2013 05:06:00 +0000 (00:06 -0500)]
Improve GResourceFile test coverage

10 years agoImprove gsettings test coverage
Matthias Clasen [Tue, 24 Dec 2013 05:05:36 +0000 (00:05 -0500)]
Improve gsettings test coverage

10 years agoImprove gdbus test coverage
Matthias Clasen [Tue, 24 Dec 2013 05:05:01 +0000 (00:05 -0500)]
Improve gdbus test coverage

10 years agoImprove converter test coverage
Matthias Clasen [Tue, 24 Dec 2013 05:04:44 +0000 (00:04 -0500)]
Improve converter test coverage

10 years agoAdd tests for remote actions
Matthias Clasen [Tue, 24 Dec 2013 05:04:14 +0000 (00:04 -0500)]
Add tests for remote actions

This improves the GApplication test coverage.

10 years agoImprove GIOModule test coverage
Matthias Clasen [Tue, 24 Dec 2013 05:03:20 +0000 (00:03 -0500)]
Improve GIOModule test coverage

Add a dedicated test for GIOModule.

10 years agoCorrect a doc comment
Matthias Clasen [Tue, 24 Dec 2013 05:01:22 +0000 (00:01 -0500)]
Correct a doc comment

10 years agoGIOModule: Add some more details to the docs
Matthias Clasen [Tue, 24 Dec 2013 04:59:56 +0000 (23:59 -0500)]
GIOModule: Add some more details to the docs

10 years agoFix a typo in a comment
Matthias Clasen [Tue, 24 Dec 2013 04:59:37 +0000 (23:59 -0500)]
Fix a typo in a comment

The D-Bus interface is org.freedesktop.DBus.Peer, not
org.freedesktop.DBus.

10 years agoAdd a generic property test
Matthias Clasen [Mon, 23 Dec 2013 20:47:45 +0000 (15:47 -0500)]
Add a generic property test

This test is inspired by its namesake in GTK+. We instantiate
all types, and check the default values of their properties,
with some exceptions for types that are known not to work.

10 years agoGTlsPassword: Make declared defaults match
Matthias Clasen [Mon, 23 Dec 2013 20:01:20 +0000 (15:01 -0500)]
GTlsPassword: Make declared defaults match

String properties typically start out with a value of NULL.
No reason to deviate from that convention here.

10 years agoMake GFileIcon more robust
Matthias Clasen [Mon, 23 Dec 2013 20:00:55 +0000 (15:00 -0500)]
Make GFileIcon more robust

No reason not to survive g_object_unref (g_object_new (...))

10 years agoMake GEmblem more robust
Matthias Clasen [Mon, 23 Dec 2013 20:00:18 +0000 (15:00 -0500)]
Make GEmblem more robust

No reason not to survive g_object_unref (g_object_new (...)).

10 years agoTrivial formatting fixes
Matthias Clasen [Mon, 23 Dec 2013 20:00:02 +0000 (15:00 -0500)]
Trivial formatting fixes

10 years agoAdd tests for x-content type sniffing
Matthias Clasen [Mon, 23 Dec 2013 17:11:03 +0000 (12:11 -0500)]
Add tests for x-content type sniffing

This test exercises the tree matching parts of gcontenttype.c

10 years agoSimplify fileattributematcher tests a bit
Matthias Clasen [Mon, 23 Dec 2013 17:09:46 +0000 (12:09 -0500)]
Simplify fileattributematcher tests a bit

Just use assertions instead of pretty-printed error messages.

10 years agoImprove GApplicationCommandline test coverage
Matthias Clasen [Mon, 23 Dec 2013 17:08:47 +0000 (12:08 -0500)]
Improve GApplicationCommandline test coverage

Add tests for many GApplicationCommandline apis to the
existing application tests.

10 years agoImprove GSubprocess test coverage
Matthias Clasen [Mon, 23 Dec 2013 17:08:08 +0000 (12:08 -0500)]
Improve GSubprocess test coverage

Test the synchronous communicate functions.

10 years agoImprove GInitable test coverage
Matthias Clasen [Mon, 23 Dec 2013 17:07:11 +0000 (12:07 -0500)]
Improve GInitable test coverage

This just adds a bit more variety to the uses of GInitiable
in other tests.

10 years agogobject.py: Simplify or_join_array
Jasper St. Pierre [Thu, 19 Sep 2013 19:41:09 +0000 (15:41 -0400)]
gobject.py: Simplify or_join_array

10 years agogobject.py: Simplify and reduce code a bit
Jasper St. Pierre [Thu, 19 Sep 2013 19:24:16 +0000 (15:24 -0400)]
gobject.py: Simplify and reduce code a bit

10 years agogobject.py: Remove old hack for stripping IA__ symbols
Jasper St. Pierre [Thu, 19 Sep 2013 18:59:44 +0000 (14:59 -0400)]
gobject.py: Remove old hack for stripping IA__ symbols

We don't use IA__ symbols anymore; they've been replaced with -Bsymbolic

10 years agogobject.py: Fix indentation
Jasper St. Pierre [Thu, 19 Sep 2013 15:55:47 +0000 (11:55 -0400)]
gobject.py: Fix indentation

10 years agocodegen: direction defaults to "in"
Jasper St. Pierre [Tue, 31 Dec 2013 20:13:06 +0000 (15:13 -0500)]
codegen: direction defaults to "in"

10 years agodocs: fix a typo
Michael Catanzaro [Sun, 29 Dec 2013 20:20:13 +0000 (14:20 -0600)]
docs: fix a typo

10 years agoVisual Studio Projects: Cleanup Property Sheets
Chun-wei Fan [Fri, 27 Dec 2013 04:25:18 +0000 (12:25 +0800)]
Visual Studio Projects: Cleanup Property Sheets

Make the projects include a single property sheet as necessary, which will
in turn include the other property sheet(s) as needed, so that we can avoid
warnings where we include the same property sheets twice in a single
project.

Also make the copying of pre-configured headers into custom build rules so
that they can be removed upon the clean command from the IDE and that they
can be re-copied if their counterpart *.h.win32 are updated.

10 years agoVisual Studio Projects: Use Unix Line Endings
Chun-wei Fan [Fri, 27 Dec 2013 02:50:35 +0000 (10:50 +0800)]
Visual Studio Projects: Use Unix Line Endings

...where possible, to make application of patches easier in the future.
The README.txt's and the .sln files are still in Windows/DOS line endings
as they need to be so.

10 years agoVisual Studio Property Sheets: Use Unix Line Endings
Chun-wei Fan [Fri, 27 Dec 2013 02:32:01 +0000 (10:32 +0800)]
Visual Studio Property Sheets: Use Unix Line Endings

This makes it easier to apply patches in the future.

10 years agokqueue: fix a potential deadlock
Antoine Jacoutot [Thu, 26 Dec 2013 10:03:45 +0000 (11:03 +0100)]
kqueue: fix a potential deadlock

In case an object is already monitored, we lock then return without
unlocking it which can then result in a self deadlock. So properly
unlock before returning.

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

10 years agogio-2.0.pc: Add -lselinux when linking statically if so configured
Mikhail Gusarov [Thu, 26 Dec 2013 16:22:05 +0000 (11:22 -0500)]
gio-2.0.pc: Add -lselinux when linking statically if so configured

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

10 years agogsubprocesslauncher: Use "env" instead of "environ"
Morten Welinder [Thu, 26 Dec 2013 12:37:17 +0000 (07:37 -0500)]
gsubprocesslauncher: Use "env" instead of "environ"

The latter may come from system headers.

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

10 years agogio: Fix return of value from void function
Matthias Scheler [Wed, 25 Dec 2013 18:57:56 +0000 (13:57 -0500)]
gio: Fix return of value from void function

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

10 years agoRevert "gsettings m4: check for .xml in src/builddir"
Colin Walters [Mon, 18 Nov 2013 19:28:15 +0000 (14:28 -0500)]
Revert "gsettings m4: check for .xml in src/builddir"

This reverts commit b3593693d918f0ae97094f6712d817180b8eea6a.

See: https://bugzilla.gnome.org/show_bug.cgi?id=712171#c3
See: https://bugzilla.gnome.org/show_bug.cgi?id=712171#c4

Tested using both srcdir == builddir and srcdir != builddir in hotssh.

Conflicts:
m4macros/gsettings.m4

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

10 years agogdbus tool: print GVariant errors in context
Ryan Lortie [Fri, 22 Nov 2013 18:06:54 +0000 (13:06 -0500)]
gdbus tool: print GVariant errors in context

Use g_variant_parse_error_print_context() to format the error message
from the GVariant parser.

There is a slightly dubious interaction with the "parse me harder"
functionality here.  We're probably going to have to deal with that
separately.

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

10 years agogapplication(1): print GVariant errors in context
Ryan Lortie [Fri, 22 Nov 2013 17:57:21 +0000 (12:57 -0500)]
gapplication(1): print GVariant errors in context

Use g_variant_parse_error_print_context() to format the error message
from the GVariant parser.

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

10 years agogsettings tool: print GVariant errors in context
Ryan Lortie [Fri, 22 Nov 2013 17:55:10 +0000 (12:55 -0500)]
gsettings tool: print GVariant errors in context

Use g_variant_parse_error_print_context() to format the error message
from the GVariant parser.

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

10 years agoGVariant: add way to print context of parse errors
Ryan Lortie [Sun, 22 Dec 2013 16:41:19 +0000 (11:41 -0500)]
GVariant: add way to print context of parse errors

This was a feature intended from the very beginning that somehow never
got written.  It's a way to replace these sort of error messages out of
the GVariant parser:

  1-2,10-15:unable to find a common type

with something in the style of the Vala compiler:

  unable to find a common type:
    [1, 2, 3, 'str']
     ^        ^^^^^

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

10 years agoUse POSIX-specified <poll.h> over <sys/poll.h>
Ryan Lortie [Sun, 22 Dec 2013 16:33:07 +0000 (11:33 -0500)]
Use POSIX-specified <poll.h> over <sys/poll.h>

POSIX specifies that <poll.h> is the correct header to include for
poll(), so let's do that instead.

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

10 years agoGVariant: Add g_variant_parse_error_quark()
Murray Cumming [Tue, 17 Sep 2013 09:10:28 +0000 (11:10 +0200)]
GVariant: Add g_variant_parse_error_quark()

Most GErrors, such as GSomethingError, have a function to get
their quark that looks like g_something_error_quark(),
so bindings (such as gtkmm) would expect GVariantParseError
to have g_variant_parse_error_quark(). Instead this had
g_variant_parser_get_error_quark().
This deprecates the old function and adds the correct one,
making life easier for gtkmm (and maybe others).

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

10 years agoMore settings backend tests
Matthias Clasen [Sun, 22 Dec 2013 05:44:56 +0000 (00:44 -0500)]
More settings backend tests

This adds some more test coverage around writability changes
in the keyfile and delayed settings backends.

10 years agoGKeyfileSettingsBackend: Use a directory monitor
Matthias Clasen [Sun, 22 Dec 2013 05:43:44 +0000 (00:43 -0500)]
GKeyfileSettingsBackend: Use a directory monitor

GKeyfileSettingsBackend was using a file monitor to monitor
the parent directory of its keyfile.

10 years agoMore test coverage for settings backends
Matthias Clasen [Sat, 21 Dec 2013 21:49:52 +0000 (16:49 -0500)]
More test coverage for settings backends

10 years agoSimplify coverage rules
Matthias Clasen [Sat, 21 Dec 2013 21:16:16 +0000 (16:16 -0500)]
Simplify coverage rules

This works just fine, no need for the manual removal of the
info file.

10 years agoFix a typo
Matthias Clasen [Sat, 21 Dec 2013 20:44:51 +0000 (15:44 -0500)]
Fix a typo

10 years agoFix a !srcdir problem with installed tests
Matthias Clasen [Sat, 21 Dec 2013 18:20:44 +0000 (13:20 -0500)]
Fix a !srcdir problem with installed tests

When installing scripts which are not generated in a
srcdir != builddir build, $< will have ../.. goo in it.
So we need to strip the directory parts before using
the filename to construct a new path.

10 years agoImprove gsettings test coverage
Matthias Clasen [Sat, 21 Dec 2013 17:51:22 +0000 (12:51 -0500)]
Improve gsettings test coverage

Deal with corner cases around delay.

10 years agocontenttype tests: better assertions
Matthias Clasen [Sat, 21 Dec 2013 16:56:24 +0000 (11:56 -0500)]
contenttype tests: better assertions

I recently had to track down why these tests failed. Turned
out that some rogue package on my system had installed mime
types that declared all files with 3 letter names to be
'chemical/x-turbomole-vibrational'.
This change will make it more obvious what is going on by
mentioning the mime types in the assertion message.

10 years agoSlightly improve coverate for notification tests
Matthias Clasen [Sat, 21 Dec 2013 15:48:40 +0000 (10:48 -0500)]
Slightly improve coverate for notification tests

10 years agoImprove test coverage for GPropertyAction
Matthias Clasen [Sat, 21 Dec 2013 06:10:59 +0000 (01:10 -0500)]
Improve test coverage for GPropertyAction

10 years agoTest some gsettings corner case
Matthias Clasen [Sat, 21 Dec 2013 06:00:10 +0000 (01:00 -0500)]
Test some gsettings corner case

Setting a strv to NULL was not tested before.

10 years agoSome tweaks to coverage support
Matthias Clasen [Sat, 21 Dec 2013 05:04:14 +0000 (00:04 -0500)]
Some tweaks to coverage support

Rename the configure option to --enable-coverage, and make
it quiet by default.

10 years agoUpdated Galician translations
Fran Diéguez [Thu, 19 Dec 2013 00:17:25 +0000 (01:17 +0100)]
Updated Galician translations

10 years agoMake g_test_run() return 77 if all tests are skipped
Dan Winship [Wed, 18 Dec 2013 14:59:54 +0000 (09:59 -0500)]
Make g_test_run() return 77 if all tests are skipped

Change g_test_run() to return 1 on failure (rather than the number of
failed tests), and 77 if all tests are skipped (since automake and
some other test harnesses recognize that status code).

Previously g_test_run() returned the number of failed tests, but this
behavior was not documented, and at any rate, prior to 2.39,
g_test_run() would normally not return at all if an error occurred.

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

10 years agogtestutils: rename test_skip_count to test_startup_skip_count
Dan Winship [Wed, 18 Dec 2013 14:29:29 +0000 (09:29 -0500)]
gtestutils: rename test_skip_count to test_startup_skip_count

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

10 years agogtestutils: skipping a test should count as success, not failure
Dan Winship [Wed, 11 Dec 2013 15:32:11 +0000 (16:32 +0100)]
gtestutils: skipping a test should count as success, not failure

In particular, the test program as a whole should exit with status 0
if you skipped some tests but did not fail any.

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

10 years agogdbus-codegen: Fix crasher in goa-using apps
Bastien Nocera [Mon, 16 Dec 2013 16:21:41 +0000 (17:21 +0100)]
gdbus-codegen: Fix crasher in goa-using apps

When replacing a version of goa-daemon (from gnome-online-accounts)
by a newer version with some added interfaces, evolution-data-server
and the gvfs-goa volume monitor might crash as there's no interface
definition for this new interface.

Work-around this by returning earlier from the _notify() implementation,
rather than accessing invalid memory.

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

10 years agoMake gdb pretty-printers compatible with Python3
Tim Lunn [Tue, 17 Dec 2013 20:14:38 +0000 (07:14 +1100)]
Make gdb pretty-printers compatible with Python3

On some systems gdb is linked against python3 where "long" no longer
exists. In this case should be using int.

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

10 years agogobject.py: Don't install frame filters when GDB does not support them
Damien Lespiau [Tue, 23 Mar 2010 15:18:12 +0000 (15:18 +0000)]
gobject.py: Don't install frame filters when GDB does not support them

Stock GDB (both versions 7.0 and 7.1) does not come with the new
backtrace code and python API. To prevent an ugly python backtrace when
auto-loading gobject.py, let's catch the exception and not register the
FrameWrapper and the FrameFilter.

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

10 years agoBump version
Matthias Clasen [Tue, 17 Dec 2013 05:45:41 +0000 (00:45 -0500)]
Bump version

10 years ago2.39.2 2.39.2
Matthias Clasen [Tue, 17 Dec 2013 05:30:08 +0000 (00:30 -0500)]
2.39.2

10 years agovalgrind.h: add "r0" to the clobber list on PPC
Ryan Lortie [Wed, 20 Nov 2013 21:57:26 +0000 (16:57 -0500)]
valgrind.h: add "r0" to the clobber list on PPC

Looks like the magic sequences trash this register, so make sure GCC
knows that.

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