| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add the global header and typesystem XML, and shiboken itself, as
dependencies to running Shiboken for generating the wrapped code used in
the unit tests. This gives a better example in case of users looking at
this code for how to do things in their own projects, and also makes
test writing easier by removing the need to do a clean build or touch
files to force the wrapping code to be recreated when modifying the test
code or the generator. Change command invocation to use shiboken as a
target name (CMake will recognize it as a target and use the correct
path automatically), and remove the now redundant dependency of the
wrapping libraries on the same. (This is superfluous both because using
shiboken as a target will cause CMake to add an implicit dependency on
it for users of the generated files, but also because it isn't really
needed; the generate command having it as a dependency covers needing it
built first, and is what we really care about as far as rebuilding
anything if it changes.)
Change-Id: If5cdf2e98602e500b49ba7b000e4e30e77e1a136
Reviewed-by: John Ehresman <jpe@wingware.com>
|
|
|
|
|
|
|
| |
Don't execute typedef_test.py, when NumPy is not installed
Change-Id: I452944822177f616ea640ed0ee005d0436ab518b
Reviewed-by: John Ehresman <jpe@wingware.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replaced old Nokia copyrights with Digia copyrights.
Removed "All rights reserved" strings without leading copyrights were
removed (for example, 'Copyright SomeCompany, all rights reserved
remain untouched).
Did NOT touch contact details, will change them later.
Excluded folders that have '3rdparty' in path.
Used command:
find . -path '*/3rdparty/*' -prune -o
-exec grep -ilI -E '.*Copyright.*Nokia.*' {} \; |
tee >(xargs sed -i -r '1,10 s/([ \t#*]*)(.*Copyright.*Nokia.*)/
\1Copyright \(C\) 2013 Digia Plc and\/or its subsidiary\(-ies\)\./I')
>(xargs sed -i -r '1,10 s/(^[ \t#*]*)(all rights reserved.*)/\1/I')
This excludes binary files and retains whitespace and #* characters in
the beginning of the edited lines.
Change-Id: I0d49f991c3dbd45d804843f185714e8681bc6c51
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
|
|
|
|
|
|
|
| |
Incorporate Hugo's comments from change Id2ea1a5f
Change-Id: I5f0c93b7036f5d2908cd2ee2038eb570f9889b58
Reviewed-by: Hugo Parente Lima <hugo.lima@openbossa.org>
|
|
|
|
|
|
|
|
|
| |
Add an example for a typedef of a template
Add an example for a typedef of a typedef
Add a python unit test for these examples
Change-Id: Id2ea1a5f1e4b3d865c081625f2d5b7ed4c38bbdb
Reviewed-by: Marcelo Lira <marcelo.lira@openbossa.org>
|
|
|
|
|
|
| |
QtDocGenerator also working again and the directory layout was changed a bit.
Reviewer: Trust me
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Conflicts:
CMakeLists.txt
data/CMakeLists.txt
doc/CMakeLists.txt
doc/_templates/index.html
doc/_templates/layout.html
doc/_themes/pysidedocs/static/pysidedocs.css
doc/commandlineoptions.rst
doc/conf.py.in
doc/contents.rst
doc/images/bindinggen-development.png
doc/images/boostqtarch.png
tests/CMakeLists.txt
|
|
|
|
| |
Converters.
|
| |
|
| |
|
|
|
|
| |
Win32 fix for zero length type converter array.
|
| |
|
| |
|
|
|
|
|
| |
Updated tests' type systems to reflect the behaviour of
Generator::minimalConstructor().
|
|
|
|
|
|
|
| |
pointer is expected.
Reviewed by Lauro Moura <lauro.neto@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The cases are made of conversions of lists of:
* C++ primitive type
* C++ class treated as Python primitive type
* Value type as C++ value
* Object type as C++ pointer
* Container of container of C++ primitive type
The container is converted when called from Python or from C++ (via
virtual methods), and passed as arguments to Python and to C++.
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
Reviewed by Renato Araújo <renato.filho@openbossa.org>
|
|
|
|
|
|
| |
in Python.
Unit tests were also added.
|
| |
|
|
The purpose is to have the smallest possible binding to help when doing
complex changes that require a good deal of debugging and tracking,
and the many operations performed in too many wrapped classes will
clutter any output used for those purposes.
In other words: don't add anything here except with a good reason for
it, prefer to use 'sample' or 'other' binding for that.
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
|