Commit Graph

198 Commits

Author SHA1 Message Date
c06acd0a1b genbindings: refactor class handling 2024-08-10 12:53:26 +12:00
aaa9340808 genbindings: basic constructor support 2024-08-10 12:52:45 +12:00
545a819f81 genbindings: more type casts for pvoid types 2024-08-10 11:46:48 +12:00
bc3bfa88ad genbindings: allow compilation if we return a const void* 2024-08-10 11:46:27 +12:00
05804f837e genbindings: minimal handling for metacast() returning void* 2024-08-10 11:46:07 +12:00
5321074f99 genbindings: rename qt_metacast to Metacast() 2024-08-10 11:45:48 +12:00
2283213456 genbindings: suppress deprecated warnings 2024-08-10 11:45:29 +12:00
6fb50dc267 genbindings: call correct c++ function for optional parameters 2024-08-10 11:45:19 +12:00
f9abbed9c7 doc/TODO: update status 2024-08-10 10:37:12 +12:00
526fa612fc genbindings: always take Qt arguments by pointer 2024-08-10 10:37:12 +12:00
d952b1ef75 genbindings/cabi: remove unused function argument 2024-08-10 10:37:12 +12:00
6a44b59b52 genbindings: fixes for functions returning void* 2024-08-10 10:37:06 +12:00
d0c627e7a5 genbindings: support classes returned by value, with go finalizer 2024-08-10 10:34:54 +12:00
460b8aaef8 genbindings/cabi: add necessary header for size_t 2024-08-10 10:33:31 +12:00
91c2e0fa9b genbindings: fix missing this.h in forwarded calls from go 2024-08-10 10:33:12 +12:00
76f4323676 genbindings: add Delete() functions 2024-08-10 10:32:57 +12:00
8c572259c4 genbindings: support custom import headers in emitgo 2024-08-10 10:28:02 +12:00
9264bc6cc6 genbindings: handle QString return types 2024-08-09 18:41:33 +12:00
6eed71723e doc/TODO: update progress status 2024-08-08 19:06:50 +12:00
8f266f5202 genbindings: find all Qt types for PVOID typedefs, not just direct classes 2024-08-08 19:06:31 +12:00
2dc9d1bab7 genbindings: add QtClassType() helper 2024-08-08 19:06:14 +12:00
d5e6a21ae4 genbindings: fix wrong parameter order for CABI output files 2024-08-08 18:55:47 +12:00
dd004dd06b genbindings: generate better automatic names for Q_PROPERTY setters 2024-08-08 18:55:37 +12:00
85dd87e6d0 genbindings: track optional parameters in our IL, expand in AST pass 2024-08-08 18:55:22 +12:00
a991feb589 genbindings: fixup header paths and header include guards 2024-08-08 18:54:36 +12:00
0c275047c3 genbindings: QString parameter forwarding with custom preamble 2024-08-08 18:54:13 +12:00
618b68aaf9 genbindings: generated go methods should always be public 2024-08-08 17:51:46 +12:00
179c37dfe0 genbindings: move type renderering to CppParameter methods 2024-08-08 17:51:29 +12:00
4b803eb453 genbindings: more accurate parameter types 2024-08-08 17:51:10 +12:00
6174c4c243 genbindings: mark IL types as public for json export 2024-08-07 18:56:14 +12:00
3a802d0f5a genbindings: further work on output generation 2024-08-07 18:51:51 +12:00
0514866d23 genbindings: add helper arguments to dump wip json 2024-08-07 18:51:30 +12:00
60d5aa55d1 genbindings: public/private visibility support 2024-08-07 18:50:39 +12:00
7319683a3f genbindings: wip 2024-08-06 14:29:12 +12:00
559aca01b2 doc: add COPYING, README, TODO 2024-08-06 13:06:50 +12:00
64c2dca497 repo: rename package to miqt 2024-08-06 13:06:40 +12:00
5e3215dbd1 gitignore: ignore scratch files 2024-08-06 13:04:05 +12:00
f54814588e genbindings: initial commit 2024-08-06 13:03:23 +12:00
c6c8a4dbb7 dumpjson: initial commit 2024-08-06 13:03:01 +12:00
1458f4b4c9 repo: move bindings_test to cmd subdirectory 2024-08-06 13:02:52 +12:00
4132f47450 main: hello world 2024-08-06 10:24:15 +12:00
af8cd00ace gitignore: exclude all generated binaries 2024-08-06 10:24:09 +12:00
120c5bcbdd bindings_test: initial commit 2024-08-06 10:24:01 +12:00
a9c74647ec bindings: add CPointer() helper to support nil widget parents 2024-08-06 10:23:42 +12:00
986b87c3a4 bindings: compile with -fPIC to help on Debian 2024-08-06 10:23:23 +12:00
ecdab8cce6 bindings: add C include guard, also wrap typedefs in extern 2024-08-06 10:23:08 +12:00
48ab3420ff bindings: fix segfault in QApplication_new taking arg by reference 2024-08-06 10:22:29 +12:00
fea87aff42 initial commit 2024-08-06 09:10:02 +12:00