Sebastian Dröge [Fri, 14 Aug 2009 06:59:36 +0000 (08:59 +0200)]
Write a nice README
Sebastian Dröge [Fri, 14 Aug 2009 06:56:58 +0000 (08:56 +0200)]
Allow to use real nunit instead of mono-nunit and prefer it
Sebastian Dröge [Fri, 14 Aug 2009 06:40:47 +0000 (08:40 +0200)]
Make the AppSrc example work on big endian architectures too
Cairo's ARGB32 format is defined to be native endianness, i.e.
we have to use GST_VIDEO_FORMAT_ARGB or _BGRA depending on
endianness.
Sebastian Dröge [Fri, 14 Aug 2009 06:37:09 +0000 (08:37 +0200)]
Make it possible to use the GtkVideoPlayer example on Win32 too
Sebastian Dröge [Fri, 14 Aug 2009 05:27:42 +0000 (07:27 +0200)]
And also check for mono-cairo and only compile the appsrc sample when it's available
Sebastian Dröge [Fri, 14 Aug 2009 05:21:54 +0000 (07:21 +0200)]
Check for gtk-sharp and glib-sharp and conditionally compile the samples
Sebastian Dröge [Sun, 9 Aug 2009 07:58:50 +0000 (09:58 +0200)]
Change GLib.* to Gst.GLib.* and register managed GTypes with a different name prefix
This prevents all remaining conflicts between internal and external glib-sharp.
Sebastian Dröge [Sat, 8 Aug 2009 05:41:47 +0000 (07:41 +0200)]
Fix test compilation
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
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.
Sebastian Dröge [Wed, 5 Aug 2009 14:48:13 +0000 (16:48 +0200)]
Move internal glib-sharp to namespace Gst.GLib
Sebastian Dröge [Wed, 5 Aug 2009 14:47:30 +0000 (16:47 +0200)]
Update glib-sharp from SVN trunk
Sebastian Dröge [Wed, 5 Aug 2009 14:46:19 +0000 (16:46 +0200)]
Update code generator from gtk-sharp 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.
Sebastian Dröge [Fri, 31 Jul 2009 08:11:12 +0000 (10:11 +0200)]
Update generator from latest Gtk# trunk
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.
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.
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
Sebastian Dröge [Tue, 23 Jun 2009 11:39:00 +0000 (13:39 +0200)]
Make some clock methods protected
Sebastian Dröge [Tue, 23 Jun 2009 11:26:11 +0000 (13:26 +0200)]
Adjust tests for new protected methods by implementing subclasses
Sebastian Dröge [Tue, 23 Jun 2009 11:21:06 +0000 (13:21 +0200)]
Make some element methods protected as they should be
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.
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
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.
Maarten Bosmans [Sat, 20 Jun 2009 12:14:40 +0000 (14:14 +0200)]
Update Gstreamer.metadata to avoid some warnings on fixup/generate
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.
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
Sebastian Dröge [Sun, 21 Jun 2009 08:24:46 +0000 (10:24 +0200)]
Fix memory leak in appsrc example
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.
Sebastian Dröge [Sun, 21 Jun 2009 08:00:34 +0000 (10:00 +0200)]
Run automake with -Wno-portability to silence even more warnings
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