Commit Graph

94 Commits

Author SHA1 Message Date
3547aa3103 genbindings/enums: prevent enum-class clashes, allow some more short enums 2024-10-19 13:06:53 +13:00
896f150f35 genbindings/go: normalize handling for void* return types 2024-10-19 13:06:53 +13:00
c66203d984 genbindings/go: return C char* as string 2024-10-19 13:06:53 +13:00
88ef4e922c genbindings: multi-package support 2024-10-16 18:07:05 +13:00
562590fa96 libmiqt: move binding helpers to standalone package, support const_char 2024-10-16 18:05:07 +13:00
0154e3507b genbindings: marshal cgo.Handle via intptr_t instead of void* 2024-10-13 19:05:52 +13:00
bcfdb4ea15 genbindings/integers: properly treat char as signed int8, not byte 2024-10-11 18:40:32 +13:00
60600530c6 genbindings/ints: ssize_t support 2024-10-11 18:40:06 +13:00
fc7aeecabf genbindings/go: fix for classes inheriting namespaced/inner classes 2024-10-11 18:40:06 +13:00
aadc37eb2d genbindings: allow void* as unsafe.Pointer 2024-09-21 11:32:59 +12:00
a6dab929e6 genbindings: add collision detection for short enum names 2024-09-21 10:43:18 +12:00
6a958309b0 genbindings/go: simpler enum naming 2024-09-20 19:13:15 +12:00
869e316715 genbindings/qflags: emit qflags as inner type 2024-09-20 18:41:22 +12:00
f6d1ef8ade genbindings/go: fix missing type cast calling go->cabi 2024-09-18 13:33:50 +12:00
eae85ac325 genbindings: preserve const/ptr attributes through typedefs 2024-09-18 13:08:18 +12:00
99aaf69b13 genbindings: remove uintptr fallbacks for more and accurate enum/typedef handling 2024-09-18 12:11:48 +12:00
b7a488dac0 genbindings: more accurate enum type handling 2024-09-18 09:35:53 +12:00
25008355a7 genbindings: initial QSet<> support 2024-09-17 21:48:26 +12:00
15f4c367d0 genbindings/go: refactor to reuse template emitters 2024-09-17 19:30:06 +12:00
ac2ec49248 genbindings: merge enums with redundant definitions 2024-09-16 19:03:45 +12:00
b70b17616e genbindings: fixes for signal return types, move finalizer to new GoGC() function 2024-09-15 10:28:52 +12:00
6af39e88e4 genbindings: handle signal arguments from cabi->go 2024-09-14 20:32:55 +12:00
7f56b4147c genbindings/slots: emit per-slot callback bindings 2024-09-14 19:31:39 +12:00
04399db98d genbindings: implement miqt_array parameter passing 2024-09-14 18:26:59 +12:00
ab11c1ae59 genbindings: improvements for miqt_string handling 2024-09-14 16:21:05 +12:00
d6d4afb4f2 genbindings: generate signal connection handlers for overloads 2024-09-07 15:25:25 +12:00
d62ec99cf1 genbindings: add support for enums 2024-09-04 18:54:12 +12:00
c4f8254994 genbindings: more correct use of size_t for passed QStringLists 2024-09-01 18:50:34 +12:00
3825378227 genbindings: malloc takes a size_t instead of a ulong 2024-09-01 17:51:17 +12:00
2323c12b55 support marking data types as linux-only 2024-09-01 17:50:58 +12:00
587644bab5 genbindings: remove cflags headers from each file 2024-09-01 17:16:46 +12:00
de0fb12cfe genbindings: return nil Qt objects as Go nil objects 2024-09-01 14:23:31 +12:00
d8c7e9e770 genbindings: fixes for signed char, pointer+reference types 2024-08-29 19:01:12 +12:00
a4baeabbcb genbindings: more const correctness 2024-08-29 17:38:18 +12:00
050d668765 genbindings: centralize handling of flag types 2024-08-29 17:16:36 +12:00
daff305d36 genbindings: support 'signed char' 2024-08-29 17:15:41 +12:00
a0b51bef8e genbindings: improved uintptr handling for enum types 2024-08-27 20:05:38 +12:00
64e46e1978 genbindings: move QFlag<> handling into normal emitgo/emitcabi emission 2024-08-27 18:44:44 +12:00
9dac446a82 genbindings: more exceptions 2024-08-26 22:52:46 +12:00
b84d816609 genbindings/typedefs: replace hardcoded exceptions with dynamic ones 2024-08-26 22:52:46 +12:00
85cf3b84d8 genbindings: use knownClassNames tracker to distinguish A::B names 2024-08-26 22:52:41 +12:00
f8a9a3f36e genbindings: initial work on inner class definitions 2024-08-25 19:08:28 +12:00
b4df6d06f9 genbindings: bind all Qt::constants as int 2024-08-25 17:50:14 +12:00
e3a1041031 genbindings: block use of binding-reserved word 'ret' 2024-08-25 15:32:08 +12:00
45f3e8abed genbindings: fixup typo 2024-08-25 15:31:59 +12:00
0401231ab6 genbindings: assorted pointer correctness fixes 2024-08-25 15:31:51 +12:00
8fb92cfd3a genbindings: fixes for integer types 2024-08-25 15:31:21 +12:00
3121a7c610 genbindings: many improvements to array marshalling 2024-08-25 12:50:48 +12:00
8032dc8456 genbindings: fixes for QApplication ctor's argc/argv handling 2024-08-25 12:50:48 +12:00
fc62d963ea genbindings/clang: implicit ctors/dtors always have public visibility 2024-08-25 12:50:41 +12:00