platform/upstream/gstreamer.git
15 years agoUpdate code generator and glib-sharp diffs
Sebastian Dröge [Wed, 5 Aug 2009 15:42:12 +0000 (17:42 +0200)]
Update code generator and glib-sharp diffs

These diffs contain our changes to gtk-sharp trunk

15 years agoUse internal glib-sharp copy everywhere and make it work side-by-side with real glib...
Sebastian Dröge [Wed, 5 Aug 2009 14:57:20 +0000 (16:57 +0200)]
Use internal glib-sharp copy everywhere and make it work side-by-side with real glib-sharp

glib-sharp will only get a new release with the new API that we need for
3.0 in a year or something. Instead of waiting a year before we can release
something we now have our own internal copy of glib-sharp trunk that will
be dropped once glib-sharp 3.0 is released.

Everything is now compilable and working without any additional patches.

15 years agoMove internal glib-sharp to namespace Gst.GLib
Sebastian Dröge [Wed, 5 Aug 2009 14:48:13 +0000 (16:48 +0200)]
Move internal glib-sharp to namespace Gst.GLib

15 years agoUpdate glib-sharp from SVN trunk
Sebastian Dröge [Wed, 5 Aug 2009 14:47:30 +0000 (16:47 +0200)]
Update glib-sharp from SVN trunk

15 years agoUpdate code generator from gtk-sharp trunk
Sebastian Dröge [Wed, 5 Aug 2009 14:46:19 +0000 (16:46 +0200)]
Update code generator from gtk-sharp trunk

15 years agoAdd copy of glib-sharp from trunk
Sebastian Dröge [Fri, 31 Jul 2009 08:16:55 +0000 (10:16 +0200)]
Add copy of glib-sharp from trunk

This is for internal usage only and will be removed once
there's a working glib-sharp release.

This also contains the required patches from README.

15 years agoUpdate generator from latest Gtk# trunk
Sebastian Dröge [Fri, 31 Jul 2009 08:11:12 +0000 (10:11 +0200)]
Update generator from latest Gtk# trunk

15 years agoUse gmcs for compilation, we require C# 2.0 now
Sebastian Dröge [Fri, 31 Jul 2009 08:01:30 +0000 (10:01 +0200)]
Use gmcs for compilation, we require C# 2.0 now

This allows us to use new features and Gtk# has switched too
some days ago.

15 years agoUpdate to work with latest Gtk# trunk
Sebastian Dröge [Thu, 30 Jul 2009 12:20:54 +0000 (14:20 +0200)]
Update to work with latest Gtk# trunk

We only need a single patch now that should be committed soon
to trunk.

15 years agoHide gst_pad_get_parent_element() as it's useless for us
Sebastian Dröge [Tue, 23 Jun 2009 11:40:30 +0000 (13:40 +0200)]
Hide gst_pad_get_parent_element() as it's useless for us

15 years agoMake some clock methods protected
Sebastian Dröge [Tue, 23 Jun 2009 11:39:00 +0000 (13:39 +0200)]
Make some clock methods protected

15 years agoAdjust tests for new protected methods by implementing subclasses
Sebastian Dröge [Tue, 23 Jun 2009 11:26:11 +0000 (13:26 +0200)]
Adjust tests for new protected methods by implementing subclasses

15 years agoMake some element methods protected as they should be
Sebastian Dröge [Tue, 23 Jun 2009 11:21:06 +0000 (13:21 +0200)]
Make some element methods protected as they should be

15 years agoAdd unit test for basic Gst.Element subclasses
Sebastian Dröge [Sun, 21 Jun 2009 10:21:32 +0000 (12:21 +0200)]
Add unit test for basic Gst.Element subclasses

This implements a simple source and sink and sends 10 buffers from one
to another.

15 years agoRename BaseSrc.Query to .SrcQuery to prevent conflict with Element.Query
Sebastian Dröge [Sun, 21 Jun 2009 08:36:13 +0000 (10:36 +0200)]
Rename BaseSrc.Query to .SrcQuery to prevent conflict with Element.Query

15 years agoAvoid some C# compiler warnings about name collisions in subclass members
Maarten Bosmans [Fri, 19 Jun 2009 12:39:13 +0000 (14:39 +0200)]
Avoid some C# compiler warnings about name collisions in subclass members

There are three types of solution used: adding the new keyword to the member
in the subclass, renaming the subclass member to avoid name collision and
removing the subclass member if the functionality is the same.

15 years agoUpdate Gstreamer.metadata to avoid some warnings on fixup/generate
Maarten Bosmans [Sat, 20 Jun 2009 12:14:40 +0000 (14:14 +0200)]
Update Gstreamer.metadata to avoid some warnings on fixup/generate

15 years agoReplace custom Enumerable code with generator GstIterator bindings
Maarten Bosmans [Sat, 20 Jun 2009 08:50:00 +0000 (10:50 +0200)]
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.

