Sebastian Dröge [Thu, 28 May 2009 08:24:34 +0000 (10:24 +0200)]
Add Gst.ElementFactory.Make overload with a single parameter for the factory
Sebastian Dröge [Thu, 28 May 2009 08:19:19 +0000 (10:19 +0200)]
Update build dependencies and add a copy of the gtk-sharp parser from trunk
This enables us to build with gtk-sharp 2.12.9.90 instead of current
trunk (which will be released together with GNOME 3.0 or similar).
Sebastian Dröge [Thu, 28 May 2009 04:06:18 +0000 (06:06 +0200)]
Also add normal constructors instead of the static Make method in element bindings
Sebastian Dröge [Wed, 27 May 2009 19:37:56 +0000 (21:37 +0200)]
Add support for autogenerating signal code in element bindings
Sebastian Dröge [Wed, 27 May 2009 18:58:19 +0000 (20:58 +0200)]
Fix build system for the new element binding generator
Sebastian Dröge [Tue, 26 May 2009 13:32:27 +0000 (15:32 +0200)]
First try to create a code generator for element bindings
Sebastian Dröge [Wed, 27 May 2009 12:56:42 +0000 (14:56 +0200)]
Prevent that the GC frees the native GstIterator too early
The native GstIterator is freed once the Gst.Enumerable instance
is destroyed. At this point there could still be a Gst.Enumerator
instance that uses the native GstIterator and would crash then.
Store the Gst.Enumerable instance inside the Gst.Enumerator to
prevent the GC from destroying it before the enumerator is destroyed.
Maarten Bosmans [Tue, 26 May 2009 13:35:00 +0000 (15:35 +0200)]
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
Maarten Bosmans [Tue, 26 May 2009 13:34:31 +0000 (15:34 +0200)]
Add .pdb to cleanfiles and gitignore
Maarten Bosmans [Tue, 26 May 2009 13:34:02 +0000 (15:34 +0200)]
Some more DllImport fixes
Sebastian Dröge [Tue, 26 May 2009 07:48:22 +0000 (09:48 +0200)]
Dispose GLib.Values in GetProperty after usage
Maarten Bosmans [Mon, 25 May 2009 10:20:20 +0000 (12:20 +0200)]
Add bindings for CapsFilter
Fixes bug #583631.
Maarten Bosmans [Mon, 25 May 2009 10:12:35 +0000 (12:12 +0200)]
Add .dll to gstreamersharpglue DllImport
Nescessary for .NET compatibility, where .dll isn't
added for libraries with a . in the filename.
Maarten Bosmans [Mon, 25 May 2009 10:09:52 +0000 (12:09 +0200)]
Use libgst*.dll in DllImport attribute, instead of gst*.dll
Nescessary for .NET, which doesn't prefix the library filename
with lib automatically.
Maarten Bosmans [Fri, 22 May 2009 11:40:05 +0000 (13:40 +0200)]
Add .dll to gstreamersharpglue DllImport
Nescessary for .NET compatibility, where .dll isn't added for libraries with a . in the filename.
Maarten Bosmans [Fri, 22 May 2009 10:37:40 +0000 (12:37 +0200)]
Use libgst*.dll in DllImport attribute, instead of gst*.dll
Nescessary for .NET, which doesn't prefix the library filename with lib automatically.
Maarten Bosmans [Fri, 22 May 2009 10:32:01 +0000 (12:32 +0200)]
Replace all uint return values by guints in gstreamer-sharp/glue
Maarten Bosmans [Fri, 22 May 2009 17:25:23 +0000 (19:25 +0200)]
Fix compilation of the samples with MS .NET
Maarten Bosmans [Fri, 22 May 2009 17:24:09 +0000 (19:24 +0200)]
Fix compilation of the glue library on Windows
Maarten Bosmans [Fri, 22 May 2009 17:20:17 +0000 (19:20 +0200)]
Replace unportable sed -i call with plain sed
Sebastian Dröge [Fri, 22 May 2009 17:01:53 +0000 (19:01 +0200)]
Fix library name
Maarten Bosmans [Fri, 22 May 2009 13:59:15 +0000 (15:59 +0200)]
Add check for null before calling Structure.FreeNative
Sebastian Dröge [Fri, 22 May 2009 08:56:24 +0000 (10:56 +0200)]
Unref mini objects immediately instead of 50ms later and fix mini object type registration
Sebastian Dröge [Thu, 21 May 2009 19:58:55 +0000 (21:58 +0200)]
Update docs
Sebastian Dröge [Thu, 21 May 2009 19:47:17 +0000 (21:47 +0200)]
Update the element bindings to use GTypeNameAttribute
Sebastian Dröge [Thu, 21 May 2009 19:38:23 +0000 (21:38 +0200)]
Move explicit type registrations from Value.cs directly to Application.Init.
Sebastian Dröge [Thu, 21 May 2009 19:37:44 +0000 (21:37 +0200)]
As Gst.Date is a boxed type we need to implement IWrapper and a New method
This fixes boxing/deboxing from GLib.Value
Sebastian Dröge [Thu, 21 May 2009 18:57:26 +0000 (20:57 +0200)]
Update samples from code.google.com/p/cil-bindings
Also add a XvImageSink binding and add the GtkVideoPlayer sample
from the above place.
Sebastian Dröge [Thu, 21 May 2009 18:56:57 +0000 (20:56 +0200)]
Remove the managed miniobject instances from the hashtable before unreffing
Sebastian Dröge [Wed, 20 May 2009 15:29:36 +0000 (17:29 +0200)]
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.
Sebastian Dröge [Thu, 14 May 2009 19:38:28 +0000 (21:38 +0200)]
Fork the Gtk# codegenerator for now
We unfortunately need to do this to properly generate bindings for
GstMiniObject...
Sebastian Dröge [Thu, 14 May 2009 19:37:19 +0000 (21:37 +0200)]
Update for latest version of the GType mapping patch
Sebastian Dröge [Thu, 14 May 2009 19:37:09 +0000 (21:37 +0200)]
Fix MixerMessage method names
Sebastian Dröge [Thu, 14 May 2009 15:15:40 +0000 (17:15 +0200)]
Update docs
Sebastian Dröge [Thu, 14 May 2009 14:50:16 +0000 (16:50 +0200)]
Add Gst.Interfaces.Navigation bindings
Sebastian Dröge [Thu, 14 May 2009 13:56:57 +0000 (15:56 +0200)]
Make sure to return a ref'd Gst.Index from Gst.Element.OnGetIndex()
Sebastian Dröge [Wed, 13 May 2009 15:03:49 +0000 (17:03 +0200)]
Add Gst.Interfaces.PropertyProbe bindings
Sebastian Dröge [Wed, 13 May 2009 14:46:57 +0000 (16:46 +0200)]
Make PropertyInfo(IntPtr) ctor public
Sebastian Dröge [Wed, 13 May 2009 12:48:36 +0000 (14:48 +0200)]
Update TODO
Sebastian Dröge [Wed, 13 May 2009 12:42:04 +0000 (14:42 +0200)]
Don't require Gtk# patch from bug #501685
Sebastian Dröge [Wed, 13 May 2009 12:35:59 +0000 (14:35 +0200)]
Add support for a GTypeName attribute to get correct native/managed type mappings
This requires yet another patch to Gtk# trunk, also update
the list of patches again.
Sebastian Dröge [Tue, 12 May 2009 13:50:04 +0000 (15:50 +0200)]
Add a method to retrieve the property info of a single property
Sebastian Dröge [Tue, 12 May 2009 13:49:44 +0000 (15:49 +0200)]
Add a method to convert an integer value into the Flags/EnumValues
Sebastian Dröge [Tue, 12 May 2009 13:32:15 +0000 (15:32 +0200)]
Initialize the GLib.Value for the property to set
Sebastian Dröge [Tue, 12 May 2009 13:27:13 +0000 (15:27 +0200)]
Add Enum/FlagsInfo to query a GEnum/GFlags type
Sebastian Dröge [Tue, 12 May 2009 13:26:50 +0000 (15:26 +0200)]
Also store the GType of the property in case there's no managed type for it
Sebastian Dröge [Tue, 12 May 2009 12:31:57 +0000 (14:31 +0200)]
Add a Properties property to Gst.Object to get information about the GObject properties
Sebastian Dröge [Tue, 12 May 2009 10:04:53 +0000 (12:04 +0200)]
Add Gst.Interfaces.Tuner* bindings
Sebastian Dröge [Tue, 12 May 2009 09:08:08 +0000 (11:08 +0200)]
Fix library name for the interfaces
Sebastian Dröge [Mon, 11 May 2009 16:31:20 +0000 (18:31 +0200)]
Update API with the class struct of GstTunerNorm
Sebastian Dröge [Mon, 11 May 2009 16:27:10 +0000 (18:27 +0200)]
Add Gst.Interfaces.VideoOrientation bindings
Sebastian Dröge [Mon, 11 May 2009 13:53:48 +0000 (15:53 +0200)]
Add Gst.Interfaces.XOverlay bindings
Sebastian Dröge [Mon, 11 May 2009 13:51:31 +0000 (15:51 +0200)]
Reparse the API to get all interface class structs
Sebastian Dröge [Sat, 9 May 2009 18:06:43 +0000 (20:06 +0200)]
Add TODO
Sebastian Dröge [Sat, 9 May 2009 18:04:43 +0000 (20:04 +0200)]
Add bindings for GstMixer and related types
Sebastian Dröge [Sat, 9 May 2009 17:29:40 +0000 (19:29 +0200)]
Add a generic GstIterator wrapper and use that
Sebastian Dröge [Sat, 9 May 2009 08:27:29 +0000 (10:27 +0200)]
Make the properties of the ColorBalanceChannel read-only
Sebastian Dröge [Fri, 8 May 2009 15:24:26 +0000 (17:24 +0200)]
Add missing file
Sebastian Dröge [Fri, 8 May 2009 15:23:55 +0000 (17:23 +0200)]
Start binding the GstInterfaces library, ColorBalance* is finished already
Sebastian Dröge [Thu, 7 May 2009 08:39:38 +0000 (10:39 +0200)]
Update API fixups for the latest protected-fields patch
Sebastian Dröge [Thu, 7 May 2009 08:03:58 +0000 (10:03 +0200)]
Add some notes why we have a modified copy of URIHandlerAdapter.cs
Sebastian Dröge [Thu, 7 May 2009 08:02:11 +0000 (10:02 +0200)]
Update list of patches for Gtk# that we require
Sebastian Dröge [Thu, 7 May 2009 07:42:17 +0000 (09:42 +0200)]
Move TypeFind/Index/Element register functions to their factory classes
Sebastian Dröge [Wed, 6 May 2009 12:09:23 +0000 (14:09 +0200)]
Move plugin wrappers into seperate namespaces
Sebastian Dröge [Wed, 6 May 2009 11:57:56 +0000 (13:57 +0200)]
Don't use FORTIFY_SOURCE
Sebastian Dröge [Wed, 6 May 2009 11:57:23 +0000 (13:57 +0200)]
Check for all GStreamer libraries for which we want to create bindings
Sebastian Dröge [Wed, 6 May 2009 10:47:37 +0000 (12:47 +0200)]
Add Gst.ImplementsInterface bindings
Sebastian Dröge [Wed, 6 May 2009 10:27:40 +0000 (12:27 +0200)]
Update docs
Sebastian Dröge [Wed, 6 May 2009 10:25:02 +0000 (12:25 +0200)]
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.
Sebastian Dröge [Wed, 6 May 2009 07:54:14 +0000 (09:54 +0200)]
Fix compilation of the samples
Sebastian Dröge [Mon, 4 May 2009 10:28:48 +0000 (12:28 +0200)]
Update docs
Sebastian Dröge [Mon, 4 May 2009 10:27:25 +0000 (12:27 +0200)]
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...
Sebastian Dröge [Mon, 4 May 2009 09:04:42 +0000 (11:04 +0200)]
Fix Gst.TagSetter interface bindings
Sebastian Dröge [Sun, 3 May 2009 17:35:14 +0000 (19:35 +0200)]
Fix Gst.ChildProxy bindings
Sebastian Dröge [Sun, 3 May 2009 17:34:27 +0000 (19:34 +0200)]
Remove the abstract flag of GstObject and friends as we might need to instantiate them
This will happen for example if we don't have a managed wrapper class
for a type.
Sebastian Dröge [Fri, 1 May 2009 15:21:13 +0000 (17:21 +0200)]
Fix Gst.Pipeline bindings
Sebastian Dröge [Fri, 1 May 2009 15:11:18 +0000 (17:11 +0200)]
Add support for iterating the internal links of a pad
Sebastian Dröge [Fri, 1 May 2009 15:08:07 +0000 (17:08 +0200)]
Fix Gst.Bin bindings and add bindings for the iterators
Sebastian Dröge [Fri, 1 May 2009 15:05:49 +0000 (17:05 +0200)]
Handle NULL GstIterator* correctly
Sebastian Dröge [Fri, 1 May 2009 13:28:34 +0000 (15:28 +0200)]
Fix samples for all the API changes
Sebastian Dröge [Fri, 1 May 2009 11:46:24 +0000 (13:46 +0200)]
Change NewFromString() methods to FromString() in Caps/Structure for consistence
Sebastian Dröge [Fri, 1 May 2009 07:03:49 +0000 (09:03 +0200)]
Fix some more GObject DllImports
Sebastian Dröge [Thu, 30 Apr 2009 19:48:14 +0000 (21:48 +0200)]
Fix value of Gst.FlowReturn.Ok
Sebastian Dröge [Thu, 30 Apr 2009 19:48:05 +0000 (21:48 +0200)]
Fix GObject DllImport
Sebastian Dröge [Thu, 30 Apr 2009 15:26:44 +0000 (17:26 +0200)]
Don't use the ThresholdType but the real type
Sebastian Dröge [Thu, 30 Apr 2009 15:21:13 +0000 (17:21 +0200)]
Fix indention and make Gst.Element.GetPadTemplates() a property
Sebastian Dröge [Thu, 30 Apr 2009 15:16:51 +0000 (17:16 +0200)]
Add initial support for setting/getting element class fields
Sebastian Dröge [Thu, 30 Apr 2009 15:16:41 +0000 (17:16 +0200)]
Make Gst.ElementDetails an internal struct
Sebastian Dröge [Thu, 30 Apr 2009 15:16:15 +0000 (17:16 +0200)]
Actually override the Copy method of GLib.Opaque
Sebastian Dröge [Thu, 30 Apr 2009 15:16:00 +0000 (17:16 +0200)]
Remove unused DllImports
Sebastian Dröge [Thu, 30 Apr 2009 14:54:39 +0000 (16:54 +0200)]
Fix Gst.Element bindings
Still missing: Support for creating new element subclasses
and adding pad templates/setting details on them.
Sebastian Dröge [Thu, 30 Apr 2009 13:40:17 +0000 (15:40 +0200)]
Add convenience function to register Gst.Index types with the default registry
Sebastian Dröge [Thu, 30 Apr 2009 13:32:30 +0000 (15:32 +0200)]
Fix registration of new Typefinders
Sebastian Dröge [Thu, 30 Apr 2009 13:16:19 +0000 (15:16 +0200)]
Update docs
Sebastian Dröge [Thu, 30 Apr 2009 13:13:31 +0000 (15:13 +0200)]
Fix the Gst.Index* bindings
Sebastian Dröge [Thu, 30 Apr 2009 11:10:15 +0000 (13:10 +0200)]
Fix Gst.TypeFind bindings
Sebastian Dröge [Thu, 30 Apr 2009 07:39:46 +0000 (09:39 +0200)]
Fix IndexFactory/TypeFindFactory bindings
Sebastian Dröge [Thu, 30 Apr 2009 04:18:36 +0000 (06:18 +0200)]
Cleanup Gst.GhostPad bindings
Sebastian Dröge [Tue, 28 Apr 2009 19:03:44 +0000 (21:03 +0200)]
Fix the Gst.Pad bindings
Sebastian Dröge [Mon, 27 Apr 2009 14:53:42 +0000 (16:53 +0200)]
Add another patch that is required for building