Commit graph

203 commits

Author SHA1 Message Date
Simon Farnsworth c889037e40 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
2013-12-12 11:35:41 +00:00
Simon Farnsworth 2ad767a74c 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
2013-11-26 15:28:53 +00:00
Thibault Saunier a4b7a67f84 Keep only the testsuite as we are now using GObject Introspection for bindings 2012-07-30 16:24:10 -04:00
Andoni Morales Alastruey 8c60dc788e tests: fix checks when the locale is not the default one
Some tests (test_pbutils.py) checks against strings for the
english locale, so we should force it before running any test

https://bugzilla.gnome.org/show_bug.cgi?id=640207
2011-01-25 13:55:48 +00:00
Edward Hervey 21a885d462 testsuite: Add a make command to run tests forever
And will stop once they fail. Useful to debug racy tests.
2011-01-12 15:01:39 +01:00
Edward Hervey fd6a936f24 test_pad: Fix pad refcount checking due to fix in core
The event source wasn't previously set correctly. Now that it is,
check the refcount on the proper pad.
2010-12-05 14:09:03 +01:00
Alessandro Decina a1584d04c5 Fix distcheck some more.
In testsuite/common.py look for gst/__init__.py in builddir now.
Clean gst/__init__.pyc after make check.
2010-11-22 14:18:05 +01:00
Alessandro Decina dc6b4f7a0a gst.Structure: raise TypeError when assigning None to a key 2010-08-06 23:18:02 +02:00
Alessandro Decina 92a1c11ed3 test_fraction: add a test for gobject property marshalling. 2010-07-26 19:42:39 +02:00
Alessandro Decina 56a725879d gst.GhostPad: allow set_target(None) to unset the target. Fixes #590735. 2010-07-14 12:35:35 +02:00
Thiago Santos 697c8e73f7 tag: Adds xmp functions mappings
Maps gst_tag_list_from_xmp_buffer and
gst_tag_list_to_xmp_buffer

