Commit graph

3880 commits

Author SHA1 Message Date
Chris Lapa
604742fa16 Merge pull request #25 from thiblahute/master
Fix path separators on windows
2017-10-06 23:04:00 +11:00
Thibault Saunier
af0c5ccc63 Use platform dependent paths separator when building MESON_PATH 2017-10-06 08:03:54 -03:00
Chris Lapa
90187fd8c1 build: adds docker build script for development purposes.
This is just a convenience tool that enables anyone to pull in the code
and build it without installing to many dependancies (only Docker).

Signed-off-by: Chris Lapa <chris@lapa.com.au>
2017-10-06 08:03:18 -03:00
Chris Lapa
88bef66dfa ci: dockerizes CI to get newer version of gtk (3.22.*) from Debian 9 image.
Signed-off-by: Chris Lapa <chris@lapa.com.au>
2017-10-06 08:03:18 -03:00
Thibault Saunier
815c79fbe3 Bump dependency to Gtk 3.22 which is what we wrap/need 2017-10-04 23:22:37 +02:00
Thibault Saunier
bb2c1782a7 valtest: Add missing dependency 2017-10-04 23:22:37 +02:00
Thibault Saunier
b756ff2109 Install build-essential and gtk-dev on the CI server 2017-10-04 23:22:37 +02:00
Thibault Saunier
c3edb7dce8 Use a G_GUINT64_FORMAT to print the result of sizeof
Using G_OFFSET_FORMAT was misused
2017-10-04 23:22:37 +02:00
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