2024-08-06 01:06:50 +00:00
|
|
|
Phase zero
|
|
|
|
|
|
|
|
- [X] Handwritten bindings
|
|
|
|
|
|
|
|
Phase 1
|
|
|
|
|
|
|
|
- [X] Parse headers
|
2024-08-08 07:06:50 +00:00
|
|
|
- [ ] Generate types
|
|
|
|
- [X] Convert parameter pointer types to binding types
|
|
|
|
- [X] Basic methods
|
2024-08-10 00:54:31 +00:00
|
|
|
- [X] Special methods
|
|
|
|
- [X] Constructors
|
|
|
|
- [X] Prevent calling ctor of abstract class
|
|
|
|
- [X] ~~Destructors~~ We only need .Delete()
|
|
|
|
- [X] Copy-constructors
|
2024-08-11 04:37:26 +00:00
|
|
|
- [ ] Move-constructors (e.g. QWidgetData)
|
2024-08-08 07:06:50 +00:00
|
|
|
- [X] Operator overloading
|
2024-08-10 00:54:31 +00:00
|
|
|
- [X] Class inheritance
|
|
|
|
- [X] Detect in AST
|
|
|
|
- [X] ~~Downcast helper methods~~ Direct type available
|
2024-08-08 07:06:50 +00:00
|
|
|
- [ ] Member variables
|
2024-08-11 04:37:26 +00:00
|
|
|
- [ ] Static methods (e.g. QWidget::setTabOrder)
|
2024-08-09 22:36:41 +00:00
|
|
|
- [X] Return of class types passed by pointer
|
2024-08-11 04:37:26 +00:00
|
|
|
- [X] Return of class types passed by value (e.g. `_Icon()`)
|
2024-08-09 22:36:41 +00:00
|
|
|
- ~~want to copy-construct into Go-provided memory~~ Go can't allocate a C++ type
|
|
|
|
- Return as a heap pointer instead
|
|
|
|
- [X] Class parameters passed by pointer (want to call `cPointer()`)
|
|
|
|
- [X] Class parameters passed by value (need to dereference) e.g. `_SetIcon()`
|
|
|
|
- [X] QString type conversion
|
2024-08-11 04:37:26 +00:00
|
|
|
- [X] For parameters
|
|
|
|
- [X] For return types
|
2024-08-09 22:36:41 +00:00
|
|
|
- [ ] Bypass malloc/free for zero-length strings
|
2024-08-11 04:37:26 +00:00
|
|
|
- [X] QList type conversion (e.g. QWidget::Actions())
|
|
|
|
- [X] For parameters
|
|
|
|
- [X] For return types
|
|
|
|
- [ ] Bypass malloc/free for zero-length arrays
|
|
|
|
- [ ] QVector type conversion
|
|
|
|
- [ ] QByteArray type conversion(?)
|
2024-08-08 07:06:50 +00:00
|
|
|
- [X] Hide private methods
|
2024-08-11 04:37:26 +00:00
|
|
|
- [X] Optional parameters
|
|
|
|
- [ ] Overloaded methods
|
2024-08-09 22:36:41 +00:00
|
|
|
- [ ] Qt:: namespace enums/const values
|
2024-08-11 04:37:26 +00:00
|
|
|
- e.g. Qt::WindowFlags (global)
|
|
|
|
- e.g. QWidget::RenderFlag (per-class)
|
2024-08-09 22:36:41 +00:00
|
|
|
- [ ] Free functions
|
2024-08-08 07:06:50 +00:00
|
|
|
- [ ] QtCore
|
|
|
|
- [ ] QtGui
|
|
|
|
- [ ] QtWidgets
|
2024-08-11 04:37:26 +00:00
|
|
|
- [ ] Minimal example
|
|
|
|
- [ ] Calling connect
|
|
|
|
- [ ] Exercising QString interop
|
|
|
|
- [ ] Exercising QList interop
|
2024-08-08 07:06:50 +00:00
|
|
|
- [X] Pick a name for the package
|
|
|
|
- [ ] Make github repo, rename module
|
2024-08-06 01:06:50 +00:00
|
|
|
- [ ] v0 Public release
|
|
|
|
|
|
|
|
Phase 2
|
|
|
|
|
|
|
|
- [ ] Port examples from other Go Qt bindings
|
2024-08-08 07:06:50 +00:00
|
|
|
- [ ] QString helper functions
|
2024-08-09 22:36:41 +00:00
|
|
|
- [ ] QList, QVector, QByteArray helper functions
|
2024-08-06 01:06:50 +00:00
|
|
|
- [ ] `connect`
|
2024-08-11 04:37:26 +00:00
|
|
|
- [ ] Document comparison with other Qt binding packages
|
2024-08-06 01:06:50 +00:00
|
|
|
- [ ] Document use for Windows/macOS/Linux
|
|
|
|
|
|
|
|
Wishlist
|
|
|
|
|
|
|
|
- [ ] Subclassing
|
|
|
|
- [ ] Custom Q_PROPERTY support
|
|
|
|
- [ ] uic implementation
|
|
|
|
- [ ] Use clang ast's `mangledName` to make a dlsym/LazyDLL cgo-free version
|
2024-08-08 07:06:50 +00:00
|
|
|
- [ ] Generate bindings for all current Qt versions (Debian Qt / Qt LTS), expose as git tags
|
2024-08-09 22:36:41 +00:00
|
|
|
- [ ] Reuse CABI to generate Qt bindings for other non-Go languages
|
2024-08-11 04:37:26 +00:00
|
|
|
- [ ] Reduce necessary memory copies around ABI boundaries
|