Commit graph

164 commits

Author SHA1 Message Date
Thibault Saunier
37f73f8865 build: Fix running tests when not in gst-uninstalled env
Making sure mono find the required and built libraries
2018-01-12 14:27:29 -03:00
Justin Kim
33c41a50a5 DynamicSignal: Add UnmanagedFunctionPointer to GClosureMarshal
Without the convention, Gst.Object.Connect causes AccessViolationException.

https://bugzilla.gnome.org/show_bug.cgi?id=792096
2018-01-02 10:12:59 -03:00
Thibault Saunier
d74a92212f is-padding was renamed to padding in GtkSharp
This fits the expected name in other parts of the code.
2017-11-30 23:06:52 -03:00
Thibault Saunier
7548c54234 Remove autotools
It is not up to date anyway.
2017-10-12 09:45:50 +02:00
Thibault Saunier
0bd077718c Remove some remaining reference to the glue 2017-10-12 00:19:37 +02:00
Thibault Saunier
adeecf4b4a Run tests only when using mono and set MONO_PATH 2017-10-11 18:27:53 +02:00
Thibault Saunier
288b061843 Add ABI tests and fix related issues 2017-10-11 18:27:53 +02:00
Thibault Saunier
e591823df7 Update .raw file with callbacks in structures 2017-10-04 16:01:25 -03:00
Thibault Saunier
a7fd8d6cb5 Do not ever try to generate managed structures 2017-09-29 11:43:48 -03:00
Thibault Saunier
2f86ec02ed Fix GstTypeFind ABI 2017-09-29 11:42:39 -03:00
Thibault Saunier
b71f70bc35 Fix GstAudioBase* parent classes
Those were miss generated in meson build girs
2017-09-28 21:55:43 -03:00
Thibault Saunier
083115dd57 Remove GParamSpec subclasses as they are not handled in the code generator 2017-09-28 21:54:03 -03:00
Thibault Saunier
1b96d74926 Fix GstIterator.master_cookie type
It is a pointer to a guint32
2017-09-28 17:44:46 -03:00
Thibault Saunier
5f4dc2f119 Remove remaining reference to glue 2017-09-28 17:44:18 -03:00
Thibault Saunier
b5beac1217 Make GstVideo/AudioInfo GLib.Opaque structures
So that we generate a ABI compatible structure and make it working.
Also this is the way we do it for almost all other structures of this
kind.

I first tried to keep having a managed structure that properly matches
the C structure ABI generating in the gtk-sharp generator Explicit structure
for the union as we do with non managed structures but this is not
possible and leads to the following assertion in mono:

    Type Gst.Video.VideoInfo/__ABI which has an [ExplicitLayout] attribute cannot have a reference field at the same offset as another field.

This sensibly changes the API but I bet noone will even notice.

