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
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.
Sebastian Dröge [Sat, 20 Jun 2009 09:41:28 +0000 (11:41 +0200)]
Use parameter-less constructors for Bin/Pipeline
Sebastian Dröge [Sat, 20 Jun 2009 09:40:42 +0000 (11:40 +0200)]
Generate Bus.Post() code automatically
Sebastian Dröge [Sat, 20 Jun 2009 09:35:35 +0000 (11:35 +0200)]
Add parameter-less constructors for Bin/Pipeline
Maarten Bosmans [Thu, 18 Jun 2009 16:18:01 +0000 (18:18 +0200)]
Add some tests that depend on nunit >= 2.4 functionality
Maarten Bosmans [Thu, 18 Jun 2009 16:07:53 +0000 (18:07 +0200)]
Add some tests that where lost in Refcount cleanup
Sebastian Dröge [Thu, 18 Jun 2009 07:17:28 +0000 (09:17 +0200)]
Add unit test for managed buffer generation and interaction
Sebastian Dröge [Wed, 17 Jun 2009 11:46:36 +0000 (13:46 +0200)]
Print test names on the terminal
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.
Sebastian Dröge [Wed, 17 Jun 2009 11:36:02 +0000 (13:36 +0200)]
Fix ownership of Gst.PadGetCapsFunction's return value
Sebastian Dröge [Wed, 17 Jun 2009 10:16:53 +0000 (12:16 +0200)]
Enable tests that should run but fail
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.
Maarten Bosmans [Mon, 15 Jun 2009 08:01:40 +0000 (10:01 +0200)]
Some more cleanup
Maarten Bosmans [Mon, 15 Jun 2009 06:28:47 +0000 (08:28 +0200)]
Fix source code formatting for all the tests
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.
Maarten Bosmans [Sat, 13 Jun 2009 10:01:29 +0000 (12:01 +0200)]
Adapt tests to new api
Maarten Bosmans [Mon, 15 Jun 2009 06:32:28 +0000 (08:32 +0200)]
Remove Dispose() calls in each test
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.
Maarten Bosmans [Sat, 13 Jun 2009 07:48:09 +0000 (09:48 +0200)]
Use the owned attribute for parameters to remove some custom code
Maarten Bosmans [Sat, 13 Jun 2009 09:26:20 +0000 (11:26 +0200)]
More custom code removed by using 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"
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.
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.
Maarten Bosmans [Fri, 5 Jun 2009 11:38:20 +0000 (13:38 +0200)]
Cleanup of GstBase - unnescessary properties removed
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
Sebastian Dröge [Sat, 6 Jun 2009 11:18:16 +0000 (13:18 +0200)]
Update docs
Sebastian Dröge [Sat, 6 Jun 2009 11:16:01 +0000 (13:16 +0200)]
Add dllmaps for all libraries
Sebastian Dröge [Sat, 6 Jun 2009 11:14:11 +0000 (13:14 +0200)]
Fix and cleanup Gst.Video 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.
Maarten Bosmans [Fri, 5 Jun 2009 19:26:46 +0000 (21:26 +0200)]
Add bindings for libgstapp
Fixes bug #584747.
Maarten Bosmans [Fri, 5 Jun 2009 19:22:51 +0000 (21:22 +0200)]
Add bindings for libgstvideo
Fixes bug #584744.
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.