Commit Graph

4116 Commits

Author SHA1 Message Date
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
lytico
1fb5527458
Merge pull request #270 from lytico/lytico/issues/269_GLibrary_issupported
GLibrary.cs: introduce IsSupported
2021-07-20 01:56:05 +02:00
lytico
69531abb9c Samples.csproj: WebviewSection: check for WebKit.Global.IsSupported 2021-07-20 01:52:18 +02:00
lytico
e4b774da5f Webkit: merge changes & add WebKit.Global.IsSupported 2021-07-20 01:51:36 +02:00
lytico
b2a5d08dd9 Merge remote-tracking branch 'origin/develop' into lytico/issues/269_GLibrary_issupported
# Conflicts:
#	Source/Libs/Shared/GLibrary.cs
2021-07-20 01:37:56 +02:00
lytico
b56ef3b246
Merge pull request #271 from lytico/lytico/webkit2
Webkit2 -Support
2021-07-20 01:31:41 +02:00
lytico
48e2c06649 Samples.csproj: WebviewSection.cs: track api changes for WebView2 2021-07-20 01:24:53 +02:00
lytico
79cd86eaa5 Settings.cake: WebkitGtkSharp: try fix Deps, ExtraArgs (no success) 2021-07-20 01:23:57 +02:00
lytico
c1b43bf0db WebkitGtkSharp: comment Atk.ImplementorIface,GtkBuildable, add WebKitAuthenticationRequest for GetCanSaveCredentials, ListTextFields 2021-07-20 01:18:10 +02:00
lytico
f6c69f8632 GLibrary.cs Library.Webkit: use .37 2021-07-19 23:16:31 +02:00
lytico
96ad592ac1 GLibrary.cs Library.Webkit: cut the 0 in libwebkit2gtk-4.0.so 2021-07-19 23:02:48 +02:00
lytico
79097f669f Webkit: use WebkitGtkSharp-api.xml from WebKit2-4.0.gir & change lib to libwebkit2gtk-4.0.so 2021-07-19 22:12:43 +02:00
lytico
882140fd9d introduce IsSupported in <namespace>.Global 2021-07-19 20:13:14 +02:00
lytico
6b4cf555e0 GLibrary.cs: introduce IsSupported 2021-07-19 19:24:17 +02:00
lytico
6d40ae2437 Samples.csproj: add WebkitGtkSharp - sample 2021-07-19 18:11:36 +02:00
lytico
4790ecaa9b introduce WebkitGtkSharp 2021-07-19 18:11:04 +02:00
lytico
b3fd3f91bf
Merge pull request #267 from zii-dmg/CairoPathData
Added Cairo.Path properties
2021-07-19 15:19:03 +02:00
dmg
fbe180d742 Added Cairo.Path properties
New properties on Path is lazy evaluated. Only reading is supported.
2021-07-17 17:05:21 +03:00
dmg
ad0420b118 Fixed GLib.Value nulls setter
Some GValue types support null value but code was not checking for .NET "null" and get null ref exception. Fixed nulls for g_value_set_variant, g_value_set_object, g_value_set_boxed as in GLib docs.

This fixes NodeView with null pixbuf column.
2021-07-17 10:22:40 +02:00
lytico
be5f81a7f0
Merge pull request #263 from zii-dmg/TreeViewSample
Added TreeView sample
2021-07-01 21:46:50 +02:00
lytico
7eb100a2ae
Merge pull request #217 from zii-dmg/style-properties
Support style properties
2021-07-01 21:05:54 +02:00
dmg
110d783540 Added TreeView sample
Features:
* Sort on header click.
* Add, edit, remove value in store (name column).
* Children items.
* Handlers for store events.
2021-06-20 14:18:34 +03: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
lytico
9828244ffc
Merge pull request #260 from zii-dmg/SListOwnership
Fixed SList ownership
2021-06-16 20:00:49 +02: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
e8c9a7a5e0
Fixed SList ownership 2021-06-10 21:35:54 +03:00
lytico
f77efced1a
Merge pull request #259 from zii-dmg/PangoApis
Added/fixed some Pango APIs
2021-06-07 17:23:08 +02:00
dmg
4c80c5fc42 Added/fixed some Pango APIs
* Added pango_layout_get_direction
* Added pango_layout_get_line_spacing / pango_layout_set_line_spacing
* Added pango_layout_line_get_height
* Added return type to pango_itemize_with_base_dir
* Fixed pango_layout_line_get_x_ranges
* Fixed pango_layout_get_log_attrs / pango_layout_get_log_attrs_readonly (using only readonly version because we make copy anyway, added LogAttr bitfield reading properties)
2021-06-02 22:33:03 +03:00
zii-dmg
317440bafe
Add Cairo.Surface.DeviceScale property (#251) 2021-05-25 11:55:01 +02: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
lytico
7b196865b0
Merge pull request #253 from zii-dmg/IdleAddPriorityFix
GLib.Idle.Add: use expected default priority, add priority overload
2021-05-19 20:31:42 +02:00
dmg
d34958e871 GLib.Idle.Add: use expected default priority, add priority overload 2021-05-18 23:49:59 +03:00
lytico
6a0e721132
Merge pull request #250 from zii-dmg/FixPixBufAnimationLeak
Fix PixBufAnimation ctors leak

@zii-dmg  thanks!
2021-05-16 18:14:22 +02:00
dmg
0461f7411c Fix PixBufAnimation ctors leak
Taken from PixBuf ctors.
2021-05-16 13:45:04 +03: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
Drew Holzworth
c81830ad50 Fix some mistakes in GtkSourceSearchContext wrapper
The match_start and match_end arguments in the searching functions of
GtkSourceSearchContext are out parameters.
2021-04-10 16:34:42 +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
dmg
43bcf0ace0 Extend XSD schema
Added some elements that is supported in GapiCodegen to reduce number of validation errors in build log.
2021-04-03 22:17:58 +02:00
Harry
7995f132e1
Bump required nuget in templates 2021-04-02 19:24:05 +02:00
dmg
94ea7051f9 GException improvements with multithreading
Read all GError fields in GException constructor and free GError memory.

Quote from gtksharp2 fix: The original impl did not take into account exceptions marshalling across thread boundaries so it could end up with the error being accessed after being disposed.
2021-04-02 18:40:51 +02:00
Harry
bfcf29b070
[GtkSource] Add array information to Language classes 2021-04-02 18:39:28 +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
lytico
2e7297b22e
Merge pull request #234 from zii-dmg/PixbufWin
Pixbuf Windows fixes (utf8 suffix)
2021-03-30 02:49:27 +02:00
dmg
ba97d6bff5 Pixbuf Windows fixes (utf8 suffix)
Some Pixbuf, PixbufAnimation functions on Windows is exported with "_utf8" suffix.
I hid generated versions, copied and modified code to use "_utf8" on Windows.
Also hid "gdk_pixbuf_new_from_resource*", "gdk_pixbuf_animation_new_from_resource" because they are using GResources and we already have constructors for .NET resources.
2021-03-29 23:54:06 +03:00