https://bugzilla.gnome.org/show_bug.cgi?id=788133
2017-09-26 10:35:37 -03:00
Thibault Saunier
7976844b56 meson: keysign only when using mono and use a project argument 2017-09-25 14:16:33 -03:00
Erlend Graff
cdb4a5b84b DynamicSignal: use NativeType property instead of doing unsafe pointer trickery
(which doesn't work with MS csc)

https://bugzilla.gnome.org/show_bug.cgi?id=788132
2017-09-25 14:16:25 -03:00
Thibault Saunier
d759ec9310 Update to current master 2017-09-22 15:42:41 -03:00
Thibault Saunier
7fde0e8fc4 Also generate 'unintrospectable' _unref method
Otherwise we will leak all Opaque structures
2017-09-22 15:42:41 -03:00
Erlend Graff
3f9dcf7198 Make sure GstSample is declared as subclass of GstMiniObject 2017-09-22 15:42:41 -03:00
Thibault Saunier
cd5b0e1992 meson: Fix gtk-sharp git repo url
We want to use the new gtk-sharp/gtk-sharp "upstream", not some random repo!
2017-09-20 17:50:13 -03:00
Thibault Saunier
ea37557f6e meson: Fix some dependencies 2017-09-20 17:49:56 -03:00
Thibault Saunier
e9181c6772 metadata: Remove unused overrides and mark padding fields in objects as such 2017-09-06 13:23:18 -03:00
Thibault Saunier
1b6c109ba3 metadata: Add some documentation about our overrides 2017-09-06 13:23:00 -03:00
Thibault Saunier
9c289eb563 Do not use glue anymore!
This is not needed anymore as ABI compatible structures are now generated
and used by the code generator.
2017-09-06 13:22:57 -03:00
Thibault Saunier
8193dd746c Add a target to generate nugets. 2017-09-04 22:05:59 -03:00
Thibault Saunier
6027acd4cc Add a Global.TimeFomat function 2017-08-29 22:20:46 -03:00
Thibault Saunier
893169175d Generate bindings for GES if avalaible 2017-08-29 22:20:46 -03:00
Thibault Saunier
036ab199cd Fix some RTP methods array arguments 2017-08-29 22:20:46 -03:00
Thibault Saunier
33f2b0c9fb Workaround bindinate mistake in gst_element_factory_get_static_pad_templates return type 2017-08-29 22:20:46 -03:00
Thibault Saunier
7e8ee12304 Add meson build definitions 2017-08-29 22:20:46 -03:00
Thibault Saunier
b37b5a2b92 Hide the class methods we override. 2017-08-28 16:43:39 -03:00
Thibault Saunier
4e14927373 Mark reserved fields as padding 2017-08-28 16:43:32 -03:00
Thibault Saunier
55f7297653 Force type of Gst.SECOND and Gst.MSECOND
Latest bindinator doesn't seem to be able to handle GstClockTimeDiff

Something to investigate later
2017-08-28 15:29:33 -03:00
Thibault Saunier
a55090f1ed Handle new duplicated methods for 1.12 2017-08-28 15:29:33 -03:00
Thibault Saunier
2c7e47f2b0 Include gst/pbutils/gstaudiovisualizer.h in the glue .c file 2017-08-28 15:29:33 -03:00
Thibault Saunier
0ecef127b1 Update to GStreamer 1.12 2017-08-28 15:29:33 -03:00
Stephan Sundermann
4af160f4ae metadata: Fix move node expressions into custom classes (bgo#761326)
XPath matching seems to have changed somewhere between mono 3.2.3 and
4.x. This patch makes sure that all Global object tags are properly
visited when moving methods from the global class into custom ones.
2016-04-27 15:59:04 +02:00
Andrés G. Aragoneses
bf18e534a9 build: add -f flag to rm in clean target
This way, running `make clean` twice would not
generate an error anymore.
2015-07-11 16:00:22 +02:00
Stephan Sundermann
9556b05947 VideoOverlay: Fix issues on 32 bits 2015-05-28 16:00:04 +02:00
Stephan Sundermann
2bf30fd612 MapInfo: Fix ArgumentOutOfRangeException
Respect the value's length so there is no exception when value doesn't contain size's bytes.
2015-01-21 20:50:21 +01:00
Stephan Sundermann
0c840b69af Version: Add missing calling conventions 2014-11-25 15:56:46 +01:00
Stephan Sundermann
a53cb1c911 Version: Reformat 2014-11-25 15:56:17 +01:00
Stephan Sundermann
1ce354b51f Value: Add missing calling conventions 2014-11-25 15:53:50 +01:00
Stephan Sundermann
415870bb30 Message: Add missing calling convention 2014-11-25 15:53:41 +01:00
Stephan Sundermann
388f3846ed DynamicSignal: Add missing calling convention 2014-11-25 11:15:11 +01:00
Stephan Sundermann
db3ffc2a70 DynamicSignal: Reformat to match conventions 2014-11-25 11:13:44 +01:00
Stephan Sundermann
5b386f21fb Application: Fix Init(args) and InitCheck(args)
Fixes #739069
2014-10-24 00:53:37 +02:00
Stephan Sundermann
38ff643d1d glue: Remove mpegts from includes 2014-09-19 18:39:44 +02:00
Stephan Sundermann
ed31d3a9ff Remove mpegts
mpegts is not API stable yet. This removes the dependency on -bad.
2014-09-19 18:37:36 +02:00