Commit Graph

379 Commits

Author SHA1 Message Date
5a3c3556a1 genbindings/intermediate: add Void() helper method 2024-11-17 19:16:51 +13:00
4fbf4c702a genbindings: refactor move state tracker to new file 2024-11-17 19:16:45 +13:00
6ae2235cb4 genbindings/typedefs: refactor extract single method helper 2024-11-17 19:16:40 +13:00
0ffb24d11a genbindings/blocklist: refactor extract single method helper 2024-11-17 19:16:34 +13:00
d9bfece505 genbindings/state: track class lookup locations 2024-11-17 19:16:25 +13:00
ed18c216f3 genbindings/exceptions: move QGADGET to exceptions file 2024-11-17 19:16:07 +13:00
Rick Calixte
a067210548
genbindings: Lint cleanup 2024-11-13 08:33:51 -05:00
a6d314559f multimedia: add blocklist for QWaveDecoder::setIODevice 2024-11-11 19:05:09 +13:00
c40d54ef5e doc/README: simplify FAQ entry about library bindings 2024-11-06 18:44:05 +13:00
841a7a2835 qscintilla6: definitions 2024-11-06 18:44:05 +13:00
df7aae6f1b qmultimedia: add support in genbindings 2024-11-06 18:44:02 +13:00
e41f991a23 qnetwork: add support in genbindings 2024-11-06 18:38:25 +13:00
9e33eb65b6 qt/cbor: split cbor into separate package 2024-11-06 18:38:18 +13:00
ce8dd5631a qprintsupport: rename to qt/printsupport [BREAKING] 2024-11-04 22:24:54 +13:00
a009008525 genbindings: add qmap/qhash support 2024-11-04 21:33:45 +13:00
69011a5acb genbindings/cabi: refactor and simplify getReferencedTypes 2024-11-04 20:48:56 +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
01d347cea2 uic: update README since the issue described has been resolved 2024-10-27 18:45:48 +13:00
f93573f370 rcc: remove accidental checked-in binary 2024-10-27 18:45:29 +13:00
6d487dfec9 genbindings: exclude Qt 6 QGuiApplication::platform that does not build on Win32 2024-10-27 12:47:01 +13:00
9e48407b63 rcc: port from bash to Go, for simpler cross-platform go-generate 2024-10-26 14:20:36 +13:00
6ffd9457c5 uic: always assume NewFoo is the correct constructor 2024-10-26 14:18:28 +13:00
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
366739f5c1 handbindings: remove some checked-in binaries 2024-10-21 18:12:35 +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
0e705a4e6e handbindings: avoid unsafe.Pointer when marshalling cgo.Handle 2024-10-13 18:31:18 +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
3fffa86823 uic: support standard button connections in dialogs 2024-10-05 17:49:21 +13:00
b64d48a974 uic: support colspan/rowspan in grid layouts 2024-10-05 17:49:10 +13:00
1a4d34185f uic: support enum-set properties 2024-10-05 17:48:58 +13:00
7e320004f5 uic: support icons on tabs 2024-10-03 19:32:28 +13:00
773cbec6b0 uic: move all setCurrentIndex() calls to end, to match qt uic output 2024-10-03 19:32:17 +13:00
6ed51553ac uic: support <column> elements 2024-10-03 19:32:05 +13:00
8d07be763a uic: emit warnings for unhandled item properties 2024-10-03 19:31:52 +13:00
4c6062de1f uic: support icons using iconset 2024-10-03 18:51:50 +13:00
a0a4624563 uic: add extra AddWidget() calls for QSplitter/QStackedWidget 2024-10-03 18:51:34 +13:00
699f1389e2 rcc: support rebuilding with go generate 2024-10-03 18:51:11 +13:00
a3d527ca6b uic: layout spacing and margins 2024-10-03 18:07:43 +13:00
975f18b7b0 rcc: initial commit 2024-10-03 18:07:13 +13:00
693c9fc0b7 uic: support more properties, support QToolBar actions 2024-10-03 17:23:12 +13:00
12b4e083ee uic: support promoted widgets assuming default ctor naming scheme 2024-10-03 17:22:49 +13:00
2c05d876f9 uic: support for spacers 2024-10-03 17:11:30 +13:00
0ba1f0f6fa uic: better support for miqt's style of enums 2024-10-03 17:10:09 +13:00
11f99b876a uic: improve error messages on failure 2024-10-03 17:09:52 +13:00
4140b539d1 uic: add development README 2024-09-28 14:52:13 +12:00
7de20812b2 uic: support QTabWidget.title, QDockWidget locations 2024-09-28 14:39:56 +12:00
99a689996f uic: deeper implementation, add uidesigner example 2024-09-28 14:27:19 +12:00
2a9fe93e21 uic: recursive emit basic go implementation 2024-09-28 13:04:31 +12:00
5a2c8b726f uic: add main flag handling, add go:generate comment with preserved flags 2024-09-28 11:31:23 +12:00