Thibault Saunier
2be716606b
meson: Specify all link dependencies in declare_dependency ( #33 )
2017-08-25 15:11:37 +02:00
Thibault Saunier
f90d29dc69
meson: Install missing .pc/lib/gapi XML files ( #32 )
2017-08-24 21:49:02 +02:00
Thibault Saunier
4f388c6ef7
Add meson build definitions ( #30 )
2017-08-24 15:21:41 +02:00
Mikkel Kruse Johnsen
e2bf48f8ce
Add Deprecated method Create in CairoHelper
2017-01-26 13:51:53 +01:00
Mikkel Kruse Johnsen
9af0176bd2
Updated to 3.22. Need to fix GtkMenu and Popup
2017-01-20 13:10:48 +01:00
Mikkel Kruse Johnsen
36b6b713e6
Updated to Gtk+ 3.20.4
2016-05-11 09:50:01 +02:00
Mikkel Kruse Johnsen
a8d9a119d8
Update to Gtk 3.18.2
...
Had to change gapi2xml.pl to use the new properties method/macro in gtkwindow.c
- Issue, "invisible-chars" and "inner-border" is generated twice in gtkentry.c
Made patch to gwin32registrykey to use little endian by default. So Windows om ARM may fail.
2015-11-10 11:37:34 +01:00
MIkkel Kruse Johnsen
62b9345c7f
Merge pull request #2 from orion75/gtk-sharp-3-14-branch
...
Gtk sharp 3 14 branch
2015-10-30 08:23:19 +01:00
Harol Alfonso Reina Herrera
b20872aa41
Revert: Seperate pkgconfig version from package version
2015-10-29 11:43:03 -05:00
Harol Alfonso Reina Herrera
751a5ceed5
Update References file's in csproj
2015-10-29 10:10:23 -05:00
Harol Alfonso Reina Herrera
16310b15a0
Update csproj TargetFrameworkVersion
2015-10-29 09:24:44 -05:00
Antonius Riha
d98f6c3421
csproj ToolsVersion to 4.0
2015-10-29 08:48:49 -05:00
Mikkel Kruse Johnsen
6774f0b71d
Track 3.16.6
2015-09-04 11:15:29 +02:00
Mikkel Kruse Johnsen
8bf4dc10d9
3.14.6
2015-01-20 10:26:02 +01:00
Mikkel Kruse Johnsen
4efdb7c3aa
Seperate pkgconfig version from package version
2014-11-05 15:06:03 +01:00
Mikkel Kruse Johnsen
54eb84c40c
Int size on 64 bit
2014-11-05 08:48:24 +01:00
Mikkel Kruse Johnsen
d33628d632
Updated to Gtk 3.12
2014-11-03 15:52:55 +01:00
Antonius Riha
2034648ec2
csproj: Fix assembly names and include *.dll.config in output
...
Signed-off-by: Bertrand Lorentz <bertrand.lorentz@gmail.com>
2014-09-21 15:07:38 +02:00
Bertrand Lorentz
30f758d984
gdk: Fix dll name and use a const for all DllImports in custom code
...
In Windows builds of GTK+ 3.x, the dll filename for GDK is
libgdk-3-0.dll.
We use this opportunity to use a common const in the DllImport for all
custom code.
2014-05-04 17:30:26 +02:00
Marcin Kolny
dee590926a
build: Add a pkg-config file for gdk-sharp-3.0
...
This allows consumers to specifically require gdk-sharp-3.0 without
having to pull in the full gtk-sharp-3.0.
Closes issue #101 .
Signed-off-by: Bertrand Lorentz <bertrand.lorentz@gmail.com>
2014-04-21 21:36:57 +02:00
Stephan Sundermann
a74534e835
generator: Create a directory for each namespace
...
When dealing with several namespaces there might be classes with the same name
(especially Global which is autogenerated in g-i based bindings). On generation
the file would be overriden by the last occurence in the xml. To encounter
this every namespace has it's own directory now. This also improves structure
a lot when dealing with big libraries.
Also do the necessary adaption for the build and the csproj files.
2014-03-01 21:16:54 +01:00
Bertrand Lorentz
32d10bd319
Use GLib.Marshaller.Free instead of calling g_free directly
...
Using the GLib.Marshaller.Free method means we don't need to have the
g_free function definition duplicated all over the place.
2013-11-17 16:20:02 +01:00
Andrés G. Aragoneses
10546e2ffa
MSBuild: fix the solution build (except audit and sample projects)
...
This commit makes it possible to build any project of the gtk-sharp.sln
from an IDE (except audit and sample projects, which require a bit more
work).
This doesn't mean that autotools is deprecated, but just that it is more
comfortable to use an IDE when working on gtk-sharp because it will
offer better auto-completion, and will stop highlight misleading
semantic errors, from now on.
2013-11-02 15:48:58 +01:00
Andrés G. Aragoneses
6f2d80eab0
gdk: enable Unsafe in MSBuild
2013-10-22 12:33:06 +02:00
Bertrand Lorentz
b2fb84d14b
Clean up .gitignore files
2013-10-13 18:38:33 +02:00
Andrés G. Aragoneses
872e0edfdd
MSBuild: remove AssemblyInfo.cs where it's not present
...
The only autogenerated AssemblyInfo files are in cairo and in
gtk-sharp's root, not inside other libraries like atk, glib, etc.
Removing them will make MonoDevelop stop rendering a red element
underneath each project.
2013-09-24 01:24:39 +02:00
Andrés G. Aragoneses
9016c304de
MSBuild: change some projects to Library type, not Executable
...
Even though gtk-sharp cannot be built via MSBuild (yet?), it's better
to make the .csproj reflect more closely what you get with the normal
build.
2013-09-24 01:24:33 +02:00
Alan McGovern
100696b5c1
gdk: It is valid to pass a null gdk_event sometimes
...
For example gtk_drag_start allows a null Gdk.Event so we need to marshal
it to IntPtr.Zero instead of throwing a NullReferenceException
Cherry-picked from the gtk-sharp-2.12 branch.
2013-08-18 18:32:05 +02:00
Michael Hutchinson
38d1a3f13e
cairo: Introduce the concept of reference ownership
...
Also:
* improving naming consistency
* obsolete old/broken stuff
* clean up tabs/space mix
NOTE: this removes the wrapper caches for Pattern and Surface as
there was no reliable way to clear them.
This is a merge from changes in Mono.Cairo in mono 3.2.
2013-07-26 17:43:11 -05:00
Bertrand Lorentz
05f67db2ee
gdk: Hide Global.TextPropertyToUtf8ListForDisplay method
...
It is implemented manually in TextProperty.ToStringListForDisplay.
2013-04-21 16:54:48 +02:00
Bertrand Lorentz
5e3b720408
gdk: Remove invalid method and P/Invoke in TextProperty
...
The native functions gdk_free_text_list and
gdk_text_property_to_utf8_list are gone, and we now need to use StrFreeV
to free the native string list.
2013-04-21 16:50:37 +02:00
Bertrand Lorentz
bc0aee1328
gdk: Remove invalid Global.DevicesList method
...
The native function gdk_devices_list is gone, device handling is now
handled through DeviceManager.
2013-04-21 16:42:18 +02:00
Bertrand Lorentz
253da2e05c
Remove obsolete fix-ups for needs_ref attribute
...
The needs_ref attribute hasn't been used by the generator for quite some
time now.
2013-02-23 13:41:50 +01:00
Bertrand Lorentz
6ecd2d01f9
gdk: Use a Dictionary to hold the filter functions in Window class
2012-11-04 16:58:49 +01:00
Bertrand Lorentz
608a760d45
gdk: Add reference to the GLib project in the .csproj
2012-11-04 16:58:49 +01:00
Bertrand Lorentz
47f3ca6ee5
gdk: Remove AddClientMessageFilter method from Gdk.Display and Global
...
The native function gdk_display_add_client_message_filter is gone from
GDK.
You can use Gdk.Window.AddFilter as a replacement.
2012-11-04 16:58:49 +01:00
Bertrand Lorentz
60612071c1
Add a MonoDevelop solution and projects for browsing the codebase
...
This is just to be able to use MonoDevelop to browse the codebase, both
custom and generated code. It is NOT intended to be used to build
anything.
2012-10-13 16:44:10 +02:00
Bertrand Lorentz
64a79b5621
gdk: Re-enable code using Device.NumAxes
...
As the Device.NumAxes is back now, we can re-enable the pieces of code
that were disabled during the inital port.
2012-07-02 11:23:29 -04:00
Bertrand Lorentz
15486fda75
gdk: Delete the commented out Window.ClearArea method
...
All the gdk_window_clear* methods were removed in GTK+ 3.0, so we can
remove the custom code that was ifdef'd out in the initial port.
2012-07-02 11:23:19 -04:00
Bertrand Lorentz
d2a93817a1
gdk: Move all .custom files to partial classes
2012-07-02 11:12:25 -04:00
Bertrand Lorentz
b79ac26063
gdk: Rename the Device.NAxes property to NumAxes
...
We had a NumAxes property in 2.12, coming from a field. It's now a
property called n-axes, with an accessor function, so we need to rename
both.
2012-07-02 10:43:28 -04:00
Mike Kestner
645815d478
Fix Pixdata buffer leak.
...
Patch provided by Antonio on gtk-sharp-list.
2012-04-22 11:47:28 -05:00
Bertrand Lorentz
ed9a01f5c2
gdk: Add a dllmap for libgio-2.0-0.dll
...
As Gdk.Pixbuf uses two functions from libgio, we need a dllmap for that
in gdk-sharp.dll.config.
2011-12-04 20:48:22 +01:00
Mike Kestner
aae2b05300
Implement IEquatable<T> on structs.
...
* gdk/Gdk.metadata: suppress Color.GetHashCode().
* gdk/Point.custom: remove generated methods.
* generator/StructBase.cs: Generate Equals(T), Equals(object), and GetHashCode.
* generator/StructField.cs: helper property for equality testing.
* gtk/TreeIter.custom: remove generated methods.
2011-10-07 21:55:26 -05:00
Olivier Dufour
2c83126846
Fix NRE in Gdk.Window.SetBackgroundPattern
...
If we set it to null background is set to parent brackground.
So we must handle null case and sent it to native.
2011-09-01 21:25:25 +02:00
Bertrand Lorentz
96a1f100c7
gdk: Fix up WindowWindowClass enum value names
...
WindowClass was renamed to WindowWindowClass so the fix ups were
incorrectly dropped.
2011-07-16 16:03:35 +02:00
Bertrand Lorentz
6e3ad5f7e3
gdk: Various fixups in Gdk.metadata
...
Unhide GdkDevice.GetState and hide the GdkColorInfo and GdkDeviceKey
private structs.
Specify the return types for several methods in GdkScreen, GdkDevice and
GdkDeviceManager.
2011-07-03 16:44:16 +02:00
Bertrand Lorentz
d17d94f07e
gdk: Kill libgdksharpglue
...
The only remaining bits in gdk/glue were 2 obsolete functions, which
were not really used.
Also clean up Device.custom to remove obsolete bits, including
references to libgdksharpglue.
2011-07-03 16:44:16 +02:00
Bertrand Lorentz
3ff334d0cc
gdk: Add explicit conversion to and from GLib.Value for Rectangle
...
This allows the valtest sample to compile and work.
2011-06-18 19:21:38 +02:00
Andrés G. Aragoneses
db40040fdc
Gdk: Transform the out param of Rectangle.Union() to a return value.
...
Not only this is prettier but it's also aligned with the 2.12.x API.
2011-04-15 17:31:35 +02:00