Commit graph

197 commits

Author SHA1 Message Date
Stephan Sundermann
ffbcc07388 MiniObject: Add MakeWritable binding 2014-08-03 14:19:30 +02:00
Stephan Sundermann
2e8045d2dc Bin: Add overloads for Add and Remove 2014-08-01 16:15:04 +02:00
Stephan Sundermann
480da892fe constants: Add CLOCK_TIME_NONE 2014-08-01 15:31:36 +02:00
Stephan Sundermann
e90703356d Ignore constness 2014-07-27 00:06:14 +02:00
Stephan Sundermann
5b16f87f4b Fix some warnings 2014-07-26 23:26:54 +02:00
Stephan Sundermann
e53f0d0eed Various fixes 2014-07-22 00:36:22 +02:00
Stephan Sundermann
2154455db8 Add gio-sharp dependency 2014-07-20 03:52:58 +02:00
Stephan Sundermann
b1f6e5bbe2 Fix compilation errors 2014-07-20 03:32:48 +02:00
Stephan Sundermann
663a2b0872 Update to 1.3.91 2014-07-19 15:33:01 +02:00
Stephan Sundermann
e54dfcb65b build: pass header files only to --glue-includes 2014-06-13 23:49:20 +02:00
Stephan Sundermann
8e14ec3e0d build: fix top folder in tarball
fixes #731359
2014-06-13 23:23:02 +02:00
Andrés G. Aragoneses
7d3adcc33d sources: replace AGPL headers with LGPL-2.1
https://bugzilla.gnome.org/show_bug.cgi?id=725937
2014-05-28 14:17:31 +02:00
Andrés G. Aragoneses
bcb8c7d1a3 custom/glue: fix some file headers (licences and authors)
Most of the contents of these files come from their *.custom
counterparts of the 0.9.x version of the bindings, so I'm
reinstating their author/licence info here.

In some cases, the content is pristine to the previous version
(no modification since then), so for these cases the current
licence is replaced completely with the previous licence.

These were spotted while creating a first version of a debian
package (creating a debian/copyright info file requires you
to audit all this). This is not (yet) part of BGO#725937.
2014-05-28 13:45:05 +02:00
Andrés G. Aragoneses
2b44f2ffec custom: move copyright and author info to top of the file
The headers for this file were not consistent with the rest of
the files.
2014-05-28 13:43:29 +02:00
Andrés G. Aragoneses
c878ce3a35 custom: rename NavigationQuery.cs to NavigationAdapter.cs
The filename wasn't reflecting the class name.
2014-05-28 13:41:49 +02:00
Stephan Sundermann
07f09dd3da make: Add generated api to gapidir 2014-03-19 15:50:06 +01:00
Stephan Sundermann
15380be815 generator: update to latest generator 2014-03-17 00:14:48 +01:00
Bertrand Lorentz
25af4c958b Bus: Add custom code for the AddWatch method
For now, this is better than making everyone use AddWatchFull, even
though the value for G_PRIORITY_DEFAULT is hardcoded.

