2005-06-28 Edward Hervey * 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 2005-06-26 Edward Hervey * codegen/argtypes.py: * codegen/codegen.py: * codegen/definitions.py: * codegen/defsparser.py: * codegen/h2def.py: * codegen/mergedefs.py: * codegen/reversewrapper.py: Backport pygtk 2.6.2 codegen * gst/gst-types.defs: Added fields for Buffer, Event, Message and Query Added pre-roll for enum ElementStateReturn * gst/gst.defs: Added (define-method for gst_structure_nth_field_name() * gst/gstelement.override: Added override for gst_element_get_state * gst/gstcaps.override: re-enabled structure functions 2005-06-26 Edward Hervey * codegen/argtypes.py: * codegen/codegen.py: * codegen/definitions.py: * codegen/defsparser.py: * codegen/defsconvert.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() 2005-06-20 Edward Hervey * 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) 2005-06-17 Edward Hervey * Backport of bugfixes/new features from 0.8 branch to HEAD * gst/gst.defs: * gst/gst-types.defs: New defs files generated from 0.9 GStreamer PORTING-TODO will follow 2005-06-17 Andy Wingo * gst/gstcaps.override (_wrap_gst_caps_tp_richcompare): Increment the refcount of the return value in all cases, even for Py_True and Py_False. Lines of code per day hovering around 1.3. 2005-06-14 Edward Hervey * gst/gstcaps.override: (_wrap_gst_caps_tp_str): reverting previous fix, was incorrect * configure.ac: 0.8.1.2 pre-release * gst/gst.override: (probe_handler_marshal): bye bye probe memleak 2005-06-14 Edward Hervey * gst/Makefile.am: (defs_DATA) (GST_OVERRIDES): * gst/gst.defs: * gst/gst.override: * gst/gst-extrafuncs.defs: * gst/gstbuffer.override: * gst/gstevent.override: * gst/gst-types.defs: (Buffer) (Event): Added support for element flags (list, set, unset) Added gst.Buffer duration field Added gst.Event fields 2005-06-14 Andy Wingo * gst/gstcaps.override (_wrap_gst_caps_tp_richcompare): Fixes for == and != when the second arg is not a caps. * testsuite/test_caps.py (CapsTest.testComparisons): Fix name. 2005-06-14 Edward Hervey * gst/gstcaps.override: (_wrap_gst_caps_tp_str): proper repr of GstCaps : : ''> 2005-06-09 Edward Hervey * examples/gst/gstfile.py: (Discoverer.discover): whoops, pipeline was being run twice :) 2005-06-09 Zaheer Abbas Merali * examples/gst/gstfile.py: fix typo 2005-06-08 Edward Hervey * examples/gst/Makefile.am: * examples/gst/gstfile.py: renamed gst-file.py to gstfile.py and made the Discoverer class useable in other applications/scripts * examples/gst/audioconcat.py: Example application that uses the Discoverer and the gnonlin elements to concatenate several audio files to one single one 2005-06-07 Edward Hervey * examples/gst/Makefile.am: * examples/gst/gst-file.py: New example that shows how to use gst-python in an object-oriented way, and how to override existing methods 2005-06-02 Edward Hervey * gst/gstbuffer.override (_wrap_gst_buffer_set_data): gcc 4.x bugfixes 2005-05-04 Benjamin Otte * gst/gst.defs: factory.create doesn't need a name * gst/gst.override: implement tp_str and tp_repr gst.Object and gst.PluginFeature * gst/gstelement.override: implement factory.get_pad_templates and make element.link_pads take NULL, pads or strings as the pad argument * gst/gstpad.override: implement tp_getattr for GstPadTemplate 2005-05-03 Zaheer Abbas Merali * gst/pygstvalue.c: (pygst_value_from_pyobject): stupid, stupid, stupid 2005-05-03 Benjamin Otte * gst/gstcaps.override: fix uninitialized warning and refator function 2005-05-03 Benjamin Otte * gst/pygstvalue.c: * gst/gst-argtypes.c: * gst/gst.override: define NO_IMPORT_PYGOBJECT to have a correct extern declaration reenable _pygst_element_init and ifdef it correctly * gst/arg-types.py: check errors * gst/gstcaps.override: - remove list append functionality. Sets don't support the + operator - implement richcompare and coerce, nonzero, or, xor and subtract number functions * testsuite/test_caps.py: add tests for the new stuff 2005-05-03 Thomas Vander Stichele * testsuite/Makefile.am: * testsuite/common.py: rework common so that it behaves a bit more sanely make the inner workings more clear 2005-05-03 Thomas Vander Stichele * configure.ac: add Wall and Werror just like other modules * gst/gst.override: * gst/gstelement.override: fix compile problems for Wall Werror * testsuite/common.py: * Makefile.am: * gst/Makefile.am: * gst/ltihooks.py: * ltihooks.py: move ltihooks to root; having it in gst was a bad hack and breaks distcheck 2005-05-03 Thomas Vander Stichele * testsuite/common.py: ltihooks only needed for uninstalled (?) 2005-05-03 Thomas Vander Stichele * testsuite/runtests.py: a much nicer way of getting all the tests 2005-05-03 Benjamin Otte * testsuite/Makefile.am: run tests with GST_DEBUG=*:0 so they don't produce any debugging output * testsuite/test_element.py: don't disable stderr * gst/gstbuffer.override: initialize size correctly 2005-05-03 Thomas Vander Stichele * testsuite/runtests.py: also return exit code 1 in case of errors 2005-05-02 Edward Hervey * testsuite/common.py: Added case for 64bit-system that don't have the dl module 2005-05-02 Benjamin Otte * gst/Makefile.am: running the code generator depends on the files it uses * gst/arg-types.py: add GstCaps parsing * gst/gstelement.override: make element.link take an optional caps parameter, deprecate element.link_filtered * testsuite/test_caps.py: replace caps.get_strcuture(i) calls with caps[i], the deprecation warnings are annoying 2005-05-01 Thomas Vander Stichele * testsuite/test_interface.py: do not do stuff in a testsuite that isn't guaranteed to be there. could do with some way of detecting and skipping. 2005-05-01 Benjamin Otte * gst/gst-types.c: remove, it's called gst-argtypes.c these days * gst/common.h: * gst/gst-argtypes.c: (pygst_caps_from_pyobject): add function to transform a PyObject to a GstCaps* * gst/gstcaps.override: implement more sequence functions, deprecate caps.get_structure() in favour of caps[i] and make the structure-by-reference stuff work * gst/gststructure.override: make structures from caps work by reference but don't die a horrible death if the caps get removed before the structure is * testsuite/Makefile.am: run with G_DEBUG=fatal_warnings so we crash on g_warnings in C code * testsuite/test_caps.py: add some checks 2005-04-30 Benjamin Otte * gst/gst.override: pyg_register_class_init is new API, so only use it when available. If not available gst.element_register won't work either, but I just won't care about that right now. 2005-04-30 Benjamin Otte * gst/arg-types.py: ref the GstData we get in conversions as pygst_data_from_pyobject doesn't do that * gst/gst-types.c: (pygst_data_from_pyobject), (pygst_data_to_pyobject), (PyGstData_from_value), (PyGstData_to_value): make GstData <=> GValue conversions use the correct G_VALUE_TYPE and don't copy the values, but just ref them. Avoids mad buffer copying * gst/common.h: include GstData <=> PyObject conversion funcs * gst/gst.override: - wrap gst.element_register - add _pygst_get_plugin to query the plugin used by Python. Necessary preparation for a Python plugin loader. Returns NULL if no plugin, in that case gst.element_register registers the element as part of the running app. - add a class initializer for gst.Element subtypes, that checks the variables __gsttemplates__ and __gstdetails__ and makes the correct gst_element_class_set_element_details and gst_element_class_add_pad_templates calls from them. Note: This has issues when virtual methods are enabled. - add _pygst_element_check_error. This functions checks if Python code raised an exception and if so calls gst_element_error on the element and clears the error. Very useful in loop/chain/get-functions * gst/gstbuffer.override: - implement buffer.copy_on_write() - implement sq_(ass_)[item|slice] functions for GstBuffer - fix PyBufferProcs to allow writing when buffer is writable * gst/gstpad.override: - wrap gst.Pad to call gst_pad_new or gst_pad_new_from_template automatically based on arguments - don't attach private pad data to the element private, use g_object_set_data instead - make attaching functions to pads use closures. Allows garbage collecting pads where handlers have been set - fix _repr function to only print parent element's name if parent exists * gst/gstmodule.c: (init_gst): register GstData <=> GValue conversion 2005-04-28 Benjamin Otte * gst/gstbuffer.override: Let's unref the buffer we created - prevents gst.Buffer from leaking 2005-04-27 Benjamin Otte * gst/gstbuffer.override: throw TypeError if bufsize < data size. Fixes testsuite 2005-04-26 Johan Dahlin * testsuite/runtests.py: Return exit code 1 if we have any failures 2005-04-26 Benjamin Otte * gst/gstbuffer.override: make Buffer() not use memory it doesn't own * testsuite/test_buffer.py: check that it doesn't 2005-04-19 Edward Hervey * gst/gststructure.override: (_wrap_gst_structure_get_double): Forgot to convert the returned value to a PyFloat... 2005-04-19 Edward Hervey * gst/gststructure.override: (_wrap_gst_structure_get_double): Added overriding function for getting double values from a gst.Structure 2005-04-16 Thomas Vander Stichele * configure.ac: bumped back required version of pygtk; we can backport or copy over the code generator for what we need 2005-04-16 Jan Schmidt * configure.ac: Bump GStreamer core requirement to 0.8.9 for gst_pad_set_active_recursive. * gst/gst.defs: Wrap gst_pad_set_active_recursive 2005-04-14 Edward Hervey * gst/gst.defs: Added definitions for methods of GstObject, GstElement, GstBin and Clock so you can create derived classes with more functionnalities. * configure.ac: (ACLOCAL): bumped required version of PYGTK to 2.6.0 2005-04-14 Andy Wingo * gst/__init__.py (Value, Fourcc, IntRange, DoubleRange) (Fraction): New classes. * gst/gst.override (_wrap_gst_tag_list_get) (_wrap_gst_tag_list_get_value_index) (tag_foreach_func_dict) (_wrap_gst_tag_list_subscript): Use gstvalue procs. (init): Initialize the pygstvalue stuff (which involves accessing definitions from gst/__init__.py). * gst/gststructure.override (_wrap_gst_structure_ass_subscript): Just use the pygstvalue functions to do conversion. As it is right now, it's an incompatible change with the previous behavior, because it doesn't try to parse field values like "(fourcc)XVID". We can restore that previous behaviour if there is a need for it. (_wrap_gst_structure_subscript): Use gstvalue functions to do the conversion. * gst/Makefile.am: Add in pygstvalue.[ch]. * gst/pygstvalue.h: * gst/pygstvalue.c: New files. (pygst_value_as_pyobject): Wraps pyg_value_as_pyobject, handling gstvalues as well. (pygst_value_init_for_pyobject): Sniffs a pyobject for a type and initializes a GValue appropriately. (pygst_value_from_pyobject): Wraps pyg_value_from_pyobject, handling gvalues as well. * testsuite/test_struct.py (StructureTest.testStructureChange) (StructureTest.testGstValue): Add some tests for GstValue wrapping. 2005-04-25 Benjamin Otte * gst/gstbuffer.override: handle the data correctly 2005-04-12 Thomas Vander Stichele * gst/gst.defs: * gst/gst.override: wrap gst_plugin_get_version so it returns a tuple 2005-04-12 Thomas Vander Stichele * testsuite/test_probe.py: add test for probes 2005-03-15 Richard Hult * gst/gst.defs (element_factory_make): Caller owns return, fixes leak (get_caps): Ditto * gst/gst.override (_wrap_gst_tag_list_get): Leak fix (_wrap_gst_tag_list_subscript): Ditto Reviewed by: Johan Dahlin 2005-01-10 Thomas Vander Stichele * configure.ac: * gst/arg-types.py: * gst/gst-types.defs: * gst/gst.override: * testsuite/test_probe.py: first pass at wrapping GstProbe 2005-01-01 Johan Dahlin * gst/Makefile.am: * gst/gst.override: * gst/gstcaps.override: * gst/gstelement.override: * gst/gstpad-handlers.override: * gst/gstpad.override: * gst/gststructure.override: Split out gst.override to a few more files. Rename gstpad-handlers.override to gstpad.override Include more information for some LinkError exceptions 2004-12-14 Johan Dahlin * gst/gst-types.defs: * gst/gstbuffer.override: * testsuite/test_buffer.py: Improve support GstBuffer attributes, r/w support for timestamp. 2004-11-29 Johan Dahlin * configure.ac: Post release version bump === gst-python 0.8.1 === 2004-11-29 Johan Dahlin * configure.ac: Bump version * 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 * gst/gstmodule.c: * gst/gst.override: Apply patch from Brian Warner to throw a link error when element and pad linking fails. 2004-11-27 Martin Soto * 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. 2004-11-25 Johan Dahlin * gst/interfaces.override: * gst/xoverlay.override: redefine broken implement casting macros to something saner 2004-11-23 Johan Dahlin * testsuite/*: Put test_ prefix on all test filenames 2004-11-23 Johan Dahlin * gst/gstmodule.c: sink GstObject, much like GtkObject 2004-11-23 Johan Dahlin * 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 === release 0.8.0 === 2004-11-15 Johan Dahlin * configure.ac: bump * gst/gst.override (_wrap_gst_tag_setter_get_list): Override, to avoid compiler warning. * 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. 2004-11-11 Thomas Vander Stichele * pkgconfig/gst-python-uninstalled.pc.in: set pyexecdir for uninstalled as well === release 0.7.94 === 2004-11-05 Thomas Vander Stichele * .cvsignore: * examples/Makefile.am: remove gstplay 2004-11-04 Johan Dahlin * gst/gst.override (tag_foreach_func_list): Disable lists instead of raising an exception. * gst/gst-types.defs (ImplementsInterface, TagSetter): Define these here. * gst/interfaces.override (_wrap_gst_mixer_list_tracks): Impl. (_wrap_gst_tuner_list_norms, _wrap_gst_tuner_list_channels): Plug leaks. === release 0.7.93 === 2004-10-11 Johan Dahlin * configure.ac: Bump version number 2004-10-11 Zaheer Abbas Merali * gst/gst.defs: * gst/gst.override: Fixes element_unlink_many and adds a set_buffer_data method to GstBuffer Fixes bug #154451 and #154692 2004-10-11 Johan Dahlin * gst/arg-types.py: * gst/gst.defs: * gst/gst.override: GstXML support, based on patch by poelzi. 2004-10-10 Zaheer Abbas Merali * gst/gstmodule.c: (init_gst): Make gst-python not hang on import when embedded. Fixes bug #155041 2004-10-04 Johan Dahlin * gst/interfaces.defs: Add proper fiels to GstTunerNorm. Also remove parent property from all interfaces. Revert, since we have code which depends on this "feature" 2004-09-29 Johan Dahlin * 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. 2004-09-22 Johan Dahlin * gst/gst.override: use new threading API 2004-09-13 Thomas Vander Stichele * 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 2004-08-30 Johan Dahlin * 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 2004-08-12 Johan Dahlin * gst/interfaces.defs (TunerNorm, TunerChannel): Add fields. * gst/interfaces.override (_wrap_gst_tuner_list_norms) (_wrap_gst_tuner_list_channels): Impl. 2004-08-06 Thomas Vander Stichele * gst/gst.override: * testsuite/caps.py: one item list with structure is valid too 2004-08-06 Thomas Vander Stichele * gst/gst.defs: * gst/gst.override: * testsuite/caps.py: add a constructor for caps that wraps _new_empty, _from_string and an alternative to _new_full. add tests for them. 2004-08-06 Johan Dahlin * gst/gst.override (_wrap_gst_structure_from_string): Impl. (_wrap_gst_tag_list_has_key): Impl. (_wrap_gst_caps_get_structure): Don't copy or free me * testsuite/struct.py (StructureTest.testStructureChange): Enable some tests. Improve tests * gst/gst.override (_wrap_gst_structure_ass_subscript): Impl 2004-08-05 Thomas Vander Stichele * testsuite/struct.py: add a testsuite for structs, not yet active 2004-08-03 Johan Dahlin * 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. 2004-08-02 Thomas Vander Stichele * gst/gst.defs: allow no name for thread and pipeline as well 2004-07-16 Johan Dahlin * pkgconfig/gst-python.pc.in (pyexecdir): Add and remove comments for all other variables. 2004-07-15 Johan Dahlin * 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 * gst/__init__.py: Use DLFCN instead of dl to help python installations without the dl module (gentoo for instance) 2004-07-13 Johan Dahlin * 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) * testsuite/element.py (QueryTest.testQuery): Another small test * gst/gst.override (_wrap_gst_element_query): Ditto (_wrap_gst_pad_convert): Ditto * 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. 2004-07-02 David Schleef * configure.ac: Correctly check for XML tools. Correctly set BUILD_DOCS variable depending on tools. * docs/Makefile.am: Use XML variables. 2004-06-21 Thomas Vander Stichele * configure.ac: back to cvs === release 0.7.92 === 2004-06-21 Thomas Vander Stichele * testsuite/Makefile.am: * testsuite/common.py: passed make distcheck, ready to go 2004-06-21 Johan Dahlin * gst/Makefile.am (EXTRA_DIST): Add ltihooks.py 2004-06-18 Johan Dahlin * testsuite/runtests.py (dir): Change to srcdir before running the test, should make it pass distcheck 2004-06-10 Thomas Vander Stichele * gst/__init__.py: * testsuite/Makefile.am: * testsuite/caps.py: adding a caps test 2004-06-09 Johan Dahlin * 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 2004-05-24 Johan Dahlin * 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. 2004-05-04 Johan Dahlin * 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 2004-05-03 Johan Dahlin * gst/__init__.py: Remove pygtk import and import gobject directly. It's up the app to call pygtk.require and no the library. * testsuite/event.py, testsuite/buffer.py: New tests. * testsuite/common.py (run_silent): New function to enable stderr even if an exception is raised. * testsuite/element.py (FakeSinkTest.checkError): Better state-error checking. * gst/common.h: Add some parenthesises * gst/play.override: Include common.h * configure.ac: Use different prefix for the new check of PyGtk so we're not overwriting the good PYGTK_CFLAGS * 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 * 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 2004-05-01 Johan Dahlin * testsuite/runtests.py (gettestnames): Cleanup * testsuite/element.py (FakeSinkTest): Enable again and disable stderr while changing state to ready (ElementName.testElementStateGetName): New function to test gst.element_state_get_name. * testsuite/common.py (path): Don't import ltihooks and proper check for gst module. Add --gst-debug-no-color as a global option (disable_stderr, enable_stderr): New functions to disable stdout called from non python 2004-04-30 Johan Dahlin * gst/gst.defs (element_state_get_name): Add. 2004-04-21 Johan Dahlin * testsuite/runtests.py (tests): Run all tests in one TestSuite instead of several. * testsuite/element.py (FakeSinkTest.setUp): Disable StateError tests until there is a way to disable element error output. 2004-04-16 Johan Dahlin * 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 :/ * 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 * 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. (init) Assign tp_new for pipeline and thread to PyType_GenericNew for now. * 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 2004-04-06 Johan Dahlin * examples/gstplay/videoplayer.py: New example, simple video player embedded in a gtk+ widget. === release 0.7.91 === 2004-03-31 Johan Dahlin * configure.ac (ACLOCAL): Bump version * gst/Makefile.am (EXTRA_DIST): And make sure we have all defs here. * gst/ltihooks.py: New file * gst/__init__.py: try to import ltihooks.py * gst/Makefile.am: Only install gst-types.defs * Makefile.am (EXTRA_DIST): Add codegen/* Can't believe distcheck passed === release 0.7.90 === 2004-03-30 Johan Dahlin * docs/NEWS.xml: Update 2004-03-29 Johan Dahlin * examples/gst/wavenc.py: New example * Makefile.am (EXTRA_DIST): Add wavenc.py 2004-03-24 Johan Dahlin * 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. 2004-03-18 Johan Dahlin * configure.ac: s/GST_*_INCLUDES/GST_*_LIBS/ 2004-03-18 Thomas Vander Stichele * gst/Makefile.am: fix automake don'ts 2004-03-18 Thomas Vander Stichele * examples/gst/player.py: update for new API. Use Enter to pause pipeline. * examples/gst/vorbisplay.py: update for new API 2004-03-18 Thomas Vander Stichele * configure.ac: subst GST_MAJORMINOR * docs/Makefile.am: disable docs checks until they satisfy make distcheck 2004-03-17 Johan Dahlin * 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 * gst/gst.defs: Remove unused functions. * gst/gst.override: Ditto * gst/__init__.py (devloc): delete dl * Makefile.am (DIST_SUBDIRS): Remove PLAYDIR 2004-03-16 Johan Dahlin * configure.ac: Support build without gstplay and gstinterfaces * gst/Makefile.am: Move the gstplay bindings over here * Makefile.am, configure.ac: Remove examples/ and put them in EXTRA_DIST here * 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 2004-03-15 Johan Dahlin * gst/*: Move interfaces over here, make it build, remove gstreamer.py 2004-03-12 Johan Dahlin * configure.ac: PyGtk 1.99.14 should be okay (Shipped with RH9), AC_SUBST GStreamer and PyGTK flags * Makefile.am (PLAYDIR): Disable for now * configure.ac: Build against 0.8 * gstinterfaces/Makefile.am: clean up a little bit * gstinterfaces/__init__.py (devloc): s/gstreamer/gst/ * codegen: Resync and appy my interface constructor patch 2004-03-09 Johan Dahlin * gst/gst.override (_wrap_gst_g_error_tp_str) (_wrap_gst_g_error_tp_str): Impl. * gst/gst-types.defs (GError): Add * gst/Makefile.am (defs_DATA): Install defs * codegen/*: Resync 2004-03-05 Johan Dahlin * testsuite/element.py: Update to new api * codegen/*: Copy PyGTK code generator here, to avoid depending on latest version. * configure.ac: Add versioning, ala pygtk, and use the internal code generator instead of the installed one 2004-03-04 Thomas Vander Stichele * configure.ac: * examples/Makefile.am: * gst/Makefile.am: * gstinterfaces/Makefile.am: * gstplay/Makefile.am: * testsuite/Makefile.am: fix make distcheck move examples/gstreamer to examples/gst 2004-03-04 Thomas Vander Stichele * Makefile.am: * autogen.sh: * configure.ac: * gst/__init__.py: * gst/gstmodule.c: (init_gst): move gstreamer/ to gst/ by cvs surgery so we can work uninstalled more changes to be able to run uninstalled 2004-02-27 Johan Dahlin * gstreamer/: All over the place, more rename work (gstreamer -> gst) * 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. 2004-02-25 Johan Dahlin * 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. 2004-02-24 David I. Lehn * gstreamer/0.7.override: * gstreamer/common.h: GstStructure and GstTagList foreach() support. * examples/gstplay/player.py: Use TagList.foreach() to print tags. 2004-02-24 David I. Lehn * gstreamer/common.override: Attempt to handle GstBuffer vs GstData better. 2004-02-24 Johan Dahlin * gstreamer/gstreamer.defs: rename all functions, remove gst_ suffix. * gstreamer/examples/gstreamer/*.py: Update to new API. 2004-02-23 Johan Dahlin * 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 2004-02-18 David I. Lehn * gstreamer/0.7.defs: Wrap GstTagList. 2004-02-18 David I. Lehn * gstinterfaces/0.7.c: * gstinterfaces/0.7.h: * gstinterfaces/0.7.override: * gstinterfaces/__init__.py: * gstinterfaces/arg-types.py: * gstinterfaces/common.c: * gstinterfaces/common.h: * gstinterfaces/common.override: * gstinterfaces/gstinterfacesmodule.c: * gstplay/0.7.c: * gstplay/0.7.h: * gstplay/0.7.override: * gstplay/__init__.py: * gstplay/arg-types.py: * gstplay/common.c: * gstplay/common.h: * gstplay/common.override: Adjust date to 2004. 2004-02-11 Thomas Vander Stichele * acinclude.m4: fix underquotedness 2004-02-03 David I. Lehn * gstinterfaces/.cvsignore: * gstinterfaces/0.7.defs: * gstinterfaces/Makefile.am: * gstinterfaces/common.defs: * gstinterfaces/common.override: * gstinterfaces/gstinterfacesmodule.c: (init_gstinterfaces): * gstplay/.cvsignore: * gstplay/0.7.c: * gstplay/0.7.defs: * gstplay/0.7.h: * gstplay/0.7.override: * gstplay/Makefile.am: * gstplay/__init__.py: * gstplay/arg-types.py: * gstplay/common.c: * gstplay/common.h: * gstplay/common.override: * gstplay/gstplaymodule.c: (init_gstplay): * gstreamer/Makefile.am: * gstreamer/__init__.py: * gstreamer/common.override: Support GstPlay, bug fixes, updates. * examples/gstplay/player.py: GstPlay example. * Makefile.am: Support GstPlay build. * configure.ac: Support GstPlay build, remove AC_SUBST() calls that PKG_CHECK_MODULES does automagically. 2004-01-27 David I. Lehn * Makefile.am: add gstinterfaces dir * configure.ac: get interfaces include dirs * gstreamer/.cvsignore: add .py[co] * gstreamer/0.6.defs: * gstreamer/0.6.override: * gstreamer/0.7.defs: * gstreamer/0.7.override: * gstreamer/common.defs: * gstreamer/common.override: rearrange code for both 0.6 and 0.7 support * gstreamer/Makefile.am: add -fno-strict-aliasing due to python issues * gstinterfaces/.cvsignore: * gstinterfaces/0.7.c: * gstinterfaces/0.7.defs: * gstinterfaces/0.7.h: * gstinterfaces/0.7.override: * gstinterfaces/Makefile.am: * gstinterfaces/__init__.py: * gstinterfaces/arg-types.py: * gstinterfaces/common.c: * gstinterfaces/common.defs: * gstinterfaces/common.h: * gstinterfaces/common.override: * gstinterfaces/gstinterfacesmodule.c: messy start of interfaces handling 2003-12-07 Gustavo J. A. M. Carneiro * gstreamer/common.override (_wrap_gst_element_factory_make_element): Make name argument optional. 2003-10-10 David I. Lehn * configure.ac, gstreamer/Makefile.am, gstreamer/*: 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. * gstreamer/common.override: add gst_version * examples/gstreamer/ilat.py: add annoying version check for 0.6 API 2003-10-09 David I. Lehn * configure.ac: require autoconf 2.57 and pygtk 2.0.0. * gstreamer/Makefile.am: fix libtool 1.5 build by fixing export symbol typo s/initgstreamer/init_gstreamer/ * gstreamer/examples/ilat.py: 4 space indents 2003-10-05 Thomas Vander Stichele * examples/gstreamer/*.py: use Element over gst_element_factory_make 2003-10-05 Thomas Vander Stichele * gstreamer/gstreamermodule.c: (init_gstreamer): use gst_init_check () with argc and argv (see pygtk) 2003-10-04 Thomas Vander Stichele * Makefile.am: add testsuite dir * configure.ac: bump to cvs version nano, add testsuite Makefile * testsuite/Makefile.am: testsuite * testsuite/element.py: test for Element class * gstreamer/gstreamer.overrides: add a wrapper for Element () * gstreamer/gstreamer-extra.defs: add a constructor for Element 2003-09-27 Thomas Vander Stichele * gstreamer/gstrearem.override: fix Py_BuildValue for 64 bit ints 2003-07-10 David I. Lehn * AUTHORS, NEWS, README, TODO, README-docs, Makefile.am, configure.ac, docs/Makefile.am, docs/NEWS.xml, docs/README.xml, docs/RELNOTES.xml, docs/gst-python.ent.in, docs/notes/release: distcheck and final release prep fixes 2003-07-09 David I. Lehn * configure.ac: check for xmlcatalog for docs build (probably not strictly needed for general use but fixes non-srcdir builds) * Makefile.am: conditionally build docs * README.docs, Makefile.am: info on where doc sources are located * docs/gst-python.xml: removed (split into partial files) * README, AUTHORS, NEWS, TODO: removed (generated from docs/*) * .cvsignore, docs/.cvsignore: add generated files * docs/{AUTHORS.xml, NEWS.xml, README.xml, RELNOTES.xml, TODO.xml, gst-python.ent.in, common.xsl, full.xsl, part.xsl, Makefile.am}: redo autobuilt docs system with fancy XInclude features * README.docs, README-docs: rename * docs/notes/release: add release checklist * docs/gst-python.ent.in: update pubdate 2003-06-26 David I. Lehn * configure.ac, AUTHORS, NEWS, README, TODO, docs/Makefile.am, docs/HEAD.in docs/docutils.conf, docs/gst-python.css: kill docutils based docs (easy come, easy go) * AUTHORS, NEWS, README, TODO, docs/Makefile.am, docs/gst-python.xml, docs/common.xsl, docs/html.xsl, docs/pdf.xsl, docs/gst-python.css: docbook based docs 2003-06-25 David I. Lehn * gstreamer/Makefile.am: fix up line continuations * configure.ac, Makefile.am, pkgconfig/*: add pkgconfig support * configure.ac, Makefile.am, AUTHORS, NEWS, README, TODO, docs/HEAD.in, docs/Makefile.am, docs/docutils.conf, docs/gst-python.css: docutils based docs 2003-06-11 Thomas Vander Stichele * gst-python.spec.in: fix * Makefile.am, autogen.sh, configure.ac: convert to same style as other GStreamer modules 2003-02-10 David I. Lehn * TODO: add TODO list 2003-02-08 David I. Lehn * gstreamer/Makefile.am: make distcheck fixification 2003-02-06 David I. Lehn * gstreamer/gstreamer-extra.defs, gstreamer/gstreamer.override: add wrapper for gst_props_entry_gst_list() and method gst_list() to GstProps to access properties list * gstreamer/gstreamer-extra.defs, gstreamer/gstreamer-fixes.[ch]: add alias for gst_props_entry_get_type as _get_props_type() since _get_type() is recognized as a GObject type function * examples/gstreamer/oggplay.py: rename to vorbisplay.py * examples/gstreamer/vorbisplay.py: print out meta/stream info * gstreamer/Makefile.am: add gstreamer.defs to CLEANFILES 2003-02-05 David I. Lehn * configure.ac: require GStreamer core 0.6.0 * examples/gstreamer/bps.py: added buffers-per-second test * gstreamer/gstreamer-fixes.[ch]: add functions for optimized bin iteration (may move or rename): - id add_iterate_bin(bin) - remove_iterate_bin(id) - iterate_bin_all(bin) 2003-01-22 David I. Lehn * configure.ac: require GStreamer core 0.5.2 2003-01-09 David I. Lehn * examples/gstreamer/*, gstreamer/gstreamer.override: update to new GstPad/GstElement link API and remove old hacks to call GObject connect method * gstreamer/Makefile.am: ignore gstcompat.h * configure.ac: require GStreamer core 0.5.1.1 2003-01-04 David I. Lehn * gstreamer/gstreamer.override, gstreamer/gstreamer-extra.defs: add GstPropsEntry and wrappers for most of get_* methods * gstreamer/gstreamer-arg-types.py: add GstClockID as a pointer arg type (not too useful, really need to make it a boxed type) 2003-01-02 David I. Lehn * gstreamer/__init__.py: add threads_init() function * gstreamer/gstreamer.override: add pad and element query and convert methods 2002-12-31 David I. Lehn * configure.ac: require PyGTK 1.99.14 * pygtk.diff: integrated upstream, remove patch * gstreamer/Makefile.am: filter out gstatomic_impl.h from includes used to create defs * examples/gstreamer/oggplay.py: s/vorbisdec/vorbisfile/ (Thanks to Kenichi Sato ) 2002-12-22 David I. Lehn * configure.ac: fix include dir check and fail if not found 2002-12-21 David I. Lehn * gstreamer/gstreamer.override (call_connect_function, call_chain_function): block/unblock threads before entering Python interpreter * gstreamer/gstreamer.override: indent 2002-12-17 David I. Lehn * gstreamer/gstreamer.override: add wrapper for gst_element_set_state to release GIT lock 2002-12-14 David I. Lehn * configure.ac: bump gstreamer version to 0.5.0 * *: update to use sourceforge email address 2002-11-07 David I. Lehn * configure.ac: bump gstreamer version to 0.4.2, bump pygtk version to 1.99.13 * gstreamer/__init__.py: add "import pygtk; pygtk.require('2.0')" * examples/gstreamer/dvdplay.py: updated to maybe work with threads * pygtk.diff: add work-in-progress PyGTK threading improvements diff 2002-10-23 David I. Lehn * gstreamer/gstreamer.override: override gst_bin_iterate() to unblock threads since this call can cause exacution to re-enter the interpreter. 2002-10-04 David I. Lehn * gstreamer/gstreamer.override, gstreamer/gstreamer-fixes.h: add temporary hack to fix 0.4.1 s/gst/get/ typo in GST_TYPE_CAPS/PROPS() 2002-10-04 David I. Lehn * README: basic info. * COPYING: remove the literal "^L" strings. * configure.ac: require GStreamer core 0.4.1. * gstreamer/gstreamer-extra.defs: add boxed type defs, convert buffer get/set_data to methods vs functions. * gstreamer/gstreamer.overrides: remove boxed type generated code, adapt rest to boxed types. * examples/gstreamer/*: set interpreter to "python" vs "python2.2", adapt to newer generated code (Pipeline vs gst_pipeline_new()), adapt to newer api. 2002-05-09 David I. Lehn * examples/gstreamer/dvdplay.py: adjust state changes, use sdlvideosink (videosink segfaulting for me right now) * gstreamer/gstreamer.defs: remove * gstreamer/gstreamer-base.defs, gstreamer/gstreamer-xtra.defs, Makefile.am: create gstreamer.defs from h2defs.py output and local hacks 2002-04-15 David I. Lehn * examples/gstreamer/*.py: use new element connect api * gstreamer/__init__.py: use dl module flags in particular, RTLD_GLOBAL flags is required 2002-04-14 David I. Lehn * configure.ac: depend on gstreamer 0.3.4 * examples/gstreamer/*.py: s/elementfactory/element_factory/ * gstreamer/gstreamer-fixes.h, gstreamer/gstreamer-fixes.c: remove defs no longer needed due to upstream changes * gstreamer/gstreamer.defs: regen for 0.3.4 2002-03-24 David I. Lehn * examples/gstreamer/: add cp.py oggplay.py f2f.py dvdplay.py * gstreamer/gstreamermodule.c: strip GST_ prefix * gstreamer/__init__.py: find libtool lib hack 2002-03-23 David I. Lehn * stole binding framework from gnome-python && gconf * adapted to gstreamer