Commit Graph

3843 Commits

Author SHA1 Message Date
Thibault Saunier
9de231db82 Generate ABI compatible structures for unions 2017-09-06 18:36:01 +02:00
Thibault Saunier
9a9ef4b60b Remove autotools 2017-09-06 18:35:44 +02:00
Thibault Saunier
8e50c7068d Ignore warnings on generated glue code 2017-09-06 13:16:56 -03:00
Thibault Saunier
37da53cca9 meson: Require meson 0.43 or higher 2017-09-06 13:11:31 -03:00
Harry
7b66d3f50f Merge pull request #2 from thiblahute/master
Add a meson.build file in the toplevel folder
2017-09-05 03:41:08 +02:00
Thibault Saunier
9f9acbfdf4 Add a meson.build file in the toplevel folder 2017-09-04 22:40:02 -03:00
cra0zy
c35a345041 Quick Reorganization 2017-09-04 22:36:28 -03:00
Thibault Saunier
676d8bdea3 Remove unnecessary glue for atk/gdk/pango 2017-09-04 14:23:47 -03:00
Thibault Saunier
e43baacb48 Generate nuggets for each assembly
Maybe we will want to unsplit some of them, but this makes everything
pretty flexible.
2017-09-04 14:23:47 -03:00
Thibault Saunier
c7205a135d Do not use glue for GIO 2017-09-02 11:19:34 -03:00
Thibault Saunier
74a4cf71e3 meson: Build valtest 2017-09-02 11:19:34 -03:00
Thibault Saunier
4d513324cd Generate ABI compatible structures to avoid needing glue code. 2017-09-02 11:19:34 -03:00
Thibault Saunier
44d2af717a meson: Add an option to disabling installing assemblies
This is useful when used as a subproject which is generating a Nuget.
2017-08-31 08:47:02 -03:00
Thibault Saunier
63264db8f3 meson: Add missing glue for gdk 2017-08-31 08:40:57 -03:00
Thibault Saunier
298bf7ec78 meson: Add windows support 2017-08-31 08:40:57 -03:00
Thibault Saunier
11db53c7b8 meson: Allow building the glib as a subproject 2017-08-31 08:40:57 -03:00
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
6d9c9fefae meson: Add glue libraries generation (#31) 2017-08-24 15:57:07 +02:00
Thibault Saunier
4f388c6ef7 Add meson build definitions (#30) 2017-08-24 15:21:41 +02:00
Thibault Saunier
87d4d29dfd Some fixes to support updated gstreamer-sharp (#29)
* parameters: Ignore UserData arguments to compute if has_optional

Those are never present in the prototypes and thus should not be taken
into account to see if prototype alternative has to be implemented.

* Fix generation of interface properties

* generator: Enhance the way we check if a field is padding

First check that fields are private to see if a field is padding,
in GstVideo we have public field staring with padding
(VideoAlignment.padding_top/bottomg/left/right) and thus need to be
taken into account to compare structures.

Also add a way for user to specify that the field is padding with
the new `is-padding` attribute.

In GStreamer padding fields usually look like __gst_reservedX, meaning
that they go unnoticed by previous code.
2017-08-24 15:20:05 +02:00
stil
b6260e8865 Include debugging symbols in nupkg (#26) 2017-02-05 07:08:24 +01:00
stil
5063385d16 AppVeyor integration (#25)
* Fix minor bugs and improve code formatting of Python build tool

* Prepend $PATH to give it higher priority

* Invoke WiX tools through variable to ensure correct path

* Make build script ensure pacman dependencies are installed

* pacman -Sy causes dependency break on AppVeyor

* Skip deps version check and don't show progress bar
2017-02-05 07:07:05 +01:00
Mikkel Kruse Johnsen
af3956b2dd Updated version to 3.22.6 2017-02-02 10:19:23 +01: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
42982bd922 Merge pull request #23 from grendello/text_rendered_properties
Bind a number of Gtk.CellRendererTextProperties
2016-12-19 08:21:15 +01:00
MIkkel Kruse Johnsen
487fe38df2 Merge pull request #22 from grendello/object_setproperty_public
Make GLib.Object.{Set,Get}Property public
2016-12-19 08:20:25 +01:00
Marek Habersack
ccbd9ca6a2 Bind a number of Gtk.CellRendererTextProperties
This binds all the '*-set' properties. The properties are useful when one
wants to restore a previously set property to its initial value. For instance,
when setting the ForegroundRgba property the 'foreground-set' property is
automatically set to 'true' but when we assign 'Gdk.RGBA.Zero' to ForegroundRgba then the
'foreground-set' property is NOT set to false and the foreground becomes black instead
of the default one.
2016-12-18 23:18:54 +01:00
Marek Habersack
3d99318871 Make GLib.Object.{Set,Get}Property public
The two methods are useful when we don't bind a property or the user
needs to set a custom property.
2016-12-18 23:17:12 +01:00
MIkkel Kruse Johnsen
be3214dd29 Merge pull request #20 from grendello/fix_array_usage
Fix System.Array usage in {List,Tree}Store
2016-12-18 10:18:31 +01:00
MIkkel Kruse Johnsen
669efed8a2 Merge pull request #21 from grendello/fix_actionmap
Fix the ActionMap.AddActionEntries API
2016-12-18 10:17:31 +01:00
Marek Habersack
5e164b4340 Fix the ActionMap.AddActionEntries API
The 'entries' parameter is an array.
2016-12-18 00:09:43 +01:00
Marek Habersack
2c82d95b58 Fix System.Array usage in {List,Tree}Store
{List,Tree}Store.AppendValues overloads which take System.Array as their
'values' parameter incorrectly pass the array down to SetValues. The latter
expects a 'params object[]' array of parameters but passing an instance of
System.Array to such method will NOT pass the contents of System.Array instance
into the 'params' method as separate members of the parms array. It will instead
box System.Array and the params method will receive one parameter of type
System.Array instead of X parameters of various types. This affects the
following example code:

   var store = new TreeStore (typeof (string), typeof (int));
   store.AppendValues ("One", 1);

If the column configured to retrieve the 'string' value reads data from this
store it will instead get an instance of System.Array and the node displayed by
the TreeView will have no text, won't be clickable etc.

The fix implemented here is to "explode" the System.Array into a separate array
of the 'object[]' type.

The 'TreeStore.AppendValues (params object[] values)' overload no longer calls
the 'TreeStore.Appendvalues (Array values)' overload since the indirection only
wastes time and memory. It now directly calls `SetValues`.
2016-12-18 00:08:05 +01:00
MIkkel Kruse Johnsen
048ebea24b Merge pull request #19 from ASoftTech/master
Pull request for a few different changes
2016-10-18 11:27:22 +02:00
grbd
43c86d7fe6 updated patches for 3.22 2016-10-17 20:20:23 +01:00
grbd
9c00e25617 Added some code for trying out the build of Gtksharp using dotnet cli from .Net core 2016-10-17 20:09:26 +01:00
grbd
c45e3558b6 Rewrite of the nuget package genertion code, also included the glue libs 2016-10-17 20:05:48 +01:00
MIkkel Kruse Johnsen
3a80531bdb Merge pull request #18 from grbd/Nuget
Added python scripts for building NuGet packages via windows or linux
2016-10-01 10:30:15 +02:00
grbd
99a859932e Added python scripts for building NuGet packages via windows or linux 2016-10-01 02:55:46 +01:00
Mikkel Kruse Johnsen
728c1f5aa7 Try to wrap NativeDialog for Windows 2016-07-25 14:40:26 +02:00
Mikkel Kruse Johnsen
182aa7e702 Updated to 3.20.6 2016-07-25 14:39:55 +02:00
Mikkel Kruse Johnsen
f861aeb27b Merge from upstream 2016-07-25 14:39:39 +02:00
Mikkel Kruse Johnsen
9758c7ab8a Merge branch 'master' of github.com:openmedicus/gtk-sharp 2016-07-25 08:40:13 +02:00
Mikkel Kruse Johnsen
8e355c73d3 Updated to 3.20.6 and included SimpleAction 2016-07-25 08:40:09 +02:00
MIkkel Kruse Johnsen
fe849a7e90 Merge pull request #16 from grbd/master
Small change to allow for building against latest gtk3
2016-07-25 08:21:14 +02:00
grbd
7918531657 Small change to allow for building against latest gtk3 2016-06-30 17:26:16 +01:00
Mikkel Kruse Johnsen
b898323bba Added StyleProviderPriority 2016-06-08 14:39:17 +02:00
Mikkel Kruse Johnsen
7236eb3fa7 Upstream patches 2016-06-08 08:56:55 +02:00
Mikkel Kruse Johnsen
8134f48a5a Generate 'rgba' property 2016-05-17 10:51:59 +02:00