883ba8c131
genbindings: change AllInherits() to return lookupResultClass
2025-01-19 16:38:27 +13:00
28fd54f6a3
Merge pull request #138 from mappu/miqt-subclass
...
Remove isSubclass
2025-01-19 12:21:48 +13:00
328e80e929
qt: rebuild (check the dynamic_cast return value)
2025-01-18 17:57:48 +13:00
5cce6739f5
genbindings: remove last use of isSubclass variable
2025-01-18 17:57:25 +13:00
3697849067
genbindings: use dynamic_cast's return value to verify override is safe
2025-01-18 17:57:16 +13:00
693760653d
qt: rebuild (final classes, simpler destructors)
2025-01-18 17:46:56 +13:00
Jacek Sieka
929e4e630a
Simplify delete
...
The subclassing structure in `miqt` is such that nothing ever inherits
from `MiqtVirtual` - also, for `MiqtVirtual` to work correctly when Qt
deletes an instance part of a tree of widgets, the technique can only be
used with types that already have a virtual destructor.
Therefore:
* make `MiqtVirtual` final to ensure nothing inherits from it by
accident
* remove `virtual` inheritance of its base class - since there is no MI
invonved and no further inheritance, there can also not be any diamond
inheritance structures - removing `virtual` makes inheritance a bit
cheaper
* remove `isSubclass` from `delete` function - C++ already calls the
most inherited destructor
* mark destructor `override` to verify said assumption
2025-01-18 17:46:50 +13:00
676012fdef
doc/CHANGELOG: release notes for v0.8.0
v0.8.0
2025-01-18 17:22:59 +13:00
8df8898dd8
makefile: allow using a custom docker invocation
2025-01-18 17:22:45 +13:00
b4c82ca133
docker: exclude some repo temporary binary files from docker context
2025-01-18 17:22:34 +13:00
6bf202175c
gitignore: add comments for recent entries (Updates: #126 )
2025-01-18 17:16:29 +13:00
501227d877
Merge pull request #126 from arnetheduck/makefile
...
Add `Makefile` for rebuilding bindings
2025-01-17 18:23:39 +13:00
422e81dc78
Merge pull request #135 from arnetheduck/log-blocked
...
Log blocked methods
2025-01-17 18:22:47 +13:00
Jacek Sieka
5cbbec5619
Log blocked methods
...
Blocked methods are the source of many gaps in the binding - in
particular, they block qt_metacall/activate/etc that is necessary for
implementing meta-object support.
This change makes them visible in logs and also removes log timestamps
so that logs from two runs easily can be diffed.
2025-01-15 10:56:57 +01:00
Jacek Sieka
0474d3f8b2
create go build directory
2025-01-11 20:48:48 +01:00
Jacek Sieka
da9349971c
Add Makefile
for rebuilding bindings
...
Having a makefile is a nice little trick to re-run the binding
generation code without having to copy-paste and/or remember the right
docker incantations :)
2025-01-11 10:39:19 +01:00
3d864cdb7b
Merge pull request #131 from mappu/miqt-mingw-qt6-docker
...
Add mingw-w64-x86_64 Qt 6 docker container, test in CI
2025-01-11 18:10:15 +13:00
408e6f55d3
qt6: rebuild (block QHashSeed::toUnsignedLong function)
2025-01-11 17:41:10 +13:00
f15c54b153
genbindings: blocklist QHashSeed::size_t
2025-01-11 17:40:38 +13:00
33596d922f
Merge pull request #130 from mappu/miqt-mainthread-qt5
...
qt/mainthread: Add qt5 port, update to avoid cgo_export file
2025-01-11 17:23:08 +13:00
b0346552a7
Merge pull request #129 from mappu/miqt-readme
...
docs: Add more projects in README, update copyright year
2025-01-11 17:22:58 +13:00
d7c019b2a7
github/ci: run mingw-w64 qt6 tests in CI
2025-01-11 17:19:50 +13:00
9093bb1284
docker: add qt6 mingw-dynamic container
2025-01-11 17:18:24 +13:00
46b637a584
github/ci: add windows 32-bit test
2025-01-11 16:35:01 +13:00
39e6098f8a
github/ci: label the win64 container as win64:qt5, not 'latest'
2025-01-11 16:34:28 +13:00
4a7c9cea9b
doc/README: add notes on unsafePointer() widget comparisons
2025-01-11 16:13:12 +13:00
a13aeab545
doc/license: bump copyright year
2025-01-11 16:13:09 +13:00
de98894ce0
doc/README: add some more projects made with miqt
2025-01-11 16:13:05 +13:00
0b96c758ee
mainthread: add qt5 port
2025-01-11 16:03:04 +13:00
4fa5c6b1a2
mainthread: update header guard to disambiguate qt5/qt6 paths
2025-01-11 16:03:04 +13:00
5979cb49d5
mainthread: replace _cgo_export import with handwritten prototype
2025-01-11 16:03:00 +13:00
3a63a129ae
Merge pull request #124 from arnetheduck/cgo-export
...
Avoid dependency on exported go header
2025-01-11 15:21:00 +13:00
23829495e2
Merge pull request #123 from arnetheduck/small-fixes
...
Small fixes
2025-01-11 15:19:26 +13:00
Jacek Sieka
a0c6344ecd
Avoid dependency on exported go header
...
The expected type of the callback is already known from the AST - this
change reduces dependency on cgo specifics and makes the generated C ABI
entirely cgo-independent - in particular, there is no need to include
`_cgo_export.h` any more.
2025-01-07 12:55:40 +01:00
Jacek Sieka
765592cca2
Small fixes
...
* `stdlib` is not used / needed
* `miqt_strdup` doesn't exist
* consistently use nameprefix for `_ret`
2025-01-07 09:29:45 +01:00
4c0d782bd3
Merge pull request #120 from mappu/miqt-conversiondecl
...
Implement conversion operators
2025-01-04 13:15:11 +13:00
9bdd300985
examples/modelview_color6: add gitignore and screenshot
2025-01-04 12:48:06 +13:00
2cf02525ca
examples/modelview_color6: update syntax
2025-01-04 12:48:06 +13:00
st0pli
29ceb4e235
Add QVariant__Color examples
...
Add QVariant__Color examples
2025-01-04 12:48:06 +13:00
913d4886ce
qt: rebuild (add conversion operators)
2025-01-04 12:48:03 +13:00
81dd216f13
genbindings: add qfloat16 exceptions
2025-01-04 12:47:53 +13:00
ad635b2b38
genbindings: support conversion operators
2025-01-04 12:18:54 +13:00
c61b1b5e14
Merge pull request #119 from mappu/miqt-clang-race-condition
...
genbindings: fix race condition in clang output pipe
2025-01-04 11:34:09 +13:00
Jacek Sieka
60cb03785f
genbindings: fix race condition in clang output pipe
2025-01-04 10:39:54 +13:00
16bb62a11d
Merge pull request #115 from mappu/miqt-32bit
...
Support building on 32-bit platforms
2024-12-31 17:07:59 +13:00
6036380daa
cflags/windowsqtstatic: update for new 32-bit containers
2024-12-31 16:49:37 +13:00
185246e902
docker: add 32-bit mingw docker containers
2024-12-31 16:49:37 +13:00
421013ccb8
qt: rebuild (move 64-bit constants to separate build file)
2024-12-31 16:49:05 +13:00
dba031643c
genbindings: move all large int constants to a 64-bit only build file
2024-12-31 16:48:28 +13:00
12618a309c
Merge pull request #70 from rcalixte/goroutine6
...
Add goroutine6
2024-12-30 17:12:49 +13:00