platform/upstream/gstreamer.git
15 years agoRemove all the Refcount tests
Maarten Bosmans [Sat, 13 Jun 2009 09:42:15 +0000 (11:42 +0200)]
Remove all the Refcount tests

The refcount of GstObjects isn't public anymore
and shouldn't be tested for anyway.

15 years agoUse the owned attribute for parameters to remove some custom code
Maarten Bosmans [Sat, 13 Jun 2009 07:48:09 +0000 (09:48 +0200)]
Use the owned attribute for parameters to remove some custom code

15 years agoMore custom code removed by using owned="true"
Maarten Bosmans [Sat, 13 Jun 2009 09:26:20 +0000 (11:26 +0200)]
More custom code removed by using owned="true"

15 years agoFix generator to use MiniObject.OwnedHandle for parameters with owned="true"
Maarten Bosmans [Fri, 12 Jun 2009 14:37:08 +0000 (16:37 +0200)]
Fix generator to use MiniObject.OwnedHandle for parameters with owned="true"

15 years agoAppSrc.PushBuffer() takes ownership of the buffer
Sebastian Dröge [Fri, 12 Jun 2009 13:21:28 +0000 (15:21 +0200)]
AppSrc.PushBuffer() takes ownership of the buffer

Part of bug #585551.

15 years agoAvoid some warnings when parsing the xml.
Maarten Bosmans [Tue, 9 Jun 2009 08:42:21 +0000 (10:42 +0200)]
Avoid some warnings when parsing the xml.

The warnings where mainly about usage of ellipsis type arguments.
For most of the functions hidden by this patch there was already an
alternative, for the params[] Caps constructor custom code is added.

Fixes bug #584913.

15 years agoCleanup of GstBase - unnescessary properties removed
Maarten Bosmans [Fri, 5 Jun 2009 11:38:20 +0000 (13:38 +0200)]
Cleanup of GstBase - unnescessary properties removed

15 years agoFor signals without parameters use the generic SignalHandler instead of defining...
Sebastian Dröge [Tue, 9 Jun 2009 08:27:49 +0000 (10:27 +0200)]
For signals without parameters use the generic SignalHandler instead of defining a lot of empty types

15 years agoUpdate docs
Sebastian Dröge [Sat, 6 Jun 2009 11:18:16 +0000 (13:18 +0200)]
Update docs

15 years agoAdd dllmaps for all libraries
Sebastian Dröge [Sat, 6 Jun 2009 11:16:01 +0000 (13:16 +0200)]
Add dllmaps for all libraries

15 years agoFix and cleanup Gst.Video bindings
Sebastian Dröge [Sat, 6 Jun 2009 11:14:11 +0000 (13:14 +0200)]
Fix and cleanup Gst.Video bindings

15 years agoFix Gst.App bindings
Sebastian Dröge [Sat, 6 Jun 2009 10:55:17 +0000 (12:55 +0200)]
Fix Gst.App bindings

Among other things, remove the SetCallbacks methods. It's easier
in the managed world to use the signals instead of the callbacks.

Also hide the action signals as there are methods for them
already.

15 years agoAdd bindings for libgstapp
Maarten Bosmans [Fri, 5 Jun 2009 19:26:46 +0000 (21:26 +0200)]
Add bindings for libgstapp

Fixes bug #584747.

15 years agoAdd bindings for libgstvideo
Maarten Bosmans [Fri, 5 Jun 2009 19:22:51 +0000 (21:22 +0200)]
Add bindings for libgstvideo

Fixes bug #584744.

15 years agoFix gapi2xml.pl to accept nested namespaces
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.

15 years agoAdd Gst.Cdda library bindings
Sebastian Dröge [Fri, 5 Jun 2009 19:02:16 +0000 (21:02 +0200)]
Add Gst.Cdda library bindings

15 years agoAdd toplevel Gst.Controller documentation
Sebastian Dröge [Fri, 5 Jun 2009 19:00:20 +0000 (21:00 +0200)]
Add toplevel Gst.Controller documentation

15 years agoDon't allow subclassing of element bindings
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.

15 years agoFix marshalling of the URIHandler GetType method
Sebastian Dröge [Fri, 5 Jun 2009 10:47:07 +0000 (12:47 +0200)]
Fix marshalling of the URIHandler GetType method

