Commit Graph

201 Commits

Author SHA1 Message Date
mappu b70b17616e genbindings: fixes for signal return types, move finalizer to new GoGC() function 2024-09-15 10:28:52 +12:00
mappu 6af39e88e4 genbindings: handle signal arguments from cabi->go 2024-09-14 20:32:55 +12:00
mappu 7f56b4147c genbindings/slots: emit per-slot callback bindings 2024-09-14 19:31:39 +12:00
mappu 04399db98d genbindings: implement miqt_array parameter passing 2024-09-14 18:26:59 +12:00
mappu ab11c1ae59 genbindings: improvements for miqt_string handling 2024-09-14 16:21:05 +12:00
mappu 4882ed676a genbindings: add common binding.h 2024-09-12 18:47:31 +12:00
mappu d2c5d27f37 genbindings/cabi: automatic indentation handling for emitAssignCppToCabi() 2024-09-12 18:42:22 +12:00
mappu d3a159a462 genbindings/cabi: move method renaming to helper function 2024-09-11 18:06:17 +12:00
mappu 7880f14c52 genbindings/cabi: refactor extract cpp-to-cabi handling from return path 2024-09-11 18:04:32 +12:00
mappu 52c6c3b0ea genbindings: add retry logic to clang subprocess execution 2024-09-11 17:44:36 +12:00
mappu 0689949bc2 genbindings: replace const_cast<>(self) with const self* 2024-09-11 17:40:52 +12:00
mappu d6d4afb4f2 genbindings: generate signal connection handlers for overloads 2024-09-07 15:25:25 +12:00
mappu 9d8153c4d3 genbindings/test: fix compilation for isConst support 2024-09-07 15:24:57 +12:00
mappu d62ec99cf1 genbindings: add support for enums 2024-09-04 18:54:12 +12:00
mappu 25e6ea1698 genbindings/util: add pretty-printer 2024-09-04 18:07:11 +12:00
mappu c4f8254994 genbindings: more correct use of size_t for passed QStringLists 2024-09-01 18:50:34 +12:00
mappu 86ce4f70aa linuxonly: always define a stub function 2024-09-01 18:50:19 +12:00
mappu 3825378227 genbindings: malloc takes a size_t instead of a ulong 2024-09-01 17:51:17 +12:00
mappu 2323c12b55 support marking data types as linux-only 2024-09-01 17:50:58 +12:00
mappu 587644bab5 genbindings: remove cflags headers from each file 2024-09-01 17:16:46 +12:00
mappu de0fb12cfe genbindings: return nil Qt objects as Go nil objects 2024-09-01 14:23:31 +12:00
mappu 1e539748e6 genbindings: more exceptions 2024-08-29 19:01:21 +12:00
mappu d8c7e9e770 genbindings: fixes for signed char, pointer+reference types 2024-08-29 19:01:12 +12:00
mappu 6c1acb9377 genbindings/clang2il: cleanup dead code 2024-08-29 18:07:39 +12:00
mappu 2e5749f9a6 genbindings: handle QList/QVector typedefs safely in inner return types 2024-08-29 18:07:28 +12:00
mappu 4df990b345 genbindings: rely entirely on typedefs for QList<> handling 2024-08-29 18:07:07 +12:00
mappu 3b65e1fc6f genbindings: more exceptions, merge existing exceptions 2024-08-29 17:38:34 +12:00
mappu a4baeabbcb genbindings: more const correctness 2024-08-29 17:38:18 +12:00
mappu 421c229771 genbindings/exceptions: more exceptions and overrides 2024-08-29 17:17:35 +12:00
mappu 97a56647b7 genbindings: fixes for QStrings 2024-08-29 17:17:12 +12:00
mappu 050d668765 genbindings: centralize handling of flag types 2024-08-29 17:16:36 +12:00
mappu daff305d36 genbindings: support 'signed char' 2024-08-29 17:15:41 +12:00
mappu 7b5db7c7ea genbindings/const: fixes for disambiguating calls to const methods 2024-08-29 17:14:44 +12:00
mappu 8da51d61f5 genbindings: misc fixes 2024-08-28 18:47:44 +12:00
mappu 56395eaa7a genbindings: parse and call const methods for disambiguation 2024-08-28 18:47:23 +12:00
mappu 488e3cc6c4 genbindings/emitcabi: merge the two qt forwarding cases 2024-08-28 18:22:25 +12:00
mappu 4ca4c0dd9e genbindings: variable pointer depth 2024-08-28 18:22:05 +12:00
mappu cde78306c2 genbindings/test: add test cases for child class expansion 2024-08-28 18:00:07 +12:00
mappu 4451a592ab genbindings: add diagnostic for skipped inner classes, matching skipped outer classes 2024-08-28 17:59:56 +12:00
mappu 2a27c4e62f genbindings: allow generating classes other than ^Q+ 2024-08-28 17:59:34 +12:00
mappu 95e8ab2e02 genbindings: expand typedefs over inner list classes 2024-08-28 17:59:21 +12:00
mappu 0566582ccf genbindings/exceptions: update exceptions 2024-08-27 20:05:50 +12:00
mappu a0b51bef8e genbindings: improved uintptr handling for enum types 2024-08-27 20:05:38 +12:00
mappu a0812831e7 genbindings: add more exceptions 2024-08-27 19:12:29 +12:00
mappu 164ef8cb6c genbindings: add namespaces support 2024-08-27 19:12:08 +12:00
mappu a5104aa614 genbindings/transformtypedefs: clean up dead code 2024-08-27 18:44:58 +12:00
mappu 64e46e1978 genbindings: move QFlag<> handling into normal emitgo/emitcabi emission 2024-08-27 18:44:44 +12:00
mappu 150dab7c46 genbindings: move checkComplexity into separate ast pass post-typedefs 2024-08-27 18:44:10 +12:00
mappu 9dac446a82 genbindings: more exceptions 2024-08-26 22:52:46 +12:00
mappu b84d816609 genbindings/typedefs: replace hardcoded exceptions with dynamic ones 2024-08-26 22:52:46 +12:00