Commit Graph

3761 Commits

Author SHA1 Message Date
Thibault Saunier
2852b771ea generator: Use TextWriter instead of StreamWriter in base classes
Giving users of the writer more possibility, such as generating the
code in strings before actually using it.
2017-10-04 16:13:01 -03:00
Thibault Saunier
2d71de1360 generator: Enhance logging avoiding the use of simple prints
And adding a LogWriter.Info method enabled with the GENERATOR_DEBUG
environment variable.
2017-10-04 16:13:01 -03:00
Thibault Saunier
89aeba8b13 Make project name match new repo name 2017-09-26 13:57:17 +02:00
The Gitter Badger
3778676b90 Add Gitter badge (#14) 2017-09-25 22:49:24 -03:00
Chris Lapa
f88404be98 Merge pull request #11 from thiblahute/keysign_cleanup
Keysign cleanup
2017-09-26 10:51:03 +10:00
Thibault Saunier
d28c09d15e generator: Make instance_offset as hiding inherited member 2017-09-26 02:30:38 +02:00
Thibault Saunier
076971d622 Add travis builds 2017-09-26 02:30:38 +02:00
Thibault Saunier
fe4fac8af2 Make sure to run exes within mono if required 2017-09-26 02:30:38 +02:00
Thibault Saunier
484a713442 build: Add keyfile as project argument
And delay signing when using csc
2017-09-26 02:30:38 +02:00
Thibault Saunier
2e03809ce8 glib: Make GObject.NativeType public
This is needed in GStreamer for the DynamicSignal part and is generaly
useful.
2017-09-25 19:13:32 +02:00
Thibault Saunier
0f58e7e253 Make sure to run exes within mono if required 2017-09-25 11:56:16 -03:00
Thibault Saunier
58001e6fc8 build: Add keyfile as project argument
And delay signing when using csc
2017-09-25 11:49:37 -03:00
Thibault Saunier
0028351ed0 glib: Make GObject.NativeType public
This is needed in GStreamer for the DynamicSignal part and is generaly
useful.
2017-09-25 10:58:18 -03:00
Harry
86b20442a2 Fix error in case glade.sh is not found (#9) 2017-09-23 11:56:25 -03:00
Harry
5f3d138d1a Add base gtk# md addin (#8)
* Base Gtk# MD Addin

* Fix tabs
2017-09-23 11:38:43 -03:00
Thibault Saunier
d1457f6e03 generator: Mark instance_offset field as static
Those are per class and should not be overriden ever
2017-09-21 20:39:06 +02:00
Thibault Saunier
9539c0b17b Fix licence file, it should always have been LGPL not GPL
This was an issue when reorganising files.
2017-09-21 00:10:42 +02:00
Thibault Saunier
bc08418eb5 Build the assembly data file as required 2017-09-20 12:15:50 -03:00
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