Maarten Bosmans [Fri, 5 Jun 2009 19:09:40 +0000 (21:09 +0200)]
Fix gapi2xml.pl to accept nested namespaces
The perl script should accept nested namespaces, like N1.N2, for outputting
xml. Making a Global class for static methods didn't work for functions like
n1_n2_function. Another change is that N1 is stripped from the cname for the
element name.
Partially fixes bug #584744.
Sebastian Dröge [Fri, 5 Jun 2009 19:02:16 +0000 (21:02 +0200)]
Add Gst.Cdda library bindings
Sebastian Dröge [Fri, 5 Jun 2009 19:00:20 +0000 (21:00 +0200)]
Add toplevel Gst.Controller documentation
Sebastian Dröge [Fri, 5 Jun 2009 18:59:24 +0000 (20:59 +0200)]
Don't allow subclassing of element bindings
...and clean up/simplify the DynamicSignal stuff.
Sebastian Dröge [Fri, 5 Jun 2009 10:47:07 +0000 (12:47 +0200)]
Fix marshalling of the URIHandler GetType method
Sebastian Dröge [Thu, 4 Jun 2009 18:47:28 +0000 (20:47 +0200)]
Convert Gst.Marshaller to an internal class
Sebastian Dröge [Wed, 3 Jun 2009 19:10:57 +0000 (21:10 +0200)]
Fix marshalling of null terminated string arrays as return values
Sebastian Dröge [Wed, 3 Jun 2009 18:56:22 +0000 (20:56 +0200)]
Remove some custom code now that the code generator correctly handles ownership of out parameters
Sebastian Dröge [Wed, 3 Jun 2009 18:47:37 +0000 (20:47 +0200)]
Fix ownership of out function parameters
This fixes Novell bug #498498.
Sebastian Dröge [Tue, 2 Jun 2009 10:39:07 +0000 (12:39 +0200)]
The MiniObject.CreateNativeObject method does not and can't have parameters
Sebastian Dröge [Tue, 2 Jun 2009 10:34:18 +0000 (12:34 +0200)]
Add MiniObject code generator specific cases at more places
Sebastian Dröge [Sun, 31 May 2009 19:20:50 +0000 (21:20 +0200)]
Update docs
Sebastian Dröge [Sun, 31 May 2009 19:20:22 +0000 (21:20 +0200)]
Improve element bindings generation build system
Sebastian Dröge [Sun, 31 May 2009 19:10:45 +0000 (21:10 +0200)]
Add libgstcontroller bindings
Sebastian Dröge [Sat, 30 May 2009 19:48:40 +0000 (21:48 +0200)]
Don't remove handwritten index bindings on clean
Sebastian Dröge [Sat, 30 May 2009 12:05:13 +0000 (14:05 +0200)]
Add bindings for memindex and fileindex
Sebastian Dröge [Sat, 30 May 2009 11:55:24 +0000 (13:55 +0200)]
Remove the search_func/user_data parameters to GstIndex::get_assoc_entry
They're not used in any Index implementation and we can't use them
in C# either. This should work without problems because according to
C calling conventions the caller is responsible for preparing
the function arguments and cleaning up later. This only means that
func and user_data will contain invalid data now.
Sebastian Dröge [Sat, 30 May 2009 11:49:04 +0000 (13:49 +0200)]
Make sure that make plugins-update always regenerates the element API XML files
Fixes bug #584209.
Maarten Bosmans [Sat, 30 May 2009 11:42:05 +0000 (13:42 +0200)]
Write error messages to stderr and fix a compiler warning
Fixes bug #584209.
Maarten Bosmans [Sat, 30 May 2009 11:38:01 +0000 (13:38 +0200)]
Remove the Last parameter of the new-decoded-pad signal of decodebin
That parameter was deprecated and the no-more-pads signal is a much
better indicator for this. Fixes bug #584269.
Sebastian Dröge [Sat, 30 May 2009 11:03:14 +0000 (13:03 +0200)]
Update TODO
Maarten Bosmans [Sat, 30 May 2009 09:09:02 +0000 (11:09 +0200)]
Fix GstAdapter glue code
Fixes bug #584264.
Sebastian Dröge [Fri, 29 May 2009 20:12:12 +0000 (22:12 +0200)]
Throw an exception if an element can't be instantiated in element bindings
Sebastian Dröge [Fri, 29 May 2009 20:05:34 +0000 (22:05 +0200)]
Remove gst-xmlinspect from the dependencies of the raw inspection files
This should fix bug #584209.
Sebastian Dröge [Thu, 28 May 2009 13:44:12 +0000 (15:44 +0200)]
Add libgstbase and libgstinterfaces to the DllMaps
Sebastian Dröge [Thu, 28 May 2009 13:42:17 +0000 (15:42 +0200)]
Update docs
Sebastian Dröge [Thu, 28 May 2009 13:40:15 +0000 (15:40 +0200)]
Don't add a void ctor to TagListHelper
Sebastian Dröge [Thu, 28 May 2009 13:34:17 +0000 (15:34 +0200)]
Also don't include properties of the base classes from libgstbase in element bindings
Sebastian Dröge [Thu, 28 May 2009 13:31:01 +0000 (15:31 +0200)]
Implement Adapter.Peek() that returns a GstBuffer
Sebastian Dröge [Thu, 28 May 2009 13:26:30 +0000 (15:26 +0200)]
Add TypeFindHelper bindings
Sebastian Dröge [Thu, 28 May 2009 13:16:54 +0000 (15:16 +0200)]
Fix name of Gst.Base.BaseSrcFlags.Last
Sebastian Dröge [Thu, 28 May 2009 13:09:30 +0000 (15:09 +0200)]
Fix PushSrc bindings
Sebastian Dröge [Thu, 28 May 2009 13:08:18 +0000 (15:08 +0200)]
Fix BaseTransform bindings
Sebastian Dröge [Thu, 28 May 2009 13:03:53 +0000 (15:03 +0200)]
Fix BaseSrc bindings
Sebastian Dröge [Thu, 28 May 2009 12:59:21 +0000 (14:59 +0200)]
Fixup BaseSink bindings
Sebastian Dröge [Thu, 28 May 2009 12:51:44 +0000 (14:51 +0200)]
Override GLib.Opaque.Copy() vm
Sebastian Dröge [Thu, 28 May 2009 12:37:21 +0000 (14:37 +0200)]
Add libgstbase bindings and fixup the Adapter bindings
Sebastian Dröge [Thu, 28 May 2009 12:15:55 +0000 (14:15 +0200)]
Fix uninstalled parser execution
Sebastian Dröge [Thu, 28 May 2009 12:06:41 +0000 (14:06 +0200)]
Call LinkMany Link and UnlinkMany Unlink
Sebastian Dröge [Thu, 28 May 2009 10:32:57 +0000 (12:32 +0200)]
Update docs once again
Sebastian Dröge [Thu, 28 May 2009 10:32:25 +0000 (12:32 +0200)]
Don't assume all properties are writeable in any case
Sebastian Dröge [Thu, 28 May 2009 10:29:59 +0000 (12:29 +0200)]
Add bindings for the StreamInfo objects of playbin
Sebastian Dröge [Thu, 28 May 2009 09:21:29 +0000 (11:21 +0200)]
Add playbin2 and decodebin2 bindings
Sebastian Dröge [Thu, 28 May 2009 09:18:35 +0000 (11:18 +0200)]
Also don't add properties of GstBin and GstPipeline to element bindings
Sebastian Dröge [Thu, 28 May 2009 09:16:25 +0000 (11:16 +0200)]
Add support for GValueArray
Sebastian Dröge [Thu, 28 May 2009 09:08:20 +0000 (11:08 +0200)]
Update docs
Sebastian Dröge [Thu, 28 May 2009 09:05:42 +0000 (11:05 +0200)]
Add URIHandler interface implementation for the element bindings generator
Sebastian Dröge [Thu, 28 May 2009 09:04:59 +0000 (11:04 +0200)]
Fix generation of enum types
Sebastian Dröge [Thu, 28 May 2009 09:04:35 +0000 (11:04 +0200)]
Add element bindings for all core elements
Sebastian Dröge [Thu, 28 May 2009 08:50:23 +0000 (10:50 +0200)]
We require mono >= 2.4 now, update README
Sebastian Dröge [Thu, 28 May 2009 08:49:44 +0000 (10:49 +0200)]
Don't include GstElement/GstObject properties in the element bindings
Sebastian Dröge [Thu, 28 May 2009 08:43:08 +0000 (10:43 +0200)]
Improbe XPath syntax to be more robust against changes in signal order
Sebastian Dröge [Thu, 28 May 2009 08:37:37 +0000 (10:37 +0200)]
Add some more patterns to .gitignore
Sebastian Dröge [Thu, 28 May 2009 08:36:44 +0000 (10:36 +0200)]
Update docs
Sebastian Dröge [Thu, 28 May 2009 08:33:56 +0000 (10:33 +0200)]
Add support for action signals in element bindings
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