Thibault Saunier [Tue, 13 Sep 2016 18:17:41 +0000 (15:17 -0300)]
meson: Search python shared lib in lib64/ if it is a directory
Thibault Saunier [Mon, 5 Sep 2016 15:52:46 +0000 (12:52 -0300)]
build: Remove unused variables
Thibault Saunier [Mon, 5 Sep 2016 14:30:43 +0000 (11:30 -0300)]
Add support for Meson as alternative/parallel build system
https://github.com/mesonbuild/meson
Sebastian Dröge [Thu, 1 Sep 2016 09:31:53 +0000 (12:31 +0300)]
Back to development
Sebastian Dröge [Thu, 1 Sep 2016 09:31:42 +0000 (12:31 +0300)]
Release 1.9.2
Sebastian Dröge [Wed, 6 Jul 2016 10:54:19 +0000 (13:54 +0300)]
Back to development
Sebastian Dröge [Wed, 6 Jul 2016 10:38:12 +0000 (13:38 +0300)]
Release 1.9.1
Sebastian Dröge [Thu, 24 Mar 2016 11:34:28 +0000 (13:34 +0200)]
Back to development
Sebastian Dröge [Thu, 24 Mar 2016 11:03:02 +0000 (13:03 +0200)]
Release 1.8.0
Sebastian Dröge [Tue, 15 Mar 2016 10:34:35 +0000 (12:34 +0200)]
Release 1.7.91
Sebastian Dröge [Tue, 1 Mar 2016 16:53:59 +0000 (18:53 +0200)]
Release 1.7.90
Hanno Boeck [Sat, 27 Feb 2016 11:16:00 +0000 (11:16 +0000)]
NULL-terminate PyMethodDef array
PyMethodDef arrays are supposed to end with an entry full of NULL/0 values.
This is missing in gst-python in the file gstmodule.c.
This causes out of bounds memory reads which can be seen / tested by compiling
gst-python with address sanitizer (-fsanitize=address in CFLAGS/LDFLAGS).
https://bugzilla.gnome.org/show_bug.cgi?id=762766
Tim-Philipp Müller [Sun, 21 Feb 2016 10:46:24 +0000 (10:46 +0000)]
win32: remove outdated build cruft
This hasn't been touched for generations, doesn't work,
and is just causing confusion. We also don't want to
maintain these files manually.
Thibault Saunier [Fri, 19 Feb 2016 16:13:57 +0000 (17:13 +0100)]
Fix bug when checking template object type
Sebastian Dröge [Fri, 19 Feb 2016 10:38:49 +0000 (12:38 +0200)]
Back to development
Sebastian Dröge [Fri, 19 Feb 2016 10:16:05 +0000 (12:16 +0200)]
Release 1.7.2
Thibault Saunier [Mon, 15 Feb 2016 22:26:06 +0000 (23:26 +0100)]
gst: Fix a crash when passing wrong type as __templates__
Thibault Saunier [Mon, 8 Feb 2016 10:30:08 +0000 (11:30 +0100)]
Avoid warning about gi.require_version not being called
Sebastian Dröge [Thu, 24 Dec 2015 14:30:00 +0000 (15:30 +0100)]
Back to development
Sebastian Dröge [Thu, 24 Dec 2015 14:00:41 +0000 (15:00 +0100)]
Release 1.7.1
Sebastian Dröge [Mon, 14 Dec 2015 12:03:24 +0000 (13:03 +0100)]
python: Check return value of g_module_symbol()
CID 1320702
Sebastian Dröge [Mon, 14 Dec 2015 12:01:25 +0000 (13:01 +0100)]
python: Don't call Py_DECREF() on NULL
CID 1320703
Sebastian Dröge [Mon, 16 Nov 2015 08:12:37 +0000 (10:12 +0200)]
pythonplugin: Clean up error handling a bit
Don't g_error() but only g_critical() when things go wrong and return FALSE.
g_error() would kill the application immediately.
Also check if we can actually get gi.repository.Gst before using it.
Mark Nauwelaerts [Sun, 8 Nov 2015 10:56:28 +0000 (11:56 +0100)]
overrides: also provide wrapper for trace level debug logging
Mark Nauwelaerts [Sun, 8 Nov 2015 10:56:20 +0000 (11:56 +0100)]
overrides: fix a few typos in exception messages
Thibault Saunier [Tue, 27 Oct 2015 21:19:19 +0000 (22:19 +0100)]
examples: Port the sink example to GstBaseSink
Also we now need to explicitly call Gst.init() from python bindings.
Mark Nauwelaerts [Sun, 25 Oct 2015 20:33:46 +0000 (21:33 +0100)]
overrides: chain up to base __init__ in Pad override
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=757108
Thibault Saunier [Fri, 25 Sep 2015 10:03:45 +0000 (12:03 +0200)]
Back to development
Thibault Saunier [Fri, 25 Sep 2015 10:01:24 +0000 (12:01 +0200)]
Release 1.6.0
Thibault Saunier [Wed, 24 Jun 2015 15:44:44 +0000 (17:44 +0200)]
Back to development
Thibault Saunier [Wed, 24 Jun 2015 15:44:30 +0000 (17:44 +0200)]
Release 1.5.2
Thibault Saunier [Fri, 24 Apr 2015 08:35:14 +0000 (10:35 +0200)]
tests: Fix tests in python2
Python2 core checks that the first argument of a method is of the type
of the object if it does not have any info about the method, so when
using Gst not initialized it raiser a TypeError and not a
Gst.NotInitialized as expected.
+ And fix a typo
Thibault Saunier [Fri, 24 Apr 2015 07:37:24 +0000 (09:37 +0200)]
tests: Add test_fraction back in the testsuite
Properly porting it and adding a small test about getting fraction
from a Gst.Structure
Thibault Saunier [Fri, 24 Apr 2015 08:27:47 +0000 (10:27 +0200)]
overrides: Do not use inspect.signature as it is not avalaible in python2
Fix regression from https://bugzilla.gnome.org/show_bug.cgi?id=746329
Thibault Saunier [Wed, 15 Apr 2015 17:57:43 +0000 (19:57 +0200)]
test: Bring back the testsuite and test if the initialization override works
Summary:
Simplify the Makefile taking example on pitivi and copy several pitivi
testing files, simplifying them a bit for our use case
Reviewers: Mathieu_Du
Differential Revision: http://phabricator.freedesktop.org/D97
Thibault Saunier [Wed, 15 Apr 2015 17:55:16 +0000 (19:55 +0200)]
overrides: Disable all GStreamer APIs until Gst has been initialized
Summary:
And throw an exception if the user tries to call any Gst API without
initializing gst.
https://bugzilla.gnome.org/show_bug.cgi?id=747555
Reviewers: Mathieu_Du
Differential Revision: http://phabricator.freedesktop.org/D87
Sebastian Dröge [Wed, 22 Apr 2015 08:40:48 +0000 (10:40 +0200)]
Remove INSTALL file
autotools automatically generate this, and when using different versions
for autogen.sh there will always be changes to a file tracked by git.
Thibault Saunier [Wed, 18 Mar 2015 12:53:55 +0000 (13:53 +0100)]
overrides: Try hard to make the query writable in the pad query function
Summary:
We know that the bindings will get an extra ref but we know that
it is not actually needed, so we are safe to decrease the refcount
by one in that particular context making sure we give PyGI its
ref back when we are done.
Reviewers: Mathieu_Du
Differential Revision: http://phabricator.freedesktop.org/D41
https://bugzilla.gnome.org/show_bug.cgi?id=746329
Thibault Saunier [Fri, 6 Mar 2015 18:25:57 +0000 (19:25 +0100)]
plugin: Name differently between python2 and python3
Those are 2 different binaries and thus should have different
.so names. Just use the $PYTHON_SO for that to happen.
https://bugzilla.gnome.org/show_bug.cgi?id=738157
Thibault Saunier [Mon, 20 Oct 2014 11:40:05 +0000 (13:40 +0200)]
Back to development
Thibault Saunier [Mon, 20 Oct 2014 09:24:58 +0000 (11:24 +0200)]
Release 1.4.0
Sebastian Dröge [Sun, 19 Oct 2014 11:34:59 +0000 (13:34 +0200)]
pythonplugin: Fix compiler warning about unused format string argument
CC libgstpythonplugin_la-gstpythonplugin.lo
gstpythonplugin.c:192:65: warning: data argument not used by format string
[-Wformat-extra-args]
GST_DEBUG ("GST_PLUGIN_SYSTEM_PATH set to %s", plugin_path, plugin_path);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
Thibault Saunier [Wed, 24 Sep 2014 09:13:45 +0000 (11:13 +0200)]
Release 1.3.90
Rico Tzschichholz [Tue, 10 Jun 2014 14:04:15 +0000 (16:04 +0200)]
plugin: Do not version the plugin library
Thibault Saunier [Thu, 5 Jun 2014 17:54:13 +0000 (19:54 +0200)]
Move old example to a dedicated folder so user know it is no up to date
Thibault Saunier [Fri, 6 Jun 2014 08:30:07 +0000 (10:30 +0200)]
Add an example sink element and override the chain and event functions of pads
Otherwize we will get 2 time acces to the element in it, which does
not make much sense. The _full variant can still be used.
Thibault Saunier [Thu, 6 Feb 2014 15:17:03 +0000 (16:17 +0100)]
Reimplement gstpython plugin on top of PyGobject
Thibault Saunier [Thu, 5 Jun 2014 15:22:23 +0000 (17:22 +0200)]
Update common submodule
Christoph Reiter [Thu, 22 May 2014 20:48:09 +0000 (22:48 +0200)]
overrides: Don't pass arguments to Boxed base class __init__() in Gst.Caps override.
This is needed since: https://git.gnome.org/browse/pygobject/commit/?id=
3a2bfc8bf01fcae3863
https://bugzilla.gnome.org/show_bug.cgi?id=730596
Lubosz Sarnecki [Sun, 23 Mar 2014 09:34:10 +0000 (10:34 +0100)]
python3: apply pep 238 for division overload
Python 3 needs an __truediv__ operator method, used in GstFraction.
see: http://legacy.python.org/dev/peps/pep-0238/
https://bugzilla.gnome.org/show_bug.cgi?id=726920
Thibault Saunier [Tue, 1 Apr 2014 07:53:21 +0000 (09:53 +0200)]
overrides: Import the _gi_gst module relative
We always expect it to be in the same directory and it fixes its import
with python3
https://bugzilla.gnome.org/show_bug.cgi?id=726921
Sebastian Dröge [Sat, 29 Mar 2014 14:15:27 +0000 (15:15 +0100)]
Modernize configure.ac a bit
Especially create tar.xz files instead of tar.gz
Sebastian Dröge [Sat, 29 Mar 2014 14:01:26 +0000 (15:01 +0100)]
Fix automake warning
INCLUDES is the old name of AM_CPPFLAGS and is deprecated.
Sebastian Dröge [Sat, 29 Mar 2014 13:51:39 +0000 (14:51 +0100)]
Fix extension of native Python module
When building debug modules this e.g. has to be _d.so instead of just .so
Thibault Saunier [Sat, 15 Mar 2014 17:26:40 +0000 (18:26 +0100)]
Back to development
Thibault Saunier [Sat, 15 Mar 2014 17:02:45 +0000 (18:02 +0100)]
Release 1.2.0
Thibault Saunier [Sat, 15 Mar 2014 11:40:32 +0000 (12:40 +0100)]
We actually depend on python 2.5 not 2.7
Thibault Saunier [Sat, 15 Mar 2014 14:45:43 +0000 (15:45 +0100)]
overrides: Checking an empty caps should return False
Simon Farnsworth [Thu, 12 Dec 2013 11:20:12 +0000 (11:20 +0000)]
Fix zip code of new FSF address
I missed the zip code last time round - fix it. Thanks to Michael Schwendt
in https://bugzilla.redhat.com/show_bug.cgi?id=1034341#c11 for pointing this
out to me.
Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
https://bugzilla.gnome.org/show_bug.cgi?id=720317
Olivier Crête [Tue, 3 Dec 2013 22:49:11 +0000 (17:49 -0500)]
Gst: Add python version of GST_TIME_ARGS
Olivier Crête [Tue, 3 Dec 2013 22:36:07 +0000 (17:36 -0500)]
Add *.so to gitignore
Simon Farnsworth [Mon, 25 Nov 2013 17:01:48 +0000 (17:01 +0000)]
Update FSF address
The FSF has moved since these files were created. Update the address, in
order to keep packaging tools such as rpmlint quiet.
Signed-off-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
https://bugzilla.gnome.org/show_bug.cgi?id=715182
Sebastian Dröge [Mon, 30 Sep 2013 11:27:33 +0000 (13:27 +0200)]
Fix another syntax error with newer Python versions
Sebastian Dröge [Mon, 30 Sep 2013 11:07:03 +0000 (13:07 +0200)]
configure: Fix typo
Sebastian Dröge [Mon, 30 Sep 2013 10:45:59 +0000 (12:45 +0200)]
Fix compilation with Python 3.0
Changes partially taken from pygobject.
Sebastian Dröge [Mon, 30 Sep 2013 10:30:43 +0000 (12:30 +0200)]
configure: Fix Python configure checks to work with all Python versions between 2.7 and 3.3
Thibault Saunier [Sat, 28 Sep 2013 19:07:47 +0000 (21:07 +0200)]
Back to development
Thibault Saunier [Sat, 28 Sep 2013 18:48:40 +0000 (20:48 +0200)]
Release 1.1.90
Andoni Morales Alastruey [Mon, 26 Aug 2013 23:07:48 +0000 (01:07 +0200)]
configure: fail if pygobject is not found
https://bugzilla.gnome.org/show_bug.cgi?id=706853
Thibault Saunier [Mon, 26 Aug 2013 21:35:48 +0000 (17:35 -0400)]
Gst: Do not initialize Gst at init
Letting the user choose when to initialize it himself
Thibault Saunier [Sat, 24 Aug 2013 03:18:57 +0000 (23:18 -0400)]
todo: Update the todo
Thibault Saunier [Sat, 24 Aug 2013 03:08:27 +0000 (23:08 -0400)]
Disable examples amd testsuite as long as they have not been ported
Thibault Saunier [Sat, 24 Aug 2013 02:01:46 +0000 (22:01 -0400)]
overrides: Force symlinks when making
Making make distcheck pass
Thibault Saunier [Sat, 24 Aug 2013 01:42:37 +0000 (21:42 -0400)]
gstmodule: Check that we could retrieve the module before using it
And plug a small leak
George McCollister [Thu, 7 Feb 2013 22:12:23 +0000 (16:12 -0600)]
configure: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
AM_CONFIG_HEADER was removed in automake 1.13
https://bugzilla.gnome.org/show_bug.cgi?id=693367
Mark Nauwelaerts [Sun, 30 Dec 2012 15:11:30 +0000 (16:11 +0100)]
overrides: symlink some more to use uninstalled out-of-source build
Thibault Saunier [Fri, 7 Dec 2012 17:18:21 +0000 (14:18 -0300)]
overrides: implement Gst.Structure.__setitem__
Alessandro Decina [Thu, 22 Nov 2012 06:11:45 +0000 (07:11 +0100)]
overrides: implement Gst.Structure.__getitem__
Alessandro Decina [Sun, 4 Nov 2012 16:02:24 +0000 (17:02 +0100)]
overrides: move add(*args) override from Gst.Pipeline to Gst.Bin
Alessandro Decina [Sun, 4 Nov 2012 16:00:14 +0000 (17:00 +0100)]
overrides: move the Gst.Pad override before Gst.GhostPad
...else gi will screw up the type hierarchy and GhostPad will inherit from the
non-overridden Gst.Pad. Got it?
Alessandro Decina [Wed, 24 Oct 2012 18:47:07 +0000 (20:47 +0200)]
overrides: override GhostPad.__init__
Alessandro Decina [Mon, 15 Oct 2012 07:56:43 +0000 (09:56 +0200)]
overrides: make Gst.Pad.link still return Gst.PadLinkReturn when successful
Alessandro Decina [Mon, 15 Oct 2012 07:49:00 +0000 (09:49 +0200)]
overrides: add encoding profile(s) overrides in GstPbutils
Alessandro Decina [Mon, 15 Oct 2012 07:18:00 +0000 (09:18 +0200)]
overrides: make filter arg in Gst.Pad.query_caps(filter) default to None
Alessandro Decina [Mon, 15 Oct 2012 07:15:21 +0000 (09:15 +0200)]
overrides: set default value for name arg in ElementFactory.make(factory, name)
So you can use Gst.ElementFactory.make('fakesrc') instead of
Gst.ElementFactory.make('fakesrc', None)
Alessandro Decina [Mon, 15 Oct 2012 07:13:44 +0000 (09:13 +0200)]
overrides: make Gst.Pad.link raise Gst.LinkError
Alessandro Decina [Mon, 15 Oct 2012 07:12:33 +0000 (09:12 +0200)]
overrides: implement Gst.Pipeline.add(e1, e2, ...)
Alessandro Decina [Mon, 15 Oct 2012 07:10:25 +0000 (09:10 +0200)]
overrides: implement the python iterator protocol for Gst.Iterator
So that you can use: for value in gst_iterator: ...
Alessandro Decina [Mon, 15 Oct 2012 07:00:03 +0000 (09:00 +0200)]
overrides: implement caps[i] and len(caps)
Alessandro Decina [Mon, 15 Oct 2012 06:58:59 +0000 (08:58 +0200)]
overrides: don't install our gi/overrides/__init__.py
We don't want to override the gi/overrides/__init__.py from pygobject
Mark Nauwelaerts [Thu, 27 Sep 2012 12:41:29 +0000 (14:41 +0200)]
overrides: provide for gst-python style debug logging
Also provide a default debug category for the binding glue code.
Mark Nauwelaerts [Thu, 27 Sep 2012 12:19:52 +0000 (14:19 +0200)]
overrides: symlink some more to use uninstalled
René Stadler [Wed, 29 Aug 2012 17:05:37 +0000 (10:05 -0700)]
overrides: Fix crash in add_template
templ vs. templates. Moved variable declarations to the inner scope to prevent
such a mistake.
Thibault Saunier [Mon, 20 Aug 2012 02:40:06 +0000 (22:40 -0400)]
Make it possible to use uninstalled symlinking the .so file
Thibault Saunier [Sun, 19 Aug 2012 06:25:13 +0000 (02:25 -0400)]
overrides: Make it possible to add metadatas and PadTemplates to GstElementClass
Thibault Saunier [Wed, 8 Aug 2012 18:00:05 +0000 (14:00 -0400)]
Implement the glue code so GstFraction works
Thibault Saunier [Wed, 8 Aug 2012 17:59:09 +0000 (13:59 -0400)]
Add overrides for GObject Introspection
Thibault Saunier [Mon, 30 Jul 2012 20:24:10 +0000 (16:24 -0400)]
Keep only the testsuite as we are now using GObject Introspection for bindings
Tim-Philipp Müller [Sat, 7 Apr 2012 23:01:12 +0000 (00:01 +0100)]
Revert nonsense that happened to git master, but make configure
error out with an error message pointing people to the 0.10 branch.
Tim-Philipp Müller [Wed, 7 Mar 2012 16:50:11 +0000 (16:50 +0000)]
pad: fix unit test again after previous commit
https://bugzilla.gnome.org/show_bug.cgi?id=660357