Commit graph

700 commits

Author SHA1 Message Date
Sebastian Dröge
e076c092d8 Add support for GValueArray 2009-05-28 11:16:25 +02:00
Sebastian Dröge
626ac5c68b Update docs 2009-05-28 11:08:20 +02:00
Sebastian Dröge
570da600b6 Add URIHandler interface implementation for the element bindings generator 2009-05-28 11:05:42 +02:00
Sebastian Dröge
8d7ee5cb44 Fix generation of enum types 2009-05-28 11:04:59 +02:00
Sebastian Dröge
ae346c8e03 Add element bindings for all core elements 2009-05-28 11:04:35 +02:00
Sebastian Dröge
1497352832 We require mono >= 2.4 now, update README 2009-05-28 10:50:23 +02:00
Sebastian Dröge
961f12b863 Don't include GstElement/GstObject properties in the element bindings 2009-05-28 10:49:44 +02:00
Sebastian Dröge
f0a7451058 Improbe XPath syntax to be more robust against changes in signal order 2009-05-28 10:43:08 +02:00
Sebastian Dröge
5e66913e72 Add some more patterns to .gitignore 2009-05-28 10:37:37 +02:00
Sebastian Dröge
c80ecab721 Update docs 2009-05-28 10:36:44 +02:00
Sebastian Dröge
35d77e9885 Add support for action signals in element bindings 2009-05-28 10:33:56 +02:00
Sebastian Dröge
eafb77d8bf Add Gst.ElementFactory.Make overload with a single parameter for the factory 2009-05-28 10:24:34 +02:00
Sebastian Dröge
5de4ca65e6 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).
2009-05-28 10:19:19 +02:00
Sebastian Dröge
daf6d826c2 Also add normal constructors instead of the static Make method in element bindings 2009-05-28 06:06:18 +02:00
Sebastian Dröge
8f450ee581 Add support for autogenerating signal code in element bindings 2009-05-27 21:37:56 +02:00
Sebastian Dröge
33d93e8e87 Fix build system for the new element binding generator 2009-05-27 20:58:19 +02:00
Sebastian Dröge
32ba2488a2 First try to create a code generator for element bindings 2009-05-27 15:02:57 +02:00
Sebastian Dröge
ede4562c23 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.
2009-05-27 15:00:19 +02:00
Maarten Bosmans
febcfd772c 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
2009-05-26 15:35:00 +02:00
Maarten Bosmans
35198f1773 Add .pdb to cleanfiles and gitignore 2009-05-26 15:34:31 +02:00
Maarten Bosmans
4110118d7b Some more DllImport fixes 2009-05-26 15:34:02 +02:00
Sebastian Dröge
3139d5f239 Dispose GLib.Values in GetProperty after usage 2009-05-26 09:48:22 +02:00
Maarten Bosmans
cdc9fcd45d Add bindings for CapsFilter
Fixes bug #583631.
2009-05-25 12:20:20 +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
Maarten Bosmans
f665c749b6 Use libgst*.dll in DllImport attribute, instead of gst*.dll
Nescessary for .NET, which doesn't prefix the library filename
with lib automatically.
2009-05-25 12:09:52 +02:00
Maarten Bosmans
e37e8d7c17 Add .dll to gstreamersharpglue DllImport
Nescessary for .NET compatibility, where .dll isn't added for libraries with a . in the filename.
2009-05-22 19:30:32 +02:00
Maarten Bosmans
9c98624029 Use libgst*.dll in DllImport attribute, instead of gst*.dll
Nescessary for .NET, which doesn't prefix the library filename with lib automatically.
2009-05-22 19:28:39 +02:00
Maarten Bosmans
5c772af9ce Replace all uint return values by guints in gstreamer-sharp/glue 2009-05-22 19:27:33 +02:00
Maarten Bosmans
2f023a09af Fix compilation of the samples with MS .NET 2009-05-22 19:25:23 +02:00
Maarten Bosmans
888eb7d059 Fix compilation of the glue library on Windows 2009-05-22 19:24:09 +02:00
Maarten Bosmans
79a4ddd570 Replace unportable sed -i call with plain sed 2009-05-22 19:20:17 +02:00
Sebastian Dröge
b6fb6dd657 Fix library name 2009-05-22 19:01:53 +02:00
Maarten Bosmans
d957255ae1 Add check for null before calling Structure.FreeNative 2009-05-22 19:01:26 +02:00
Sebastian Dröge
61523d6d5a Unref mini objects immediately instead of 50ms later and fix mini object type registration 2009-05-22 10:56:24 +02:00
Sebastian Dröge
344a395f95 Update docs 2009-05-21 21:58:55 +02:00
Sebastian Dröge
15532cc8c6 Update the element bindings to use GTypeNameAttribute 2009-05-21 21:47:17 +02:00
Sebastian Dröge
9d71f4e833 Move explicit type registrations from Value.cs directly to Application.Init. 2009-05-21 21:38:23 +02:00
Sebastian Dröge
9b85d88450 As Gst.Date is a boxed type we need to implement IWrapper and a New method
This fixes boxing/deboxing from GLib.Value
2009-05-21 21:37:44 +02:00
Sebastian Dröge
c54dc8ce93 Update samples from http://code.google.com/p/cil-bindings
Also add a XvImageSink binding and add the GtkVideoPlayer sample
from the above place.
2009-05-21 20:57:26 +02:00
Sebastian Dröge
e028718bb3 Remove the managed miniobject instances from the hashtable before unreffing 2009-05-21 20:56:57 +02:00
Sebastian Dröge
cf9fd6ec9a Extend the code generator to handle GstMiniObject and implement Gst.MiniObject
Also fix indention everywhere and change code to use Gst.MiniObject.GetObject()
instead of GLib.Opaque.GetOpaque().

It's currently not possible to implement or use GInterfaces on mini objects
but apart from that this should be a great improvement, especially new
mini object classes can be defined in C# now.
2009-05-20 17:32:03 +02:00
Sebastian Dröge
4582abb4f3 Fork the Gtk# codegenerator for now
We unfortunately need to do this to properly generate bindings for
GstMiniObject...
2009-05-14 21:38:28 +02:00
Sebastian Dröge
e88f6d01b6 Update for latest version of the GType mapping patch 2009-05-14 21:37:19 +02:00
Sebastian Dröge
0c33d17f5a Fix MixerMessage method names 2009-05-14 21:37:09 +02:00
Sebastian Dröge
e1f1ac7b6e Update docs 2009-05-14 17:15:40 +02:00
Sebastian Dröge
fdc99f178b Add Gst.Interfaces.Navigation bindings 2009-05-14 16:50:16 +02:00
Sebastian Dröge
ee6a9d8bad Make sure to return a ref'd Gst.Index from Gst.Element.OnGetIndex() 2009-05-14 15:56:57 +02:00
Sebastian Dröge
2573a84692 Add Gst.Interfaces.PropertyProbe bindings 2009-05-13 17:03:49 +02:00
Sebastian Dröge
500bd3d8cc Make PropertyInfo(IntPtr) ctor public 2009-05-13 16:46:57 +02:00
Sebastian Dröge
782b942492 Update TODO 2009-05-13 14:48:36 +02:00