Commit Graph

477 Commits

Author SHA1 Message Date
0204e2f849 ci: run marshalling_test automatically in pipeline 2024-10-19 16:35:46 +13:00
47c1a3d879 test/marshalling: rerun test multiple times to help detect heap corruption 2024-10-19 16:09:50 +13:00
6da9849a4a qt: rebuild (fixes buffer overflow in qstringlist) 2024-10-19 16:09:47 +13:00
9e7349d4e3 genbindings/qstringlist: need a larger malloc for qstring now 2024-10-19 16:09:42 +13:00
b0344564cd
Merge pull request #47 from mappu/miqt-core-next
Latest improvements for ABI and marshaling
2024-10-19 14:56:23 +13:00
bbcb3c3e8f qt: rebuild (miqt_string by value, remove qbytearray, namespace fixes, allow more short enum names, char* returns) 2024-10-19 13:06:53 +13:00
48fa315a22 examples/marshalling: replace QByteArray test case 2024-10-19 13:06:53 +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
ba92217b67 genbindings/main: reduce clang parallelism re peak memory usage 2024-10-19 13:06:53 +13:00
c616c789ff genbindings/c++1z: skip over more advanced AST node types 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
82ea3d3823 genbindings/namespaces: fix nested namespaces losing parent component 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
f87002914d genbindings/cabi: emit class typedef even if there is no header 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
dc21dc3163 gitignore: exclude local genbindings helper script 2024-10-19 13:06:53 +13:00
8a64c7c926 docker: clean apt cache after installing, for smaller images 2024-10-19 13:06:53 +13:00
360696cff8 qprintsupport: add example 2024-10-19 13:06:49 +13:00
c6827726f7
Merge pull request #43 from mappu/miqt-multipackage
Multiple package support
2024-10-16 19:06:18 +13:00
697e1fc488 genbindings/clang: bubble error handling for retry 2024-10-16 18:27:47 +13:00
3a274ec9c5 qprintsupport: initial commit 2024-10-16 18:08:07 +13:00
050a578057 qt: rebuild (add UnsafePointer/UnsafeNew, moved binding helpers) 2024-10-16 18:07:56 +13:00
88ef4e922c genbindings: multi-package support 2024-10-16 18:07:05 +13:00
61107aa1f2 genbindings/main: fix an issue with clang crashing leaving behind an invalid cache file 2024-10-16 18:05:38 +13:00
2434084238 genbindings/main: create target directory if not already existing 2024-10-16 18:05:24 +13:00
562590fa96 libmiqt: move binding helpers to standalone package, support const_char 2024-10-16 18:05:07 +13:00
6a01cc2d86 genbindings/clang: handle FullComment in enum declarations 2024-10-14 19:27:57 +13:00
b6aa72f62f genbindings/main: refactor extract generateClangCaches() 2024-10-14 18:55:59 +13:00
3382806f62 genbindings/main: refactor extract cleanGeneratedFilesInDir() 2024-10-14 18:55:16 +13:00
9248b925ff genbindings/main: refactor extract findHeadersInDir() 2024-10-14 18:54:39 +13:00
2c668c77f3 doc/README: msys2-static is built with no-icu 2024-10-14 18:30:58 +13:00
1abd5b3bc7
Merge pull request #41 from mappu/miqt-cgo-handle
Marshal slot callbacks using intptr_t
2024-10-13 19:24:10 +13:00
594631ddbb qt: rebuild (marshal slot callbacks with intptr_t) 2024-10-13 19:06:06 +13:00
0154e3507b genbindings: marshal cgo.Handle via intptr_t instead of void* 2024-10-13 19:05:52 +13:00
0e705a4e6e handbindings: avoid unsafe.Pointer when marshalling cgo.Handle 2024-10-13 18:31:18 +13:00
204f886760
Merge pull request #39 from mappu/genbindings-qt6-support
Genbindings: Support C++17 idioms used by Qt 6
2024-10-11 19:01:46 +13:00
b7d84fd707 qt: rebuild (changes for some integer types) 2024-10-11 18:43:04 +13:00
bcfdb4ea15 genbindings/integers: properly treat char as signed int8, not byte 2024-10-11 18:40:32 +13:00
c783029317 genbindings/integers: c-style cast for qsizetype, qintptr pointers 2024-10-11 18:40:12 +13:00
f733ce29bc genbindings/signals: support connecting to a const signal 2024-10-11 18:40:12 +13:00
a4eb43c9fd genbindings: fix early Empty() if header only contains enums 2024-10-11 18:40:12 +13:00
60600530c6 genbindings/ints: ssize_t support 2024-10-11 18:40:06 +13:00
6eb60232a9 genbindings/typedefs: support type alias declarations 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
8d8d802029 genbindings/templates: skip some c++17 template things 2024-10-11 18:40:06 +13:00
5f1b704c1a genbindings/namespace: support unnamed namespace { } blocks 2024-10-11 18:40:06 +13:00
c0ff37a9c6 genbindings/enum: skip over deprecated enum values 2024-10-11 18:40:06 +13:00
8585fc05f4 genbindings/enums: handle enum values with comments 2024-10-11 18:40:06 +13:00