83989fd87e
genbindings: replace virtualbase wrapper with friend function
2025-02-08 14:42:37 +13:00
1e26114255
genbindings: extract fixupProtectedReferences() to separate function
2025-02-08 14:42:37 +13:00
d94f21f322
Merge pull request #166 from mappu/miqt-protected-methods
...
Add bindings for protected methods
2025-02-08 13:36:54 +13:00
38602912cc
qt: rebuild (add protected methods)
2025-02-08 12:29:03 +13:00
f045d87bf5
genbindings: workaround clang access to protected enums from friend funcs
2025-02-08 12:28:59 +13:00
d63facdcda
genbindings: add another name-helper for the virtual subclass
2025-02-08 12:28:58 +13:00
78fae7cbcb
genbindings/cabi: zero values in CABI should use enum's underlying type
2025-02-08 10:39:42 +13:00
f192a6a330
genbindings/go: conditionally disable extra return type indirection
2025-02-08 10:39:42 +13:00
c1bf148a5a
genbindings: generate bindings for protected methods
2025-02-08 10:39:42 +13:00
Jacek Sieka
73c30809d2
genbindings: add ProtectedMethods() helper
2025-02-08 10:39:42 +13:00
a2192d8eab
genbindings: fix linter warning about function comment
2025-02-08 10:39:42 +13:00
12df341a57
Merge pull request #167 from mappu/miqt-uic-rcc-updates
...
uic, rcc: Add -Qt6 flag, fix relative paths for embedding files
2025-02-08 10:37:30 +13:00
5eed43069e
rcc/test: verify mtime changes
2025-02-08 10:05:31 +13:00
d8c52499c1
rcc/test: support PATH separator difference on Windows
2025-02-08 10:05:31 +13:00
dfbe5a0835
rcc, uic: add the -Help output to package README.md files
2025-02-08 10:05:31 +13:00
7bacd37161
uic: add -Qt6 argument
2025-02-08 10:05:31 +13:00
8b20ff1070
rcc: add an integration test
2025-02-08 10:05:31 +13:00
730153c7f2
rcc: construct a more accurate go:generate line for rebuilding
2025-02-08 10:05:31 +13:00
d8cb5494a0
rcc: use a relative path in the go:embed line
2025-02-08 10:05:31 +13:00
0da95c13f8
rcc: use simpler error handling with a wrapper main
2025-02-08 10:05:31 +13:00
b1c757cd3c
rcc: allow specifying a custom rcc binary
2025-02-08 10:05:31 +13:00
adc3f08d4d
rcc: infer embed data rcc filename from go file instead of qrc file
2025-02-08 10:05:31 +13:00
78c1178a62
rcc: add -Qt6 flag
2025-02-08 10:05:31 +13:00
b61e12fcc9
Merge pull request #169 from mappu/miqt-fix-qt682
...
Qt 6.8.2 compatibility fix for QStringConverterBase
2025-02-08 10:04:40 +13:00
ac9b545036
qt: rebuild (block QStringConverterBase constructors)
2025-02-07 19:14:09 +13:00
647e034772
genbindings: block QStringConverterBase constructors
2025-02-07 19:13:35 +13:00
0b39af57e3
genbindings: add new AllowCtor framework
2025-02-07 18:55:01 +13:00
cae8967119
Merge pull request #160 from mappu/miqt-fix-go-names-change
...
Fix unexpected change in Go function names for overriding subclass methods
2025-02-01 15:02:11 +13:00
bea571e2dc
qt: rebuild (fix names changing in the Go projection)
2025-02-01 14:36:10 +13:00
daf3e82896
genbindings: subclass override functions need to use goMethodName
2025-02-01 14:35:54 +13:00
4eb07a18ea
Merge pull request #132 from arnetheduck/cnames
...
Move `go` name mangling to `emitgo`
2025-02-01 14:25:05 +13:00
Jacek Sieka
4e78075fa7
qt: rebuild (update name mangling)
2025-02-01 13:45:22 +13:00
Jacek Sieka
187c0a02ec
Move go
name mangling to emitgo
...
This change helps keep rules for each language separate by moving `go`
rules to `emitgo` while the C bindings stay closer to the original Qt
naming (that already is mostly C-safe).
Although it doesn't practically matter for go, it makes it slightly
easier to reuse the generated code in other languages which have
different keywords and naming conventions.
The cabi generator also gains a few helpers to help keep names
consistent across files which hopefully aids reading the generator code
- it did for me at least;)
The rule that converts under_score to CamelCase is left for another day
since moving it turns out to be more invasive due to name collision
handling - when underscores are kept, there are fewer name conflicts
which ends up causing name changes in the public go api when done
naively.
2025-02-01 13:44:32 +13:00
e4e9f4dce1
Merge pull request #158 from mappu/miqt-readme-updates-20250201
...
doc/README: Update project list, update binding comparisons
2025-02-01 13:23:49 +13:00
1ab7b48e6d
Merge pull request #153 from arnetheduck/const-callback
...
`const` in callbacks
2025-02-01 12:35:17 +13:00
735e26fd88
doc/README: add annie-miqt as another showcase app
2025-02-01 12:10:30 +13:00
a4488d6b50
doc/README: add more notes re comparison to other bindings
2025-02-01 12:10:20 +13:00
Jacek Sieka
439f3a1fb5
const
in callbacks
...
Since callback signatures are now generated in C++, might as well go
ahead and retain `const` and the pointer type, removing a `const_cast`
in the process.
2025-01-27 14:14:23 +01:00
7ee91701fc
Merge pull request #149 from mappu/miqt-android-ci-pipeline
...
Add CI pipeline to build and test android apk packaging
2025-01-25 12:30:45 +13:00
a6f4c62cc8
ci: add android test build and apk package
2025-01-25 11:56:31 +13:00
9f5240b2a8
docker/android: clear ENTRYPOINT to allow easier use in scripts
2025-01-25 11:40:47 +13:00
6b421799fb
Merge pull request #148 from mappu/miqt-zero-length-slices
...
Add checks for zero-length byte slices
2025-01-25 09:06:10 +13:00
a4b99fcfae
test: add test for round-trip of zero length byte slices
2025-01-24 18:52:12 +13:00
e4756d1e76
qt: rebuild (add checks for zero length byte slices)
2025-01-24 18:52:12 +13:00
c80c0ff441
genbindings: fix indexing of zero-length byte arrays
2025-01-24 18:52:12 +13:00
a80a93966d
Merge pull request #140 from mappu/miqt-more-virtual-functions
...
Add more virtual function overrides
2025-01-20 18:14:53 +13:00
f635e606a3
qt: rebuild (add more virtual override functions)
2025-01-19 17:07:29 +13:00
7e8f451e48
genbindings: fix checking private methods of wrong class
2025-01-19 17:07:29 +13:00
d3319cf273
genbindings: move inheritance exceptions to config-allowlist
2025-01-19 17:07:29 +13:00
8705ac0b5c
genbindings: expand virtual overrides to cover indirect base classes
2025-01-19 16:38:55 +13:00