https://bugzilla.gnome.org/show_bug.cgi?id=721985
2014-03-02 22:01:40 +01:00
Stephan Sundermann
23f69be8fd fixup: Autogenerated list of all abstract classes which
should not be instantiated from managed, fixes #721564
2014-01-05 16:30:54 +01:00
Bertrand Lorentz
6c63487587 metadata: Fix up GstTagMux to not be abstract
This fixes MissingIntPtrCtor exceptions when wrapping a native GstTagMux
subclass, like GstId3v2Mux, in a managed object.
2014-01-05 15:26:40 +01:00
Stephan Sundermann
a4cf9a8173 Appsink: Add 2 methods 2014-01-05 15:25:08 +01:00
Stephan Sundermann
2148d73307 Dllmap: Fixed dll names in Message.cs 2013-12-21 18:14:35 +01:00
Stephan Sundermann
b0a05d7ed4 FFT: Take float[] instead of float 2013-12-21 16:52:28 +01:00
Stephan Sundermann
d4eb0aced7 FFT: Add FFTF32 constructor that is marked as not introspectable 2013-12-21 16:52:28 +01:00
Stephan Sundermann
318b748ca1 metadata: GstTagDemux is not abstract 2013-12-21 16:52:28 +01:00
Stephan Sundermann
e1a6ddb198 Pad: Fixed Caps property 2013-12-21 16:52:28 +01:00
Stephan Sundermann
6d7e41016e TagList: Add Tags property 2013-12-21 16:52:28 +01:00
Stephan Sundermann
e2a67a2a0d Glue: Changed gluelib mapping to libgstreamersharpglue.dll 2013-12-21 16:52:28 +01:00
Stephan Sundermann
b530fbaf63 Bin, Pipeline: Added empty constructor
Fixes crashes when accessing the Bin.base or Pipeline.base
2013-12-21 16:52:28 +01:00
Andrés G. Aragoneses
603a4bac5b build: fix glue includes in distros with older gstreamers 2013-12-21 16:52:28 +01:00
Stephan Sundermann
bcb87552a0 metadata: Move gstreamer lib renaming to the right part 2013-12-21 16:52:28 +01:00
Stephan Sundermann
9ea7669e86 Object: Fixed compilation on .NET
Using variables cannot be modified in .NET but can be in mono
so switch to a good old Dispose call here.

