56 Commits

Author SHA1 Message Date
Filippo Cucchetto
ffd9b493a9 Simplified the dos_qabstractitemmodel_create interface by using a struct
Removed most of the function parameters by putting them inside a struct
2017-04-02 14:47:42 +02:00
Filippo Cucchetto
bd8ed05ba2 Fixes #45 Bindings should set the parameters name 2017-03-12 15:09:07 +01:00
Filippo Cucchetto
c871df1206 Fixed compilation with meson build system 2017-03-12 11:05:39 +01:00
Filippo Cucchetto
035c392e3e Fixed test and renaming 2017-03-05 19:30:57 +01:00
Filippo Cucchetto
259b8e4a48 Added index and parent callbacks 2017-03-05 19:07:40 +01:00
Filippo Cucchetto
8079294e93 Fixed compilation and added stubs for index and parent functions 2017-03-05 18:34:35 +01:00
Filippo Cucchetto
25f396ef46 Renamed QAbstractListModel in QAbstractItemModel 2017-03-05 18:22:04 +01:00
Filippo Cucchetto
7b94508c80 Fixed compilation 2016-07-10 00:30:00 +02:00
Filippo Cucchetto
819409fa94 Closed #39 Add support for QVariantList
This adds support for marshalling arrays of QVariant (QVariantList) in/out from DosQVariant.
We added the following 3 API:
dos_qvariant_create_array
dos_qvariant_setArray
dos_qvariant_toArray

Support for QVariantList in property definition of QObjects is already enabled. The end
user should use the QVariantList metatype.
2016-07-04 18:20:02 +02:00
Filippo Cucchetto
c6283eed47 Started QQuickView tests 2016-06-26 18:46:03 +02:00
Filippo Cucchetto
4068279091 Added QUrl test 2016-06-26 15:05:38 +02:00
Filippo Cucchetto
6684a34131 Added QModelIndex test 2016-06-26 14:43:53 +02:00
Filippo Cucchetto
7cdaa5c230 Added QVariant test 2016-06-26 14:13:41 +02:00
Filippo Cucchetto
46ff28169b Added qmlRegisterSingletonType test 2016-06-21 23:48:57 +02:00
Filippo Cucchetto
81cc90cf3a Added qmlRegisterType test 2016-06-21 23:31:49 +02:00
Filippo Cucchetto
4660a36e8d Work on MockQAbstractListModel 2016-06-19 18:17:48 +02:00
Filippo Cucchetto
f2ef4be82d Work on MockQAbstractListModel 2016-06-19 17:53:31 +02:00
Filippo Cucchetto
87b10be514 Work on MockQAbstractListModel 2016-06-19 17:30:43 +02:00
Filippo Cucchetto
e4801423ff Work on MockQAbstractListModel 2016-06-19 17:13:06 +02:00
Filippo Cucchetto
864849680b Work on MockQAbstractListModel 2016-06-19 12:20:00 +02:00
Filippo Cucchetto
b198de0fd6 Added MockQAbstractListModel 2016-06-19 11:46:47 +02:00
Filippo Cucchetto
22ea93a0cf Added missing qmls 2016-06-19 11:29:00 +02:00
Filippo Cucchetto
9a2a3f44d5 Started MockQObject for simulating a binding language 2016-06-19 11:07:51 +02:00
Filippo Cucchetto
d92ca8c928 Improved test coverage 2016-06-18 20:16:26 +02:00
Filippo Cucchetto
5649a76a0e Improved test coverage 2016-06-10 22:21:51 +02:00
Filippo Cucchetto
24c29e4d61 Improved test coverage 2016-06-07 23:04:53 +02:00
Filippo Cucchetto
cf982feb6b Added support for coveralls 2016-06-04 19:52:38 +02:00
Filippo Cucchetto
a3372a66a9 Added typedefs for giving semantic to void* 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
c4884c43fe Removed void** because they're ugly 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
99c385446f Temporary removed findChild and rootObjects
This is done for safety reasons. We will bring them back once we found
out how to deal with shared ownership with cpp
2016-04-10 14:40:00 +02:00
Filippo Cucchetto
1d67de8fb5 Removed old debug code from tests 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
bbd1bd5324 lowered the QtQuick versions 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
11e45f683a Other fixes for making compile the project on Visual Studio 2013 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
483993df1e Relaxed the standard requirements to c++11 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
5290695477 Enabled warning on CXX and fixed compilation on Qt 5.3 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
14a81b356d Fixed broken tests 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
c20683154a Beautified the code 2016-04-10 14:39:59 +02:00
Filippo Cucchetto
b69ef602ad MetaObject is required on QObject construction 2016-04-10 14:39:59 +02:00
Filippo Cucchetto
7dd54c48e9 Added pch.h files for meson and used same CMakeLists.txt structure 2016-04-10 14:39:59 +02:00
Filippo Cucchetto
4d4b0590ae Fixed the implementation now everything seems to work fine 2016-04-10 14:39:59 +02:00
Filippo Cucchetto
28f9898573 wip 2016-04-10 14:39:59 +02:00
Filippo Cucchetto
39c0c94a24 Simple test 2016-04-10 14:39:59 +02:00
Filippo Cucchetto
ed7be34536 wip 2016-04-10 14:39:59 +02:00
Filippo Cucchetto
56306f8403 Added support for QMetaObject inheritance and lots of renaming 2016-04-10 14:39:59 +02:00
Filippo Cucchetto
91ce909191 Fixed the creation of QObject instances 2016-04-10 14:39:59 +02:00
Filippo Cucchetto
9a88ffd48e Improved QQmlContext and QQmlApplicationEngine tests 2016-04-10 14:39:59 +02:00
Filippo Cucchetto
5c94dd3d70 Renamed the test to test_dotherside.cpp 2016-04-10 14:39:59 +02:00
Filippo Cucchetto
8f188552c2 Temporary removed QAbstractListModel support and improved unit tests 2016-04-10 14:39:59 +02:00
Filippo Cucchetto
711131b4f4 Added DynamicQObjectFactory methods to C interface 2016-04-10 14:39:20 +02:00
Filippo Cucchetto
83893b2934 Introduced the concept of factories
The use of a factory decreased the creation time from 500ms for 1000 DynamicQObjects to 1.6ms
2016-04-10 14:39:20 +02:00