Commit graph

3772 commits

Author SHA1 Message Date
Thibault Saunier
291eabb650 Run unit tests only when using mono and set MONO_PATH 2017-10-04 23:22:37 +02:00
Thibault Saunier
d11000fa79 Test Gtk and Atk generated ABI
And fix any related issues.
2017-10-04 16:37:28 -03:00
Thibault Saunier
c02ee2eb1a generator: Use parent structure fields whene generating ABI for fieldless structures 2017-10-04 16:37:27 -03:00
Thibault Saunier
7d7036c9c6 generator: Handle different gapi content if from bindinator or our parser
Basically our "parser" does not generate <field> for instance structure
parent wherease bindinator generate (broken ones, being pointers instead
of plain structures)
2017-10-04 16:37:27 -03:00
Thibault Saunier
c88946e213 sample:gtk: Ignore usage of obselete symbols 2017-10-04 16:37:27 -03:00
Thibault Saunier
3fdb4f47f1 gtk: Do not use glue anymore! 2017-10-04 16:37:27 -03:00
Thibault Saunier
12ec179f4a glib: Add GMarkupParser support 2017-10-04 16:37:27 -03:00
Thibault Saunier
05cfd406ef fixup: Allow specifying max number of matches to patch attributes for 2017-10-04 16:37:27 -03:00
Thibault Saunier
1d88acfbe7 generator: Use a AbiStruct for Class structures
Not for interfaces as it won't should not be required.
2017-10-04 16:37:27 -03:00
Thibault Saunier
248278d267 generator: Use a new AbiStruct object to handle wrapped type ABI
This allows us to totally get rid of the glue as this new class
handles bitfields and union properly.
2017-10-04 16:13:01 -03:00
Thibault Saunier
7d902ef7e4 generator: Handle new Callback field type. 2017-10-04 16:13:01 -03:00
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