Commit graph

324 commits

Author SHA1 Message Date
Sebastian Dröge
cc2aa83e67 Use parameter-less constructors for Bin/Pipeline 2009-06-20 11:41:28 +02:00
Sebastian Dröge
7eebc0c2bc Generate Bus.Post() code automatically 2009-06-20 11:40:42 +02:00
Sebastian Dröge
82f9687b7c Add parameter-less constructors for Bin/Pipeline 2009-06-20 11:35:35 +02:00
Maarten Bosmans
c123dd008a Add some tests that depend on nunit >= 2.4 functionality 2009-06-20 11:29:24 +02:00
Maarten Bosmans
1bf7205563 Add some tests that where lost in Refcount cleanup 2009-06-20 11:29:24 +02:00
Sebastian Dröge
89ffc66700 Add unit test for managed buffer generation and interaction 2009-06-18 09:17:28 +02:00
Sebastian Dröge
63b7bcabd8 Print test names on the terminal 2009-06-17 13:46:36 +02:00
Sebastian Dröge
1c1fe228b4 Don't forget to set the freefunc of buffers
Partially fixes bug #585551.
2009-06-17 13:36:53 +02:00
Sebastian Dröge
742ac92b7b Fix ownership of Gst.PadGetCapsFunction's return value 2009-06-17 13:36:02 +02:00
Sebastian Dröge
75430dc6b5 Enable tests that should run but fail 2009-06-17 12:16:53 +02:00
Maarten Bosmans
e2ff9bb9cb Use nunit-console from nunit instead of in-tree ConsoleUi.
And check for nunit >= v2.0 at configure time.
2009-06-17 12:12:52 +02:00
Maarten Bosmans
93bee322fb Some more cleanup 2009-06-17 12:10:20 +02:00
Maarten Bosmans
8e9831765a Fix source code formatting for all the tests 2009-06-17 12:10:19 +02:00
Maarten Bosmans
37b8bdd10d Make the test suite actually run
By removing the Application.Deinit calls
and disabling two test that cause problems.
2009-06-17 12:10:19 +02:00
Maarten Bosmans
14d7c20ce7 Adapt tests to new api 2009-06-17 12:10:00 +02:00
Maarten Bosmans
f100210c37 Remove Dispose() calls in each test 2009-06-17 12:10:00 +02:00
Maarten Bosmans
18682a3604 Remove all the Refcount tests
The refcount of GstObjects isn't public anymore
and shouldn't be tested for anyway.
2009-06-17 12:09:59 +02:00
Maarten Bosmans
e04254c23e Use the owned attribute for parameters to remove some custom code 2009-06-14 20:04:16 +02:00
Maarten Bosmans
e43e6c9763 More custom code removed by using owned="true" 2009-06-14 20:03:48 +02:00
Maarten Bosmans
896ddae3c5 Fix generator to use MiniObject.OwnedHandle for parameters with owned="true" 2009-06-12 22:15:40 +02:00
Sebastian Dröge
b3b018c916 AppSrc.PushBuffer() takes ownership of the buffer
Part of bug #585551.
2009-06-12 15:21:28 +02:00
Maarten Bosmans
e53329406a 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.
2009-06-09 10:42:21 +02:00
Maarten Bosmans
4285a61e46 Cleanup of GstBase - unnescessary properties removed 2009-06-09 10:39:56 +02:00
Sebastian Dröge
cd3bf3502c For signals without parameters use the generic SignalHandler instead of defining a lot of empty types 2009-06-09 10:27:49 +02:00
Sebastian Dröge
0d98c86ad6 Update docs 2009-06-06 13:18:16 +02:00
Sebastian Dröge
3b017f82f4 Add dllmaps for all libraries 2009-06-06 13:16:01 +02:00
Sebastian Dröge
b4ded561e3 Fix and cleanup Gst.Video bindings 2009-06-06 13:14:11 +02:00
Sebastian Dröge
484b1229c4 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.
2009-06-06 12:55:17 +02:00
Maarten Bosmans
4d9415a751 Add bindings for libgstapp
Fixes bug #584747.
2009-06-05 21:26:46 +02:00
Maarten Bosmans
b01a09a8c0 Add bindings for libgstvideo
Fixes bug #584744.
2009-06-05 21:22:51 +02:00
Maarten Bosmans
20b3829c0a 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.
2009-06-05 21:09:40 +02:00
Sebastian Dröge
8fc8aa8806 Add Gst.Cdda library bindings 2009-06-05 21:02:16 +02:00
Sebastian Dröge
b37f44eb59 Add toplevel Gst.Controller documentation 2009-06-05 21:00:20 +02:00
Sebastian Dröge
8ece992223 Don't allow subclassing of element bindings
...and clean up/simplify the DynamicSignal stuff.
2009-06-05 20:59:24 +02:00
Sebastian Dröge
0196d9b622 Fix marshalling of the URIHandler GetType method 2009-06-05 12:47:07 +02:00
Sebastian Dröge
5bef341b0a Convert Gst.Marshaller to an internal class 2009-06-04 20:47:28 +02:00
Sebastian Dröge
6ab410403c Fix marshalling of null terminated string arrays as return values 2009-06-03 21:10:57 +02:00
Sebastian Dröge
aba607129c Remove some custom code now that the code generator correctly handles ownership of out parameters 2009-06-03 20:56:22 +02:00
Sebastian Dröge
7a57660044 Fix ownership of out function parameters
This fixes Novell bug #498498.
2009-06-03 20:47:37 +02:00
Sebastian Dröge
0efb6ed587 The MiniObject.CreateNativeObject method does not and can't have parameters 2009-06-02 12:39:07 +02:00
Sebastian Dröge
74756f2c2a Add MiniObject code generator specific cases at more places 2009-06-02 12:34:18 +02:00
Sebastian Dröge
1793e22f84 Update docs 2009-05-31 21:20:50 +02:00
Sebastian Dröge
e7a1bc7e93 Improve element bindings generation build system 2009-05-31 21:20:22 +02:00
Sebastian Dröge
d17ba74fdc Add libgstcontroller bindings 2009-05-31 21:10:45 +02:00
Sebastian Dröge
49607d317a Don't remove handwritten index bindings on clean 2009-05-30 21:48:40 +02:00
Sebastian Dröge
b8d3082a96 Add bindings for memindex and fileindex 2009-05-30 14:05:13 +02:00
Sebastian Dröge
4f329b23a5 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.
2009-05-30 13:55:24 +02:00
Sebastian Dröge
8a0f18ca70 Make sure that make plugins-update always regenerates the element API XML files
Fixes bug #584209.
2009-05-30 13:49:04 +02:00
Maarten Bosmans
2ed4e4dd98 Write error messages to stderr and fix a compiler warning
Fixes bug #584209.
2009-05-30 13:42:05 +02:00
Maarten Bosmans
0f55df8e25 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.
2009-05-30 13:38:01 +02:00