15 years agoSet pipeline to null state in the end and use the real NeedData event of appsrc
Sebastian Dröge [Sun, 21 Jun 2009 08:28:05 +0000 (10:28 +0200)]
Set pipeline to null state in the end and use the real NeedData event of appsrc

15 years agoFix memory leak in appsrc example
Sebastian Dröge [Sun, 21 Jun 2009 08:24:46 +0000 (10:24 +0200)]
Fix memory leak in appsrc example

15 years agoAdd samples/AppSrc.cs
Maarten Bosmans [Sat, 20 Jun 2009 20:55:27 +0000 (22:55 +0200)]
Add samples/AppSrc.cs

This sample started as a test case for a bug with Buffer.Data, but remains
useful as a example of how to use the AppSrc element.

15 years agoRun automake with -Wno-portability to silence even more warnings
Sebastian Dröge [Sun, 21 Jun 2009 08:00:34 +0000 (10:00 +0200)]
Run automake with -Wno-portability to silence even more warnings

15 years agoBuild system fixes
Maarten Bosmans [Fri, 5 Jun 2009 05:03:45 +0000 (07:03 +0200)]
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

15 years agoRemove the Data hashtables from MiniObject
Sebastian Dröge [Sat, 20 Jun 2009 13:22:43 +0000 (15:22 +0200)]
Remove the Data hashtables from MiniObject

We don't have any ways to store them in a persitant way anyway,
for example the content will disappear if the managed mini object
is unreffed and later the same native instance is used again in
managed code.

15 years agoUse parameter-less constructors for Bin/Pipeline
Sebastian Dröge [Sat, 20 Jun 2009 09:41:28 +0000 (11:41 +0200)]
Use parameter-less constructors for Bin/Pipeline

15 years agoGenerate Bus.Post() code automatically
Sebastian Dröge [Sat, 20 Jun 2009 09:40:42 +0000 (11:40 +0200)]
Generate Bus.Post() code automatically

15 years agoAdd parameter-less constructors for Bin/Pipeline
Sebastian Dröge [Sat, 20 Jun 2009 09:35:35 +0000 (11:35 +0200)]
Add parameter-less constructors for Bin/Pipeline

15 years agoAdd some tests that depend on nunit >= 2.4 functionality
Maarten Bosmans [Thu, 18 Jun 2009 16:18:01 +0000 (18:18 +0200)]
Add some tests that depend on nunit >= 2.4 functionality

15 years agoAdd some tests that where lost in Refcount cleanup
Maarten Bosmans [Thu, 18 Jun 2009 16:07:53 +0000 (18:07 +0200)]
Add some tests that where lost in Refcount cleanup

15 years agoAdd unit test for managed buffer generation and interaction
Sebastian Dröge [Thu, 18 Jun 2009 07:17:28 +0000 (09:17 +0200)]
Add unit test for managed buffer generation and interaction

15 years agoPrint test names on the terminal
Sebastian Dröge [Wed, 17 Jun 2009 11:46:36 +0000 (13:46 +0200)]
Print test names on the terminal

15 years agoDon't forget to set the freefunc of buffers
Sebastian Dröge [Wed, 17 Jun 2009 11:36:53 +0000 (13:36 +0200)]
Don't forget to set the freefunc of buffers

Partially fixes bug #585551.

15 years agoFix ownership of Gst.PadGetCapsFunction's return value
Sebastian Dröge [Wed, 17 Jun 2009 11:36:02 +0000 (13:36 +0200)]
Fix ownership of Gst.PadGetCapsFunction's return value

15 years agoEnable tests that should run but fail
Sebastian Dröge [Wed, 17 Jun 2009 10:16:53 +0000 (12:16 +0200)]
Enable tests that should run but fail

15 years agoUse nunit-console from nunit instead of in-tree ConsoleUi.
Maarten Bosmans [Mon, 15 Jun 2009 05:47:54 +0000 (07:47 +0200)]
Use nunit-console from nunit instead of in-tree ConsoleUi.

And check for nunit >= v2.0 at configure time.

15 years agoSome more cleanup
Maarten Bosmans [Mon, 15 Jun 2009 08:01:40 +0000 (10:01 +0200)]
Some more cleanup

15 years agoFix source code formatting for all the tests
Maarten Bosmans [Mon, 15 Jun 2009 06:28:47 +0000 (08:28 +0200)]
Fix source code formatting for all the tests

15 years agoMake the test suite actually run
Maarten Bosmans [Mon, 15 Jun 2009 05:56:45 +0000 (07:56 +0200)]
Make the test suite actually run

By removing the Application.Deinit calls
and disabling two test that cause problems.

15 years agoAdapt tests to new api
Maarten Bosmans [Sat, 13 Jun 2009 10:01:29 +0000 (12:01 +0200)]
Adapt tests to new api

15 years agoRemove Dispose() calls in each test
Maarten Bosmans [Mon, 15 Jun 2009 06:32:28 +0000 (08:32 +0200)]
Remove Dispose() calls in each test

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