81 Commits

Author SHA1 Message Date
Filippo Cucchetto
544990386a Improved the documentation 2016-07-10 00:43:30 +02:00
Filippo Cucchetto
189ab1a2c6 Improved the documentation 2016-07-10 00:38:57 +02:00
Filippo Cucchetto
81854f9a9e Merge remote-tracking branch 'origin/master' into doxygen
# Conflicts:
#	lib/include/DOtherSide/DOtherSide.h
#	lib/include/DOtherSide/DOtherSideTypes.h
2016-07-09 18:31:22 +02:00
Filippo Cucchetto
d70919b772 Improved the documentation 2016-07-09 18:20:00 +02:00
Filippo Cucchetto
faf5b8630a Improved the documentation 2016-07-09 16:18:50 +02:00
Filippo Cucchetto
59fdf6e8d6 Improved documentation 2016-07-08 20:39:07 +02:00
Filippo Cucchetto
2a37ac19f6 Improved documentation 2016-07-05 23:35:16 +02:00
Filippo Cucchetto
4ecd9c8c53 Started using doxygen 2016-07-05 23:35:15 +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
4660a36e8d Work on MockQAbstractListModel 2016-06-19 18:17:48 +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
9a2a3f44d5 Started MockQObject for simulating a binding language 2016-06-19 11:07:51 +02:00
Filippo Cucchetto
6e45393004 Enforced the __cdecl calling convention on windows 2016-04-12 23:59:52 +02:00
Filippo Cucchetto
3a8c6e0126 Removed spaces 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
12e19be48e Fixed return type for connect/disconnect 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
ada750679e Formatted code through astyle 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
a3372a66a9 Added typedefs for giving semantic to void* 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
a846ad2a3d Fixed mismatch between declarations and definitions 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
bcbe9e5315 Fixed wrong signal emittion in QAbstractListModelWrapper 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
e7dfc7c8b0 Move DosQObjectWrapper to header file and added DosQdeclarative module 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
c271423009 Possible Fix 2 by swapping the qobject 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
7f1f91a71e Given a pass of astyle 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
b2f0c64d15 Removed useless typedefs 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
6d109dd6f5 Fixed warning because override was missing 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
53563cf716 Moved the responsability of allocating and copying to the binding side 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
ef0ed26f7c Added API for QModelIndex copy constructor 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
9fac298369 Added API for assigning two QModelIndex 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
ac7f43a044 Removed QAIM delete and fixed casting to void* 2016-04-10 14:40:01 +02:00
Filippo Cucchetto
10cee8d739 Added support for qmlRegisterSingletonType 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
eda7720869 Little fixes 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
f02d1e965a Fixed passing slot, signals and properties structs by reference 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
49f02c9671 Fixes for qmlRegisterType for supporting Nim
The callback now return the registration id.
Furthermore  we pass the struct by reference for better supporting
the C language
2016-04-10 14:40:00 +02:00
Filippo Cucchetto
8d9ef5d70e Added missing setObjectName 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
c4c2cea41c Cleaned up some code leftovers 2016-04-10 14:40:00 +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
11e45f683a Other fixes for making compile the project on Visual Studio 2013 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
ed8cb13083 Removed useless QAbstractListModels methods for QVariant 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
94353c1045 Refactoring by using a struct for the qmlRegisterType args 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
0506920c4b Add a battery of 20 qml registration slots 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
8d62c449be Basic support for qmlRegisterType 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
cd0c08fb50 Fixed arguments offset
Methods have always the return value at pos 0 and arguments in pos >= 1. This is not true for WriteProperty calls. Infact the property value is at pos 0.
2016-04-10 14:40:00 +02:00
Filippo Cucchetto
562fcc71a7 Started support for qmlregistertype 2016-04-10 14:40:00 +02:00
Filippo Cucchetto
7881cc59ed Moved implementation to cpp 2016-04-10 14:39:59 +02:00
Filippo Cucchetto
c20683154a Beautified the code 2016-04-10 14:39:59 +02:00
Filippo Cucchetto
553bec0eb7 Little refactor 2016-04-10 14:39:59 +02:00