https://bugzilla.xamarin.com/show_bug.cgi?id=15832#c0
2013-12-21 16:52:28 +01:00
Stephan Sundermann
6d4fbd5ff1 metadata: Added fixup for GstTag 2013-12-21 16:52:27 +01:00
Stephan Sundermann
9b7d00adaa Namespaces: Added GstApp, GstController, GstFFT, GstNet, GstRiff, GstRtp, GstRTSP, GstSdp 2013-12-21 16:52:27 +01:00
Stephan Sundermann
8da857a814 metadata: Removed redundant fixes 2013-12-21 16:52:27 +01:00
Stephan Sundermann
75070123b2 Bin,Pipeline: Fixed access to superclasses 2013-12-21 16:52:27 +01:00
Stephan Sundermann
2099af9b09 TagList: Port custom code to 1.0 2013-12-21 16:52:27 +01:00
Stephan Sundermann
6bb1013e27 Added GstTag namespace
thanks to @knocte for generating
2013-12-21 16:52:27 +01:00
Stephan Sundermann
b795deb060 Regenerated API with newest bindinator
This will fix enum types which were previously replaced with an int and
manual casting was required.
2013-12-21 16:52:26 +01:00
Andrés G. Aragoneses
8dc17be788 metadata: fix more MissingIntPtrCtorException cases
This workaround is getting a bit out of hand...
2013-12-21 16:52:26 +01:00
Stephan Sundermann
f0521e5e17 Adapter: make it public 2013-12-21 16:52:26 +01:00
Stephan Sundermann
e64647191a Adapter: Add some manually bound methods 2013-12-21 16:52:26 +01:00
Stephan Sundermann
63a1e76469 metadata: Mark GstBaseSrc as non abstract but not instantiable from managed 2013-12-21 16:52:26 +01:00
Stephan Sundermann
818301ac35 dllmap: Fix dllnames for GstPbUtils 2013-12-21 16:52:26 +01:00
Stephan Sundermann
a346e7f467 dllmap: Fix GstVideo library name 2013-12-21 16:52:26 +01:00
Stephan Sundermann
a8ae27d3e9 dllconfig: Fix dllnames for GstBase and GstAudio 2013-12-21 16:52:26 +01:00
Andrés G. Aragoneses
6b297b921f Gst.Object: add some pre-validation to property setter 2013-12-21 16:52:25 +01:00
Andrés G. Aragoneses
2bd2b1d7af Gst.Object: fix creation of GValues for property setter in custom code
The GValue needs to hold the type of the value, it's not related to
"this" or "property".
2013-12-21 16:52:25 +01:00
Stephan Sundermann
538984349d DynamicSignal: Fixed glue code name 2013-12-21 16:52:25 +01:00
Stephan Sundermann
2666e9a64c dllmap: Fixed mapping for glue library 2013-12-21 16:52:25 +01:00
Stephan Sundermann
7d6ad28a35 Iterator: Next try to fix crashes 2013-12-21 16:52:24 +01:00
Stephan Sundermann
3a2d6750f1 Iterator: Try resetting value before usage 2013-12-21 16:52:24 +01:00
Andrés G. Aragoneses
e20547b847 metadata: add more details about last metadata fixup added by Stephan 2013-12-21 16:52:23 +01:00
Andrés G. Aragoneses
69290e77da metadata: fix FIXME about redundancy in method name
The pull request was merged upstream (gtk-sharp repo) so we don't need
this anymore.
2013-12-21 16:52:22 +01:00
Stephan Sundermann
23d7569af7 metadata: hide SyncSignalHandler user_data parameter
This is fixed in gstreamer master, so remove this patch once gstreamer# gets updated to 1.2
2013-12-21 16:52:22 +01:00
Stephan Sundermann
bb8e08365c Rename Tag.TagExists to Tag.Exists for now, remove when gtk-sharp#74 is merged 2013-12-21 16:52:22 +01:00
Stephan Sundermann
8386a11aae NavigationAdapter: Added ParseCommand 2013-12-21 16:52:22 +01:00
Stephan Sundermann
c5e5940a76 Fixed licenses 2013-12-21 16:52:22 +01:00
Stephan Sundermann
d0e02c05ba Caps: Added indexer and IEnumerable interface 2013-12-21 16:52:22 +01:00
Stephan Sundermann
86141ab5f1 Pad: Pad.Caps property now returns a GstCaps instead of an IntPtr 2013-12-21 16:52:22 +01:00
Stephan Sundermann
cd0c436ece Iterator: Added integration with IEnumerable 2013-12-21 16:52:22 +01:00
Stephan Sundermann
602ea036fe TagList: Removed weird Add overload 2013-12-21 16:52:22 +01:00
Stephan Sundermann
4c09247df9 Gst.TagList: Made custom fixup public 2013-12-21 16:52:22 +01:00
Stephan Sundermann
ba21234dda Removed some experimental stuff 2013-12-21 16:52:22 +01:00
Stephan Sundermann
e54c57a78a Gst.Value: Added support for GstFraction, GstFourcc, GstRange... 2013-12-21 16:52:22 +01:00
Stephan Sundermann
8f33590566 TagList: Added methods from gstreamer-sharp-0.10 2013-12-21 16:52:22 +01:00
Stephan Sundermann
01d923aa74 metadata: Do not remove all global classes
TODO: For now Global and Constants for plugins are moved into
their own classes because the code generator overrides files which
already exists.
2013-12-21 16:52:21 +01:00
Stephan Sundermann
6b886b90ac Gst.Object: Fixed property existance check
g_object_class_find_property's return value does not need to be freed
and needs a GObjectClass*
2013-12-21 16:52:21 +01:00
Stephan Sundermann
6f9a3c777e Gst.Object: use 'using' pattern for GValue 2013-12-21 16:52:21 +01:00
Stephan Sundermann
d4edf8050d Gst.Object: Improved performance on multiple property calls
Successful property lookups get cached in a dictionary
to improve performance of subsequent lookups
2013-12-21 16:52:21 +01:00
Stephan Sundermann
4d0a5a796b Check if property exists before accessing or setting it
Previously when accessing/setting a property which does not exist,
there will be segmentation faults
2013-12-21 16:52:21 +01:00
Stephan Sundermann
35a9c16ea7 Fixed namespace for GstPbUtils 2013-12-21 16:52:21 +01:00
Stephan Sundermann
9faaba248b Added GstPbutils
Hack: The bindings for these plugins are generated from the 1.2 girs,
so there might be some API which is not available yet in 1.0
2013-12-21 16:52:21 +01:00
Stephan Sundermann
101170158c metadata: Fixed namespaces 2013-12-21 16:52:21 +01:00
Stephan Sundermann
5021b2f595 Added bindings for GstAudio
These are converted from gstreamer 1.2 introspection data,
so there might be some API which is not yet available in 1.2
2013-12-21 16:52:21 +01:00
Stephan Sundermann
f9c7f45e31 Added GstVideo and GstBase bindings
Hack: The bindings for these plugins are generated from the 1.2 girs,
so there might be some API which is not available yet in 1.0
2013-12-21 16:52:21 +01:00
Andrés G. Aragoneses
1963b18a8d configure: require 2.99.2
Also, we now check for glib-sharp instead of gtk-sharp, because
even if they are hosted in the same repository named "gtk-sharp",
that could change in the future, and glib-sharp provides its
own .pc file as well.
2013-12-21 16:52:21 +01:00
Stephan Sundermann
70a42dea54 Fixed compilation with recent gapi changes Fixed missing namespace error in Version.cs 2013-12-21 16:52:21 +01:00
Stephan Sundermann
a65a26c930 Added Version class 2013-12-21 16:52:21 +01:00
Stephan Sundermann
fd9b6b80fa Removed opaque from interfaces Fixed Object's lock field 2013-12-21 16:52:21 +01:00
Stephan Sundermann
73f2e3427a Added variable params Element.Link and Element.Unlink 2013-12-21 16:52:20 +01:00
Stephan Sundermann
52a73bfaeb Make many things opaque 2013-12-21 16:52:20 +01:00
Stephan Sundermann
817d6adeec Made GstDateTime opaque 2013-12-21 16:52:20 +01:00
Stephan Sundermann
a1b24ccfb8 Added parameterless gst_init 2013-12-21 16:52:20 +01:00
Stephan Sundermann
af6e340baa Windows library name instead of package name for .NET support 2013-12-21 16:52:20 +01:00
Stephan Sundermann
39ffd36239 Removed some fixed stuff 2013-12-21 16:52:20 +01:00
Stephan Sundermann
dfdd939454 API regeneration 2013-12-21 16:52:20 +01:00
Stephan Sundermann
4980cb7437 Copy methods from GstMiniObject to their derived structs 2013-12-21 16:52:20 +01:00
Stephan Sundermann
24dbfe3477 Changed assembly name to gstreamer-sharp 2013-12-21 16:52:20 +01:00
Stephan Sundermann
3d42f7d625 Added glue Added dynamic signals Regenerated API 2013-12-21 16:52:20 +01:00
Stephan Sundermann
4b10c322fe Added some custom code for Message Fixed some metadata 2013-12-21 16:52:20 +01:00
Stephan Sundermann
a8c7682238 Pass all miniobjects and GstStructure by reference These types contain more information internally, which would get lost if we pass them by value, because only parts of these structs are visible to the bindings and thus information is missed when the structure would get passed back to native. 2013-12-21 16:52:20 +01:00
Stephan Sundermann
603cc6dee1 Shifted things from GstGlobal into their own classes Added missing README 2013-12-21 16:52:20 +01:00
Stephan Sundermann
14a1660236 Element is not abstract but should not be instantiable from managed 2013-12-21 16:52:20 +01:00
Stephan Sundermann
4c7e5f1f68 Added more metadata Regenerated API 2013-12-21 16:52:20 +01:00
Stephan Sundermann
7e6309a097 Regenerated gstreamer api 2013-12-21 16:52:20 +01:00
Stephan Sundermann
99ce224a50 Initial commit 2013-12-21 16:52:19 +01:00