Commit Graph

103 Commits

Author SHA1 Message Date
Rick Calixte
a067210548
genbindings: Lint cleanup 2024-11-13 08:33:51 -05:00
a009008525 genbindings: add qmap/qhash support 2024-11-04 21:33:45 +13:00
b53707c7cf genbindings: pass miqt_array in CABI by value 2024-11-04 20:18:11 +13:00
c4607aa5b8 genbindings: move cgo mallocSize into helper function 2024-11-04 18:38:17 +13:00
301fa27e83 genbindings/main: uniform handling for package subdirectories 2024-10-21 19:10:31 +13:00
9e7349d4e3 genbindings/qstringlist: need a larger malloc for qstring now 2024-10-19 16:09:42 +13:00
bb0132e0d5 genbindings/qbytearray: project as []byte 2024-10-19 13:06:53 +13:00
434c45273a miqt: pass all miqt_string by value, not by pointer 2024-10-19 13:06:53 +13:00
a78ba20f15 genbindings/go: add more detailed error message for unknown AST nodes 2024-10-19 13:06:53 +13:00
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