Andrii Kurdiumov
50b87a49d4
Fix bunch of warnings from code analysis ( #321 )
...
Warnings produced complain that re-throw did not properly capture stack trace.
Given that these rethrow just to please compiler, I think it is better fix that.
2022-01-26 21:17:28 +01:00
Andrii Kurdiumov
b9826da789
Reduce usage of Type ( #323 )
...
Replace parts of marshaller responsible for lists/arrays with
AOT-friendly logic. Use generics where possible
2022-01-26 21:15:18 +01:00
Andrii Kurdiumov
723fef9d8d
Use Marshal.GetFunctionPointerForDelegate<T> ( #301 )
...
This make code more trim friendly
Improve #300
2022-01-25 19:46:06 +01:00
Andrii Kurdiumov
84f337b046
Update to .NET 6 ( #315 )
...
* Update to .NET 6
I update not only samples, but also codegen tools, because .NET 5 is not LTS and in 4 month would be out
Closes #306
* Add .NET 6.0 support to actual templates
* Dont forget about FSharp and VB.NET
* Revert choice option in parameters
2022-01-25 19:24:27 +01:00
Andrii Kurdiumov
24392d01ea
Make usage of Marshal.OffsetOf AOT friendly
2021-08-15 20:27:58 +06:00
lytico
116762af89
Merge pull request #261 from kant2002/kant/nativeaot-freidnly
...
Make Marshal.SizeOf AOT friendly
2021-07-24 02:14:50 +02:00
Andrii Kurdiumov
64f3f78c0f
Address PR feedback
2021-07-22 19:40:38 +06:00
Andrii Kurdiumov
1b73bc8042
Address PR feedback
2021-07-21 00:38:34 +06:00
Andrii Kurdiumov
2c54a7824c
Update based on PR feedback
2021-07-21 00:24:49 +06:00
Andrii Kurdiumov
238b98b631
Make Marshal.SizeOf AOT friendly
...
See https://github.com/dotnet/corert/issues/5374#issuecomment-455706335
Current state in NativeAOT experiment is the same.
2021-06-13 22:24:09 +06:00
zii-dmg
786f79e037
Merge branch 'develop' into style-properties
2021-04-24 11:33:33 +03:00
Harry
7f5e81cf47
Bump up dependencies ( #221 )
2021-03-07 12:31:19 +01:00
zii-dmg
d3687a9370
Support style properties
...
Added support for style properties and marked some style properties in GtkSharp.metadata.
2021-02-06 20:27:25 +03:00
Thibault Saunier
1b9fe6a8ed
Revert "Attempt minimal changes to obtain proper disposing."
...
This reverts commit 2e1882d31e
.
2021-01-24 19:55:17 +01:00
Thibault Saunier
d0bb5efa3a
generator: Trim type "const " the same way as "const-" as both are valid
2021-01-24 19:55:17 +01:00
Thibault Saunier
9002cefe44
generator: Add a way to force constructors to be names
...
In some cases (GstEvent) unnamed constructors make no sense
2021-01-24 19:55:17 +01:00
Thibault Saunier
57ea279ceb
generator: Fix accessing EqualityName for GArray*s
2021-01-24 19:55:17 +01:00
Thibault Saunier
939111a348
Do not check padding ABI offset correctness
...
As it will break the test build as soon as the padding
starts actually being used.
2021-01-24 19:55:17 +01:00
lytico
c6cfc9d58c
AbiStructExtension.BaseOverride: introduce an Extension to find the first overriden method in a base-class, even if a overriden class doesn't override the base class & change to GapiCodegen to use this extension
2020-04-06 22:31:10 +02:00
Midhun Mohan
b5643a5d2c
Updating access modifier to public.
2020-02-17 15:47:14 +00:00
Midhun Mohan
956ae249ac
Fix for memory leak(Issue 135)
2020-02-17 11:43:47 +00:00
cra0zy
e9f1f3628d
Improve library loading code
2019-11-04 21:02:36 +01:00
Mikhail Kanygin
f43292c19c
Generator now creating imported api delegates with UnamangedFunctionPointer calling convention cdecl by default.
2019-11-04 20:13:01 +01:00
Mads Kruse Johnsen
2e1882d31e
Attempt minimal changes to obtain proper disposing.
2019-08-10 15:58:34 +02:00
cra0zy
26ef5bad3e
Fix file permissions, how did this happen?
2018-02-26 23:03:31 +01:00
cra0zy
8b5cb38bcb
Setup safer function loading so the bindings can be used on older versions of Gtk
2018-01-18 20:41:31 +01:00
cra0zy
543a29569b
Replace DllImport with a better multiplatform solution
2018-01-18 20:41:03 +01:00
cra0zy
ccb48b505c
EnablAdd auto generation of native lib stubs
2017-10-26 18:30:48 +02:00
cra0zy
6926c9cbf2
WIP CAKE + .Net Core
2017-10-23 01:25:13 +02:00