Commit graph

20 commits

Author SHA1 Message Date
Sebastian Dröge
aa7bb8fa1c 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.
2009-08-05 16:57: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
6ab410403c Fix marshalling of null terminated string arrays as return values 2009-06-03 21:10:57 +02:00
Maarten Bosmans
4110118d7b Some more DllImport fixes 2009-05-26 15:34:02 +02:00
Maarten Bosmans
6cb104a67a Add .dll to gstreamersharpglue DllImport
Nescessary for .NET compatibility, where .dll isn't
added for libraries with a . in the filename.
2009-05-25 12:12:35 +02:00
Sebastian Dröge
61f212b6f6 Fix some more GObject DllImports 2009-05-01 09:03:49 +02:00
Sebastian Dröge
e1775ea341 Finish/fix the Gst.Object bindings
Also update docs and fix indention
2009-04-23 21:12:31 +02:00
Sebastian Dröge
5278dd6486 Dispose GLib.Values after usage to close a memory leak 2009-04-22 12:35:56 +02:00
Sebastian Dröge
f7de461101 Make sure that the strings passed to native functions are UTF8 2009-04-22 12:33:43 +02:00
Sebastian Dröge
8e216fcd21 Use new custom GLib.Value support for gtk-sharp trunk 2009-04-16 21:52:21 +02:00
Sebastian Dröge
ffa5406b48 Fix/complete the Caps bindings
Also make sure in Gst.Structure that we're having a mutable structure
before changing any content.
2009-04-14 13:31:06 +02:00
Sebastian Dröge
e03a50aa84 Fix indention and use new Gst.Value stuff for dynamic signals 2009-04-11 17:57:11 +02:00
Sebastian Dröge
85e2db4e5f Fix indention of all files 2009-04-07 11:27:20 +02:00
Sebastian Dröge
7b0efa7033 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.
2009-04-07 09:12:31 +02:00
Sebastian Dröge
17739ad5de Move DynamicSignals into the Gst namespace to prevent conflicts 2009-04-05 13:11:02 +02:00
Sebastian Dröge
10b4f125d0 Fix dynamic signals on 64 bit architectures
sizeof(GClosure) is 32 on 64 bit
2009-04-04 14:28:19 +02:00
Khaled Mohammed
a6ca2de622 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
2006-09-07 22:22:09 +00:00
Khaled Mohammed
0e15441c8c 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
2006-08-04 04:00:43 +00:00
Aaron Bockover
73ed037fa4 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
2006-07-13 16:16:51 +00:00
Aaron Bockover
0c76171b89 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
2006-07-12 22:47:30 +00:00