15 years agoConvert Gst.Marshaller to an internal class
Sebastian Dröge [Thu, 4 Jun 2009 18:47:28 +0000 (20:47 +0200)]
Convert Gst.Marshaller to an internal class

15 years agoFix marshalling of null terminated string arrays as return values
Sebastian Dröge [Wed, 3 Jun 2009 19:10:57 +0000 (21:10 +0200)]
Fix marshalling of null terminated string arrays as return values

15 years agoRemove some custom code now that the code generator correctly handles ownership of...
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

15 years agoFix ownership of out function 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.

15 years agoThe MiniObject.CreateNativeObject method does not and can't have parameters
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

15 years agoAdd MiniObject code generator specific cases at more places
Sebastian Dröge [Tue, 2 Jun 2009 10:34:18 +0000 (12:34 +0200)]
Add MiniObject code generator specific cases at more places

15 years agoUpdate docs
Sebastian Dröge [Sun, 31 May 2009 19:20:50 +0000 (21:20 +0200)]
Update docs

15 years agoImprove element bindings generation build system
Sebastian Dröge [Sun, 31 May 2009 19:20:22 +0000 (21:20 +0200)]
Improve element bindings generation build system

15 years agoAdd libgstcontroller bindings
Sebastian Dröge [Sun, 31 May 2009 19:10:45 +0000 (21:10 +0200)]
Add libgstcontroller bindings

15 years agoDon't remove handwritten index bindings on clean
Sebastian Dröge [Sat, 30 May 2009 19:48:40 +0000 (21:48 +0200)]
Don't remove handwritten index bindings on clean

15 years agoAdd bindings for memindex and fileindex
Sebastian Dröge [Sat, 30 May 2009 12:05:13 +0000 (14:05 +0200)]
Add bindings for memindex and fileindex

15 years agoRemove the search_func/user_data parameters to GstIndex::get_assoc_entry
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.

15 years agoMake sure that make plugins-update always regenerates the element API XML files
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.

15 years agoWrite error messages to stderr and fix a compiler warning
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.

15 years agoRemove the Last parameter of the new-decoded-pad signal of decodebin
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.

15 years agoUpdate TODO
Sebastian Dröge [Sat, 30 May 2009 11:03:14 +0000 (13:03 +0200)]
Update TODO

15 years agoFix GstAdapter glue code
Maarten Bosmans [Sat, 30 May 2009 09:09:02 +0000 (11:09 +0200)]
Fix GstAdapter glue code

Fixes bug #584264.

15 years agoThrow an exception if an element can't be instantiated in element bindings
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

15 years agoRemove gst-xmlinspect from the dependencies of the raw inspection files
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.

15 years agoAdd libgstbase and libgstinterfaces to the DllMaps
Sebastian Dröge [Thu, 28 May 2009 13:44:12 +0000 (15:44 +0200)]
Add libgstbase and libgstinterfaces to the DllMaps

15 years agoUpdate docs
Sebastian Dröge [Thu, 28 May 2009 13:42:17 +0000 (15:42 +0200)]
Update docs

15 years agoDon't add a void ctor to TagListHelper
Sebastian Dröge [Thu, 28 May 2009 13:40:15 +0000 (15:40 +0200)]
Don't add a void ctor to TagListHelper

15 years agoAlso don't include properties of the base classes from libgstbase in element bindings
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

15 years agoImplement Adapter.Peek() that returns a GstBuffer
Sebastian Dröge [Thu, 28 May 2009 13:31:01 +0000 (15:31 +0200)]
Implement Adapter.Peek() that returns a GstBuffer

15 years agoAdd TypeFindHelper bindings
Sebastian Dröge [Thu, 28 May 2009 13:26:30 +0000 (15:26 +0200)]
Add TypeFindHelper bindings

15 years agoFix name of Gst.Base.BaseSrcFlags.Last
Sebastian Dröge [Thu, 28 May 2009 13:16:54 +0000 (15:16 +0200)]
Fix name of Gst.Base.BaseSrcFlags.Last

15 years agoFix PushSrc bindings
Sebastian Dröge [Thu, 28 May 2009 13:09:30 +0000 (15:09 +0200)]
Fix PushSrc bindings