https://bugzilla.gnome.org/show_bug.cgi?id=617068
2010-04-29 16:05:26 +02:00
Edward Hervey 886bcc9599 test_interface: Don't assert the missing mixer, gracefully ignore it
Fixes make check on systems that don't have a GstMixer element available
2010-04-29 16:02:20 +02:00
Sebastian Dröge 60e9fa42a1 build: Make some more rules silent if requested 2010-02-26 16:45:38 +01:00
Jan Schmidt b0898556bb test: Fix the structure_changed message test
The core changed to use sink pads for the structure changed
message instead of source pads. Might as well fix the test too.
2009-09-11 22:41:28 +01:00
Edward Hervey 7c6041d479 Add test_audio.py. 2009-08-21 16:41:29 +02:00
Sebastian Dröge aa92fc1bd7 Use LC_ALL=C for the tests as some are comparing localized strings
Fixes bug #590803.
2009-08-08 22:49:16 +02:00
Edward Hervey 7ad1b84f50 gst.Message: Wrap remaining parse_*() methods. 2009-07-01 13:54:57 +02:00
Edward Hervey eb2aedc523 gst.Message: Add overrides for new 0.10.24 messages 2009-07-01 12:30:59 +02:00
Edward Hervey f1bbb486ae gst.Event: Add override for step event 2009-07-01 12:30:40 +02:00
Thomas Vander Stichele 26fa6dd184 wrap gst_tag_to_vorbis_comment; fix uint tag setting
Setting gst.TAG_TRACK_NUMBER was failing because GStreamer
expects a uint while Python object -> GValue conversion was
giving an int.  gst_tag_to_vorbis_comment was wrapped so
this conversion could be tested and failed on properly.
2009-06-01 22:02:47 +02:00
Thomas Vander Stichele 88f3323bfe Convert unicode objects to utf-8 encoded G_STRINGs 2009-06-01 19:08:47 +02:00
Edward Hervey 3252c0ee73 testsuite: Dist new test file. 2009-04-23 17:14:20 +02:00
Thomas Vander Stichele 12a210c613 TIME_ARGS: Catch bad input. Fixes #579455 2009-04-23 17:08:04 +02:00
Thomas Vander Stichele 62d82ad5b6 Merge branch 'bz-577735' 2009-04-15 22:38:28 +02:00
Edward Hervey 0a1bfa3ee1 test_adapter: No longer use slices (which was wrong to start with). 2009-04-11 16:49:42 +02:00
Alessandro Decina 1cd54e6d45 Fix uninstalled usage with python 2.6. Fixes #576546
Also imports submodules as mentionned by Philippe Normand.
2009-04-11 16:22:06 +02:00
Thomas Vander Stichele f99e67aa24 make sure that we actually get the clock-provide message 2009-04-02 18:06:12 +02:00
Thomas Vander Stichele dd6bf4a4d4 Fix for #577735: do_handle_message leaks messages 2009-04-02 17:21:58 +02:00
Edward Hervey 7aef2834cf New guint8* ArgType. Wraps the various GstAdapter methods. Fixes #576505 2009-03-26 16:13:48 +01:00
Alessandro Decina 0fd4db686b gstbus: fix refcounting in gst.Bus.set_sync_handler. 2009-03-17 15:03:09 +01:00
Edward Hervey 51ac26b86c GstPad: Use gst_pad_set_blocked_async_full() if available.
Avoids leaking arguments.
Fixes #514717
2009-02-22 20:12:23 +01:00
Edward Hervey 3a000ecaa4 Add a rule to generate valgrind suppressions for a single test. 2009-02-09 13:54:50 +01:00
Edward Hervey 3b6ab11761 Raise an Exception when wrapping a NULL GstIterator.
Original commit message from CVS:
* gst/pygstiterator.c: (pygst_iterator_new):
* testsuite/test_iterator.py:
Raise an Exception when wrapping a NULL GstIterator.
Fixes #566903
2009-01-08 12:25:26 +00:00
Edward Hervey 7a2babed30 codegen/argtypes.py: Add handling of 'keep-refcount' for GBoxed arguments.
Original commit message from CVS:
* codegen/argtypes.py:
Add handling of 'keep-refcount' for GBoxed arguments.
* gst/gst.defs:
Mark the appropriate 'gst_message_new_*' arguments when the method
takes the ownership of the passed gst.Structure/gst.TagList
* testsuite/test_message.py:
Test for creating messages that take a gst.Structure/gst.TagList as
argument and make sure they're properly created.
Fixes #556054
2008-12-06 15:41:41 +00:00
Edward Hervey d658b7b222 testsuite/Makefile.am: Add a way to run individual tests. 'make test_bin.py.check' for example.
Original commit message from CVS:
* testsuite/Makefile.am:
Add a way to run individual tests.
'make test_bin.py.check' for example.
2008-12-06 15:39:01 +00:00
Edward Hervey a7d29b2f47 testsuite/test_event.py: Sinks now send GST_EVENT_LATENCY events upstream. Adapt test for that new behaviour.
Original commit message from CVS:
* testsuite/test_event.py:
Sinks now send GST_EVENT_LATENCY events upstream. Adapt test for that
new behaviour.
2008-12-06 14:10:51 +00:00
Alessandro Decina 47a3d6fd28 Wrap gst_type_find_peek.
Original commit message from CVS:
* gst/gst.override:
* testsuite/test_typefind.py:
Wrap gst_type_find_peek.
2008-11-19 16:54:58 +00:00
Edward Hervey 4373919e96 testsuite/test_interface.py: Don't hardcode 'alsasrc' for testing GstMixer and GstPropertyProbe interfaces, but inste...
Original commit message from CVS:
* testsuite/test_interface.py:
Don't hardcode 'alsasrc' for testing GstMixer and GstPropertyProbe
interfaces, but instead search one through the registry.
If none are available, return gracefully.
2008-06-27 10:42:38 +00:00
Edward Hervey 99cbd6dec4 testsuite/test_xml.py: Don't attempt to test gst.XML if there's no available libxml2 module.
Original commit message from CVS:
* testsuite/test_xml.py:
Don't attempt to test gst.XML if there's no available libxml2 module.
2008-06-27 10:29:58 +00:00
Jan Schmidt 468cb05597 gst/gstbuffer.override: the GstBuffer overrides seem to be confused about whether they're mini-objects or a GBoxed, a...
Original commit message from CVS:
* gst/gstbuffer.override:
the GstBuffer overrides seem to be confused about whether they're
mini-objects or a GBoxed, and it makes copy_on_write no actually
return a usable gst.Buffer. Fix up places where GstBuffers are
treated as GBoxed to use pygstminiobject functions.
Makes gst.Buffer('blah').copy_on_write() work.
* testsuite/test_buffer.py:
Add test for copy-on-write writability
* examples/buffer-draw.py:
Add an example of drawing on a GStreamer buffer with cairo
* gst/gstpad.override:
Make function static
2008-06-27 08:39:37 +00:00
Edward Hervey 6c881f6ab6 Re-opens #530417
Original commit message from CVS:
* gst/__init__.py:
* gst/gstelement.override:
* testsuite/test_element.py:
Revert 2008-05-08  Edward Hervey  <edward.hervey@collabora.co.uk>
Re-opens #530417
2008-06-13 11:11:38 +00:00
Edward Hervey 7e06ad12c6 Re-opens #514717
Original commit message from CVS:
* gst/gstpad.override:
* testsuite/test_pad.py:
Revert 2008-02-10  Alessandro Decina  <alessandro@nnva.org>
Re-opens #514717
2008-06-12 11:11:49 +00:00
Johan Dahlin 98d6484e8c New 'fancy' constructor for gst.Element, allows creating elements in a more pythonic way (i.e. myelement = gst.Elemen...
Original commit message from CVS:
Patch by: Johan Dahlin  <johan at gnome dot org>
* gst/__init__.py:
* gst/gstelement.override:
* testsuite/test_element.py:
New 'fancy' constructor for gst.Element, allows creating elements in a
more pythonic way (i.e. myelement = gst.Element("oggmux")).
Fixes #530417
2008-05-08 14:06:45 +00:00
Edward Hervey c68b638588 Fix memleak in gst.Pad.set_blocked_async()
Original commit message from CVS:
reviewed by: Edward Hervey  <edward.hervey@collabora.co.uk>
* gst/gstpad.override:
* testsuite/test_pad.py:
Fix memleak in gst.Pad.set_blocked_async()
Fixes #514717
2008-02-10 13:33:26 +00:00
Edward Hervey 7b27608a71 Series of update for new API added to 0.10.16.
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/base.defs:
* gst/gst-0.10.15.ignore:
* gst/gst-0.10.16.ignore:
* gst/gst-pb-0.10.15.ignore:
* gst/gst-pb-0.10.16.ignore:
* gst/gst.defs:
* gst/gstversion.override.in:
* gst/pbutils.override:
* testsuite/test_pbutils.py:
Series of update for new API added to 0.10.16.
Remove wrong ignore file for 0.10.15 -base.
2008-01-14 12:44:06 +00:00
Edward Hervey 45b80b1e8c Re-implement wrapping of gst_pad_add_*probe in order to avoid leaks of user-data associated with the probes.
Original commit message from CVS:
reviewed by: Edward Hervey  <edward.hervey@collabora.co.uk>
* gst/gstpad.override:
* testsuite/test_pad.py:
Re-implement wrapping of gst_pad_add_*probe in order to avoid leaks of
user-data associated with the probes.
Fixes #504786
2008-01-13 17:57:48 +00:00
Edward Hervey f6bd62ac46 gst/Makefile.am: gst.pbutils also needs to handle miniobjects
Original commit message from CVS:
* gst/Makefile.am:
gst.pbutils also needs to handle miniobjects
* gst/pbutils.defs:
Add new InstallPluginsContext boxed definition.
All the *_new() functions should be accessible (and not act as
constructors).
* gst/pbutils.override:
Add override for install_plugins_sync().
* gst/pbutilsmodule.c:
Add pygst_debug debug category in this module too.
* testsuite/test_pbutils.py:
Test existence of new API. Needs more tests.
2008-01-11 16:30:45 +00:00
Edward Hervey cd3d33a4a6 gst/: new gst.pbutils module that wraps the gst-plugins-base pbutils helper library.
Original commit message from CVS:
* gst/Makefile.am:
* gst/common.h:
* gst/pbutils.defs:
* gst/pbutils.override:
* gst/pbutilsmodule.c: (initpbutils):
new gst.pbutils module that wraps the gst-plugins-base pbutils
helper library.
* testsuite/Makefile.am:
* testsuite/common.py:
* testsuite/test_pbutils.py:
Test case for gst.pbutils
Fixes #472822
2008-01-01 13:22:21 +00:00
Edward Hervey f6294fea73 testsuite/: Fix unit tests for pygobject >= 2.13.0
Original commit message from CVS:
* testsuite/common.py:
* testsuite/test_bin.py:
* testsuite/test_element.py:
* testsuite/test_ghostpad.py:
* testsuite/test_pad.py:
* testsuite/test_pipeline.py:
Fix unit tests for pygobject >= 2.13.0
See the pygobject bug #320428 for more information about the changes.
2007-10-09 14:27:18 +00:00
Johan Dahlin 1b1b56c762 gst/__init__.py: Implement multiplication, divison and float coercing for fractions.
Original commit message from CVS:

* gst/__init__.py: Implement multiplication, divison and float
coercing for fractions.

* testsuite/test_fraction.py:
Add fraction tests
2007-03-18 17:45:16 +00:00