lytico
0484f9fe58
GtkSharp-api.xml: fix TouchEvent event-type ( #357 )
2022-06-15 13:21:05 +02:00
zii-dmg
e48e6e0380
Fix loading of resources if jit inlines method ( #328 )
...
Added no inlining attribute for methods with Assembly.GetCallingAssembly() so caller assembly is correct if jit want to inline.
See https://github.com/picoe/Eto/pull/2049 .
2022-01-27 21:49:41 +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
zii-dmg
c362ad1468
FileChooserNative: allow null parent, free memory ( #322 )
...
* FileChooserNative: allow null parent, free memory
Also make consistent whitespaces, new lines.
* Re-run checks
2022-01-26 21:08:42 +01:00
Harry
42ceb1c0d1
Multitarget with .net6.0 and .netstandard2.0 ( #318 )
2022-01-26 13:24:28 +01:00
zii-dmg
0ec20fa7cd
Marked more style properties and extended xsd schema ( #295 )
...
Xsd for fewer generation warnings.
2022-01-25 19:57:13 +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
dmg
afc7ab450b
Fixed containers child properties
...
* Fixed marshaling for reading child properties.
* Enabled child properties for Box, Grid, Stack in api xml.
* Added sample/test for using child properties (ChildPropertiesSection).
2022-01-25 19:41:30 +01: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
2c54a7824c
Update based on PR feedback
2021-07-21 00:24:49 +06:00
lytico
882140fd9d
introduce IsSupported in <namespace>.Global
2021-07-19 20:13:14 +02:00
dmg
a09d12eb5c
Deprecated and sorted style properties
...
Also fixed owner of property "DecorationResizeHandle" (Widget -> Window).
2021-06-17 18:16:59 +03:00
zii-dmg
a58f601e9b
Merge branch 'GtkSharp:develop' into style-properties
2021-06-17 17:39:57 +03:00
zii-dmg
4e4cc157b7
Fix IScrollableImplementor.GetBorder out param ( #255 )
...
IScrollableImplementor.GetBorder was not generated with out param as in IScrollable.
2021-05-25 11:54:02 +02:00
zii-dmg
786f79e037
Merge branch 'develop' into style-properties
2021-04-24 11:33:33 +03:00
zii-dmg
aa1095a02d
Use embedded resources in CssProvider.LoadFromResource ( #238 )
2021-04-22 16:50:39 +02:00
dmg
f86752770b
Fixed more metadata
...
Added element types, callback scopes.
Removed invalid rules (fewer "no matched nodes" messages in log).
Removed garbage property in GtkSharp-api.xml.
2021-04-10 16:34:19 +02:00
zii-dmg
8ac2892938
TreePath improvements ( #235 )
...
* TreePath(int[]) constructor is now using one API call instead of many.
* Indices property is now using one API call instead of two.
2021-04-01 12:38:54 +02:00
dmg
a23d44fb82
Fixed some more APIs according to GTK docs
2021-03-24 10:28:10 +01:00
dmg
cd0468edc8
Fixed some APIs according to GTK docs
2021-03-19 18:04:58 +01: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
Mads Kruse Johnsen
0daa985316
Add method GetRawOwnedObject to Builder.
...
This method performs a GetRawObject, but also increases the refcount.
This is (at least) needed in cases where you wish to have a class inherting a widget,
and use a builder in the constructor : base (builder.GetRawObject("name"))
Because no ref is taken the eventual freeing of the builder will cause the our object (this)
to have a refcount 0.
This is an issue since the freeing of our ToggleRef (which should happen later) performs an unref.
2021-01-25 12:29:04 +01:00
Mads Kruse Johnsen
470ce6cff7
Invoke Destroy in Dispose if the Widget IsToplevel and it is not already destroyed
...
If the Widget is a toplevel then we have not ref'ed the Object, so ref before destroying it, and let the freeing of the ToggleRef undo the ref.
2021-01-25 11:07:39 +01:00
Mads Kruse Johnsen
c3364fd338
Fix MessageDialog effectively creating an additional Dialog due to wrong base call
2021-01-25 11:07:39 +01: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
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
cb1bdfae06
GtkScrollable: GetBorder border as out param
2020-12-08 10:09:05 +01:00
zii-dmg
66d46cbacb
Manually marshal UTF-8 dialog title
2020-12-08 10:07:43 +01:00
zii-dmg
7dbde29178
Fixed Container.ChildGetProperty
...
Properly marshal `gtk_container_class_find_child_property` with return type of pointer instead of struct. When marshal pointer to struct manually.
2020-10-08 15:58:20 +02:00
Harry
724df41249
Revert "Sign the DLL files"
2020-08-07 13:30:09 +02:00
Harry
3cac71dded
Bump Gtk dependency to 3.24.20
2020-08-03 21:06:15 +02:00
Drew Holzworth
ce11581485
Fixed FileChooserNative (I hope)
...
Changed NativeDialog to inherit from GLib.Object, as it does in the C API.
FileChooserNative seems to inherit multiple base classes in the C API,
which isn't possible in C#, but this solution is to mimic multiple
inheritance via a proxy FileChooserAdapter.
2020-07-22 09:49:47 +10:00
Harry
3b90cbf9f2
Merge pull request #139 from ermshiperete/sign
...
Sign the DLL files
2020-06-29 10:37:01 +02:00
lytico
79db23fd80
Gtk.Container.gtksharp_container_base_forall & CellRenderer.gtksharp_cellrenderer_base_get_size: check if obj is null
2020-05-28 22:54:23 +02:00
Dadoum
f8568ff821
Fix Container.ForAll
...
A SIGSEGV occurs without this change (Invalid pointer: 0x00 fix)
2020-05-18 19:48:11 +02:00
lytico
fb33b67d25
GtkSharp.CellRenderer.gtksharp_cellrenderer_base_get_size: adjust loop exit
2020-04-21 18:54:32 +02:00
lytico
38a43f7a7e
GtkSharp.CellRenderer: implement https://github.com/mono/gtk-sharp/blob/master/gtk/glue/gtk/cellrenderer.c
2020-04-21 17:28:34 +02:00
lytico
10f9819446
GtkSharp.Container: implement https://github.com/mono/gtk-sharp/blob/master/gtk/glue/container.c
2020-04-06 21:55:17 +02:00
Harry
0fb659c2bf
Merge pull request #145 from awittaker/GtkApplication_string_array_fixes
...
Change Gtk.Application action/accel related calls to use string[]
2020-04-03 04:14:01 +02:00
awittaker
a0b3f306ea
Change Gtk.Application action/accel related calls to use string[]
2020-03-30 14:49:49 +01:00
Harry
fa8f659429
Merge pull request #134 from awittaker/SetUris_Fix
...
Change Gtk.SelectionData Uris & SetUris to use string[]
2020-03-28 19:10:24 +01:00
awittaker
3b6b33a28d
Change GtkWidget.ListActionPrefixes() to return string[] instead of string
2020-03-28 15:57:31 +00:00
awittaker
f927dd1ec1
Change Gtk.SelectionData Uris & SetUris to use string[] by null_term_array="1"
2020-03-28 15:51:08 +00:00
Mikkel Kruse Johnsen
ed68eeadfd
Sign the DLL files
2020-03-02 16:46:24 +01:00
Harry
1a76bf56cb
Merge pull request #126 from awittaker/combobox.entry-fix
...
Combobox.entry fix invalid cast exception
2020-01-08 07:34:06 +01:00
awittaker
35f4c10a8e
Fix 'ComboBoxText.Entry' hides inherited member 'ComboBox.Entry'.
2020-01-07 18:20:03 +00:00
awittaker
b070b77fe0
Prevent InvalidCastException in Combobox.Entry
2020-01-07 18:18:00 +00:00
cra0zy
dfc9980f58
Only download Gtk on Windows
2019-11-07 22:35:42 +01:00
cra0zy
a32bcb35c7
Better way of including Gtk libs
2019-11-07 21:32:32 +01:00