15 years agoFix BaseTransform bindings
Sebastian Dröge [Thu, 28 May 2009 13:08:18 +0000 (15:08 +0200)]
Fix BaseTransform bindings

15 years agoFix BaseSrc bindings
Sebastian Dröge [Thu, 28 May 2009 13:03:53 +0000 (15:03 +0200)]
Fix BaseSrc bindings

15 years agoFixup BaseSink bindings
Sebastian Dröge [Thu, 28 May 2009 12:59:21 +0000 (14:59 +0200)]
Fixup BaseSink bindings

15 years agoOverride GLib.Opaque.Copy() vm
Sebastian Dröge [Thu, 28 May 2009 12:51:44 +0000 (14:51 +0200)]
Override GLib.Opaque.Copy() vm

15 years agoAdd libgstbase bindings and fixup the Adapter bindings
Sebastian Dröge [Thu, 28 May 2009 12:37:21 +0000 (14:37 +0200)]
Add libgstbase bindings and fixup the Adapter bindings

15 years agoFix uninstalled parser execution
Sebastian Dröge [Thu, 28 May 2009 12:15:55 +0000 (14:15 +0200)]
Fix uninstalled parser execution

15 years agoCall LinkMany Link and UnlinkMany Unlink
Sebastian Dröge [Thu, 28 May 2009 12:06:41 +0000 (14:06 +0200)]
Call LinkMany Link and UnlinkMany Unlink

15 years agoUpdate docs once again
Sebastian Dröge [Thu, 28 May 2009 10:32:57 +0000 (12:32 +0200)]
Update docs once again

15 years agoDon't assume all properties are writeable in any case
Sebastian Dröge [Thu, 28 May 2009 10:32:25 +0000 (12:32 +0200)]
Don't assume all properties are writeable in any case

15 years agoAdd bindings for the StreamInfo objects of playbin
Sebastian Dröge [Thu, 28 May 2009 10:29:59 +0000 (12:29 +0200)]
Add bindings for the StreamInfo objects of playbin

15 years agoAdd playbin2 and decodebin2 bindings
Sebastian Dröge [Thu, 28 May 2009 09:21:29 +0000 (11:21 +0200)]
Add playbin2 and decodebin2 bindings

15 years agoAlso don't add properties of GstBin and GstPipeline to element 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

15 years agoAdd support for GValueArray
Sebastian Dröge [Thu, 28 May 2009 09:16:25 +0000 (11:16 +0200)]
Add support for GValueArray

15 years agoUpdate docs
Sebastian Dröge [Thu, 28 May 2009 09:08:20 +0000 (11:08 +0200)]
Update docs

15 years agoAdd URIHandler interface implementation for the element bindings generator
Sebastian Dröge [Thu, 28 May 2009 09:05:42 +0000 (11:05 +0200)]
Add URIHandler interface implementation for the element bindings generator

15 years agoFix generation of enum types
Sebastian Dröge [Thu, 28 May 2009 09:04:59 +0000 (11:04 +0200)]
Fix generation of enum types

15 years agoAdd element bindings for all core elements
Sebastian Dröge [Thu, 28 May 2009 09:04:35 +0000 (11:04 +0200)]
Add element bindings for all core elements

15 years agoWe require mono >= 2.4 now, update README
Sebastian Dröge [Thu, 28 May 2009 08:50:23 +0000 (10:50 +0200)]
We require mono >= 2.4 now, update README

15 years agoDon't include GstElement/GstObject properties in the element bindings
Sebastian Dröge [Thu, 28 May 2009 08:49:44 +0000 (10:49 +0200)]
Don't include GstElement/GstObject properties in the element bindings

15 years agoImprobe XPath syntax to be more robust against changes in signal order
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

15 years agoAdd some more patterns to .gitignore
Sebastian Dröge [Thu, 28 May 2009 08:37:37 +0000 (10:37 +0200)]
Add some more patterns to .gitignore

15 years agoUpdate docs
Sebastian Dröge [Thu, 28 May 2009 08:36:44 +0000 (10:36 +0200)]
Update docs

15 years agoAdd support for action signals in element bindings
Sebastian Dröge [Thu, 28 May 2009 08:33:56 +0000 (10:33 +0200)]
Add support for action signals in element bindings

