Prevent infinite recursion in invalidate

Change-Id: I8946a8572b608bf8ede211d270f797f135f8083a
Reviewed-by: John Cummings <jcummings2@users.sf.net>
fix build in C++11 mode

Add spaces between string literals and preprocessor symbols. These are
required because C++11 defines string prefix and suffix operators, and
confuses preprocessor tokens adjacent to string literals as unrecognized
string literal modifies, resulting in compile errors.

Some of these changes are also needed to prevent generating code with
the same problem (which affects both Shiboken building itself, but also
any users of Shiboken).

Change-Id: I99f2d3c61fd9df682f915a29f27321fee2ce759e
Reviewed-by: John Ehresman <jpe@wingware.com>
Fix bug introduced when recursive_invalidate was added.

If a Python object is passed to recursive_invalidate and is a sequence,
each item in the sequence is invalidated
Add unit test for recursive invalidate of a sequence

Change-Id: I70834f8e027bd17a04c0e443bc7d584d1fde26c1
Reviewed-by: John Ehresman <jpe@wingware.com>
Reviewed-by: John Cummings <jcummings2@users.sf.net>
Use non-static method def for instance methods

For methods that can be called as either class or instance methods
(e.g. PySide's QObject.connect), a non-static variant of the
PyMethodDef struct is needed in Python 3.3 when method is used
as an instance method.  Fixes
https://bugreports.qt-project.org/browse/PYSIDE-145

Change-Id: Ie8876a381614f33815f9b6449ea4a61cde9e5cee
Reviewed-by: John Cummings <jcummings2@users.sf.net>
Fix segfault when using shiboken.delete

When an object is deleted, invalidate / releaseWrapper needs to
be called before cptr array is deleted.

Change-Id: I82f71f569d5a0f52084fbe1cc3d7846e764c7ef6
Reviewed-by: John Cummings <jcummings2@users.sf.net>
Decref reference to type object

A decref is needed if the type is not subclassed when an instance
is deallocated

Change-Id: I2c64d7cb5b726c5bf108c1cbc5283cf315a5f8e9
Reviewed-by: John Cummings <jcummings2@users.sf.net>
Fixing shiboken test for minimal binding test

Don't execute typedef_test.py, when NumPy is not installed

Change-Id: I452944822177f616ea640ed0ee005d0436ab518b
Reviewed-by: John Ehresman <jpe@wingware.com>
Don't break -Werror=non-virtual-dtor

Classes with virtual methods but non-virtual destructors are dangerous,
because users often hold pointers-to-base-class of derived classes,
which cannot correctly destruct the derived class if deleted. As such,
there is the aforementioned warning that developers may like to promote
to an error. Add virtual (empty) destructors to some classes that were
tripping this, so that we build successfully if said flag is used, and
because they should probably be present.

Change-Id: I930ad5f5d122cf94c57e52bf28479cf3ca7950d4
Reviewed-by: John Cummings <jcummings2@users.sf.net>
Reviewed-by: John Ehresman <jpe@wingware.com>
Add missing return on module init error

Add 'return' before 'SBK_MODULE_INIT_ERROR' when module initialization
fails due to a missing dependency. This appears to have been
accidentally lost in 0b1f8df512047c6ace60701180ec1e4f6e97484e.

Change-Id: I1bc1453c8515e7b67c101c8e8f13a1266d04433f
Reviewed-by: John Ehresman <jpe@wingware.com>
Removed old logos from html docs

Change-Id: I7b546aa11b7380049c533a44d9c9159edd73d73b
Reviewed-by: Roman Lacko <backup.rlacko@gmail.com>
Bump the library version number to 1.2

Change-Id: I5dde75c011a976a1da235d11847bdc69014df5df
Reviewed-by: Roman Lacko <backup.rlacko@gmail.com>
Reviewed-by: John Cummings <jcummings2@users.sf.net>
Merge branch 'master' into dev