Commit Graph

324 Commits

Author SHA1 Message Date
ecab4f1d09 genbindings: reorder ctors to put (QWidget* parent) version first 2024-10-26 13:46:16 +13:00
ba9f518767 genbindings/config: adjustments for Qt 6.7 support 2024-10-26 12:35:27 +13:00
c1b31e787b genbindings: move AllowClass from parse-time to transformation AST pass
This exposes some more valid types.
2024-10-26 12:35:27 +13:00
2fa853d836 genbindings/config: make AllowType a superset of AllowClass 2024-10-26 12:35:27 +13:00
ee25750b35 genbindings: rename CheckComplexity->AllowType 2024-10-26 12:35:27 +13:00
ba423f153a genbindings: implement "BecomesNonConstInVersion" quirk support 2024-10-26 12:35:01 +13:00
db2f367f8c docs: update for Qt 6, QByteArray, more clear wording 2024-10-22 18:45:29 +13:00
24a41b18b5 genbindings/main: better handling for skipping empty files 2024-10-21 19:10:31 +13:00
7347073bd8 genbindings/main: fix duplicate header name collision in packages 2024-10-21 19:10:31 +13:00
ceb58fc26e genbindings/main: move library list into a config file 2024-10-21 19:10:31 +13:00
92b80a4f5b qt6/qprintsupport: add binding rules 2024-10-21 19:10:31 +13:00
ab84c70f03 qt6: initial support 2024-10-21 19:10:31 +13:00
aed94883cf genbindings: escape hyphens in generated header include guards 2024-10-21 19:10:31 +13:00
301fa27e83 genbindings/main: uniform handling for package subdirectories 2024-10-21 19:10:31 +13:00
82413f8967 scintillaedit: add support 2024-10-20 18:07:38 +13:00
7ff290b7d1 qscintilla: add support 2024-10-20 18:07:38 +13:00
d639160886 genbindings/main: support custom clang ast node matchers 2024-10-20 18:06:31 +13:00
20f6d7878b genbindings/main: support parsing a single header instead of a directory 2024-10-20 18:06:31 +13:00
7fe6fae0b5 genbindings/main: use pkg-config directly to find cflags 2024-10-20 18:06:27 +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
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
697e1fc488 genbindings/clang: bubble error handling for retry 2024-10-16 18:27:47 +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
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
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
11d0eaf5f4 genbindings: run multiple clang workers in parallel 2024-10-11 18:40:06 +13:00
3143374fbf genbindings/clangexec: show clang stderr 2024-10-11 18:40:06 +13:00
9055f6e2ae genbindings: centralize AllowSignal/AllowMethod exceptions, block metacast signal 2024-09-21 11:32:59 +12:00
aadc37eb2d genbindings: allow void* as unsafe.Pointer 2024-09-21 11:32:59 +12:00
d8239b6a91 genbindings/transform: fix missing enums/typedefs from inner classes 2024-09-21 11:02:05 +12:00
a6dab929e6 genbindings: add collision detection for short enum names 2024-09-21 10:43:18 +12:00
85025715a8 exceptions: suppress QFormLayout::ItemRole* out-pointers 2024-09-20 19:23:47 +12:00
6a958309b0 genbindings/go: simpler enum naming 2024-09-20 19:13:15 +12:00
d0e28fa69c genbindings/clang2il: add some minor function comments 2024-09-20 19:13:00 +12:00
869e316715 genbindings/qflags: emit qflags as inner type 2024-09-20 18:41:22 +12:00
286cfa90c9 genbindings/typedefs: centralize exceptions 2024-09-20 18:41:21 +12:00
3f1c8cb1b8 genbindings/go: add extra type cast for QIntegerForSizeof<void *>::Signed 2024-09-18 13:43:25 +12:00
f6d1ef8ade genbindings/go: fix missing type cast calling go->cabi 2024-09-18 13:33:50 +12:00
e2fd134509 genbindings/qset: fixes for qset marshalling 2024-09-18 13:27:53 +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
4ec56ad303 genbindings/cabi: merge and refactor qlist parameter handling 2024-09-17 19:43:22 +12:00
15f4c367d0 genbindings/go: refactor to reuse template emitters 2024-09-17 19:30:06 +12:00
303d0f0b97 genbindings/cabi: reduce temporaries when returning qt heap copies 2024-09-17 18:28:44 +12:00
97f0141e27 genbindings: normalize cabi template returns 2024-09-17 18:28:14 +12:00
1e1714a163 genbindings/cabi: merge forward+reverse type renderers 2024-09-16 19:33:07 +12:00
0285a0a5fa genbindings/exceptions: reduce obsolete exceptions 2024-09-16 19:12:50 +12:00
8d9a7cfd2e genbindings/exceptions: update research 2024-09-16 19:04:20 +12:00
ac2ec49248 genbindings: merge enums with redundant definitions 2024-09-16 19:03:45 +12:00
7fdccff799 genbindings/enums: more accurate underlying type definitions 2024-09-16 19:03:02 +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
4882ed676a genbindings: add common binding.h 2024-09-12 18:47:31 +12:00
d2c5d27f37 genbindings/cabi: automatic indentation handling for emitAssignCppToCabi() 2024-09-12 18:42:22 +12:00
d3a159a462 genbindings/cabi: move method renaming to helper function 2024-09-11 18:06:17 +12:00
7880f14c52 genbindings/cabi: refactor extract cpp-to-cabi handling from return path 2024-09-11 18:04:32 +12:00
52c6c3b0ea genbindings: add retry logic to clang subprocess execution 2024-09-11 17:44:36 +12:00
0689949bc2 genbindings: replace const_cast<>(self) with const self* 2024-09-11 17:40:52 +12:00
d6d4afb4f2 genbindings: generate signal connection handlers for overloads 2024-09-07 15:25:25 +12:00
9d8153c4d3 genbindings/test: fix compilation for isConst support 2024-09-07 15:24:57 +12:00
d62ec99cf1 genbindings: add support for enums 2024-09-04 18:54:12 +12:00
25e6ea1698 genbindings/util: add pretty-printer 2024-09-04 18:07:11 +12:00
c4f8254994 genbindings: more correct use of size_t for passed QStringLists 2024-09-01 18:50:34 +12:00
86ce4f70aa linuxonly: always define a stub function 2024-09-01 18:50:19 +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
1e539748e6 genbindings: more exceptions 2024-08-29 19:01:21 +12:00