Commit graph

66 commits

Author SHA1 Message Date
Maarten Bosmans
663d3e047d Replace custom Enumerable code with generator GstIterator bindings
The custom properties that return a IEnumerable are replaced by generated
properties that return an Iterator.  Most of the code in Iterator.cs has
moved to Iterator.custom to implement IEnumerable.
2009-06-21 10:29:24 +02:00
Maarten Bosmans
ff24d7d310 Build system fixes
- Use automake --foreign to silence warnings about gnu extensions.
 - Add gstreamer-api.xml as prerequisite for gstreamer-sharp/*plugins/generated/%.cs
 - Avoid executing $(MAKE) -C {core,base}plugins multiple times when gstreamer-api.xml is changed.
 - Only generate xml for elements with changed metadata
2009-06-21 09:55:15 +02:00
Sebastian Dröge
82f9687b7c Add parameter-less constructors for Bin/Pipeline 2009-06-20 11:35:35 +02:00
Sebastian Dröge
b4ded561e3 Fix and cleanup Gst.Video bindings 2009-06-06 13:14:11 +02:00
Maarten Bosmans
4d9415a751 Add bindings for libgstapp
Fixes bug #584747.
2009-06-05 21:26:46 +02:00
Sebastian Dröge
8fc8aa8806 Add Gst.Cdda library bindings 2009-06-05 21:02:16 +02:00
Sebastian Dröge
8ece992223 Don't allow subclassing of element bindings
...and clean up/simplify the DynamicSignal stuff.
2009-06-05 20:59:24 +02:00
Sebastian Dröge
6ab410403c Fix marshalling of null terminated string arrays as return values 2009-06-03 21:10:57 +02:00
Sebastian Dröge
e7a1bc7e93 Improve element bindings generation build system 2009-05-31 21:20:22 +02:00
Sebastian Dröge
d17ba74fdc Add libgstcontroller bindings 2009-05-31 21:10:45 +02:00
Sebastian Dröge
b9a3ddf5c2 Add libgstbase bindings and fixup the Adapter bindings 2009-05-28 14:37:21 +02:00
Sebastian Dröge
60bce938cb Add bindings for the StreamInfo objects of playbin 2009-05-28 12:29:59 +02:00
Sebastian Dröge
eafb77d8bf Add Gst.ElementFactory.Make overload with a single parameter for the factory 2009-05-28 10:24:34 +02:00
Sebastian Dröge
8f450ee581 Add support for autogenerating signal code in element bindings 2009-05-27 21:37:56 +02:00
Sebastian Dröge
33d93e8e87 Fix build system for the new element binding generator 2009-05-27 20:58:19 +02:00
Sebastian Dröge
32ba2488a2 First try to create a code generator for element bindings 2009-05-27 15:02:57 +02:00
Maarten Bosmans
febcfd772c Fix build on Windows
- use -option instead of /option
 - use path\file.cs for csc.exe and path/file.cs for mcs
 - don't build samples/gtk-video-player when using csc.exe
2009-05-26 15:35:00 +02:00
Maarten Bosmans
35198f1773 Add .pdb to cleanfiles and gitignore 2009-05-26 15:34:31 +02:00
Maarten Bosmans
6cb104a67a Add .dll to gstreamersharpglue DllImport
Nescessary for .NET compatibility, where .dll isn't
added for libraries with a . in the filename.
2009-05-25 12:12:35 +02:00
Maarten Bosmans
79a4ddd570 Replace unportable sed -i call with plain sed 2009-05-22 19:20:17 +02:00
Sebastian Dröge
cf9fd6ec9a Extend the code generator to handle GstMiniObject and implement Gst.MiniObject
Also fix indention everywhere and change code to use Gst.MiniObject.GetObject()
instead of GLib.Opaque.GetOpaque().

It's currently not possible to implement or use GInterfaces on mini objects
but apart from that this should be a great improvement, especially new
mini object classes can be defined in C# now.
2009-05-20 17:32:03 +02:00
Sebastian Dröge
4582abb4f3 Fork the Gtk# codegenerator for now
We unfortunately need to do this to properly generate bindings for
GstMiniObject...
2009-05-14 21:38:28 +02:00
Sebastian Dröge
fdc99f178b Add Gst.Interfaces.Navigation bindings 2009-05-14 16:50:16 +02:00
Sebastian Dröge
2573a84692 Add Gst.Interfaces.PropertyProbe bindings 2009-05-13 17:03:49 +02:00
Sebastian Dröge
08ea583412 Add Enum/FlagsInfo to query a GEnum/GFlags type 2009-05-12 15:27:13 +02:00
Sebastian Dröge
9c636a83be Add a Properties property to Gst.Object to get information about the GObject properties 2009-05-12 14:31:57 +02:00
Sebastian Dröge
75c1fe23d1 Add Gst.Interfaces.Tuner* bindings 2009-05-12 12:04:53 +02:00
Sebastian Dröge
0be28ab067 Add bindings for GstMixer and related types 2009-05-09 20:04:43 +02:00
Sebastian Dröge
4338c97169 Add a generic GstIterator wrapper and use that 2009-05-09 19:29:40 +02:00
Sebastian Dröge
5395b35db8 Start binding the GstInterfaces library, ColorBalance* is finished already 2009-05-08 17:23:55 +02:00
Sebastian Dröge
a32102f3ff Move TypeFind/Index/Element register functions to their factory classes 2009-05-07 09:42:17 +02:00
Sebastian Dröge
533f9a16b5 Move plugin wrappers into seperate namespaces 2009-05-06 14:09:23 +02:00
Sebastian Dröge
31797cf4e3 Fix Gst.Preset bindings
As C# interfaces don't allow a default implementation we
add a static Gst.PresetDefault class that provides static
methods for calling the default GstPreset method implementations.
2009-05-06 12:25:02 +02:00
Sebastian Dröge
292027a151 Add bindings for Gst.URIHandler
Unfortunately this requires us to work around Gtk# being unable
to handle static interface methods and Gtk# being unable to
allow us to override interface adapter code...
2009-05-04 12:27:25 +02:00
Sebastian Dröge
a92f4036a6 Fix the Gst.Index* bindings 2009-04-30 15:13:31 +02:00
Sebastian Dröge
d627d1580c Fix Gst.TypeFind bindings 2009-04-30 13:10:15 +02:00
Sebastian Dröge
28f51c6d08 Fix the Gst.Pad bindings 2009-04-28 21:03:44 +02:00
Sebastian Dröge
48a5bce689 Fix the Gst.Task bindings
What still needs to be done is to add a way to set
a custom lock to the task, currently a newly created
task can only get a lock by making it a pad task.
2009-04-27 12:34:20 +02:00
Sebastian Dröge
658c39e785 Finish/fix the Gst.Plugin bindings and re-indent 2009-04-27 12:08:40 +02:00
Sebastian Dröge
35ed5308a6 Finish/fix the Gst.Clock and related bindings and update docs 2009-04-27 11:32:58 +02:00
Sebastian Dröge
0a003eb1a4 Properly change GST_PADDING values to the correct integer values 2009-04-24 15:33:55 +02:00
Sebastian Dröge
e0c535b795 Regenerate API with the new parser to get support for GObject virtual methods
This also gives us some support for class struct fields, etc.

Note: This requires an uncommitted patch to Gtk#
2009-04-24 14:56:40 +02:00
Sebastian Dröge
6e766fc1d5 Finish/fix Gst.Event bindings 2009-04-23 14:32:08 +02:00
Sebastian Dröge
6db069b4e8 Fix/complete the Gst.Query bindings 2009-04-22 19:08:00 +02:00
Sebastian Dröge
a23154fc2f Complete/fix bindings for Gst.Tag and Gst.TagList 2009-04-21 14:31:29 +02:00
Sebastian Dröge
40fc4c1412 Put tags into the Tag class instead of a new Tags class
Also remove the void ctor of the Tag class, it's not meant to be instantiated
2009-04-18 16:43:15 +02:00
Sebastian Dröge
87786e2e90 Add generated Tags class and remove hand-written CommonTags class 2009-04-17 16:44:14 +02:00
Sebastian Dröge
294b5df8f7 gst_pad_template_new() takes ownership of the caps, reference them
Also rename and cleanup some PadTemplate members
2009-04-15 14:40:09 +02:00
Sebastian Dröge
b24a603570 Drop StaticCaps bindings and let the StaticPadTemplate bindings be autogenerated
Also fix some reference ownership issues in the StaticPadTemplate bindings
and make them a read-only container without any way to create new instances.

We don't need StaticCaps anywhere and StaticPadTemplates only for reading
the static pad templates of an element factory.
2009-04-15 13:26:54 +02:00
Sebastian Dröge
79931bf601 Fix and complete Static{PadTemplate,Caps} bindings 2009-04-14 17:55:19 +02:00