Commit Graph

42 Commits

Author SHA1 Message Date
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
Harry
42ceb1c0d1
Multitarget with .net6.0 and .netstandard2.0 (#318) 2022-01-26 13:24:28 +01:00
Cameron White
941fdb7e46 Implement Gdk.Pixbuf.SaveToStream() and SaveToStreamv()
This matches the other saving-related methods for Gdk.Pixbuf

- `gdk_pixbuf_save_to_stream` was skipped for the auto-generated bindings (with the warning "Ellipsis parameter: hide and bind manually")

- `gdk_pixbuf_save_to_streamv` was in the generated bindings, but incorrect: the `option_keys` and `option_values` arguments had type `string` rather than `string[]`
2022-01-25 19:33:31 +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
0461f7411c Fix PixBufAnimation ctors leak
Taken from PixBuf ctors.
2021-05-16 13:45:04 +03: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
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
dmg
a23d44fb82 Fixed some more APIs according to GTK docs 2021-03-24 10:28:10 +01:00
Harry
92752a2bf6 Revert "Don't add reference to PixbufHandle"
This reverts commit b831ee8ca1.
2021-02-27 16:16:10 +01:00
Cameron White
216cfd941e Set the correct parent class for Gdk.SeatDefault
This fixes issues with using the Gdk.Seat value returned by  `gdk_display_get_default_seat()`.

Fixes: #131
2021-01-08 22:47:47 +01:00
Curtis Wensley
b831ee8ca1 Don't add reference to PixbufHandle
Fixes #186
2020-12-08 10:06:26 +01:00
Harry
724df41249
Revert "Sign the DLL files" 2020-08-07 13:30:09 +02:00
Cameron White
90379c40c8 gdk_pixbuf_get_from_surface() is in libgdk, not libgdk_pixbuf
This needs to be explicitly specified since 3a67da38 relocated these methods into Gdk.Pixbuf, which is underneath an element that specified `library="Library.GdkPixbuf"`

This fixes runtime errors when calling this method (similar for gdk_pixbuf_get_from_window)
2020-08-03 20:28:02 -04:00
Cameron White
3a67da38aa Add Gdk.Pixbuf constructors for a source Gdk.Window or Cairo.Surface.
This exposes gdk_pixbuf_get_from_window and gdk_pixbuf_get_from_surface via Gdk.Pixbuf constructors. Previously they were in a hidden GdkPixbuf_ class.

Fixes: #174
2020-07-15 22:35:34 -04:00
Harry
3b90cbf9f2
Merge pull request #139 from ermshiperete/sign
Sign the DLL files
2020-06-29 10:37:01 +02:00
lytico
8bf40381a5 Gdk.Screen: SizeChanged, CompositedChanged, MonitorsChanged as signals 2020-04-21 22:49:49 +02:00
Mikkel Kruse Johnsen
ed68eeadfd
Sign the DLL files 2020-03-02 16:46:24 +01:00
cra0zy
e9f1f3628d Improve library loading code 2019-11-04 21:02:36 +01:00
Mikhail Kanygin
42a0e01775 Fixtures: added UnmanagedFunctionPointer to whole delegate calls collection to prevent stack incosistence exception for x86 apllications on windows. 2019-11-04 20:12:50 +01:00
cra0zy
377a1abfc4 Revert "Project files"
This reverts commit 32fdca5754.
2019-08-10 17:02:18 +02:00
Mads Kruse Johnsen
32fdca5754 Project files 2019-08-10 15:58:34 +02:00
cra0zy
3bfa6e7295 Add DeltaX and DeltaY to Gdk.EventScroll (fixes #37) 2018-04-05 23:25:46 +02:00
cra0zy
a8c2f4dbcc Fix GetClipRectangle 2018-03-10 18:57:23 +01:00
cra0zy
26ef5bad3e
Fix file permissions, how did this happen? 2018-02-26 23:03:31 +01:00
cra0zy
411cdfd502 Safeload static functions as well 2018-01-18 22:54:45 +01:00
cra0zy
3f0810c93a Split out FuncLoader into multiple files 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
fa042d60d8 Fix typos in project include 2017-12-31 19:51:59 +01:00
cra0zy
153a77ad4b Always generate API files 2017-11-13 19:36:15 +01:00
cra0zy
a09f751b10 Generate .dll.config files for standard .NET projects 2017-11-11 19:11:44 +01:00
cra0zy
ee57c26d77 Improve native lib referencing 2017-11-09 22:22:51 +01:00
cra0zy
c6060b93a6 Fixup the links to point to the organization 2017-10-30 20:41:26 +01:00
cra0zy
4bc1fb5101 Add .dll to the name of the libs because on Windows .Net Core does not try to guess the name 2017-10-30 00:49:23 +01:00
cra0zy
ac7ea69ce8 Fix linux stubs linking 2017-10-30 00:23:56 +01:00
cra0zy
cfc794c3bd Add arm linux stubs 2017-10-29 16:46:34 +01:00
cra0zy
32bf88c341 Add package and assembly info 2017-10-29 15:28:44 +01:00
cra0zy
edd43afeaf Rename CairSharp > CairoSharp 2017-10-29 00:52:28 +02:00
cra0zy
ccb48b505c EnablAdd auto generation of native lib stubs 2017-10-26 18:30:48 +02:00
cra0zy
46951b3f91 NuGet packaging, Dll mapping and general .Net core improvements 2017-10-26 01:42:57 +02:00
cra0zy
6926c9cbf2 WIP CAKE + .Net Core 2017-10-23 01:25:13 +02:00