Original commit message from CVS:
fix a race condition in test_buffer.py
* gst/gst.override:
* gst/gstmodule.c: (init_gst):
add a pygst debug category for bindings themselves to use
* gst/gstbuffer.override:
add a repr method; add some assertions
* gst/pygstminiobject.c: (pygst_miniobject_init),
(pygstminiobject_register_wrapper), (pygstminiobject_new),
(pygstminiobject_new_noref), (pygstminiobject_dealloc),
(pygstminiobject_clear):
make the miniobjs hash private with an underscore
add debugging for inserting/removal in hash
fix pygstminiobject_clear - it also needs to remove
from the global hash. Fixes a nasty race problem in
test_buffer
* testsuite/test_buffer.py:
expand on the subbuffer test
Original commit message from CVS:
* gst/__init__.py:
del ltihooks properly; fixes loading of testhelper in testsuite
* gst/gst.defs:
wrap link_filtered
Original commit message from CVS:
2005-08-19 Andy Wingo <wingo@pobox.com>
* gst/interfaces.defs (MixerTrack): MixerTrack is a GObject. How
did this ever work before?
Original commit message from CVS:
2005-08-19 Andy Wingo <wingo@pobox.com>
* gst/interfaces.override (_wrap_gst_tuner_list_channels)
(_wrap_gst_tuner_list_norms, _wrap_gst_mixer_list_tracks)
(_wrap_gst_color_balance_list_channels): Catch programming errors
without segfaults, as glib would do.
Original commit message from CVS:
* gst/gstmodule.c: (init_gst):
changed debug category name from 'gst-python' to 'python'
* gst/gst.override: (pygst_debug_log):
gchar is way smaller than an int... resulting in negative line numbers
in debug.
Original commit message from CVS:
* gst/gst.override: (pygst_debug_log):
gchar is way smaller than an int... resulting in negative line numbers
in debug.
Original commit message from CVS:
* gst/gst.override: (pygst_debug_log):
printf("urlencoded%20space") != printf("%s", "urlencoded%20space")
Funny how a lot of problems have gone since that's fixed :)
Original commit message from CVS:
* gst/gst.defs:
* gst/gst.override:
* gst/gstmodule.c:
We now have debugging in gst-python ;)
gst.[log|debug|info|warning|error]()
Original commit message from CVS:
2005-08-03 Andy Wingo <wingo@pobox.com>
* gst/gstmessage.override (_wrap_gst_message_parse_error): Always
return a tuple of length 2.
Original commit message from CVS:
* gst/gst-types.defs: (GhostPad):
Added GhostPad type
* gst/interfaces.defs:
Added MixerTrackFlags, TunerChannelFlags and MixerOptions
Want the rest of the poem ? ;)
Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
* gst/interfaces.defs:
* gst/interfaces.override:
* gst/xoverlay.override:
It seems that, somewhere along the way, I forgot to make sure interfaces
were binded too :)
Original commit message from CVS:
* gst/gstmessage.override:
wrapped gst_message_parse_segment_start() and
gst_message_parse_segment_done()
* gst/gst.defs:
I'm bored with writing "Updating defs file", so I'll just write a poem
by Charles Baudelaire, "L'invitation au voyage" :
Mon enfant, ma soeur,
Songe la douceur
D'aller l-bas vivre ensemble !
Aimer loisir,
Aimer et mourir
Au pays qui te ressemble !
Les soleils mouills
De ces ciels brouills
Pour mon esprit ont les charmes
Si mystrieux
De tes tratres yeux,
Brillant travers leurs larmes.
The rest at the next defs update :)
Original commit message from CVS:
* gst/gst.defs:
I'm bored with writing "Updating defs file", so I'll just write a poem
by Charles Baudelaire, "L'invitation au voyage" :
Mon enfant, ma soeur,
Songe la douceur
D'aller l-bas vivre ensemble !
Aimer loisir,
Aimer et mourir
Au pays qui te ressemble !
Les soleils mouills
De ces ciels brouills
Pour mon esprit ont les charmes
Si mystrieux
De tes tratres yeux,
Brillant travers leurs larmes.
The rest at the next defs update :)
Original commit message from CVS:
* gst/gstpad.override: misc fixes for change in gst_pad_get_parent()
* gst/gst-types.defs:
* gst/gst.defs: Updating defs file even more :)
Original commit message from CVS:
* gst/gst-types.defs: (MessageType):
updating to current core for 2 new GstMessageType's
* gst/gstbus.override: (bus_sync_handler),(bus_handler):
properly unref the message python wrapper...
Original commit message from CVS:
* gst/gstbus.override: (bus_handler) (bus_sync_handler):
Raise an exception if the callback doesn't return anything
* gst/pygstminiobject.c:
removed the 'ref' and 'unref' methods
Original commit message from CVS:
* gst/gstmodule.c:
* gst/pygstminiobject.c:
Proper registration of PyGstMiniObject classes in order to be able to
create Event, Messages, Buffers from python.
More corrections on miniobject's refcounting
* gst/gstevent.override:
* gst/gstbuffer.override:
Removed overloaded overrides
* gst/gst.defs:
updated
Original commit message from CVS:
* gst/gst.defs:
* gst/gst.override:
Probes are gone...
* Makefile.am:
* configure.ac:
* gst/Makefile.am:
* pygst.py.in:
Modifications to have parallel-installable gst-python
Works more or less in the same way as pygtk:
import pygst
pygst.require('0.9')
import gst
Original commit message from CVS:
* Makefile.am:
* configure.ac:
* gst/Makefile.am:
* pygst.py.in:
Modifications to have parallel-installable gst-python
Works more or less in the same way as pygtk:
import pygst
pygst.require('0.9')
import gst
Original commit message from CVS:
* gst/pygstminiobject.c:
thread safe handling of mini-objects
* codegen/codegen.py: (GstMiniObjectWrapper.constructor_tmpl):
let's not forget to wrap the MiniObject :)
* gst/gst-types.defs:
* gst/gst.defs:
Always keep up to date with the core
* gst/gstelement.override:
override for gst_element_query_position
* gst/pygstminiobject.c:
* gst/pygstminiobject.h:
* gst/gst.override:
PyGstMiniObject now properly wrap GstMiniObject and are referenced in a
global hash table
Original commit message from CVS:
* codegen/codegen.py: (GstMiniObjectWrapper.constructor_tmpl):
let's not forget to wrap the MiniObject :)
* gst/gst-types.defs:
* gst/gst.defs:
Always keep up to date with the core
* gst/gstelement.override:
override for gst_element_query_position
* gst/pygstminiobject.c:
* gst/pygstminiobject.h:
* gst/gst.override:
PyGstMiniObject now properly wrap GstMiniObject and are referenced in a
global hash table
Original commit message from CVS:
* codegen/argtypes.py:
* codegen/codegen.py:
* codegen/definitions.py:
* codegen/defsparser.py:
* codegen/docgen.py:
Updated codegen to support miniobject
* gst/Makefile.am:
Use the included (and modified) codegen for code generation.
* gst/pygstminiobject.c:
* gst/pygstminiobject.h:
* gst/pygstminiobject-private.h:
New GstMiniObject inspired from pygobject.[ch] code
* gst/common.h:
* gst/gst-types.defs:
* gst/gst.override:
* gst/gstbuffer.override:
* gst/gstcaps.override:
* gst/gstmodule.c:
* gst/gstpad.override:
Modifications to support MiniObject
* gst/gst.defs:
Allow null second parameter for ElementFactory.create()
and gst.element_factory_make()
Original commit message from CVS:
* gst/arg-types.py:
* gst/common.h:
* gst/gst-argtypes.c:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gst.override:
* gst/gstcaps.override:
* gst/gstelement.override:
* gst/gstmodule.c:
* gst/gstpad.override:
* gst/gststructure.override:
commented-out deprecated code,
compiles at last, and works for pipeline creation and state change
* configure.ac:
updated requirement of GStream (0.9.0), pygtk (2.6.1)
bumped version number (0.9.0.1)
Original commit message from CVS:
* gst/arg-types.py:
* gst/common.h:
* gst/gst-argtypes.c:
* gst/gst-types.defs:
* gst/gst.defs:
* gst/gst.override:
* gst/gstelement.override:
* gst/gstmodule.c:
* gst/gstpad.override:
* gst/gststructure.override:
commented-out deprecated code,
compiles at last, and works for pipeline creation and state change
* configure.ac:
updated requirement of GStream (0.9.0), pygtk (2.6.1)
bumped version number (0.9.0.1)
Original commit message from CVS:
Split out gst.override to a few more files.
Rename gstpad-handlers.override to gstpad.override
Include more information for some LinkError exceptions
Original commit message from CVS:
* gst/gst-types.defs:
* gst/gstbuffer.override:
* testsuite/test_buffer.py:
Improve support GstBuffer attributes, r/w support for timestamp.
Original commit message from CVS:
* gst/interfaces.defs:
* gst/interfaces.override (_wrap_gst_color_balance_list_channels):
Apply patch from Zaheer Abbas Merali to implement this method. Not
that it's not .list_channels() due to conflict with a method of
the same name in the GstTuner interface
Original commit message from CVS:
2004-11-27 Martin Soto <martinsoto@users.sourceforge.net>
* gst/gst.override (_wrap_gst_event_new_any)
(_wrap_gst_event_new_discontinuous)
(_wrap_gst_event_any_get_structure)
(_wrap_gst_registry_pool_plugin_list):
* gst/gst.defs (get_data, event_new_any, any_get_structure):
Added basic support for "ANY" (navigation) events.
Added basic support for discont events (only one value for now,
we are limited by the GStreamer API).
Now it is possible to access data in a GstBuffer as a string
Added a definition for method get_data of GstBuffer.
* gst/gst.override (_wrap_gst_structure_set_value): Add an
optional parameter to allow selection of the right G_TYPE. If no
type is specified, make an educated guess.
Original commit message from CVS:
* examples/gst/play.py:
* gst/gst-types.defs:
* gst/gst.override:
* testsuite/Makefile.am:
* testsuite/common.py:
* testsuite/event.py:
* testsuite/test_event.py:
Use gst.element_factory_make in play example
Use boxed instead of pointer for gst.Event, it was such an ugly
hack.
Ref the event when sending using gst.element_send_event.
Add a bunch of testcases (and a C module), renamed event to
test_event.py
Original commit message from CVS:
* gst/gstmodule.c (init_gst): Reset LC_NUMERIC, since it might
change in gst_init_check. Fixes 100% CPU usage in flumotion
when using a non C locale.
Original commit message from CVS:
* gst/gst.override (tag_foreach_func_list): Disable lists instead
of raising an exception.
* gst/gst-types.defs (ImplementsInterface, TagSetter): Define
these here.
Original commit message from CVS:
2004-10-11 set REAL_NAME environment variable <set EMAIL_ADDRESS environment variable>
* gst/gst.defs:
* gst/gst.override:
Fixes element_unlink_many and adds a set_buffer_data method to GstBuffer
Fixes bug #154451 and #154692
Original commit message from CVS:
2004-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* gst/gstmodule.c: (init_gst):
Make gst-python not hang on import when embedded.
Fixes bug #155041
Original commit message from CVS:
* gst/gstmodule.c (python_do_pending_calls): Use
PyOS_InterruptOccurred and only hold the GIL during
PyErr_SetNone. Use _pygst_main_quit to avoid errors/aborts. Also
use the pygtk provided gil macros instead of the python ones.
Original commit message from CVS:
2004-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/__init__.py:
* gst/gstreamer.py:
* gst/arg-types.py:
fix headers
* gst/gst.override:
change GstPad repr
* gst/ltihooks.py:
fix distcheck for uninstalled by only adding .libs when needed
Original commit message from CVS:
* gst/gst.override (_wrap_gst_structure_ass_subscript): Some more
fixes, doesn't quite work as it should yet though.x
(_wrap_gst_caps_tp_str): Plug leak
* gst/interfaces.defs (Mixer, MixerTrack): Add mixer fields here.
* testsuite/element.py (QueueTest.testConstruct): Some basic test,
one disabled for the moment
Original commit message from CVS:
* testsuite/struct.py (StructureTest.testStructureChange): Enable
some tests.
* gst/gst.override (_wrap_gst_structure_ass_subscript): Impl
Original commit message from CVS:
* configure.ac: Require python 2.3
* gst/gstmodule.c (python_do_pending_calls): Use PyGILState and
friends here.
* gst/gst.override (_pygst_main_quit, _pygst_main): Use these two
instead of gst_main/gst_main_quit so we can check if we're in a
mainloop or not.
Original commit message from CVS:
* testsuite/registry.py: Add some basic tests
* gst/gst.override: Don't ignore all gst_registry_* symbols
(_wrap_gst_registry_pool_plugin_list): Impl.
(_wrap_gst_registry_pool_feature_list): Impl.
* gst/gst-types.defs (Plugin): Add as a boxed
Original commit message from CVS:
* gst/gst.override (_wrap_gst_pad_query, _wrap_gst_element_query)
(_wrap_gst_pad_convert): Remove exceptions, return Long values
(and convert from LongLongs) and clean up a little)
Original commit message from CVS:
* testsuite/element.py (QueryTest.testQuery): Another small test
* gst/gst.override (_wrap_gst_element_query): Ditto
(_wrap_gst_pad_convert): Ditto
Original commit message from CVS:
* testsuite/event.py (EventFileSrcTest.setUp): Start the pipeline,
so we don't get warnings when sending events
(EventTest.setUp): Ditto.
* testsuite/pad.py: New test, only testing simple pad queries so far.
* testsuite/Makefile.am (tests): Add missing tests
* gst/gst.override (_wrap_gst_pad_query): Raise RuntimeError if
the return value is False and only return the queried value.
Original commit message from CVS:
* gst/gstbuffer.override (_wrap_gst_buffer_flag_is_set)
(_wrap_gst_buffer_flag_set, _wrap_gst_buffer_flag_unset): Impl.
* testsuite/buffer.py (BufferTest.testBufferFlagIsSet): New test
Original commit message from CVS:
* testsuite/interface.py (Availability.testXOverlay): Extend to
test method calling on interfaces
* testsuite/common.py: call pygtk.require first
* gst/gstbin.override (_wrap_gst_bin_get_by_name): Add a
keyword argument recurse and remove
_wrap_gst_bin_get_by_name_recurse_up.
* gst/gst.override (_wrap_gst_element_get_pad_list): Split out bin
functions to ...
* gst/gstbin.override: .. this file
* gst/gst.defs (bin_new): allow NULL for first argument.
(child_state_change): Remove, it's private.
Original commit message from CVS:
* gst/gst-types.defs (Buffer): Add some fields
* gst/gstbuffer.override: Move out from gst.override, add
tp_as_sequence support and reorganize the code
* testsuite/buffer.py (BufferTest): Add new tests
Original commit message from CVS:
* gst/__init__.py: Remove pygtk import and import gobject
directly. It's up the app to call pygtk.require and no the
library.
Original commit message from CVS:
* gst/Makefile.am (INCLUDES): Move PYGTK_CFLAGS to common_cflags
instead of INCLUDES
* configure.ac: define HAVE_OLD_PYGTK if we're on pygtk 2.3.91 or
earlier and disable editor checks
* gst/common.h: Add backwards compatible typedef for python < 2.3
and pygtk < 2.3.92
Original commit message from CVS:
* configure.ac: define HAVE_OLD_PYGTK if we're on pygtk 2.3.91 or earlier.
* gst/common.h: Add backwards compatible typedef for python < 2.3
and pygtk < 2.3.92
Original commit message from CVS:
* codegen/codegen.py: Resync (add support for tp_as_buffer)
* gst/gst.override: Support buffer interface for GstBuffer. Move
stuff into common.h, fix wrapping for
gst_pad_template_get_caps_by_name
Original commit message from CVS:
* configure.ac (PYGTK_CODEGEN): Use built in code generator again
and don't require 2.3.91, 2.0.0 should do fine (FC1 ok, RH9 isn't)
* TODO: Update
* gst/interfaces.override, gst/play.override: Add typedef for
python < 2.3
* codegen/codegen.py: Readd :/
Original commit message from CVS:
* testsuite/pipeline.py (PipelineConstructor.testGoodConstructor)
(PipelineConstructor.testBadConstruct)
(ThreadConstructor.testCreate): New tests
* testsuite/element.py (ElementTest.testGoodConstructor): Add
isinstance(element, gst.Element) test
* testsuite/common.py: Clean up, use ltihooks
(init) Assign tp_new for pipeline and thread to PyType_GenericNew
for now.
Original commit message from CVS:
* gst/gst.override (_wrap_gst_element_tp_new): New, just pointing
to _wrap_gst_element_factory_make
(_wrap_gst_element_tp_new): Stub, return 1 so tp_new can be used.
* gst/gst.defs (element_factory_make): Remove is-constructor-of
GstElement.
* codegen/: Remove and use the codegen from pygtk instead
* configure.ac (ACLOCAL): Require 2.3.91 of PyGTK
Original commit message from CVS:
* gst/gstmodule.c (init_gst): Add constants for GST_*SECOND.
(python_do_pending_calls): New idler handler, similar to pygtk, so
python events (eg KeyboardInterrupt) can be raised during mainloop
* gst/gst.override (_wrap_gst_bin_get_list):
(_wrap_gst_pad_tp_repr, caps_length, caps_item)
(structure_length, structure_subscript)
(_wrap_gst_structure_tp_repr): Impl.
(_wrap_gst_main): Override with threading blocking.
* gst/gst-types.defs (Object): add flags field.
(Structure): Add copy/release funcs
* gst/__init__.py (devloc): Don't initialize threads
* gst/Makefile.am: clean up
* examples/gst/player.py: Prettify and simplify. Uses GstThread now.
* examples/gstplay/player.py: Update to new api and make it work.
Original commit message from CVS:
* testsuite/Makefile.am (check-local): distcheck fixes
* testsuite/common.py: Put in a couple of hacks to make distcheck
pass make check
* testsuite/interface.py: New test
Original commit message from CVS:
* gst/Makefile.am: Move the gstplay bindings over here
* Makefile.am, configure.ac: Remove examples/ and put them in
EXTRA_DIST here
Original commit message from CVS:
* gst/gst.defs (element_make_from_uri): Remove const from enum
here, should be fixed upstream too.
* gst/gst.override (_wrap_gst_bin_remove_many)
(_wrap_gst_element_unlink_many): Impl.
(_wrap_gst_element_get_pad_list): Impl.
: Add a number of new ignores for functions/methods we won't wrap anyway
Original commit message from CVS:
* examples/gstreamer/filesrc.py,player.py: New examples
* gstreamer/gstreamer.override: Add a dict like interface to GstTagList
* gstreamer/gstpad-handlers.override: New file, split out from gstreamer.override
* gstreamer/gst-types.defs: Don't use
gst_buffer_free/gst_data_free, use gst_data_unref instead.
* gstreamer/gst-types.c (PyGstData_to_value): Don't send address here.
* gstreamer/arg-types.py (GstDataPtrArg.write_param): Send the
address to stuff, since we really want to avoid segfaults :)
* gstreamer/0.6.[c,defs,h,override]: Remove, we're focusing on 0.7
* gstreamer/0.7.[c,defs,h,override]: Remove, merge with
gstreamer.*
* gstreamer/Makefile.am: Clean up, remove versioning support.
Original commit message from CVS:
* gstreamer/gstreamer.override:
* gstreamer/gstreamermodule.c: Rename some more things to gst
* gstreamer/arg-types.py: Clean up and add GstData handling
* gstreamer/gstreamer.defs:
* gstreamer/gst-types.defs: Split out types to a separate defs
* gstreamer/gst-types.c: New file to handle custom GstData conversions.
Original commit message from CVS:
* gstreamer/0.7.override:
* gstreamer/common.h:
GstStructure and GstTagList foreach() support.
* examples/gstplay/player.py:
Use TagList.foreach() to print tags.
Original commit message from CVS:
* gstreamer/gstreamer.defs: rename all functions, remove
gst_ suffix.
* gstreamer/examples/gstreamer/*.py: Update to new API.
Original commit message from CVS:
* gstreamer/gstreamer.defs (element_link_many): This is function
and not a method, despite popular belief
(gst_element_factory_make): Make it the constructor of GstElement,
so we can avoid dirty hacks.
* gstreamer/gstreamer.override (_wrap_gst_element_link_many): Wrap
(_wrap_gst_element_link_many): Wrap
* gstreamer/common.defs:
* gstreamer/common.override:
* gstreamer/Makefile.am: Beginning of reorganization, to include
gstreamer.defs and override (eg, not auto generate them)
* examples/gstreamer/cp.py: Prettify and pythonify. Will do the
other examples later
* gstreamer/gstreamer.py: Backwards compatibility module
* gstreamer/gstreamermodule.c:
* gstreamer/Makefile.am: Rename the module to gst
Original commit message from CVS:
2004-02-23 Johan Dahlin <johan@gnome.org>
* gstreamer/gstreamer.py: Backwards compatibility module
* gstreamer/gstreamermodule.c:
* gstreamer/Makefile.am: Rename the module to gst
Original commit message from CVS:
Patch from Bug#128736.
2003-12-07 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
* gstreamer/common.override
(_wrap_gst_element_factory_make_element): Make name argument
optional.
Original commit message from CVS:
Mass change to support compiling for both 0.6 and 0.7. Common support is now
in common.{defs,override,c,h}. Specific version support is in
{0.6,0.7}.{defs,override,c,h}. The common and version specific files are
merged and/or used as needed.
common.override: add gst_version
Original commit message from CVS:
- add wrapper for gst_props_entry_gst_list() and method gst_list() to GstProps
to access properties list
- add alias for gst_props_entry_get_type as _get_props_type() since _get_type()
is recognized as a GObject type function
Original commit message from CVS:
add functions for optimized bin iteration (may move or rename):
- id add_iterate_bin(bin)
- remove_iterate_bin(id)
- iterate_bin_all(bin)
Original commit message from CVS:
The "yes, you can write chain based elements in Python" commit.
AKA The "oh my, that is a slow rot13" commit.
AKA The "puddle from a stream of leaking bits" commit.