Commit Graph

135 Commits

Author SHA1 Message Date
7880f14c52 genbindings/cabi: refactor extract cpp-to-cabi handling from return path 2024-09-11 18:04:32 +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
d62ec99cf1 genbindings: add support for enums 2024-09-04 18:54:12 +12:00
86ce4f70aa linuxonly: always define a stub function 2024-09-01 18:50:19 +12:00
2323c12b55 support marking data types as linux-only 2024-09-01 17:50:58 +12:00
d8c7e9e770 genbindings: fixes for signed char, pointer+reference types 2024-08-29 19:01:12 +12:00
2e5749f9a6 genbindings: handle QList/QVector typedefs safely in inner return types 2024-08-29 18:07:28 +12:00
a4baeabbcb genbindings: more const correctness 2024-08-29 17:38:18 +12:00
421c229771 genbindings/exceptions: more exceptions and overrides 2024-08-29 17:17:35 +12:00
97a56647b7 genbindings: fixes for QStrings 2024-08-29 17:17:12 +12:00
050d668765 genbindings: centralize handling of flag types 2024-08-29 17:16:36 +12:00
daff305d36 genbindings: support 'signed char' 2024-08-29 17:15:41 +12:00
7b5db7c7ea genbindings/const: fixes for disambiguating calls to const methods 2024-08-29 17:14:44 +12:00
8da51d61f5 genbindings: misc fixes 2024-08-28 18:47:44 +12:00
56395eaa7a genbindings: parse and call const methods for disambiguation 2024-08-28 18:47:23 +12:00
488e3cc6c4 genbindings/emitcabi: merge the two qt forwarding cases 2024-08-28 18:22:25 +12:00
4ca4c0dd9e genbindings: variable pointer depth 2024-08-28 18:22:05 +12:00
a0b51bef8e genbindings: improved uintptr handling for enum types 2024-08-27 20:05:38 +12:00
a0812831e7 genbindings: add more exceptions 2024-08-27 19:12:29 +12:00
64e46e1978 genbindings: move QFlag<> handling into normal emitgo/emitcabi emission 2024-08-27 18:44:44 +12:00
9dac446a82 genbindings: more exceptions 2024-08-26 22:52:46 +12:00
b84d816609 genbindings/typedefs: replace hardcoded exceptions with dynamic ones 2024-08-26 22:52:46 +12:00
85cf3b84d8 genbindings: use knownClassNames tracker to distinguish A::B names 2024-08-26 22:52:41 +12:00
f8a9a3f36e genbindings: initial work on inner class definitions 2024-08-25 19:08:28 +12:00
b4df6d06f9 genbindings: bind all Qt::constants as int 2024-08-25 17:50:14 +12:00
0401231ab6 genbindings: assorted pointer correctness fixes 2024-08-25 15:31:51 +12:00
8fb92cfd3a genbindings: fixes for integer types 2024-08-25 15:31:21 +12:00
b5282f31b6 genbindings: fixes for self parameters, binding building 2024-08-24 11:46:26 +12:00
0e8b48d1b8 genbindings: more work on integer types 2024-08-24 11:45:36 +12:00
4c318669cc genbindings: more const, int, and pointer correctness 2024-08-22 21:56:19 +12:00
e629117e54 genbindings/ints: qint64 handling applies to pointer types too 2024-08-22 19:20:29 +12:00
cd16ed9028 genbindings: avoid pointer copy when returning qt type by reference 2024-08-20 20:20:26 +12:00
c59545c956 genbindings: s/renderTypeCpp/Cabi 2024-08-20 20:19:38 +12:00
7e78b73517 genbindings: accurate type alias tracking for static_cast<> overload resolution 2024-08-20 20:16:13 +12:00
1ea3f220e6 genbindings: improvements for deleted ctors/dtors/overloads 2024-08-20 20:10:57 +12:00
b5370c8728 genbindings: more integer types 2024-08-19 19:12:37 +12:00
cf2585416f genbindings/exceptions: move header imports to exceptions.go 2024-08-18 19:02:14 +12:00
6d09ef795b genbindings: remove special-case qreal handling 2024-08-18 18:56:09 +12:00
d5eeb64c86 genbindings/connect: only generate connect() stubs for the fully expanded overload 2024-08-18 18:55:28 +12:00
f488e54f8b genbindings/connect: initial implementation 2024-08-18 17:48:17 +12:00
ef4dc703e6 genbindings: fix qintptr cabi typing 2024-08-18 17:47:31 +12:00
441d96398f genbindings: fix QClipboard private dtor 2024-08-18 17:47:19 +12:00
05404c308a genbindings/cabi: skip imports for other QPlatform* family classes 2024-08-18 16:08:25 +12:00
d8145be2da genbindings: static methods move to top-level 2024-08-18 15:24:04 +12:00
d485d8850e genbindings: fix missing QList import if there are only QList<int> uses 2024-08-17 14:10:33 +12:00
58eee48a5d genbindings: blacklist QFooPrivate 2024-08-17 14:09:51 +12:00
d8de68b3a2 genbindings: many fixes for different QList<T> specializations 2024-08-17 12:39:45 +12:00
b87c5998b1 genbindings: bind QVector<T> as []T, like QList 2024-08-17 11:29:31 +12:00
a579f80d34 genbindings: basic support for QList<> of non qt pointer type 2024-08-17 11:28:49 +12:00
9a78d87e00 genbindings: treat QRgb as unsigned int 2024-08-17 11:27:02 +12:00
5fa7bd37eb genbindings/typedefs: exclude typedefs from class pointer declarations 2024-08-17 11:25:54 +12:00
a87e7a99a7 genbindings: add many more ErrTooComplex and workarounds 2024-08-15 19:53:01 +12:00
7b86a20386 genbindings: misc 2024-08-15 19:51:31 +12:00
2ccc11f57d genbindings: QStringList handling 2024-08-15 19:50:30 +12:00
189a93fbca genbindings: more integer type handling 2024-08-15 19:49:09 +12:00
97402096cc genbindings: remove some redundant casts now that PVoids are gone 2024-08-14 18:34:38 +12:00
97b9e01451 genbindings: include QList header in cpp but not in h 2024-08-14 18:34:27 +12:00
8ac598fbb5 genbindings/cabi: replace qt int types with native C types in C header 2024-08-14 18:34:05 +12:00
3dcdfbd594 genbindings: add explicit int casts when calling, to select overload 2024-08-14 18:33:47 +12:00
7f552ee6a4 genbindings: fixup pointer arithmetic for returning arrays by value 2024-08-14 17:31:49 +12:00
21f1914244 genbindings: add c++ includes for all referenced Qt types 2024-08-14 17:31:35 +12:00
c7f119df80 genbindings: remove Pvoid types, replace with incomplete C pointers 2024-08-14 17:31:10 +12:00
027c059b0b genbindings: add WId->uintptr typedef for QWidget.h 2024-08-11 16:54:23 +12:00
3419c8c0dc genbindings: QList<> support 2024-08-11 16:37:18 +12:00
aaa9340808 genbindings: basic constructor support 2024-08-10 12:52:45 +12:00
545a819f81 genbindings: more type casts for pvoid types 2024-08-10 11:46:48 +12:00
bc3bfa88ad genbindings: allow compilation if we return a const void* 2024-08-10 11:46:27 +12:00
2283213456 genbindings: suppress deprecated warnings 2024-08-10 11:45:29 +12:00
6fb50dc267 genbindings: call correct c++ function for optional parameters 2024-08-10 11:45:19 +12:00
526fa612fc genbindings: always take Qt arguments by pointer 2024-08-10 10:37:12 +12:00
d952b1ef75 genbindings/cabi: remove unused function argument 2024-08-10 10:37:12 +12:00
6a44b59b52 genbindings: fixes for functions returning void* 2024-08-10 10:37:06 +12:00
d0c627e7a5 genbindings: support classes returned by value, with go finalizer 2024-08-10 10:34:54 +12:00
460b8aaef8 genbindings/cabi: add necessary header for size_t 2024-08-10 10:33:31 +12:00
76f4323676 genbindings: add Delete() functions 2024-08-10 10:32:57 +12:00
9264bc6cc6 genbindings: handle QString return types 2024-08-09 18:41:33 +12:00
8f266f5202 genbindings: find all Qt types for PVOID typedefs, not just direct classes 2024-08-08 19:06:31 +12:00
2dc9d1bab7 genbindings: add QtClassType() helper 2024-08-08 19:06:14 +12:00
d5e6a21ae4 genbindings: fix wrong parameter order for CABI output files 2024-08-08 18:55:47 +12:00
a991feb589 genbindings: fixup header paths and header include guards 2024-08-08 18:54:36 +12:00
0c275047c3 genbindings: QString parameter forwarding with custom preamble 2024-08-08 18:54:13 +12:00
179c37dfe0 genbindings: move type renderering to CppParameter methods 2024-08-08 17:51:29 +12:00
6174c4c243 genbindings: mark IL types as public for json export 2024-08-07 18:56:14 +12:00
3a802d0f5a genbindings: further work on output generation 2024-08-07 18:51:51 +12:00