Commit Graph

281 Commits

Author SHA1 Message Date
mappu b89aeb2aa7 genbindings: try to invent better names for function overloads 2024-08-15 19:50:50 +12:00
mappu 2ccc11f57d genbindings: QStringList handling 2024-08-15 19:50:30 +12:00
mappu 5381a6b80c genbindings: rename more go reserved words 2024-08-15 19:49:38 +12:00
mappu 189a93fbca genbindings: more integer type handling 2024-08-15 19:49:09 +12:00
mappu 1102f678c4 genbindings: skip private constructors 2024-08-14 18:39:04 +12:00
mappu a6d63f33d2 genbindings: skip non-Qt classes found 2024-08-14 18:38:57 +12:00
mappu 94182079e1 genbindings: qobject + qbytearray 2024-08-14 18:34:57 +12:00
mappu d6a758ebbc genbindings: skip over more unknown ast node types 2024-08-14 18:34:46 +12:00
mappu 97402096cc genbindings: remove some redundant casts now that PVoids are gone 2024-08-14 18:34:38 +12:00
mappu 97b9e01451 genbindings: include QList header in cpp but not in h 2024-08-14 18:34:27 +12:00
mappu 8ac598fbb5 genbindings/cabi: replace qt int types with native C types in C header 2024-08-14 18:34:05 +12:00
mappu 3dcdfbd594 genbindings: add explicit int casts when calling, to select overload 2024-08-14 18:33:47 +12:00
mappu 89f4024951 genbindings/transform: fix overloads-of-optionals 2024-08-14 18:27:27 +12:00
mappu aaa1d1274b genbindings: fix NotAssign overload functions 2024-08-14 18:26:51 +12:00
mappu d7a7ae9bcf genbindings: parse typedefs (don't do anything with them yet) 2024-08-14 18:26:42 +12:00
mappu 944e04bf5d genbindings: generate multiple files in one run, cache clang ast files 2024-08-14 17:43:54 +12:00
mappu 7f552ee6a4 genbindings: fixup pointer arithmetic for returning arrays by value 2024-08-14 17:31:49 +12:00
mappu 21f1914244 genbindings: add c++ includes for all referenced Qt types 2024-08-14 17:31:35 +12:00
mappu c7f119df80 genbindings: remove Pvoid types, replace with incomplete C pointers 2024-08-14 17:31:10 +12:00
mappu 027c059b0b genbindings: add WId->uintptr typedef for QWidget.h 2024-08-11 16:54:23 +12:00
mappu 08168454c1 genbindings: qreal->double 2024-08-11 16:54:07 +12:00
mappu 4d94d4cd34 genbindings: handle function overloads 2024-08-11 16:53:58 +12:00
mappu 8de91463f5 doc/TODO: update 2024-08-11 16:37:26 +12:00
mappu 3419c8c0dc genbindings: QList<> support 2024-08-11 16:37:18 +12:00
mappu eb5fcfc880 genbindings: add private Go ctor for use with C types 2024-08-11 16:37:06 +12:00
mappu ab9c015501 genbindings: minor compatibility improvements for qwidget.h 2024-08-10 14:04:52 +12:00
mappu bdc13f71c4 genbindings/main: dump and generate in one pass 2024-08-10 13:32:43 +12:00
mappu 4b9b6f0791 genbindings: more aggressive skip for #include in header 2024-08-10 13:21:30 +12:00
mappu 911f4e378a doc/TODO: update current status 2024-08-10 12:54:31 +12:00
mappu afcde0a69b genbindings: inheritance support 2024-08-10 12:54:26 +12:00
mappu 55481316ed genbindings: hide ctors that take QFooPrivate-type parameters 2024-08-10 12:54:14 +12:00
mappu daa6252848 genbindings: skip generation for =delete'd ctors 2024-08-10 12:54:00 +12:00
mappu 012b62ee06 genbindings: skip generating ctors for abstract classes 2024-08-10 12:53:48 +12:00
mappu c06acd0a1b genbindings: refactor class handling 2024-08-10 12:53:26 +12:00
mappu aaa9340808 genbindings: basic constructor support 2024-08-10 12:52:45 +12:00
mappu 545a819f81 genbindings: more type casts for pvoid types 2024-08-10 11:46:48 +12:00
mappu bc3bfa88ad genbindings: allow compilation if we return a const void* 2024-08-10 11:46:27 +12:00
mappu 05804f837e genbindings: minimal handling for metacast() returning void* 2024-08-10 11:46:07 +12:00
mappu 5321074f99 genbindings: rename qt_metacast to Metacast() 2024-08-10 11:45:48 +12:00
mappu 2283213456 genbindings: suppress deprecated warnings 2024-08-10 11:45:29 +12:00
mappu 6fb50dc267 genbindings: call correct c++ function for optional parameters 2024-08-10 11:45:19 +12:00
mappu f9abbed9c7 doc/TODO: update status 2024-08-10 10:37:12 +12:00
mappu 526fa612fc genbindings: always take Qt arguments by pointer 2024-08-10 10:37:12 +12:00
mappu d952b1ef75 genbindings/cabi: remove unused function argument 2024-08-10 10:37:12 +12:00
mappu 6a44b59b52 genbindings: fixes for functions returning void* 2024-08-10 10:37:06 +12:00
mappu d0c627e7a5 genbindings: support classes returned by value, with go finalizer 2024-08-10 10:34:54 +12:00
mappu 460b8aaef8 genbindings/cabi: add necessary header for size_t 2024-08-10 10:33:31 +12:00
mappu 91c2e0fa9b genbindings: fix missing this.h in forwarded calls from go 2024-08-10 10:33:12 +12:00
mappu 76f4323676 genbindings: add Delete() functions 2024-08-10 10:32:57 +12:00
mappu 8c572259c4 genbindings: support custom import headers in emitgo 2024-08-10 10:28:02 +12:00