Joao Matos
b20b1752f4
Enable QuickJS testing on CI.
11 months ago
Joao Matos
c894d1c202
Disable some non working tests for QuickJS.
11 months ago
Joao Matos
359df54981
Fix C++ warning about return values for event invokes.
11 months ago
Joao Matos
2871b12449
Minor fixes to test header files.
11 months ago
Joao Matos
92b1858a24
Update QuickJS test suite to use a Lua bindings definition file.
11 months ago
Joao Matos
94f1cb5efd
Update QuickJS test suite to bootstrap its own QuickJS runtime.
11 months ago
Joao Matos
2bef56609f
Avoid generating properties when generating QuickJS register code.
11 months ago
Joao Matos
5e405d9b85
Update QuickJS runtime and support code to work with latest upstream.
11 months ago
Joao Matos
e649400ec0
Update QuickJS JS_GetOpaque and JS_GetAnyOpaque references to work with latest upstream.
11 months ago
Joao Matos
a106f8b4b9
Update file generation naming pattern for QuickJS files.
11 months ago
Joao Matos
8f41d96f09
Avoid generating includes to units when generating the QuickJS module.
11 months ago
Joao Matos
3b7821414b
Minor code cleanup.
11 months ago
Joao Matos
642379a544
Fix QuickJS primitive type marshaling to take target sizes into account.
11 months ago
Joao Matos
57ed101bfe
Implement new Lua bindings file and commands for CLI tool.
11 months ago
Joao Matos
42d2b8aa69
Default to x64 platform over x86 for the CLI.
11 months ago
Joao Matos
aaaffff727
General CLI code cleanups.
11 months ago
Joao Matos
e962ea4188
Alias QuickJS generator kind to `quickjs`.
11 months ago
Joao Matos
343c0aa389
Fix generator kind CLI option matching.
11 months ago
Joao Matos
6712a6a973
Handle more primitive types in `GetInfo`.
11 months ago
Joao Matos
de42b4c9b2
Fixes to QuickJS marshaling.
11 months ago
João Matos
d82f78d5cc
Upgrade CI to macOS 12. ( #1867 )
11 months ago
João Matos
bf03942a92
Auto-detect .NET target framework to use in `build.sh` ( #1864 )
...
* Auto-detect .NET target framework to use in `build.sh`.
* Remove some unused build code and files.
11 months ago
Henrik Valve
345de8b1fb
Couldn't remove mobules without translation unit ( #1861 )
...
I do not know I'm first to encounter this, however, loop that removes module without translation units, could not have worked.
In C# Enumerator prohibs editing the collection so you cannot remove modules from `options.Module` while iterating `options.Mobule`.
Chose `RemoveAll` for its simplicity. Not necessary optimal solution although it might be.
Co-authored-by: HenrikVDestia <henrik.valve@destia.fi>
11 months ago
Ruben Tytgat
b658ff32f1
Fix issue #1283 ( #1855 )
...
* Fixes issue #1283
* Add test for issue #1283
* Move test for issue #1283 to CSharp test suite
* Fix typo
1 year ago
Christian Howe
3f923b1c64
Fix Xcode C++ include path ( #1844 )
1 year ago
Stefan
81e0a931cf
Don't add values to enums that can't be parsed ( #1836 )
...
* Don't add values to enums that can't be parsed
* Fix test case
* Oops
1 year ago
João Matos
f2f48dc1a3
Update LLVM.md
...
Fix documentation.
1 year ago
João Matos
099fadb9a1
ABI handling fixes in Parser.cpp ( #1829 )
...
* ABI handling fixes in Parser.cpp
* Update Parser.cpp
1 year ago
João Matos
8bd3f456a1
Update llvm.yml to install AArch64 cross compilers
1 year ago
Conrad Kreyling
a81abd5614
LLVM crosscompile x64 for ARM64 ( #1826 )
...
* LLVM crosscompile x64 for ARM64
* Fix MacOS host platform test
* Ensure options is persistent in cross compile paths
1 year ago
Conrad Kreyling
1d1b21f25e
Instruct generator to build ARM64 bindings
2 years ago
Conrad Kreyling
491248b7d5
Fix missing AArch64 entry in CLI CppAbi
2 years ago
Conrad Kreyling
bbb0693ef5
Enable ARM64 support on LLVM builds
2 years ago
Joao Matos
b5ab95e11d
Update iOS64 ABI name to the more accurate AppleARM64.
2 years ago
Joao Matos
d1307a532f
Add support for AArch64 C++ ABI.
2 years ago
deadlocklogic
9071cd2a59
Implement ClassTemplatePartialSpecialization::Parameters ( #1809 )
...
* Implement ClassTemplatePartialSpecialization::Parameters
* Template.cs: Implement ClassTemplatePartialSpecialization.Parameters
* GeneratorKind: fix bug introduced while migrating from enum to class
* Implement native ClassTemplatePartialSpecialization.Parameters + ASTConverter
* regenerated bindings (#1813 )
* regenerated bindings
* regenerated bindings after rebase
* Directory.Build.props: support C# 10.0
* Implement native ClassTemplatePartialSpecialization.Parameters + ASTConverter
* Regenerated bindings
* TestAST.cs: add TestASTClassTemplatePartialSpecialization
2 years ago
deadlocklogic
2ecd9528ff
regenerated bindings ( #1813 )
...
* regenerated bindings
* regenerated bindings after rebase
* Directory.Build.props: support C# 10.0
2 years ago
deadlocklogic
24d1a8491d
Stdlib.CSharp.cs: remove buggy typemap ( #1812 )
2 years ago
deadlocklogic
1327971e25
GeneratorKind: patch bug caused by missing ToString ( #1811 )
2 years ago
Joao Matos
519e97f2da
Remove 32-bit builds and non-debug symbols release builds from LLVM Windows CI.
2 years ago
deadlocklogic
12112720f3
Build llvm `Debug`/`Release` for `Windows`. ( #1800 )
...
* Update llvm-win.yml
* Update llvm-win.yml
* Update llvm-win.yml
2 years ago
zylalx1
12c267d9c4
Fixed a bug causing the header file to be included twice when Options.GenerateName is not null ( #1803 )
2 years ago
deadlocklogic
e068f2a14a
Typemap cleanup ( #1802 )
...
* TypeMap: prepare refactoring into a modular design
* TypeMap: refactor C++ backend into common methods
* TypeMap: refactor CLI backend into common methods
* CLI.Gen.cs: fix omitted typemap from previous commit
* Common.Gen.cs: fixed silly modification while testing
* GeneratorKind: add FindGeneratorKindByID method
* TypeMapDatabase: heavy refactor: group typemaps by GeneratorKind
* TypeMap: refactor CSharp backend into common methods + migration
* TypeMap: cleanup patches from previous commits
* TypeMapDatabase: fix passing GeneratorKind to FindTypeMap calls
* Stdlib.CSharp.cs: move std::map typemap from Stdlib.CLI.cs
* TypeMapDatabase: improve parameter name
2 years ago
deadlocklogic
8c2da6d542
Major refactor: TypePrinter: improve modular design + cleanup ( #1796 )
2 years ago
deadlocklogic
0edd48c6a1
Major refactoring: refactor GeneratorKind enum into a class ( #1794 )
...
* Major refactoring: refactor GeneratorKind enum into a class
* Minor fix: add readonly
* Add Type property for GenerationKind + cleanup
* GeneratorKind: add Name property + refactor hardcoded names
* GeneratorKind: add CLIOptions property + refactor hardcoded options
* CppSharp.CLI: minor fix: use generator.ToLower()
* GeneratorKind: fix warning
2 years ago
deadlocklogic
40f3a09296
Minor improvements ( #1793 )
...
* CppSharp.Generators.Options: added pre/post TranslationUnitPass callback
* CppSharp.Generators.Passes.Pass: added TranslationUnitPassGeneratorDependent
2 years ago
Stefan
b14038ab07
Value types may generate `Dispose` ( #1787 )
2 years ago
João Matos
3b2a15d9f5
Update README.md
2 years ago
Stefan
a5afda8603
Fix parameterless constructors not being generated for structs ( #1783 )
...
* Fix parameterless constructors not being generated for structs
* Fix implicit non-trivial default ctor
* Adjust `Ignore` linked issue
2 years ago
Stefan
b16e809b9e
Introduce `GenerateFreeStandingFunctionsClassName` option ( #1782 )
...
* Introduce `GenerateFreeStandingFunctionsClassName` option
* Support CLI and fixes
2 years ago