15 years agoAdd Gst.ElementFactory.Make overload with a single parameter for the factory
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

15 years agoUpdate build dependencies and add a copy of the gtk-sharp parser from trunk
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).

15 years agoAlso add normal constructors instead of the static Make method in element bindings
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

15 years agoAdd support for autogenerating signal code 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

15 years agoFix build system for the new element binding generator
Sebastian Dröge [Wed, 27 May 2009 18:58:19 +0000 (20:58 +0200)]
Fix build system for the new element binding generator

15 years agoFirst try to create a code generator for element bindings
Sebastian Dröge [Tue, 26 May 2009 13:32:27 +0000 (15:32 +0200)]
First try to create a code generator for element bindings

15 years agoPrevent that the GC frees the native GstIterator too early
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.

15 years agoFix build on Windows
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

15 years agoAdd .pdb to cleanfiles and gitignore
Maarten Bosmans [Tue, 26 May 2009 13:34:31 +0000 (15:34 +0200)]
Add .pdb to cleanfiles and gitignore

15 years agoSome more DllImport fixes
Maarten Bosmans [Tue, 26 May 2009 13:34:02 +0000 (15:34 +0200)]
Some more DllImport fixes

15 years agoDispose GLib.Values in GetProperty after usage
Sebastian Dröge [Tue, 26 May 2009 07:48:22 +0000 (09:48 +0200)]
Dispose GLib.Values in GetProperty after usage

15 years agoAdd bindings for CapsFilter
Maarten Bosmans [Mon, 25 May 2009 10:20:20 +0000 (12:20 +0200)]
Add bindings for CapsFilter

Fixes bug #583631.

15 years agoAdd .dll to gstreamersharpglue DllImport
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.

15 years agoUse libgst*.dll in DllImport attribute, instead of gst*.dll
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.

15 years agoAdd .dll to gstreamersharpglue DllImport
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.

15 years agoUse libgst*.dll in DllImport attribute, instead of gst*.dll
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.

15 years agoReplace all uint return values by guints in gstreamer-sharp/glue
Maarten Bosmans [Fri, 22 May 2009 10:32:01 +0000 (12:32 +0200)]
Replace all uint return values by guints in gstreamer-sharp/glue

15 years agoFix compilation of the samples with MS .NET
Maarten Bosmans [Fri, 22 May 2009 17:25:23 +0000 (19:25 +0200)]
Fix compilation of the samples with MS .NET

15 years agoFix compilation of the glue library on Windows
Maarten Bosmans [Fri, 22 May 2009 17:24:09 +0000 (19:24 +0200)]
Fix compilation of the glue library on Windows

15 years agoReplace unportable sed -i call with plain sed
Maarten Bosmans [Fri, 22 May 2009 17:20:17 +0000 (19:20 +0200)]
Replace unportable sed -i call with plain sed

15 years agoFix library name
Sebastian Dröge [Fri, 22 May 2009 17:01:53 +0000 (19:01 +0200)]
Fix library name

15 years agoAdd check for null before calling Structure.FreeNative
Maarten Bosmans [Fri, 22 May 2009 13:59:15 +0000 (15:59 +0200)]
Add check for null before calling Structure.FreeNative

15 years agoUnref mini objects immediately instead of 50ms later and fix mini object type registr...
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

15 years agoUpdate docs
Sebastian Dröge [Thu, 21 May 2009 19:58:55 +0000 (21:58 +0200)]
Update docs

15 years agoUpdate the element bindings to use GTypeNameAttribute
Sebastian Dröge [Thu, 21 May 2009 19:47:17 +0000 (21:47 +0200)]
Update the element bindings to use GTypeNameAttribute

15 years agoMove explicit type registrations from Value.cs directly to Application.Init.
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.

15 years agoAs Gst.Date is a boxed type we need to implement IWrapper and a New method
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

15 years agoUpdate samples from http://code.google.com/p/cil-bindings
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.

15 years agoRemove the managed miniobject instances from the hashtable before unreffing
Sebastian Dröge [Thu, 21 May 2009 18:56:57 +0000 (20:56 +0200)]
Remove the managed miniobject instances from the hashtable before unreffing

15 years agoExtend the code generator to handle GstMiniObject and implement Gst.MiniObject
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.

15 years agoFork the Gtk# codegenerator for 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...