Sebastian Dröge [Wed, 22 Apr 2009 09:54:49 +0000 (11:54 +0200)]
Also use the copy-on-unref workaround for the message-owned Structure here instead of always copying
Sebastian Dröge [Wed, 22 Apr 2009 06:07:55 +0000 (08:07 +0200)]
Add some convenience overloads for some Message methods and make the parse methods more consistent
Sebastian Dröge [Tue, 21 Apr 2009 17:27:35 +0000 (19:27 +0200)]
Fix bindings of the tag merge functions
Sebastian Dröge [Tue, 21 Apr 2009 17:27:05 +0000 (19:27 +0200)]
Call the _get_type() functions of some types on Init() to make sure they're registred by Gtk#
Sebastian Dröge [Tue, 21 Apr 2009 12:31:29 +0000 (14:31 +0200)]
Complete/fix bindings for Gst.Tag and Gst.TagList
Sebastian Dröge [Tue, 21 Apr 2009 12:31:10 +0000 (14:31 +0200)]
Remove unused private field
Sebastian Dröge [Tue, 21 Apr 2009 12:25:59 +0000 (14:25 +0200)]
Return a string[] instead of IEnumerable for the Fields property to get all fields
Sebastian Dröge [Tue, 21 Apr 2009 12:24:14 +0000 (14:24 +0200)]
Copy all still existing structure references before calling gst_caps_do_simplify
Sebastian Dröge [Mon, 20 Apr 2009 18:53:01 +0000 (20:53 +0200)]
Make sure that every second parameter to Structure.Add(...) is a string
Sebastian Dröge [Sun, 19 Apr 2009 16:29:19 +0000 (18:29 +0200)]
Fix some more structure ownerships
Sebastian Dröge [Sun, 19 Apr 2009 14:53:25 +0000 (16:53 +0200)]
Fix structure handling (almost) of caps
Make sure that we a) don't free structures of caps as we don't own them
and b) make sure to create a copy of all still referenced structures
before it gets removed, the caps are unreffed or something else happens.
This still needs to be fixed for gst_caps_do_simplify()!
This workaround is inspired by the one in gst-python.
Sebastian Dröge [Sun, 19 Apr 2009 14:53:15 +0000 (16:53 +0200)]
Fix indention
Sebastian Dröge [Sat, 18 Apr 2009 14:43:15 +0000 (16:43 +0200)]
Put tags into the Tag class instead of a new Tags class
Also remove the void ctor of the Tag class, it's not meant to be instantiated
Sebastian Dröge [Sat, 18 Apr 2009 14:32:59 +0000 (16:32 +0200)]
Update docs
Sebastian Dröge [Sat, 18 Apr 2009 14:27:32 +0000 (16:27 +0200)]
We actually don't own the structure returned by gst_message_get_structure()
Sebastian Dröge [Sat, 18 Apr 2009 14:24:12 +0000 (16:24 +0200)]
Add/fix complete bindings of Gst.Message
Sebastian Dröge [Sat, 18 Apr 2009 14:23:43 +0000 (16:23 +0200)]
Add CoreError/StreamError/etc enum types
Sebastian Dröge [Sat, 18 Apr 2009 14:21:53 +0000 (16:21 +0200)]
Use the native copy functions when creating a copy for ownership-taking functions
Using the managed Copy() function won't work as the managed object
will still own the reference and we would unref/free twice.
Sebastian Dröge [Sat, 18 Apr 2009 14:21:16 +0000 (16:21 +0200)]
Implement Gst.MiniObject.Copy() manually to get the correct type from the instance
Sebastian Dröge [Sat, 18 Apr 2009 14:20:24 +0000 (16:20 +0200)]
Add generated Tags class
Sebastian Dröge [Fri, 17 Apr 2009 14:44:14 +0000 (16:44 +0200)]
Add generated Tags class and remove hand-written CommonTags class
Sebastian Dröge [Fri, 17 Apr 2009 14:41:00 +0000 (16:41 +0200)]
Add utility to automatically generate a static class with tags definitions from a C header
Sebastian Dröge [Thu, 16 Apr 2009 20:19:59 +0000 (22:19 +0200)]
Cleanup glue and GError handling
Sebastian Dröge [Thu, 16 Apr 2009 19:52:47 +0000 (21:52 +0200)]
Fix indention
Sebastian Dröge [Thu, 16 Apr 2009 19:52:21 +0000 (21:52 +0200)]
Use new custom GLib.Value support for gtk-sharp trunk
Sebastian Dröge [Thu, 16 Apr 2009 15:48:31 +0000 (17:48 +0200)]
Disable obsolete Type(GLib.GType) constructors everywhere
Sebastian Dröge [Thu, 16 Apr 2009 10:17:02 +0000 (12:17 +0200)]
Update to 0.10.22.2 and add the _get_type() functions for enum/flags types
Sebastian Dröge [Wed, 15 Apr 2009 12:40:09 +0000 (14:40 +0200)]
gst_pad_template_new() takes ownership of the caps, reference them
Also rename and cleanup some PadTemplate members
Sebastian Dröge [Wed, 15 Apr 2009 11:26:54 +0000 (13:26 +0200)]
Drop StaticCaps bindings and let the StaticPadTemplate bindings be autogenerated
Also fix some reference ownership issues in the StaticPadTemplate bindings
and make them a read-only container without any way to create new instances.
We don't need StaticCaps anywhere and StaticPadTemplates only for reading
the static pad templates of an element factory.
Sebastian Dröge [Tue, 14 Apr 2009 15:58:28 +0000 (17:58 +0200)]
Add Gst.StaticPadTemplate.Free() and fix indention
Sebastian Dröge [Tue, 14 Apr 2009 15:55:19 +0000 (17:55 +0200)]
Fix and complete Static{PadTemplate,Caps} bindings
Sebastian Dröge [Tue, 14 Apr 2009 11:42:24 +0000 (13:42 +0200)]
Make tests and samples compile again
Sebastian Dröge [Tue, 14 Apr 2009 11:31:06 +0000 (13:31 +0200)]
Fix/complete the Caps bindings
Also make sure in Gst.Structure that we're having a mutable structure
before changing any content.
Sebastian Dröge [Mon, 13 Apr 2009 11:27:26 +0000 (13:27 +0200)]
Fix Gst.Buffer bindings
Sebastian Dröge [Sun, 12 Apr 2009 18:56:06 +0000 (20:56 +0200)]
Update docs
Sebastian Dröge [Sun, 12 Apr 2009 18:55:11 +0000 (20:55 +0200)]
Fix MiniObject bindings
Sebastian Dröge [Sun, 12 Apr 2009 18:54:33 +0000 (20:54 +0200)]
Rename {Buffer,Tag}Flag to {Buffer,Tag}Flags for consistency
Sebastian Dröge [Sat, 11 Apr 2009 18:08:35 +0000 (20:08 +0200)]
Mark MiniObject and PluginFeature as abstract classes
Sebastian Dröge [Sat, 11 Apr 2009 18:07:03 +0000 (20:07 +0200)]
Fix Gst.Structure bindings
Sebastian Dröge [Sat, 11 Apr 2009 18:05:48 +0000 (20:05 +0200)]
Improve Gst.List/Value to be actually usable
Sebastian Dröge [Sat, 11 Apr 2009 15:57:11 +0000 (17:57 +0200)]
Fix indention and use new Gst.Value stuff for dynamic signals
Sebastian Dröge [Sat, 11 Apr 2009 15:52:50 +0000 (17:52 +0200)]
Add initial support for our custom GValue types and for setting/getting MiniObjects from/to GValues
Sebastian Dröge [Wed, 8 Apr 2009 09:18:40 +0000 (11:18 +0200)]
Fix ownership of Registry/Parse methods that return objects
Sebastian Dröge [Wed, 8 Apr 2009 08:52:46 +0000 (10:52 +0200)]
Finish the ElementFactory/PluginFeature bindings
Sebastian Dröge [Wed, 8 Apr 2009 08:18:48 +0000 (10:18 +0200)]
Add Element.Emit() for emitting dynamic signals (i.e. playbin2 action signals)
Sebastian Dröge [Wed, 8 Apr 2009 08:16:48 +0000 (10:16 +0200)]
Add "Copyright" strings to the file headers
Sebastian Dröge [Wed, 8 Apr 2009 08:12:48 +0000 (10:12 +0200)]
Clean the Gst.Global class and complete Gst.Parse/Gst.ParseContext bindings
Sebastian Dröge [Wed, 8 Apr 2009 07:29:38 +0000 (09:29 +0200)]
Complete and correct the GstRegistry bindings
Sebastian Dröge [Tue, 7 Apr 2009 13:04:05 +0000 (15:04 +0200)]
Ignore some more headers
Sebastian Dröge [Tue, 7 Apr 2009 12:44:30 +0000 (14:44 +0200)]
Add target for generating html documentation
Sebastian Dröge [Tue, 7 Apr 2009 12:24:10 +0000 (14:24 +0200)]
Ignore more header files
These are either private, don't make sense in the bindings
or we need to find better ways to bind them (i.e. GST_ERROR)
Sebastian Dröge [Tue, 7 Apr 2009 11:14:41 +0000 (13:14 +0200)]
Update docs
Sebastian Dröge [Tue, 7 Apr 2009 11:10:02 +0000 (13:10 +0200)]
Don't bind GstTrace, it's not really useful for managed applications to trace native allocations
Sebastian Dröge [Tue, 7 Apr 2009 09:46:42 +0000 (11:46 +0200)]
Fix compilation of unit test
Sebastian Dröge [Tue, 7 Apr 2009 09:44:26 +0000 (11:44 +0200)]
Remove custom buffer implementations for Unref/Ref, they're in MiniObject already
Sebastian Dröge [Tue, 7 Apr 2009 09:40:53 +0000 (11:40 +0200)]
Fix compilation of ApplicationTest
Sebastian Dröge [Tue, 7 Apr 2009 09:40:20 +0000 (11:40 +0200)]
Don't hide the Buffer constructor with no arguments
Sebastian Dröge [Tue, 7 Apr 2009 09:37:11 +0000 (11:37 +0200)]
Fix GStreamer DllImports and add a dllmap for the native GStreamer library
Sebastian Dröge [Tue, 7 Apr 2009 09:33:55 +0000 (11:33 +0200)]
Fix typo
Sebastian Dröge [Tue, 7 Apr 2009 09:30:49 +0000 (11:30 +0200)]
Add a Requires for glib-sharp-2.0 to the pkg-config file
Sebastian Dröge [Tue, 7 Apr 2009 09:27:20 +0000 (11:27 +0200)]
Fix indention of all files
Sebastian Dröge [Tue, 7 Apr 2009 09:25:09 +0000 (11:25 +0200)]
Add indent script for C# files
Sebastian Dröge [Tue, 7 Apr 2009 09:02:08 +0000 (11:02 +0200)]
Print reason if InitCheck() failed and introduce GError helper functions
Sebastian Dröge [Tue, 7 Apr 2009 08:32:32 +0000 (10:32 +0200)]
Update docs
Sebastian Dröge [Tue, 7 Apr 2009 08:31:03 +0000 (10:31 +0200)]
Make Gst.Version a static class
Sebastian Dröge [Tue, 7 Apr 2009 08:30:44 +0000 (10:30 +0200)]
Remove GLib namespace from the docs
Sebastian Dröge [Tue, 7 Apr 2009 08:30:00 +0000 (10:30 +0200)]
Sort API metadata alphabetically and cleanup
Also change the order in which we fixup the API to make more sense
Sebastian Dröge [Tue, 7 Apr 2009 07:55:57 +0000 (09:55 +0200)]
Fix make dist
Sebastian Dröge [Tue, 7 Apr 2009 07:50:49 +0000 (09:50 +0200)]
Add a lot of files to .gitignore
Sebastian Dröge [Tue, 7 Apr 2009 07:46:39 +0000 (09:46 +0200)]
Add files required by automake/autoconf
Sebastian Dröge [Tue, 7 Apr 2009 07:45:54 +0000 (09:45 +0200)]
Update/Cleanup of the build system
Sebastian Dröge [Tue, 7 Apr 2009 07:16:59 +0000 (09:16 +0200)]
Update docs
Sebastian Dröge [Tue, 7 Apr 2009 07:12:31 +0000 (09:12 +0200)]
Add support for emitting GObject signals dynamically
This will be needed later to call the action signals of
playbin2 for example.
Also get the correct instance size of GClosure at runtime
instead of always taking the largest known one.
Sebastian Dröge [Sun, 5 Apr 2009 11:11:02 +0000 (13:11 +0200)]
Move DynamicSignals into the Gst namespace to prevent conflicts
Sebastian Dröge [Sat, 4 Apr 2009 21:32:43 +0000 (23:32 +0200)]
Update docs
Sebastian Dröge [Sat, 4 Apr 2009 21:31:48 +0000 (23:31 +0200)]
Don't generate bindings for the XML/binary registry implementations
Sebastian Dröge [Sat, 4 Apr 2009 14:53:59 +0000 (16:53 +0200)]
Fix instanciation of GLib.SignalArgs subclasses from the BindingHelper and the samples
Sebastian Dröge [Sat, 4 Apr 2009 12:34:33 +0000 (14:34 +0200)]
Same random build system cleanup
Sebastian Dröge [Sat, 4 Apr 2009 12:31:25 +0000 (14:31 +0200)]
Don't override Gst.Object.Dispose()
We can't call gst_object_unref() directly as this will conflict
with the toggle-refs used in glib-sharp. It's also not required
to call gst_object_unref(), it's just a wrapper around g_object_unref()
with some debugging.
Sebastian Dröge [Sat, 4 Apr 2009 12:28:19 +0000 (14:28 +0200)]
Fix dynamic signals on 64 bit architectures
sizeof(GClosure) is 32 on 64 bit
Sebastian Dröge [Sat, 4 Apr 2009 12:18:34 +0000 (14:18 +0200)]
First take at updating to 0.10.22
Sebastian Dröge [Sat, 4 Apr 2009 12:18:28 +0000 (14:18 +0200)]
Add missing file
Sebastian Dröge [Sat, 4 Apr 2009 11:37:12 +0000 (13:37 +0200)]
Optimize gst-gapi-cleanup a bit
Sebastian Dröge [Sat, 4 Apr 2009 11:33:40 +0000 (13:33 +0200)]
Make everything compilable again
Khaled Mohammed [Thu, 7 Sep 2006 22:22:09 +0000 (22:22 +0000)]
gstreamer-sharp/DynamicSignal.cs: Added support for objects derived from GLib.Opaque
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@65082
e3ebcda4-bce8-0310-ba0a-
eca2169e7518
Khaled Mohammed [Thu, 7 Sep 2006 16:55:34 +0000 (16:55 +0000)]
adding gstreamer-sharp/glue/buffer.c
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@65070
e3ebcda4-bce8-0310-ba0a-
eca2169e7518
Khaled Mohammed [Thu, 7 Sep 2006 16:44:38 +0000 (16:44 +0000)]
Fix
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@65069
e3ebcda4-bce8-0310-ba0a-
eca2169e7518
Khaled Mohammed [Thu, 7 Sep 2006 16:24:30 +0000 (16:24 +0000)]
added missing files
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@65068
e3ebcda4-bce8-0310-ba0a-
eca2169e7518
Khaled Mohammed [Wed, 30 Aug 2006 00:46:32 +0000 (00:46 +0000)]
Fixed sample/TypeFind.cs
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@64526
e3ebcda4-bce8-0310-ba0a-
eca2169e7518
Khaled Mohammed [Tue, 29 Aug 2006 07:28:18 +0000 (07:28 +0000)]
Added a new sample - sample/MetaData.cs
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@64506
e3ebcda4-bce8-0310-ba0a-
eca2169e7518
Khaled Mohammed [Fri, 25 Aug 2006 09:49:52 +0000 (09:49 +0000)]
Added Element.LinkMany and Element.UnlinkMany
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@64347
e3ebcda4-bce8-0310-ba0a-
eca2169e7518
Khaled Mohammed [Sun, 20 Aug 2006 22:37:48 +0000 (22:37 +0000)]
2006/08/20 Khaled Mohammed (khaled.mohammed@gmail.com)
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@64117
e3ebcda4-bce8-0310-ba0a-
eca2169e7518
Khaled Mohammed [Fri, 11 Aug 2006 20:55:19 +0000 (20:55 +0000)]
MessageTest and BufferTest
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@63659
e3ebcda4-bce8-0310-ba0a-
eca2169e7518
Khaled Mohammed [Fri, 11 Aug 2006 20:53:33 +0000 (20:53 +0000)]
more tests and Dispose() in Gst.Object
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@63657
e3ebcda4-bce8-0310-ba0a-
eca2169e7518
Khaled Mohammed [Sat, 5 Aug 2006 21:07:11 +0000 (21:07 +0000)]
Fix of Refcount property in Gst.Object
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@63396
e3ebcda4-bce8-0310-ba0a-
eca2169e7518
Khaled Mohammed [Fri, 4 Aug 2006 04:08:13 +0000 (04:08 +0000)]
Adding NUnit test suite for Pipeline
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@63337
e3ebcda4-bce8-0310-ba0a-
eca2169e7518
Khaled Mohammed [Fri, 4 Aug 2006 04:00:43 +0000 (04:00 +0000)]
Updated DynamicSignal.cs and files plugins-base to use the new
DynamicSignal class.
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@63336
e3ebcda4-bce8-0310-ba0a-
eca2169e7518
Aaron Bockover [Thu, 13 Jul 2006 16:16:51 +0000 (16:16 +0000)]
2006-07-13 Aaron Bockover <aaron@abock.org>
* gstreamer-sharp/BindingHelper.cs: Static helper class to assist
in making element bindings (delegate manipulation/invocation)
* gstreamer-sharp/DynamicSignal.cs: Updated DynamicSignalArgs so they
can more easily be derived
* gstreamer-sharp/Makefile.am: Updated build
* sample/HelloWorld.cs: More cleaning
* sample/Makefile.am:
* sample/TypeFind.cs: Added typefind sample
* gstreamer-sharp.mdp: Updated MonoDevelop project
* gstreamer-sharp/plugins-base/DecodeBin.cs: Signal support rewritten
to use BindingHelper/DynamicSignal
* gstreamer-sharp/plugins-base/TypeFindElement.cs: New typefind
element wrapper using BindingHelper/DynamicSignal
* gstreamer-sharp/Element.custom: Fixed property getter/setter methods
and added indexer wrapper for property lookup for syntax convenience
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@62570
e3ebcda4-bce8-0310-ba0a-
eca2169e7518
Aaron Bockover [Wed, 12 Jul 2006 22:47:30 +0000 (22:47 +0000)]
2006-07-12 Aaron Bockover <aaron@abock.org>
* sample/HelloWorld.cs: Cleaned up, works with new dynamic signal stuff
* gstreamer-sharp.mdp: Updated MonoDevelop project
* gstreamer-sharp/glue/dynamicsignal.c:
* gstreamer-sharp/DynamicSignal.cs: Added DynamicSignal support for
runtime GObject signal binding
* gstreamer-sharp/glue/Makefile.am:
* gstreamer-sharp/Makefile.am: Updated build
* gstreamer-sharp/Element.custom: Removed old DynamicSignal
stuff and added pass-thru/proxy Connect/Disconnect methods on
top of GLib.DynamicSignal
* gstreamer-sharp/DynamicSignalHandlerGenerator.cs:
* gstreamer-sharp/DynamicSignalMarshalHandler.cs: Removed
* gstreamer-sharp/gstreamer-sharp.dll.config.in: Updated maps, removed
old 0.8 maps
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@62542
e3ebcda4-bce8-0310-ba0a-
eca2169e7518
Aaron Bockover [Wed, 12 Jul 2006 21:49:32 +0000 (21:49 +0000)]
2006-07-12 Aaron Bockover <aaron@abock.org>
* gstreamer-sharp.mds:
* gstreamer-sharp.mdp: Updated MonoDevelo project/solution
* source/gstreamer-sharp-source.xml: Cleaned up a bit
* sample/DecodeBinTranscoder.cs: Updated to reflect renaming of
Clock.GstSecond to Clock.Second, etc.
* gstreamer-sharp/glue/clock.c: Added gstsharp_gst_clock_get_time_none
and gstsharp_gst_clock_time_is_valid
* gstreamer-sharp/Clock.custom: Added bindings for new clock glue
and renamed GstNSecond to NSecond (and friends)
git-svn-id: svn://anonsvn.mono-project.com/source/branches/abock/gstreamer-sharp@62535
e3ebcda4-bce8-0310-ba0a-
eca2169e7518