88 Commits

Author SHA1 Message Date
Filippo Cucchetto
8868b9a07a Added support for constant properties 2015-01-11 13:05:23 +01:00
Filippo Cucchetto
e281666ca0 Added GC_fullcollect() to all examples 2015-01-11 13:01:46 +01:00
Filippo Cucchetto
8aa9b7f5a2 Fixed typo in SimpleData example 2015-01-11 12:59:24 +01:00
Filippo Cucchetto
df1e3ec72e Fixed emit arguments types 2015-01-11 12:58:35 +01:00
Filippo Cucchetto
d1c2dbc224 Removed export statements 2015-01-11 12:19:24 +01:00
Filippo Cucchetto
3613bfea4e Fixed examples 2015-01-10 12:18:33 +01:00
Filippo Cucchetto
d0f01b092a Added constructors for QApplication, QQmlApplicationEngine and QQuickView 2015-01-10 11:58:24 +01:00
Filippo Cucchetto
4d50125d4b QVariant are not copied by default when passed in the onSlotCalled method 2015-01-10 11:29:32 +01:00
Filippo Cucchetto
3857a48d86 Added support for creating a new QVariant given another and for assign operations 2015-01-10 11:26:23 +01:00
Filippo Cucchetto
76894f3bc3 Updated the SimpleData example 2015-01-08 23:51:23 +01:00
Filippo Cucchetto
7dcfa8255e Added some documentation 2015-01-08 23:41:33 +01:00
Filippo Cucchetto
685236d11e Initial support for finalizers for QObject and QVariant 2015-01-08 23:34:17 +01:00
filcuc
7dcfad82d9 Merge pull request #8 from cowboy-coders/assorted_fixes_devel
Nice spot on the bug of passing a pointer to a ref. This for sure wasn't what i meant!
2015-01-07 21:51:56 +01:00
Will Szumski
cf4ae16201 changed some unsafe casts to type conversions, removed some unnecessary var parameters 2015-01-07 19:21:10 +00:00
Will Szumski
8bd7353b82 simplify copy of openarray in emit 2015-01-07 19:21:10 +00:00
Will Szumski
254a7c5f68 create no longer takes var parameter 2015-01-07 19:21:10 +00:00
filcuc
b6022d966e Merge pull request #6 from cowboy-coders/improve/type_safety_develop
improve type safety of FFI calls
2015-01-07 11:06:46 +01:00
Will Szumski
98e47591b9 improve type safety of internal qobject 2015-01-06 20:57:54 +00:00
Will Szumski
983c9b95c4 improve type safety of FFI calls with the types that are already defined 2015-01-06 20:20:07 +00:00
Filippo Cucchetto
fd9b05b904 Finish 0.2.0 2015-01-06 13:14:25 +01:00
Filippo Cucchetto
162375c6a7 Updated the doc installation steps 2015-01-06 13:10:54 +01:00
Filippo Cucchetto
ea29989be3 Update the Readme for linking at the documentation 2015-01-06 13:06:16 +01:00
Filippo Cucchetto
9e3151def6 Updated the documentation version 2015-01-06 12:51:12 +01:00
Will Szumski
2d05bcf0a8 changed QtObject macro syntax 2015-01-06 12:16:59 +01:00
Will Szumski
9e91b25cda Now require objects to be explicitly exported for create to be exported 2015-01-06 12:16:40 +01:00
Will Szumski
7b25e28d58 only export superType and create when the object inheriting from QObject is exported 2015-01-06 12:16:36 +01:00
Will Szumski
d30d8873de workaround Araq/Nim#1874 2015-01-06 12:16:24 +01:00
filcuc
fa1c5acd95 Merge pull request #2 from cowboy-coders/feature/docs 2015-01-05 21:10:49 +01:00
Filippo Cucchetto
9b8985c701 Fixed: typo that prevent the generation of slots/signals/properties with int 2015-01-05 19:51:45 +01:00
Will Szumski
476740fffc various documentation changes 2015-01-05 18:37:29 +00:00
Filippo Cucchetto
665f6c6b64 Updated the nimble version and authors 2015-01-05 15:24:48 +01:00
Filippo Cucchetto
3f1c47f9da Finish ProjectDoc 2015-01-05 15:12:24 +01:00
Filippo Cucchetto
328355fff8 Finished the initial doc 2015-01-05 15:09:13 +01:00
Filippo Cucchetto
50eeefa5c4 Completed example 3 with slots and properties 2015-01-05 13:57:28 +01:00
Filippo Cucchetto
0fb2f9992e Added example for simple exchange of data 2015-01-05 13:57:28 +01:00
Filippo Cucchetto
c6960df455 Initial work for writing a nice initial documentation and improving the examples 2015-01-05 13:57:28 +01:00
filcuc
fbda8a0618 Merge pull request #1 from cowboy-coders/feature_macros
Feature: QtObject macro
2015-01-05 12:50:21 +01:00
Will Szumski
7c4d54a95b Added an example of using the QtObject macro 2015-01-04 21:58:32 +00:00
Will Szumski
cdf02a4251 documentation improvements 2015-01-04 21:24:48 +00:00
Will Szumski
010fc23261 remove debugging print 2015-01-04 21:05:17 +00:00
Will Szumski
62ecd19e60 renamed QtType macro to QtObject 2015-01-04 20:56:35 +00:00
Will Szumski
e5888a989f Changed property syntax to filcuc's suggestion: e.g QtProperty name of string: 2015-01-04 20:52:43 +00:00
Will Szumski
4f1da7957b initial support for user defined helpers from within QtType. Implemented by delaying the definition of user deined items (procs, methods, etc.) until after create. This was necessary as create is currently defined as a template and we can't use a forward declaration. 2015-01-04 19:22:05 +00:00
Will Szumski
17eb1e748e turns out {.compileTime.} tables work, but ones decalred in static block do not 2015-01-03 19:56:22 +00:00
Will Szumski
0beff2244a fixed some warnings, added debug template (compile with -d debug), make QtType macro pass through definitions we do not explicitly handle 2015-01-03 19:49:59 +00:00
Will Szumski
b4083f1b84 work around compiler bug where {.compileTime.} tables are flagged up as not being computable at compile time when a macro using them is imported into another module 2015-01-02 21:26:30 +00:00
Will Szumski
0c626fe6db export QtType macro 2015-01-02 20:07:48 +00:00
Will Szumski
b02540d1c1 add NimQmlMacros.nim 2015-01-02 20:07:12 +00:00
Filippo Cucchetto
fae26cedad Update the README 0.1.0 2014-12-31 12:22:59 +01:00
Filippo Cucchetto
5ac4f6c1d5 Feature: Implemented property creation in D 2014-12-31 12:19:00 +01:00