2017-10-21 Marcin Kolny Release 1.10.0 2017-10-21 Marcin Kolny Fix distclean build 2017-10-21 Marcin Kolny remove plugins-bad module 2017-10-19 Marcin Kolny Fix build with gstreamer < 1.12 Revert "Gst::AudioClock: auto generate some audioclock methods" This reverts commit 167eeba7757027e5faf8cdb59030ca094af04763. 2017-07-02 Marcin Kolny COPYING: FSF address in the license 2017-07-02 Marcin Kolny Gst::Iterator: fix iterator build https://bugzilla.gnome.org/show_bug.cgi?id=783678 2017-06-10 Marcin Kolny Gst::AudioClock: auto generate some audioclock methods Those methods used to have object of GstClock type as a first argument, so had to be wrapped manually. It has been fixed inGStreamer (https://bugzilla.gnome.org/show_bug.cgi?id=756628) in version 1.12.0 https://bugzilla.gnome.org/show_bug.cgi?id=783628 2016-12-11 Marcin Kolny Gst::SDP: add Gst::SDP::Media wrapper * .gitignore: add sdpmessage autogenerated files to ignore list * gstreamer/src/filelist.am: add sdpmessage to a build * gstreamer/src/sdpmessage.{ccg|hg}: add wrapper for GstSDPKey and GstSDPMedia classes. * tools/m4/convert_gst.m4: conversion for sdpmessage enum types 2016-12-02 Marcin Kolny configure: disable plugins-bad module by default 2016-12-02 Marcin Kolny Gst::NetClientClock: implement GstNetClientClock wrapper 2016-11-19 Marcin Kolny examples: add example for request pad usage This example uses tee element as an element with request pads 2016-11-15 Marcin Kolny plugins-bad: use flags and libs from gstreamer-gl pkg config file 2016-11-15 Marcin Kolny plugins: add deprecated ifdef to configuration file 2016-10-16 Marcin Kolny Gst::Pad: fix method wrapper * gstreamer/src/pad.hg: fix method proxy_query_accept_caps() 2016-10-12 Marcin Kolny Gst::Caps: include missing header 2016-10-07 Marcin Kolny Release 1.8.0 2016-10-03 Marcin Kolny Gst::Message: update Message API * examples/media_player_gtkmm/player_window.cc: fix warning. * gstreamer/src/message.{ccg|hg}: parse() method name for MessageError, add some methods to MessageProgress. 2016-09-28 Marcin Kolny doc: fix doxygen documentation 2016-09-27 Marcin Kolny Fix dist 2016-09-27 Marcin Kolny Add examples and tools COPYING to dist COPYING file is automatically added to dist 2016-09-27 Marcin Kolny Update required glibmm version 2016-09-27 Marcin Kolny MSVC: add visual studio 2015 support 2016-09-27 Marcin Kolny Tests: rename tests regression to integration 2016-09-27 Marcin Kolny Tests: fix test run in parallel mode 2016-09-26 Marcin Kolny gstreamermm.h: update header file 2016-09-26 Marcin Kolny Examples, tests: remove unnecessary glibmm includes 2016-09-26 Marcin Kolny Build fix 2016-09-26 Marcin Kolny Tests: fix build and dist unittests 2016-09-25 Marcin Kolny register.h: move code from base_init to class_init 2016-09-25 Marcin Kolny Tests: fix unittests 2016-09-22 Marcin Kolny Gst::Iterator: fix memory leak 2016-09-17 Marcin Kolny Fix warnings 2016-09-15 Marcin Kolny Examples: add example for dynamic pads 2016-09-15 Marcin Kolny Wrap missing methods 2016-08-31 Marcin Kolny Deprecate plugins API The API will be replaced by the standalone application which allow to generate API for the specific plugins https://bugzilla.gnome.org/show_bug.cgi?id=755395 2016-08-31 Marcin Kolny Examples: add more basic examples 2016-08-28 Marcin Kolny Examples: add few simple examples 2016-08-28 Marcin Kolny Gst::Pad: update class 2016-08-28 Marcin Kolny Gst::BaseTransform: fix vfunc methods 2016-08-27 Marcin Kolny gstreamermm.h: update main header 2016-08-27 Marcin Kolny Gst::TagList: remove todo tag Compiler always selects the most specific implementation, so we don't have to worry about those overrides 2016-08-27 Marcin Kolny docs: update doc, remove some todos 2016-08-27 Marcin Kolny Gst::Clock: implement destroy callback for wait_async() 2016-08-27 Marcin Kolny ClockUtils: move some clock-related artifacts to separated file 2016-08-27 Marcin Kolny docs: Update doxygen config for Doxygen 1.8.9.1 2016-08-27 Marcin Kolny Gst::Toc: update TOC class, documentation 2016-08-27 Marcin Kolny Gst::TocSetter: update interface 2016-08-27 Marcin Kolny Gst::TypeFindFactory: add missing method 2016-08-27 Marcin Kolny Gst::UriHandler: add missing enum, update docs. 2016-08-27 Marcin Kolny Gst::Value: replace some classes with template class 2016-08-27 Marcin Kolny Gst::Structure: fix setting glib::value field 2016-08-27 Marcin Kolny Examples: build fix 2016-08-27 Marcin Kolny Build: fix silent build 2016-07-12 Marcin Kolny Gst::Segment: update Segment class 2016-07-12 Marcin Kolny Gst::MapInfo: fix build 2016-07-12 Marcin Kolny Gst::Structure: refactoring * gstreamer/src/structure.{ccg|hg}: generic get/set field, wrap some functions. * tests/test-structure.cc: update tests. 2016-07-12 Marcin Kolny update some classes according to v1.8 2016-07-12 Marcin Kolny Gst::Event: review Event classes * gstreamer/src/event.{ccg|hg}: use m4 macros for wrapping Event classes, wrap missing methods. * tools/m4/convert_gst.m4: add conversions definitions. 2016-05-21 Marcin Kolny Gst::EncodingProfile: review * gstreamer/src/encodingprofile.{ccg|hg}: encoding profile class review. 2016-05-21 Marcin Kolny Gst::ElementFactory: wrap missing functions * gstreamer/src/elementfactory.{ccg|hg}: wrap get_uri_protocols (). 2016-05-21 Marcin Kolny Gst::Element: review GstElement wrapper * gstreamer/src/element.{ccg|hg}: add missing functions, vfunctions, documentation. * gstreamer/src/gst_vfuncs.defs: add some vfunc definitions. 2016-05-21 Marcin Kolny Gst::Discoverer: update wrappers. * gstreamer/src/discoverer.{ccg|hg}: * gstreamer/src/discovererinfo.{ccg|hg}: wrap missing methods, update documentation. * tools/m4/convert_gst.m4: add GstToc conversion definitio. 2016-05-21 Marcin Kolny Gst::Context: minors * gstreamer/src/context.{ccg|hg}: minor cleanup. 2016-05-21 Marcin Kolny Gst::ColorBalanceChannel: minor updates * gstreamer/src/colorbalancechannel.{ccg|hg}: update documentation, minor includes cleanup. 2016-05-21 Marcin Kolny Gst::ColorBalance: review ColorBalance wrapper * gstreamer/src/colorbalance.{ccg|hg}: * gstreamer/src/gst_vfuncs.defs: update documentation, add missing virtual method get_balance_type(). 2016-05-21 Marcin Kolny Gst::Clock: update wrapper * gstreamer/src/clock.{ccg|hg}: add missing synced() signal and gst_clock_unadjust_with_calibration() method. 2016-05-21 Marcin Kolny Gst::ChildProxy: renew childproxy interface * gstreamer/src/childproxy.{ccg|hg}: minor changes in the interface. 2016-05-21 Marcin Kolny Gst::AudioCdSrc: rename CddaBaseSrc to AudioCdSrc * gstreamer/src/audiocdsrc.{ccg|hg}: * gstreamer/src/cddabasesrc.{ccg|hg}: * gstreamer/src/filelist.am: * gstreamer/src/gst_vfuncs.defs: * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: * tools/m4/convert_gst.m4: rename CddaBaseSrc class to AudioCdSrc class. 2016-05-21 Marcin Kolny Gst::CapsFeatures: minor cleanups * gstreamer/src/capsfeatures.{ccg|hg}: update last review section, remove unnecessary include. 2016-05-21 Marcin Kolny Gst::Caps: review Caps class. * gstreamer/src/audioringbuffer.hg: build fix. * gstreamer/src/caps.{ccg|hg}: * gstreamer/src/structure.{ccg|hg}: add release() method. * tools/m4/convert_gst.m4: minors. 2016-05-21 Marcin Kolny Gst::Bus: minor changes * gstreamer/src/bus.{ccg|hg}: minors. * gstreamer/src/gst_docs_override.xml: override some documentation, to avoid pm warnings. 2016-05-21 Marcin Kolny Gst:Buffer: add missing member getters gstreamer/src/bin.{ccg|hg}: add some getters. tools/m4/convert_gst.m4: add missing conversion definition. 2016-05-21 Marcin Kolny Gst::BaseTransform: wrap missing virtual methods * gstreamer/src/basetransform.{ccg|hg}: update basetransform class. * gstreamer/src/gst_vfuncs.defs: update vfuncs definitions. * tools/m4/convert_gst.m4: add missing conversion (GstStructure). 2016-05-21 Marcin Kolny Gst::BaseSrc: update basesrc class * gstreamer/src/basesrc.{ccg|hg}: wrap missing virtual functions. * gstreamer/src/gst_vfuncs.defs: add vfuncs definitions. * tools/m4/convert_gst.m4: add BaseSrcFlags conversion definition. 2016-05-21 Marcin Kolny Gst::BaseSink: update basesink class * gstreamer/src/basesink.{ccg|hg}: add missing functions, remove unnecessary implementation of vfuncs. * gstreamer/src/gst_vfuncs.defs: add vfunc declarations. 2016-04-23 Marcin Kolny Gst::AudioSrc: minor changes in interface * gstreamer/src/audiosrc.{ccg|hg}: update read() vfunc interface. 2016-04-23 Marcin Kolny Gst::AudioSink: wrap write() vfunc using macro * gstreamer/src/audiosink.{ccg|hg}: fix write() vfunc, fix includes. * gstreamer/src/gst_vfuncs.defs: fix write() vfunc declaration. * tools/m4/convert_gst.m4: cleanup convert_gst.m4 file. 2016-04-23 Marcin Kolny Gst::AudioRingBuffer: minors * gstreamer/src/audioringbuffer.{ccg|hg}: 2016-04-23 Marcin Kolny Gst::AudioInfo: refactor class * gstreamer/src/audiofilter.hg: remove unnecessary conversion. * gstreamer/src/audioformat.{ccg|hg}: add constructor allowing create AudioFormatInfo object from underlying C structure. * gstreamer/src/audioinfo.{ccg|hg}: wrap AudioInfo as boxed type, add member getters/setters. * tools/m4/convert_gst.m4: add missing conversion. 2016-04-23 Marcin Kolny Gst::AudioFormatInfo: use value instead of pointer to underlying data * gstreamer/src/audioformat.{ccg|hg}: use value instaed of pointer for Gst::AudioFormatInfo class, wrap more properties. 2016-04-23 Marcin Kolny Gst::AudioFilter: don't wrap virtual function manually * gstreamer/src/audiofilter.{ccg|hg}: setup vfunc method can be wrapped using macro, it only requires custom conversion definition. * gstreamer/src/gst_vfuncs.defs: fix virtual method definition. * tools/m4/convert_gst.m4: add audioinfo conversion definition. 2016-04-23 Marcin Kolny Gst::AudioClock: wrap missing methods * gstreamer/src/audioclock.{ccg|hg}: wrap reset(), adjust(), get_time() and invalidate() methods. Most of them have to be wrapped manually, because GStreamer use GstClock object as first arugment for this methods. 2016-04-23 Marcin Kolny Gst::AudioBaseSrc: fix header dependencies * gstreamer/src/audiobasesrc.{ccg|hg}: move audioringbuffer include to .cc file. 2016-04-23 Marcin Kolny Gst::AudioBaseSink: wrap missing methods * gstreamer/src/audiobasesink.{ccg|hg}: wrap AudioBaseSinkDiscontReason enum, report_device_failure(), set_custom_slaving_callback() methods, payload() virtual function. * gstreamer/src/gst_vfuncs.defs: add definition of payload() virtual function. * tools/m4/convert_gst.m4: add conversion between newly wrapped enum. 2016-04-22 Marcin Kolny Gst::Allocator: minor improvements * gstreamer/src/allocator.hg: slightly change API. * tests/test-allocator.cc: update tests. * tools/m4/convert_gst.m4: update conversion definitions. 2016-04-15 Marcin Kolny Gst::Sample: increase reference in get_caps() * .gitignore: add generated test executable file to ignore list. * gstreamer/src/sample.{ccg|hg}: fix get_caps(), implement create(). * tests/Makefile.am: * tests/test-sample.cc: add test for Gst::Sample class. https://bugzilla.gnome.org/show_bug.cgi?id=765078 2016-04-15 Marcin Kolny Gst::Allocator: minor updates * gstreamer/src/allocator.hg: add missing documentation. 2016-04-11 Marcin Kolny Start working on 1.8 version, update defs, required version 2016-02-15 Marcin Kolny .defs: fix multisocketsing signal * gstreamer/src/gst_signals.defs: apply patch. * gstreamer/src/gst_signals.defs.patch: replace guint type with GSocket* for first argument in "client-removed" signal. 2015-10-16 Marcin Kolny revert 648b89f5fe715c7c96a5824df999e9f2acb6f220 Actually, initializing plugins doesn't take so much time. Moreover, there is no possibility to cast elements created by ElementFactory class. 2015-10-15 Marcin Kolny tests: fix tests build * tests/Makefile.am: downloaded gtest zip archive wasn't unzipped before compilation, so it's fixed now. 2015-10-15 Marcin Kolny audio: don't use deprecated auto_ptr * gstreamer/src/audiobasesrc.{ccg|hg}: * gstreamer/src/audioclock.hg: * gstreamer/src/audioringbuffer.{ccg|hg}: auto_ptr class has been deprecated since C++11, so we're replacing it with std::unique_ptr. 2015-10-14 Marcin Kolny Gst::Task: update Task wrapper * gstreamer/src/task.{ccg|hg}: add methods set_leave_slot() and set_enter_slot(), replace deprecated auto_ptr with unique_ptr. 2015-09-17 Marcin Kolny Gst::Structure: add methods for getting/setting all datatypes in structure * gstreamer/src/structure.hg: overload methods add_field() and get_field() to be able accept all data types. If data type is not registred as GType, it is done automatically. * tests/test-structure.cc: add tests for new methods. 2015-09-16 Marcin Kolny Gst::Caps: minor update * gstreamer/src/caps.hg: use new Gst::Structure constructor in create() method. 2015-09-16 Marcin Kolny Gst::Structure: class review * gstreamer/src/structure.{ccg|hg}: update comments, allow to initialize structure with fields. * tests/test-structure.cc: add test which checks constructor with variable arguments. 2015-09-15 Marcin Kolny Gst::Event: wrap ReconfigureEvent class https://bugzilla.gnome.org/show_bug.cgi?id=754660 * gstreamer/src/event.hg: 2015-08-28 Marcin Kolny Gst::ElementFactory: update wrapper * gstreamer/src/elementfactory.{ccg|hg}: remove unnecessary handcoded code, fix includes, update documentation. 2015-08-28 Marcin Kolny Gst::Element: minors * gstreamer/src/element.{ccg|hg}: remove handcoded methods, update documentation. * gstreamer/src/gst_extra_objects.defs: add Event to extra-object defs. 2015-08-28 Marcin Kolny Gst::Context: minors * gstreamer/src/context.{ccg|hg}: wrap _new() method using _WRAP_METHOD macro, add Gst::Context documentation. 2015-08-27 Marcin Kolny Gst::Clock: updates * gstreamer/src/clock.{ccg|hg}: update docs, wrap missing functions. * tools/m4/convert_gst.m4: add missing conversion definition. 2015-08-27 Marcin Kolny Gst::ChildProxy: update docs, wrap missing function * gstreamer/src/check.ccg: remove empty file. * gstreamer/src/childproxy.{ccg|hg}: wrap get_child_by_name() virtual function. * gstreamer/src/gst_vfuncs.defs: add get_child_by_name() virtual method definition. 2015-08-27 Marcin Kolny extra_defs_gen: fix warnings * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: disable deprecations warnings when compare returned GType with G_TYPE_VALUE_ARRAY (it's deprecated type, but might exists somewhere in gstreamer's plugins). Moreover, add G_TYPE_ARRAY comparision. * tools/extra_defs_gen/generate_plugin_module_defs_gst.cc: remove unused function parameter. 2015-08-27 Marcin Kolny build: fix dist build * Makefile.am: test-foo.h has been renamed a few commits ago, but old name has not been changed in EXTRA_DIST variable. This commit fixes this bug. 2015-08-27 Marcin Kolny Gst::CapsFeatures: improve construction methods * gstreamer/src/capsfeatures.{ccg|hg}: wrap create_any() and create_from_string() using _WRAP_METHOD macro, use std::initializer_list in constructor. Also comment for Gst::CapsFeatures class has been added. * gstreamer/src/gst_extra_object.defs: add CapsFeatures to extra-objects list. * tests/test-capsfeatures.cc: build fix test. * tools/m4/convert_gst.m4: add conversion definition (GstCapsFeatures* -> Gst::CapsFeatures). 2015-08-27 Marcin Kolny Gst::Caps: remove unused template parameter, add one more test * gstreamer/src/caps.hg: anonymous template parameter is unused inside function set_simple() so it has been removed. * tests/test-caps.cc: add test which checks auto-registration custom types on add it to a caps structure. 2015-08-26 Marcin Kolny Gst::Caps: improve set_simple() and create() method * gstreamer/src/caps.{ccg|hg}: use varadic templates for set_simple() and create() methods, so it is possible now to modify or create caps containing a few fields. Moreover, Gst::Caps documentation has been updated. * tests/test-caps.cc: add some tests proving changes introduced in this commit. 2015-08-26 Marcin Kolny Gst::Allocator: build fix * tools/m4/convert_gst.m4: add allocator conversion methods. 2015-08-26 Marcin Kolny Gst::BufferList: wrap missing functions * gstreamer/src/bufferlist.{ccg|hg}: wrap following functions: gst_buffer_list_{length|copy|copy_deep}(). 2015-08-26 Marcin Kolny Gst::Buffer: wrap new methods, polish code * gstreamer/src/buffer.{ccg|hg}: wrap gst_buffer_{copy_deep| is_all_memory_writable}(), remove unused includes. * gstreamer/src/gst_extra_objects.def: add GstBuffer to extra-object file. 2015-08-26 Marcin Kolny Gst::Bin: wrap missing methods * gstreamer/src/buffer.{ccg|hg}: wrap gst_bin_sync_children_states method, minor improvement (C++11). 2015-08-26 Marcin Kolny Gst::Allocator: wrap methods using gtkmmproc macros * gstreamer/src/allocator.{ccg|hg}: make register_allocator static method, wrap gst_allocator_find using _WRAP_METHOD macro. 2015-08-25 Marcin Kolny a few minors * gstreamer/src/allocator.hg: ignore some methods. * gstreamer/src/audiobasesink.ccg: fix include directives. * gstreamer/src/gst_extra_objects.defs: add videoframe class to extra-objects list. * gstreamer/src/urihandler.hg: wrap_vfunc macro call fix. * gstreamer/src/videochroma.hg: move wrap_method macro call into a class definition. 2015-08-25 Marcin Kolny Gst::Registry: update .hg file * gstreamer/src/registry.hg: wrap new method check_feature-version(), ignore non-existing methods. 2015-08-25 Marcin Kolny fix gtkmmproc warnings * gstreamer/src/discovererinfo.hg: * gstreamer/src/element.hg: * gstreamer/src/object.hg: * gstreamer/src/pad.hg: * gstreamer/src/plugin.hg: * gstreamer/src/pluginfeature.hg: * gstreamer/src/registry.hg: * gstreamer/src/taglist.hg: * gstreamer/src/task.hg: * gstreamer/src/urihandler.hg: remove entries which don't exist in .defs files. 2015-08-25 Marcin Kolny .defs: update defs * gst-plugins-bad/src/gst_docs.xml: * gst-plugins-bad/src/gst_enums.defs: * gst-plugins-bad/src/gst_methods.defs: * gstreamer/src/gst_docs.xml: * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_methods.defs: * gstreamer/src/gst_signals.defs: regenerate defs using gstreamer's current master branch. 2015-08-25 Marcin Kolny Gst::Pad: change type of query in SlotQuery to non-const reference * gstreamer/src/pad.hg: non-const reference allow user to casting between queries without increasing reference (see previous commit). 2015-08-25 Marcin Kolny tests: add one more test for Gst::Query class * tests/test-query.cc: some setters in query class must be called with writable object. New test checks, if casting between query types without loosing writability is possible, and shows, how to do it, if someone needs it. 2015-08-24 Marcin Kolny examples: update media_player_gtkmm example, minors * examples/audio_video_muxer/main.cc: fix indentations. * examples/media_player_gtkmm/main.cc: * examples/media_player_gtkmm/player_window.{cc|h}: fix gtk warnings, display video inside gtk window, minors. * tests/test-bin.cc: fix indentations. 2015-08-24 Marcin Kolny C++11: restore some overload methods Sometimes it might be convinient to have valid object after function call, so I restored some methods, which has been replaced by methods with r-value arguments. * gstreamer/src/bufferlist.ccg: * gstreamer/src/bufferlist.hg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: * gstreamer/src/registry.ccg: * gstreamer/src/registry.hg: restore some methods with const reference arguments. 2015-08-22 Marcin Kolny tests: fix indentatinos * tests/main.cc: * tests/plugins/derivedfromappsink.h: * tests/plugins/derivedfromappsrc.h: * tests/plugins/derivedfrombasetransform.h: * tests/plugins/foo.h: * tests/plugins/test-plugin-appsink.cc: * tests/plugins/test-plugin-appsrc.cc: * tests/plugins/test-plugin-derivedfromappsink.cc: * tests/plugins/test-plugin-derivedfromappsrc.cc: * tests/plugins/test-plugin-derivedfrombasetransform.cc: * tests/plugins/test-plugin-pushsrc.cc: * tests/plugins/test-plugin-register.cc: * tests/regression/pluginbin.h: * tests/regression/test-regression-bininpipeline.cc: * tests/regression/test-regression-binplugin.cc: * tests/regression/test-regression-rewritefile.cc: * tests/regression/test-regression-seekonstartup.cc: * tests/regression/test-regression-videoduration.cc: * tests/regression/utils.cc: * tests/test-allocator.cc: * tests/test-atomicqueue.cc: * tests/test-buffer.cc: * tests/test-bus.cc: * tests/test-caps.cc: * tests/test-capsfeatures.cc: * tests/test-ghostpad.cc: * tests/test-pad.cc: * tests/test-query.cc: * tests/test-structure.cc: * tests/test-taglist.cc: * tests/test-urihandler.cc: use the same indentations in test files. 2015-08-22 Marcin Kolny C++11: use rvalue references for transfer-full method parameters - part 2 This commit breaks the API. But version 1.6 of gstreamermm enables C++11 flag in compilers, so it's good time to change API slightly. Since version 1.6 gstreamermm's API will be marked as 'stable'. * .gitignore: update ignore list. * gstreamer/src/bufferlist.hg: * gstreamer/src/clock.hg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/registry.hg: update some method interfaces. * tests/Makefile.am: * tests/test-bufferlist.cc: add test for bufferlist class. * tools/m4/convert_gst.m4: add some conversion definitions. 2015-08-22 Marcin Kolny C++11: use rvalue references for transfer-full function parameters This commit breaks the API. But version 1.6 of gstreamermm enables C++11 flag in compilers, so it's good time to change API slightly. Since version 1.6 gstreamermm's API will be marked as 'stable'. * gstreamer/src/allocator.ccg: * gstreamer/src/allocator.hg: * gstreamer/src/buffer.ccg: * gstreamer/src/buffer.hg: * gstreamer/src/bus.ccg: * gstreamer/src/bus.hg: * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: use rvalues for some function parameters. * tests/plugins/foo.h: * tests/regression/test-regression-seekonstartup.cc: * tests/test-allocator.cc: * tests/test-buffer.cc: * tests/test-bus.cc: * tests/test-caps.cc: * tests/test-pad.cc: update tests. * tools/m4/convert_gst.m4: add rvalues conversion definitions. 2015-08-20 Marcin Kolny build: fix 'configure' warnings * configure.ac: add subdir-objects parameter, minors. * examples/Makefile.am: conditionally set _SOURCES and _LDADD of optional examples. 2015-08-08 Michał Wróbel Gst::Element: fix refcounting in post_message() https://bugzilla.gnome.org/show_bug.cgi?id=752790 * .gitignore: add test-element output file to ignored list. * gstreamer/src/element.hg: fix refcounting post_message() by changing its argument type to rvalue reference which will make the wrapper use transfer full convention. * gstreamer/src/pad.ccg: provide an rvalue to post_message(). * tests/Makefile.am: * tests/test-element.cc: add PostMessageShouldProperlyRefcountGivenMessage. 2015-08-08 Marcin Kolny convert: add one more GstMessage conversion * tools/m4/convert_gst.m4: add conversion definition from Gst::Message rvalue reference refptr to GstMessage pointer. 2015-08-08 Marcin Kolny tests: fix signed-compare error * gstreamer/gstreamermm/register.h: * tests/test-allocator.cc: * tests/test-atomicqueue.cc: * tests/test-bin.cc: * tests/test-buffer.cc: * tests/test-capsfeatures.cc: * tests/test-init.cc: some constant values had to be replaced with 'unsigned' literals. 2015-08-07 Marcin Kolny C++11: use nullptr * gstreamer/gstreamermm/atomicqueue.h: * gstreamer/gstreamermm/init.cc: * gstreamer/gstreamermm/register.h: * gstreamer/src/allocator.ccg: * gstreamer/src/audioringbuffer.ccg: * gstreamer/src/basesink.ccg: * gstreamer/src/buffer.ccg: * gstreamer/src/bufferlist.ccg: * gstreamer/src/caps.ccg: * gstreamer/src/capsfeatures.ccg: * gstreamer/src/childproxy.ccg: * gstreamer/src/clock.ccg: * gstreamer/src/discovererinfo.ccg: * gstreamer/src/element.ccg: * gstreamer/src/event.ccg: * gstreamer/src/iterator.hg: * gstreamer/src/message.ccg: * gstreamer/src/miniobject.ccg: * gstreamer/src/mixer.ccg: * gstreamer/src/pad.ccg: * gstreamer/src/parse.ccg: * gstreamer/src/preset.ccg: * gstreamer/src/query.ccg: * gstreamer/src/structure.ccg: * gstreamer/src/taglist.ccg: * gstreamer/src/typefind.ccg: * gstreamer/src/urihandler.ccg: replace 'NULL' and '0' with nullptr where possible. 2015-08-07 Marcin Kolny build: use MM_AX_CXX_COMPILE_STDCXX_11 macro from mm-common. * build/ax_cxx_compile_stdcxx_11.m4: remove unused file. * configure.ac: use macro from mm-common module. 2015-08-07 Michał Wróbel Prefix TagList with Gst:: namespace https://bugzilla.gnome.org/show_bug.cgi?id=752728 * gstreamer/src/discovererinfo.hg: prefix TagList with Gst::. 2015-07-31 Marcin Kolny tests: download gtest sources from its website Quote from bug report: > According to Google Test FAQ [1], linking with pre-compiled gtest is no > longer recommended. Autoconf script bundled with gtest [2] is considered > deprecated and thus system package maintainers use it as an excuse to make > it unusable (at least Ubuntu 14.04 does so - they don't provide a proper > gtest-config file). https://bugzilla.gnome.org/show_bug.cgi?id=750602 * .gitignore: add downloaded files to ignore list. * configure.ac: add --disable-unittests flag to configuration script. * tests/Makefile.am: add gtest sources to test builds. 2015-07-31 Marcin Kolny .defs: fix enum's patch * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_enums.defs.patch: add missing replacements, apply new patch to gst_enums.defs. 2015-07-30 Marcin Kolny plugins: wrap almost all base and core plugins * .gitignore: add autogenerated files to ignore list * configure.ac: update plugins list, increase required gstreamer version. * gstreamer/src/encodingprofile.{ccg|hg}: wrap GstEncodingProfile structure. * gstreamer/src/enums.{ccg|hg}: add some enums shared with multiple plugins. * gstreamer/src/filelist.am: add new files to a build. * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_enums.defs.patch: handwrite some enums. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: minor. * tools/m4/convert_gst.m4: * tools/plugingen_gstreamermm.m4: add some enum conversions. 2015-07-30 Marcin Kolny gstreamermm-plugins-bad: use Gst::Bad namespace for plugins-bad module * configure.ac: gstreamermm requires newest version of glibmm module, because of improvements in generate_wrap_init.pl script. * gst-plugins-bad/gstreamermm-plugins-bad/wrap_init.h: use Gst::Bad namespace for wrap_init function. * gst-plugins-bad/src/Makefile.am: use Gst::Bad namespace as a global namespace in plugins-bad module. * gst-plugins-bad/src/glbasefilter.hg: * gst-plugins-bad/src/glfilter.hg: remove _GMMPROC_EXTRA_NAMESPACE macro (it's not necessary anymore). 2015-07-30 Marcin Kolny extra_defs_gen: add application for generating plugins defs * .gitignore: add binary file to ignored list * gstreamer/src/gst_signals.defs: * gstreamer/src/gst_signals.defs.patch: regenerate defs files. * tools/Makefile.am: add new application to a build. * tools/extra_defs_gen/generate_defs_gst.cc: remove generating plugins definitions from generate_defs_gst application. * tools/extra_defs_gen/generate_plugin_module_defs_gst.cc: add source of application generating plugins definitions. * tools/extra_defs_gen/get_plugin_defs.{cc|h}: remove unused library. * tools/gen_scripts/generate_extra_defs.sh: update script generator. 2015-07-30 Marcin Kolny extra_defs_gen: add missing core/base-plugins * gstreamer/src/gst_signals.defs: regenerate defs. * tools/extra_defs_gen/generate_defs_gst.cc: add elements: concat, downloadbuffer, encodebin, multisocketsink, playsink, socketsrc, streamsynchronizer. Remove elements: gnomevfssink, gnomevfssrc. 2015-07-29 Marcin Kolny build: autogenerate gstreamermm-plugins-bad.h header * .gitignore: add autogenerated file to ignore list * Makefile.am: conditionally add gstreamermm-plugins-bad.h file to installed headers list. * build/gstreamermm.m4: share info about enabled modules with preprocessor. * configure.ac: gstreamermm-plugins-bad.h as config header file. * gst-plugins-bad/gstreamermm/plugins-bad.h.in: add input header file for gstreamermm-plugins-bad module. 2015-07-29 Marcin Kolny build: make wrap plugins more convenient * .gitignore: add autogenerated file with plugins to ignore list * autogen.sh: create plugins file before autoreconf (if doesn't exist). * build/gstreamermm.m4: add macro for generating plugins .am file. * configure.ac: split plugins definitions to "core" and "base". Move plugins existence verification to .m4 file. * gst-plugins-bad/gstreamermm-plugins-bad/Makefile.am: add gstreamer's CFLAGS to plugins-bad's cppflags. * gstreamer/gstreamermm/Makefile.am: include autogenerated file with plugins list. * gstreamer/src/filelist.am: remove plugin_hg variable. This variable is autogenerated now. * gstreamer/src/gst_enums.defs: add missing enum's definition. 2015-07-24 Marcin Kolny build: add missing dependencies * build/gstreamermm.m4: remove ununecessary 'v' letter before version number. * configure.ac: add gstreamer-{allocators|rtsp}-1.0 dependencies. 2015-07-24 Marcin Kolny GLFilter: build fix * gst-plugins-bad/src/glfilter.hg: conversion methods required add Gst:: namespace. 2015-07-24 Marcin Kolny build: fix compile flags * gst-plugins-bad/gstreamermm-plugins-bad/Makefile.am: add libgstreamermm dependency. 2015-07-23 Michał Wróbel Uniformly prefix types with Gst:: namespace In contrary to C++ compiler, gmmproc doesn't look at type declarations and doesn't analyze the current namespace. Therefore despite having the code wrapped in a Gst namespace, gmmproc sees Class and Gst::Class as different types. This makes it easy for gstreamermm developer to make a mistake which causes gmmproc fail to find proper type conversions even though they seem to be defined. To avoid mistakes like this it is best to keep uniformity by explicitly using Gst:: namespace either everywhere or nowhere. This patch provides the uniformity by applying explicit Gst:: usage. https://bugzilla.gnome.org/show_bug.cgi?id=752728 * gstreamer/src/allocator.hg: prefix AllocationParams with Gst::. * gstreamer/src/audioringbuffer.hg: prefix ClockTime with Gst::. * gstreamer/src/basesink.hg: prefix ClockTime, ClockTimeDiff, ClockReturn and FlowReturn with Gst::. * gstreamer/src/basesrc.hg: prefix ClockTime with Gst::. * gstreamer/src/basetransform.hg: prefix ClockTime and ClockTimeDiff with Gst::. * gstreamer/src/clock.hg: prefix ClockTime and ClockTimeDiff with Gst::. * gstreamer/src/colorbalance.hg: prefix ColorBalanceChannel with Gst::. * gstreamer/src/discoverer.hg: prefix DiscovererInfo with Gst::. * gstreamer/src/discovererinfo.hg: prefix DiscovererStreamInfo with Gst::. * gstreamer/src/event.hg: prefix ClockTime and ClockTimeDiff with Gst::. * gstreamer/src/message.hg: prefix ClockTime with Gst::. * gstreamer/src/object.hg: prefix Object with Gst::. * gstreamer/src/taglist.hg: prefix TagFlg with Gst::. * gstreamer/src/urihandler.hg: prefix URIType with Gst::. * gstreamer/src/videoframe.hg: prefix VideoInfo and VideoFrame with Gst::. * gstreamer/src/videoinfo.hg: prefix VideoInfo with Gst::. * tools/m4/convert_gst.m4: prefix AllocationParams, ClockTime, ClockTimeDiff, ColorBalanceChannel, DiscovererInfo, DiscovererStreamInfo, MiniObject, Object, QueryType, TagFlag, URIType, VideoInfo, VideoFrame with Gst::. 2015-07-23 Michał Wróbel Gst::BaseTransform: fix missing type conversion https://bugzilla.gnome.org/show_bug.cgi?id=752723 * tools/m4/convert_gst.m4: define conversion from GstBuffer* to const Glib::RefPtr&. 2015-07-22 Marcin Kolny build: change install dir for gstreamermm-plugins-bad headers * gst-plugins-bad/gstreamermm-plugins-bad.pc.in: * gst-plugins-bad/gstreamermm-plugins-bad/Makefile.am: change install headers directory to ${includedir}/gstreamermm-${GSTREAMERMM_API_VERSION}. 2015-07-22 Marcin Kolny build: fix *.pc files * gst-plugins-bad/gstsreamermm-plguins-bad-uninstalled.pc.in: * gst-plugins-bad/gstsreamermm-plguins-bad.pc.in: update modules. 2015-07-22 Marcin Kolny .defs: add vfuncs def to gst-plugins-bad * gst-plugins-bad/src/filelist.am: add vfunc def file to build filelist. * gst-plugins-bad/src/gst.defs: add vfunc def file. * gst-plugins-bad/src/gst_vfuncs.defs: add gl* virtual methods definitions. * gstreamer/src/gst_vfuncs.defs: remove gl* virtual methods, definitions, move them to gst-plugins-bad directory. 2015-07-22 Marcin Kolny gen_scripts: add gst-plugins-bad to gen_scripts * gst-plugins-bad/src/gst_docs.xml: * gst-plugins-bad/src/gst_enums.defs: * gst-plugins-bad/src/gst_methods.defs: add gst-plugins-bad defs files. * gstreamer/src/gst_docs.xml: * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_enums.defs.patch: * gstreamer/src/gst_methods.defs: update gstreamer and gst-plugins-base defs files. * tools/gen_scripts/generate_docs.sh: * tools/gen_scripts/generate_enums.sh: * tools/gen_scripts/generate_methods.sh: add to gen-scripts generatign gst-plugins-bad definitions. 2015-07-22 Marcin Kolny examples: enable opengl example * examples/Makefile.am: add gstreamermm-plugins-bad dependency, minor improvements. * examples/opengl_filter/sample_gl_filter.h: fix namespaces, includes. 2015-07-22 Marcin Kolny build: add requirements depends on enabled modules * Makefile.am: don't build plugins-bad if this module is not enabled. * build/gstreamermm.m4: add macro ADD_MODULE_CONDITIONALLY. * configure.ac: generate GSTREAMERMM_PLUGINS_BAD_MODULES depends on enabled modules. 2015-07-21 Marcin Kolny build: improve configuration scripts * build/gstreamermm.m4: add dependency conditions parameter to FIND_GST_MODULE macro. * configure.ac: define gl dependency * gst-plugins-bad/src/filelist.am: * gstreamer/src/filelist.am: clean up 2015-07-21 Marcin Kolny gstreamermm-plugins-bad: create build infrastructure for gst-plugins-bad * .gitignore * Makefile.am * configure.ac * examples/Makefile.am * gst-plugins-bad/gstreamermm-plugins-bad-uninstalled.pc.in * gst-plugins-bad/gstreamermm-plugins-bad.pc.in * gst-plugins-bad/gstreamermm-plugins-bad/Makefile.am * gst-plugins-bad/gstreamermm-plugins-bad/filelist.am * gst-plugins-bad/gstreamermm-plugins-bad/private/.gitignore * gst-plugins-bad/gstreamermm-plugins-bad/wrap_init.h * gst-plugins-bad/src/Makefile.am * gst-plugins-bad/src/filelist.am * gstreamer/src/glbasefilter.ccg -> gst-plugins-bad/src/glbasefilter.ccg * gstreamer/src/glbasefilter.hg -> gst-plugins-bad/src/glbasefilter.hg * gstreamer/src/glfilter.ccg -> gst-plugins-bad/src/glfilter.ccg * gstreamer/src/glfilter.hg -> gst-plugins-bad/src/glfilter.hg * gst-plugins-bad/src/gst.defs * gstreamer/src/filelist.am 2015-07-17 Marcin Kolny build: add macro for finding gstreamer modules * build/gstreamermm.m4: add file with m4 build macros (FIND_GST_MODULE). * configure.ac: use new macro in configure script. * examples/Makefile.am: * gstreamer/src/filelist.am: update variable name. 2015-07-17 Marcin Kolny build: build gl libraries conditionally * configure.ac: check whether gstreamer-gl exists, add --disable-gl, flag, print build info after configuration. * examples/Makefile.am: build gl_examples conditionally. * gstreamer/src/filelist.am: add gl* wrappers only if gstreamer-gl is enabled. 2015-07-16 Marcin Kolny Gst::GLBaseFilter, Gst::GLFilter: fix gl wrappers * examples/Makefile.am: * examples/opengl_filter/main.cc: * examples/opengl_filter/sample_gl_filter.h: add example for GLFilter class. * gstreamer/src/glbasefilter.hg: fix gl_start virtual method (this method should return true, if implementation doesn't exist). * gstreamer/src/glfilter.{ccg|hg}: wrap few more methods. 2015-07-16 Marcin Kolny configure.ac: enable gstreamer-gl-1.0 libs * configure.ac: add gstreamer-gl-1.0 library dependency. 2015-07-13 Marcin Kolny Gst::BaseTransform: fix transform_vfunc method * gstreamer/src/basetransform.{ccg|hg}: transform_vfunc_callback increases buffer refcount before passing it to transform_vfunc, but some transform* methods require writable buffer. transform_vfunc_callback has to be handcrafted, because refcount managment isn't trivial in this case. It should be done by using std::move and RefPtr move constructor. 2015-07-13 Marcin Kolny Gst::BaseTransform: fix transform_vfunc method * gstreamer/src/basetransform.{ccg|hg}: transform_vfunc_callback increases buffer refcount before passing it to transform_vfunc, but some transform* methods require writable buffer. transform_vfunc_callback has to be handcrafted, because refcount managment isn't trivial in this case. It should be done by using std::move and RefPtr move constructor. 2015-07-13 Marcin Kolny tools: update wrapped enums list * tools/m4/plugingen_gstreamermm.m4: update already wrapped enums, add some necessary translations. 2015-07-13 Marcin Kolny Require C++11. configure.ac: Use AX_CXX_COMPILE_STDCXX_11 to check for compiler support for C++11 and use it (--std=c++11 for current versions of g++). Among other reasons, this is because glibmm now requires C++11, and its gmmrpoc generates C++11 code. 2015-07-11 Marcin Kolny tools: update wrapped enums list * tools/m4/plugingen_gstreamermm.m4: update already wrapped enums, add some necessary translations. 2015-07-11 Marcin Kolny Require C++11. configure.ac: Use AX_CXX_COMPILE_STDCXX_11 to check for compiler support for C++11 and use it (--std=c++11 for current versions of g++). Among other reasons, this is because glibmm now requires C++11, and its gmmrpoc generates C++11 code. 2015-07-08 Marcin Kolny Gst::GLBaseFilter, Gst::GLFilter: wrap some classes from gst-plugins-bad * .gitignore: add autogenerated files to ignore list. * gstreamer/src/glbasefilter.{ccg|hg}: add glbasefilter wrapper. * gstreamer/src/glfilter.{ccg|hg}: add glfilter wrapper. * gstreamer/src/basesink.hg: * gstreamer/src/basesrc.hg: * gstreamer/src/basetransform.hg: remove in-place conversions (move to convert_gst.m4 file). * gstreamer/src/filelist.am: add glbasefilter and glfilter to a build. * gstreamer/src/gst_vfuncs.defs: add virtual functions definitions from glbasefilter and glfilter classes. * tools/m4/convert_gst.m4: move Buffer conversion from .hg files. 2015-07-08 Marcin Kolny defs: update generator scripts, defs * gstreamer/src/gst_{enums|methods}.defs: * tools/gen_scripts/generate_{enums|methods}.sh: generate enums and methods defs from gst-plugins-bad. 2015-07-07 Marcin Kolny Gst::VideoFrame: add GstVideoFrame wrapper * .gitignore: add videoframe autogenerated files to ignore list. * gstreamer/src/filelist.am: add videoframe to build. * gstreamer/src/videoframe.{ccg|hg}: add gstvideoframe wrapper. * tools/m4/convert_gst.m4: add a few necessary convert definitions. 2015-07-07 Marcin Kolny Gst::VideoInfo: wrap VideoInfo as _CLASS_GENERIC GstVideoInfo object usually is static allocated, and boxedtype can store only dynamic allocated structures. * gstreamer/src/videoinfo.{ccg|hg}: add custom constructors, destructor, operator= in VideoInfo class. 2015-07-06 Marcin Kolny Gst::VideoChroma: wrap video-chroma module * .gitignore: add autogenerated files to ignore list. * gstreamer/src/filelist.am: add videochroma file to build list. * gstreamer/src/videochroma.{ccg|hg}: add videochroma wrapper. * gstreamer/src/videoinfo.hg: add chroma_site parameter accessors. * tools/m4/convert_gst.m4: add VideoChromaSite enum conversion definition. 2015-07-06 Marcin Kolny Gst::VideoInfo: wrap videoinfo structure * .gitignore: add autogenerated files to ignore list. * gstreamer/src/filelist.am: add videoformat and videoinfo entries. * gstreamer/src/videoformat.{ccg|hg}: add videoformat wrapper. * gstreamer/src/videoinfo.{ccg|hg}: add videoinfo wrapper. * tools/m4/convert_gst.m4: add conversion of some enums. 2015-07-06 Marcin Kolny defs: regenerate defs files * gstreamer/src/gst_docs.xml: * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_enums.defs.patch: * gstreamer/src/gst_methods.defs: * gstreamer/src/gst_signals.defs: regenerate defs using gstreamer's current master branch. 2015-07-06 Michał Wróbel Gst::Caps: move inline _CONVERSION definitions to convert_gst.m4 * gstreamer/src/basesink.hg: * gstreamer/src/basesrc.hg: * gstreamer/src/basetransform.hg: remove inline _CONVERSION definitions. * tools/m4/convert_gst.m4: add _CONVERSION definitions globally. 2015-06-29 Marcin Kolny .gitignore: update ignore file list * .gitignore: add to ignore list executable files of recently added tests. 2015-06-29 Marcin Kolny Gst::Pad: fix ref leak (bgo#751504) * gstreamer/src/pad.{ccg|hg}: fix ref leak in get_pad_template_caps method, add non-const version of this method. * tests/test-pad.cc: add tests for get_pad_template_caps method. 2015-06-29 Michał Wróbel Tests: improve and re-enable RegisterPluginTest tests * tests/plugins/test-plugin-register.cc: enable plugin tests, add more asserts. 2015-06-29 Michał Wróbel Gst::Allocator: fix ref of alloc() return value This is https://bugzilla.gnome.org/show_bug.cgi?id=751601 in progress. * gstreamer/src/allocator.hg: fix virtual method alloc_vfunc. * tests/test-allocator.cc: add a few tests for Allocator class. 2015-06-29 Michał Wróbel Gst::BaseSink: fix refs of basesink's virtual methods return values This is https://bugzilla.gnome.org/show_bug.cgi?id=751601 in progress. * gstreamer/src/basesink.hg: fix virtual methods: get_caps_vfunc and fixate_vfunc. * tests/Makefile.am: * tests/plugins/derivedfromappsink.h * tests/plugins/test-plugin-appsink.cc: * tests/plugins/test-plugin-derivedfromappsink.cc: add some test for appsink class. 2015-06-29 Michał Wróbel Gst::BaseSink: use macros for wrapping some virtual methods. * gstreamer/src/basesink.ccg: * gstreamer/src/basesink.hg: use _VRAP_VFUNC macro with return_value parameter for generating event_vfunc and set_caps_vfunc methods instead of handcrafted code. 2015-06-29 Michał Wróbel Gst::BaseSrc: fix refs of {get_caps,fixate}() return values This is https://bugzilla.gnome.org/show_bug.cgi?id=751601 in progress. * gstreamer/src/basesrc.ccg: initialize pointer. * gstreamer/src/basesrc.hg: fix virtual methods: get_caps and fixate. * tests/Makefile.am: add appsrc test to a build. * tests/plugins/derivedfromappsrc.h: * tests/plugins/test-plugin-appsrc.cc: * tests/plugins/test-plugin-derivedfromappsrc.cc: add a few appsrc tests. The patch includes unit tests which should fail if the fixes done in gstreamer/src/basesrc.{ccg,hg} are not applied. 2015-06-29 Michał Wróbel Gst::BaseTransform: fix refs of {fixate,transform}_caps() return values This is https://bugzilla.gnome.org/show_bug.cgi?id=751601 in progress. * gstreamer/src/basetransform.hg: fix virtual methods transform_caps and fixate_caps. * tests/Makefile.am: add basetransform test to a build. * tests/plugins/derivedfrombasetransform.h: * tests/plugins/test-plugin-derivedfrombasetransform.cc: add basetransformunit tests which should fail if the fix done in gstreamer/src/basetransform.hg is not applied. 2015-06-29 Michał Wróbel Tests: clean-ups in tests/*/*.h * tests/plugins/foo.h: * tests/plugins/test-foo.h: rename test-foo.h to foo.h: - test-foo.h doesn't define any test, only the foo plugin, - to be consistent with tests/regression/pluginbin.h. * tests/plugins/test-plugin-register.cc: update include to foo.h. * tests/regression/pluginbin.h: * tests/regression/utils.h: uniform #include guard name template. 2015-06-29 Michał Wróbel Tests: tests/Makefile.am clean-ups * tests/Makefile.am: changes to increase readibility and ease adding new tests: - alphabetical sorting, - one entry per line, - alignment of common parts of definitions, - spaces instead of tabs (so that the alignment is good independently of tab stops). 2015-06-08 Marcin Kolny Gst::Caps: increase refcount in *_Boxed wrapper on getting value * gstreamer/src/caps.{ccg|hg}: increase refcount in get() method. * tests/test-caps.cc: add test. 2015-04-27 Marcin Kolny .gitignore: ignore doxygen autogenerated file .gitignore: ignore file containing doxygen css styles. 2015-02-28 Marcin Kolny Gst::Memory: wrap unwrapped methods * .gitignore: add test bin files to ignored list. * gstreamer/src/gst_extra_objects.defs: add definition of GstMemory object to a *.defs file. * gstreamer/src/mapinfo.hg: remove unnecessary header. * gstreamer/src/memory.{ccg|hg}: wrap methods: gst_memory_{is_type| share|resize|is_span|map|unmap|copy|init|get_sizes|make_mapped}. * tests/Makefile.am: add memory test to makefile. * tests/test-memory.cc: simple memory testcase. * tools/m4/convert_gst.m4: define additional conversions for allocator and memory classes. 2015-02-28 Marcin Kolny Gst::Message: wrap missing Message classes * gstreamer/src/message.{ccg|hg}: wrap method MessageDurationChanged, MessageQos, MessageStreamStart, MessageHaveContext, MessageNeedContext, MessageResetTime, MessageToc, MessageProgress. Fix *_create methods in existing classes(don't take copy on creating new message). * tests/Makefile.am: add message test to a build. * tests/regression/test-regression-seekonstartup.cc: * tests/test-bus.cc: apply interface changes in tests. * tools/m4/convert_gst.m4: convert ProgressType enum. 2015-02-27 Marcin Kolny Gst::Bus: fix post method * gstreamer/src/bus.{ccg|hg}: post method takes message argument, which is fully transfered to this method. User should be able to pass object with refcount equals 1, so message RefPtr is reseting inside this method. To access to object even after post method call, new RefPtr object should be created. E.g.: RefPtr msg = MessageEos::create(RefPtr()); RefPtr msg2 = msg; bus->post(msg); msg2->get_refcount(); // still have access to msg gobj through // msg2 RefPtr. Refcount equals 1 2015-02-27 Marcin Kolny Gst::Structure: minor improvements * gstreamer/src/structure.{ccg|hg}: wrap gst_structure_get_int64, remove gst_structure_get_clock_time and replace it by gst_structure_get_uint64, which can be used to acquire ClockTime too. * gstreamer/src/caps.hg: restore gst_caps_new_any() method. 2015-02-27 Marcin Kolny Gst::Caps: wrap unwrapped methods from gstreamer 1.4 * gstreamer/src/bus.hg: minor, add method to ignored. * gstreamer/src/caps.{ccg|hg}: wrap methods: gst_caps_{fixate| is_strictly_equal|copy|is_subset_structure| is_subset_structure_full}. New methods (added in v1.6) will be wrapped soon. 2015-02-26 Marcin Kolny Gst::BaseTransform: wrap BaseTransform methods * gstreamer/src/basetransform.{ccg|hg}: wrap methods: gst_base-transform_{reconfigure_sink|reconfigure_src| set_prefered_passthrough|get_allocator). One method left to wrap - gst_base_transform_get_buffer_pool - because GstBufferPool is not wrapped yet. 2015-02-26 Marcin Kolny Gst::BaseSrc: wrap almost all missing methods from BaseSrc * gstreamer/src/basesrc.{ccg|hg}: wrapp following methods: gst_base_src_{set_caps|start_wait|set_dynamic_size|set_async| is_async|start_complete|set_automatic_eos|get_allocator). One more method left(gst_base_src_get_buffer_pool), but GstBufferPool struct is not wrapped yet. 2015-02-26 Marcin Kolny Gst::BaseSink: wrap methods and properties from BaseSink class * gstreamer/src/basesink.hg: wrap properties: last-sample, enable-last-sample, max-bitrate, and methods: gst_base_sink_get_last_sample, gst_base_sink_{get|set}_max_bitrate, gst_base_sink_{set|is}_last_sample_enabled. 2015-02-26 Marcin Kolny Gst::AudioBaseSink: wrapp missing methods * gstreamer/src/audiobasesink.hg: implement wrapper method for gst_audio_base_sink_{set|get}_alignment_threshold, gst_audio_base_sink_{set|get}_discont_wait. 2015-02-26 Marcin Kolny Tests: replace plugins from gst-plugins-good by core plugins Minimum requirement to build gstreamermm in maintainer mode is gstreamer and gst-plugins-base. So plugins from other packages can't be used in tests. Moreover, core plugins are sufficient for tests. * tests/regression/test-regression-bininpipeline.cc: replace jpg codecs with queues. * tests/regression/test-regression-binplugin.cc: jpg encoder is replaced with queue. * tests/regression/test-regression-seekonstartup.cc: replace autovideosink with ximagesink plugin. * tests/test-caps.cc: use capsfilter instead of multifilesrc. 2015-02-26 Marcin Kolny defs: regenerate defs files * gstreamer/src/gst_docs.xml: * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_methods.defs: * gstreamer/src/gst_signals.defs: generate defs files for gstreamer's master branch. * tools/gen_scripts/generate_docs.sh: remove non-existing directories, add missing dirs. 2015-02-24 Marcin Kolny Release 1.4.3 * NEWS: * configure.ac: prepare for a new release. 2015-02-24 Marcin Kolny Gst::Structure: added datetime support to a structure * gstreamer/src/structure.{ccg|hg}: wrapped methods which supports date and time. * tests/test-structure.cc: additional unittests added. 2015-02-24 Marcin Kolny Gst::Message: fixed MessageApplication's methods * gstreamer/src/message.{ccg|hg}: structure cannot be null pointer in a message application, so one-argument factory method is not necessary. Two-parameters method should acquire const-reference, because object is not modified anyway. * tests/regression/test-regression-seekonstartup.cc: fixed testcase according to a new interface. * tools/m4/convert_gst.m4: additional conversion for structure added. 2015-02-24 Marcin Kolny Warnings fixed * configure.ac: * gstreamer/src/filelist.am: temporary disable multisocketsink and videoconvert (because of warnings). * gstreamer/src/miniobject.ccg: * test/test-bin.cc: fix "unused argument" warning. 2015-01-28 Rafał Rawicki msvc: build fix * MSVC_2010/gstreamermm/gstreamermm.vcxproj: * MSVC_2010/gstreamermm/gstreamermm.vcxproj.filters: added missing file(capsfeatures.cc) to a project file. 2015-01-28 Marcin Kolny Gst::Buffer: copy_into method now as a static method * gstreamer/src/buffer.hg: syntax buff1->copy_into(buff2) isn't clear for developers. It suggests, that buff1 is copied into buff2. Reverse order might be confusing for users, who already knows c-style syntax of copying methods, so compromise is here to make copy_into method as a static. * tests/test-buffer.cc: added tests for copy_into method. 2014-11-28 Marcin Kolny Gst::Pad: added a few constversion methods in Gst::PadProbeInfo class * gstreamer/src/pad.hg: added constversion for accessing methods: query, event, buffer and bufferlist. To have an access to mentioned objects, we had to remove const-ness of PadProbeInfo object. It was bothering and pointless. Now it can be done without const-casting. 2014-11-27 Marcin Kolny Gst::Caps: fixed truncate method * gstreamer/src/caps.{ccg|hg}: truncate method takes as a first argument object instance which is transfer-full parameter. We need to do increase reference to avoid gobject errors. 2014-11-25 Marcin Kolny Gst::QueryAllocation: fixed methods using AllocationParams objects * gstreamer/src/query.ccg: accessing to a gobject was done incorrect - not by gobj() method, but by dereferencing this object. AllocationParams holds pointer, to a GstAllocationParams, and not to a object, that's why previous solution didn't work fine. * tests/test-query.cc: added test which proves this fix. 2014-11-25 Marcin Kolny Gst::ElementClass: added accessor to a gobject member * gstreamer/gstreamermm/register.h: a few methods are not wrapped in GstElementClass, so accessor to an GstElementClass object may be useful. 2014-11-21 Marcin Kolny Gst::Caps: added methods interrelated with Gst::CapsFeatures class * gstreamer/src/caps.{ccg|hg}: wrapped following methods: gst_caps_append_structure_full, gst_caps_merge_structure_full, gst_caps_get_features, gst_caps_set_features. 2014-11-21 Marcin Kolny Gst::CapsFeatures: wrapped GstCapsFeatures boxed structure * .gitignore: added capsfeatures generated files. * gstreamer/gstreamermm.h: added capsfeatures header to main header file. * gstreamer/src/capsfeatures.{ccg|hg}: implementation of GstCapsFeatures wrapper. * gstreamer/src/filelist.hg: added new wrapper to a build file list. * tests/Makefile.am: added capsfeatures class test file to a testfile list. * tests/test-capsfeatures.cc: added a few simple capsfeatures tests. * tools/m4/convert_gst.m4: added conversions between GstCapsFeatures and its wrapper. 2014-11-14 Marcin Kolny Gst::Check: removed global macro definition * gstreamer/gstreamermm/check.h: 2014-11-14 Marcin Kolny Gst::Caps: fixed transfer-full parameters passing in a few methods * gstreamer/src/caps.{ccg|hg}: added handcrafted implementation of gst_caps_merge and gst_caps_append wrappers because of transfer-full parameters in this methods. * tests/test-caps.cc: added test for merge method, which checks reference count of objects, checking reference count in append test method. 2014-10-30 Marcin Kolny Gst::Query: fixed QueryCaps::parse method * gstreamer/src/query.ccg: QueryCaps::parse method didn't increase caps object reference during wrapping, but it should, because of new RefPtr pointer, which is created in this method. 2014-10-30 Marcin Kolny Gst::Buffer: fixed copy method * gstreamer/src/buffer.ccg: copy method should take ownership of new buffer, and shouldn't increase refcount. * gstreamer/src/miniobject.hg: added missing header. * tests/test-buffer.cc: added test which checks refcout after copying buffer. 2014-10-29 Marcin Kolny Gst::Query: segfault fixed * gstreamer/src/query.ccg: 'params' argument in parse_nth_allocation_meta is transfer-none, so we have to increase reference if we want to wrap it. 2014-10-14 Marcin Kolny Gst::Element: minor * gstreamer/src/gst_vfuncs.defs: added set_context virtual function definition. * tools/m4/convert_gst.m4: added conversion definition between GstContext* and Gst::Context refptr. 2014-10-14 Marcin Kolny Gst::Element: wrapped a few methods * gstreamer/src/element.hg: wrapped set_context method and set_context virtual function. 2014-10-14 Marcin Kolny Gst::Context: wrapped GstContext struct * .gitignore: added generated files to ignored list. * MSVC_2010/gstreamermm/gstreamermm.vcxproj: * MSVC_2010/gstreamermm/gstreamermm.vcxproj.filters: added context files to a msvc project. * gstreamer/gstreamermm.h: added context header to a common include file. * gstreamer/src/context.ccg: * gstreamer/src/context.hg: added wrappers for GstContext structure. * gstreamer/src/filelist.am: added context wrapper to build file list. * tools/m4/convert_gst.m4: a few conversions between GstContext and Gst::Context added. 2014-10-14 Marcin Kolny defs: minor fix in enum def file * gstreamer/src/gst_enums.defs: applied patch defs patch. * gstreamer/src/gst_enums.defs.patch: fixed QueueLeaky enumeration: added missing value (QUEUE_NO_LEAK). 2014-10-14 Marcin Kolny msvc: revert add vd2 flag * MSVC_2010/gstreamermm-1.0.props: glibmm has already resigned as it is no longer needed, so have I. 2014-10-14 Marcin Kolny Gst::Iterator: fix swap method * gstreamer/src/iterator.hg: initialized GValue object. 2014-10-14 Szymon Sobik handle_error, Gst::Caps, Gst::Iteratorfix simple errors: minor fixes * gstreamer/gstreamermm/handle_error.h: fixed header guard name. * gstreamer/src/caps.hg: removed warning with mixing struct/class in class definition/declaration. * gstreamer/src/iterator.hg: avoid using uninitialized memory. 2014-10-01 Marcin Kolny Gst::Pad: minor fix in proxy_query_caps wrapper * gstreamer/src/pad.hg: query argument should be passed by reference. Passing by copy increases refcount, and object is no longer writable in that case. But gst_pad_proxy_query_caps requires writable object. 2014-10-01 Marcin Kolny Gst::MiniObject: added a wrappers for the rest of nonexisting methods. * gstreamer/src/gst_extra_objects.defs: added extra class definition. for GstMiniObject struct. * gstreamer/src/miniobject.ccg: * gstreamer/src/miniobject.hg: added missing wrappers, also added QuarkData class, which should be used as a base class for data stored as a qdata. * tests/test-miniobject.cc: a few tests added, which check finalize notifier. 2014-10-01 Marcin Kolny Gst::Query: wrapped missing methods from Query class * gstreamer/src/gst_extra_objects.defs: added definition of GstQuery object. * gstreamer/src/pad.hg: removed unnecesary #include directive, what leads to a circular dependency. * gstreamer/src/query.ccg: * gstreamer/src/query.hg: created missing query types: QueryCaps, QueryScheduling, QueryAllocation, QueryUri, QueryAcceptCaps. Implemented a few methods from already implemented classes. tests/test-query.cc: added simple test, which helps me to check references. * tools/m4/convert_gst.m4: conversion definitions of enums from query file, Structure class. 2014-09-24 Marcin Kolny Documentation: minor improvements in main page * gstreamer/gstreamermm.h: updated compilation tips according to a gstreamer 1.0 2014-09-21 Marcin Kolny Gst::Buffer: wrapped a few missing methods * gstreamer/src/buffer.ccg: there is a few methods, where user loses object ownership. It can't be done using gmmproc, so this methods are written by hand. * gstreamer/src/buffer.hg: wrapped a few methods using _WRAP_METHOD macro, wrote declarations for a handwritten methods. * test/test-buffer.cc: a few tests which prove Gst::Buffer class. 2014-09-16 Marcin Kolny Regenerate method's def file * gstreamer/src/gst_methods.defs: regenerated defs file according to a bug posted on a bugzilla: bgo#736427 2014-09-13 Marcin Kolny examples: added example which uses decodebin * examples/Makefile.am: added example to a build list * examples/all_media_player.cc: simple application, which can play all audio/video formats (if specyfic plugins are installed) using decodebin. This example shows, how to use decodebin, dynamic pads, and how to use non-static class methods in signal handlers (sigc::mem_fun). 2014-09-09 Marcin Kolny msvc: added vd2 flag to a compilator vd2 flag allows to use dynamic_cast in an object being constructed. This flag is used in case where the only virtual function in virtual base class is a destructor (so it is in ObjectBase class). * MSVC_2010/gstreamermm.props: added necessary flag in a property sheet file, so user who uses this property sheet in his project, don't have to remember about adding this flag. 2014-08-29 Szymon Sobik msvc: disable some optimizations * MSVC_2010/gstreamermm/gstreamermm.vcxproj: disabled optimizations according to glibmm msvc project 2014-08-29 Szymon Sobik msvc: enable rtti * MSVC_2010/gstreamermm/gstreamermm.vcxproj: rtti enabled 2014-08-29 Szymon Sobik msvc: don't generate debug info in release * MSVC_2010/gstreamermm/gstreamermm.vcxproj: disabled debug info generation in release configuration 2014-08-29 Szymon Sobik msvc: switch to dynamic library made similar to glibmm, with the gendef program * .gitignore: added gendef's automatically generated project files * MSVC_2010/gendef/gendef.cc: * MSVC_2010/gendef/gendef.vcxproj: * MSVC_2010/gendef/gendef.vcxproj.filters: symbols generator added (just like in gtkmm project) * MSVC_2010/gstreamermm.sln: added gendef's project to a main solution * MSVC_2010/gstreamermm/gstreamermm.vcxproj: switched build to dynamic library, ran gendef program before build 2014-08-28 Marcin Kolny Plugins: enabled elements plugins from gst-plugins-base package: - multisocketsink - input-selector - output-selector. There is still one disabled element: audioresample. * .gitignore: added multisocketsink generated files to ignored list. The rest of added plugins were already there. * configure.ac: added plugins to .hg|.ccg generation list * gstreamer/src/filelist.am: added .hg files of added plugins to a further generator list * gstreamer/src/gst_enums.defs: applied a patch described below * gstreamer/src/gst_enums.defs.patch: added define of missing enums from multisocketsink element, which cannot be autogenerated * tools/m4/convert_gst.m4: added conversion rule from Gio::Socket refptr to GSocket* * tools/m4/plugingen_gstreamermm.m4: added translation entry of GSocket* and GObject* 2014-08-28 Marcin Kolny Release: regenerated *.defs files according to gstreamer 1.2.4 version I decided to remove patches content, to avoid rubbish (unnecessary entries) in a code. * gstreamer/gstreamermm.h: * gstreamer/src/filelist.am: temporary disabled audioresample plugin. It can be enabled after wrapping enum SpeexResamplerSincFilterMode. Probably audioresample.{hg|ccg} cannot be generated. * gstreamer/src/gst_docs.xml: regenerated documentation files * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_methods.defs: * gstreamer/src/gst_signals.defs: regnerated enum, methods and signals defs file * gstreamer/src/gst_enums.defs.patch: * gstreamer/src/gst_methods.defs.patch: * gstreamer/src/gst_signals.defs.patch: some autogenerated defs are incorrect, so we have to apply some patches after regeneration. 2014-08-28 Marcin Kolny Release: increased version to 1.2.4 * configure.ac: changed version of required gstreamer version to 1.2.4 and version of gstreamermm to 1.2.4 too 2014-08-27 Marcin Kolny Register: msvc build fix * gstreamer/gstreamermm/register.h: removed unnecessary default argument in function definition (it is already done in declaration). It was breaking MSVC build. 2014-08-27 Marcin Kolny doap: update * AUTHORS: updated contributors list 2014-08-27 Szymon Sobik .gitignore: ignore msvc build files Signed-off-by: Marcin Kolny 2014-08-27 Rafał Rawicki .gitignore: update ignored files list Signed-off-by: Marcin Kolny 2014-08-27 Szymon Sobik Windows: library names dependent on toolset we can now safely switch toolset with /p:PlatformToolset= Signed-off-by: Marcin Kolny 2014-08-26 Marcin Kolny Gst::Object: implemented easy accecss to an object's refcount. Sometimes (especially, in tests) we need to check refcount of an object. This change gives developer simple access to a refcount number. User had to use 'GST_OBJECT_REFCOUNT(GST_OBJECT(obj->gobj()))' to get a refcount. Now it is much easier, just use 'obj->get_refcount()'. * gstreamer/src/object.[ccg|hg]: added get_refcount method to an Gst::Object class. 2014-08-26 Marcin Kolny Gst::Pipeline: wrapped missing enums, added simple test * gstreamer/src/pipeline.hg: wrapped PipelineFlags enum * tests/Makefile.am: * tests/test-pipeline.cc: added very simple test * .gitignore: added pipeline output file to ignored list 2014-08-24 Marcin Kolny Windows: added project files for Visual Studio 2010 * MSVC_2010/gstreamermm-1.0.props: property sheet (it should help gstreamermm's users create own project, which uses gstreamermm. File contains include directories, library paths needed for compilation apps based on gstreamermm. * MSVC_2010/gstreamermm.sln: solution file * MSVC_2010/gstreamermm/gstreamermm.rc: resources file * MSVC_2010/gstreamermm/gstreamermm.vcxproj: gstreamermm visual studio's project file (also uses gstreamermm-1.0.props). * MSVC_2010/gstreamermm/gstreamermm.vcxproj.filters: vs filters file. * MSVC_2010/gstreamermm/gstreamermmconfig.h: file contains gstreamermm configuration. 2014-08-24 Marcin Kolny Gst::Pad: minors * gstreamer/src/pad.ccg: removed useles, dummy debug printfs 2014-08-21 Marcin Kolny Gst::Pad: added exception handler for callback calls Sometimes we can't use default glibmm exception handler, because handler must be registered in the same thread. There is a few methods, where it's impossible to register handler, because we don't have an access to this thread. * gstreamer/src/pad.ccg: exception handler implementation, call exception handler in catch(...) blocks. * gstreamer/src/pad.hg: exception handler method header 2014-08-21 Marcin Kolny Gst::Pad: replaced friend functions by static methods. * gstreamer/src/pad.{ccg|hg}: made chain, query, event, activate, activatemode and getrange methods static. 2014-08-20 Marcin Kolny MiniObject: fixed gst_mini_object_make_writable wrapper gst_mini_object_make_writable unrefs object, but in gstreamermm, Glib::RefPtr class is used, so we have to make an extra reference for Glib::RefPtr destructor (where unreference method is called). * .gitignore: added miniobject test script to ignored list * gstreamer/src/buffer.ccg: * gstreamer/src/bufferlist.ccg * gstreamer/src/caps.ccg: * gstreamer/src/event.ccg: * gstreamer/src/message.ccg: * gstreamer/src/query.ccg: used MiniObject::create_writable method in create_writable implementation of derived classes * gstreamer/src/caps.hg: Gst::MiniObject as a base class for Gst::Caps, updated comment * gstreamer/src/bufferlist.hg: * gstreamer/src/event.hg: * gstreamer/src/query.hg: updated comment * gstreamer/src/miniobject.ccg: fixed create_writable implementation * gstreamer/src/miniobject.hg: create_writable as hand-written method * tests/Makefile.am: * tests/test-miniobject.cc: added Gst::MiniObject test suite 2014-08-19 Marcin Kolny Gst::Bin: added more tests to GstBin wrapper. * .gitignore: added test-bin file to ignored list * tests/Makefile.am: previously Bin test file wasn't added to a makefile. I fixed it in this commit. * tests/test-bin.cc: renamed existing tests, added tests for most of functions, virtual methods, signals. 2014-08-19 Marcin Kolny doap: updated doap and other project info files. * AUTHORS: list all gstreamermm contributors. * MAINTAINERS: removed file, doap file exists instead of this file. See here: https://wiki.gnome.org/Git/FAQ * gstreamermm.doap: added language info, updated category and link to bugzilla page. 2014-08-08 Marcin Kolny Gst::Bin: updated GstBin wrapper. * gstreamer/src/bin.hg: Updated handwritted comments. Wrapped GstBinFlags enum and children_cookie member. Removed deprecated gst_bin_find_unconnected_pad ignore macro. 2014-08-08 Marcin Kolny Gst::AtomicQueue: wrapped GstAtomicQueue module. Gst::AtomicQueue is template class. It helps with control queue types. For exactly the same behavior as GstAtomicQueue, gpointer as template type might be used. * .gitignore: added atomicqueue test executable file to ignore list * gstreamer/gstreamermm.h: atomicqueue header to a core includes * gstreamer/gstreamermm/atomicqueue.h: atomicqueue wrapper. This file isn't autogenerated, because Gst::AtomicQueue is template class. * gstreamer/gstreamermm/filelist.am: atomicqueue header as an extra header. * tests/Makefile.am: * tests/test-automaticqueue.cc: added a few tests for Gst::AtomicQueue class. 2014-08-08 Marcin Kolny Gst::Allocator: wrapped GstAllocator struct. * .gitignore: added allocator generated files, test *.log and *.trs files to ignore list * gstreamer/gstreamermm.h: add allocator header to core includes * gstreamer/src/allocator.ccg: * gstreamer/src/allocator.hg: implemented GstAllocator wrapper * gstreamer/src/filelist.am: * gstreamer/src/gst_vfuncs.defs: added allocator's virtual functions definitions * tests/Makefile.am: * tests/test-allocator.cc: added a few tests for Allocator wrapper * tools/m4/convert_gst.m4: added conversions definitions between AllocationParams and GstAllocationParams, Memory and GstMemory 2014-08-03 Marcin Kolny Test: added tests for Gst module 2014-08-03 Marcin Kolny Core: complemented Gst module 2014-07-28 Marcin Kolny Updated some docs according to 1.0.10 release 2014-07-28 Marcin Kolny Disabled a few tests modules actually works fine, but tests are written not very well 2014-07-28 Marcin Kolny A lot of warnigns removed 2014-07-17 Marcin Kolny buffer: wrapped some useful methods 2014-05-27 Marcin Kolny Wrapped some functions from GstPad: * gst_pad_set_activate_function * gst_pad_set_activatemode_function * gst_pad_set_getrange_function 2014-05-23 Marcin Kolny wrapped a method from gstpadprobeinfo 2014-05-16 Marcin Kolny [minor] replaced gchar* to a Glib::ustring type in URIHandler interface 2014-05-16 Marcin Kolny wrapped some virtual methods in urihandler interface 2014-05-15 Tomasz Lakota wrapped get_sticky_event Signed-off-by: Marcin Kolny 2014-05-15 Tomasz Lakota fixed proxy_query_caps that caused annoying warning Signed-off-by: Marcin Kolny 2014-05-15 Tomasz Lakota support glib native types instead of GstClockTime, since cannot support both easily Signed-off-by: Marcin Kolny 2014-04-10 Tomasz Lakota start stop amend 2014-04-10 Tomasz Lakota basetransform: set_caps vfunc wrapped Conflicts: gstreamer/gstreamermm/basetransform.cc 2014-04-10 Tomasz Lakota set_accept_caps_result wrapped Conflicts: gstreamer/gstreamermm/query.cc gstreamer/gstreamermm/query.h 2014-04-10 Tomasz Lakota taglist - Glib::Value destructo assume they are always initialized Conflicts: gstreamer/gstreamermm/taglist.cc gstreamer/gstreamermm/taglist.h 2014-04-10 Tomasz Lakota EventTag::parse should not take any string Conflicts: gstreamer/gstreamermm/event.cc gstreamer/gstreamermm/event.h 2014-04-10 Tomasz Lakota fixed create_writable in caps Conflicts: gstreamer/gstreamermm/caps.cc 2014-04-10 Tomasz Lakota comments added Conflicts: gstreamer/gstreamermm/buffer.cc 2014-04-10 Tomasz Lakota fixed query vfunc wrapper - it should not unref query object Conflicts: gstreamer/gstreamermm/pad.cc 2014-04-10 Tomasz Lakota SlotQuery use const reference to RefPtr, since it doesn't transer ownership Conflicts: gstreamer/gstreamermm/pad.h 2014-03-11 Marcin Kolny restored destroy method, fixed copying slot 2014-03-11 Marcin Kolny fixed bus_sync_handler method Signed-off-by: Marcin Kolny 2014-03-04 Marcin Kolny updated some release informations Signed-off-by: Marcin Kolny 2014-02-27 Marcin Kolny updated .gitignore 2014-02-25 Tomasz Lakota use gstreamer 1.0 in gstmm_toolsdir Signed-off-by: Marcin Kolny 2014-02-19 Marcin Kolny fixed plugin registering 2014-02-19 Marcin Kolny minor 2014-01-13 Marcin Kolny some warnings removed, added helper methods to a Gst::Object class 2013-12-10 Marcin Kolny fixed eventnewsegment, eventcaps 2013-12-10 Marcin Kolny wrapped duration setter 2013-12-10 Marcin Kolny removed non-existing methods 2013-12-09 Marcin Kolny minor - fixed returned value of scan_path method 2013-11-29 Marcin Kolny wrapped elementclass class (simplified writting plugins) 2013-11-06 Marcin Kolny minor 2013-10-30 Marcin Kolny wrapped some plugins methods 2013-10-28 Dirk Van Haerenborgh add support for g_value holding G_TYPE_LIST Signed-off-by: Marcin Kolny 2013-10-28 Dirk Van Haerenborgh gstiterator returns a GValue* Signed-off-by: Marcin Kolny 2013-10-28 Dirk Van Haerenborgh add support for staticpadtemplates Signed-off-by: Marcin Kolny 2013-10-14 Marcin Kolny removed registry getter 2013-10-14 Dirk Van Haerenborgh elementfactory: metadata 2013-10-14 Marcin Kolny reverted changes 2013-10-08 Marcin Kolny wrapped copy_into method 2013-10-08 Marcin Kolny fixed registry singleton - extra reference in wrap method 2013-10-08 Marcin Kolny wrapped some methods 2013-10-07 Marcin Kolny added a EventCaps class 2013-10-07 Marcin Kolny minor - wrapped some methods in pad, query, caps 2013-10-07 Marcin Kolny fixed example 2013-10-04 Marcin Kolny at Flytronic.pl wrapped {query|event} functions 2013-09-30 Marcin Kolny at Flytronic.pl tocsetter wrapped 2013-09-25 Marcin Kolny at Flytronic.pl wrapped gsttoc, gsttocentry classes 2013-09-24 Marcin Kolny at Flytronic.pl start working with gstreamer v1.0.10 2013-09-03 Murray Cumming Whitespace fixes and a TODO. 2013-09-03 Marcin Kolny at Flytronic.pl removed code, which might be generated (patch published here: https://bugzilla.gnome.org/show_bug.cgi?id=705699 is needed) 2013-08-27 Marcin Kolny at Flytronic.pl implemented "request_new_pad" vfunc 2013-08-21 Marcin Kolny at Flytronic.pl added is_proxy_pad method to a pad class 2013-08-21 Marcin Kolny at Flytronic.pl added is_ghost_pad method to a pad class 2013-08-20 Marcin Kolny at Flytronic.pl added new event type 2013-08-19 Marcin Kolny at Flytronic.pl added missing enum value 2013-08-19 Marcin Kolny at Flytronic.pl added example 2013-08-14 Marcin Kolny at Flytronic.pl updated .gitignore 2013-08-14 Marcin Kolny at Flytronic.pl added sample with dynamic changing pipeline 2013-08-14 Marcin Kolny at Flytronic.pl wrapped necessary field in PadProbeInfo struct, fixed get_event method(constversion, refreturn added) 2013-08-14 Marcin Kolny at Flytronic.pl added example with matroska, minor fix in Pad class 2013-08-12 Marcin Kolny at Flytronic.pl creating extra reference in gst_sample_get_buffer 2013-08-12 Marcin Kolny at Flytronic.pl build fix 2013-08-12 Marcin Kolny at Flytronic.pl added setters for timestamps 2013-08-12 Marcin Kolny at Flytronic.pl minor 2013-08-12 Marcin Kolny at Flytronic.pl added memcmp method to buffer 2013-08-08 Marcin Kolny at Flytronic added test - checking plugin based on a Gst::Bin 2013-08-07 Marcin Kolny at Flytronic minor - removed deprecated comment. Property is installed in Property constructor 2013-08-07 Marcin Kolny at Flytronic added test to test-plugin-register suite - checking property 2013-08-07 Marcin Kolny [loganek] gst_sample_get_buffer wrapped automatically 2013-08-07 Marcin Kolny [loganek] refactoring 2013-08-07 Marcin Kolny [loganek] fixed Buffer::create_writeable method 2013-08-06 Marcin Kolny at Flytronic implemented Mr Cumming's advices - part 2 2013-08-06 Marcin Kolny at Flytronic replaced bad method names 2013-08-06 Marcin Kolny at Flytronic minor fixes, noted by Mr Cumming 2013-08-06 Marcin Kolny at Flytronic fixed setting property method 2013-08-06 Marcin Kolny [loganek] added test - create custom bin, and check how does it works 2013-08-05 Marcin Kolny [loganek] minor improvements 2013-08-05 Marcin Kolny [loganek] added tests - check seeking 2013-08-05 Marcin Kolny [loganek] message's wrapper should copy object 2013-08-05 Marcin Kolny [loganek] allowed to build chain of parameters 2013-08-05 Marcin Kolny at Flytronic replaced some C-functions with C++ wrappers 2013-08-05 Marcin Kolny at Flytronic added VideoDuration test 2013-08-05 Marcin Kolny at Flytronic added first regression test 2013-08-05 Marcin Kolny at Flytronic added ghostpad's tests 2013-08-05 Marcin Kolny [loganek] fixed test-plugin-app{sink|src} tests (stupid bug in tests) 2013-08-05 Marcin Kolny [loganek] added appsink test, enableda all test-plugin-* tests (yes, some tests fail...) 2013-08-05 Marcin Kolny [loganek] added another test for caps 2013-08-05 Marcin Kolny [loganek] wrapped some query "create" methods as static methods of Query class, added unit tests 2013-08-03 Marcin Kolny [loganek] added some functions for testing 2013-08-03 Marcin Kolny [loganek] "gstcheck" module cannot be generated because of gstcheck framework. methods for checking should be independent of framework. 2013-08-03 Marcin Kolny [loganek] minor update in gitignore 2013-08-02 Marcin Kolny at Flytronic start wrapping test framework - unfortunatelly, i don't know for now, how to avoid using 'gstreamer check framework', and using only test gst_check functions with any framework. But I'm sure, it might be done' 2013-08-02 Marcin Kolny at Flytronic created Makefile.am for tests (run make check to compile and run all tests, run ./tests/run-all.sh to run all tests with gtest params 2013-08-02 Marcin Kolny at Flytronic fixed and restor examples, minor changes in caps, pad 2013-08-02 Marcin Kolny [loganek] appsink as generated plugin - again. It might be done because of fix in plugin generator 2013-08-02 Marcin Kolny [loganek] fixed and enabled playbin, repaired hello_world example 2013-08-02 Marcin Kolny [loganek] fixed plugin hg generator - different access operator for arrays/lists and other values 2013-08-01 Marcin Kolny [loganek] wrapped gstpadprobeinfo 2013-08-01 Marcin Kolny at Flytronic minor 2013-08-01 Marcin Kolny at Flytronic improved {add|remove}_probe methods in pads, improved ogg_player example 2013-08-01 Marcin Kolny at Flytronic enabled some examples (c-style of some functions for now) 2013-08-01 Marcin Kolny at Flytronic implemented {add|remove}_probe methods in pad 2013-08-01 Marcin Kolny at Flytronic added tests for AppSrc plugin 2013-08-01 Marcin Kolny at Flytronic added tests for registering plugins 2013-08-01 Marcin Kolny at Flytronic added tests for pushsrc, unfortunatelly one test must be disabled for now 2013-08-01 Marcin Kolny at Flytronic added tests for Bus 2013-08-01 Marcin Kolny at Flytronic added Caps tests 2013-08-01 Marcin Kolny at Flytronic added Pad tests, temporary disabled one test in TagList tests 2013-08-01 Marcin Kolny [loganek] added tests for Structure, additional test in TagList 2013-08-01 Marcin Kolny [loganek] fixed unit test - adding/getting date from taglist. Yep... minor bug, 3 hours spent... I'm not sure it is the best way to fix this problem 2013-07-31 Marcin Kolny at Flytronic added taglist tests, and first fails;) 2013-07-31 Marcin Kolny at Flytronic added Bin tests 2013-07-31 Marcin Kolny at Flytronic added first gstreamermm tests 2013-07-31 Marcin Kolny at Flytronic added simple gtest unit tests 2013-07-31 Marcin Kolny at Flytronic moved tests to old-tests directory 2013-07-31 Marcin Kolny at Flytronic fixed peper0's tests, minor changes in test-buffer-mapinfo test 2013-07-31 Marcin Kolny at Flytronic replaced c-style pointers with RefPtr objects 2013-07-31 Marcin Kolny at Flytronic wrapped GstMapInfo, added simple test, implemented some methods in Buffer 2013-07-31 Marcin Kolny at Flytronic fixed some tests 2013-07-31 Marcin Kolny at Flytronic removed deprecated class ElementInterfaced 2013-07-31 Marcin Kolny at Flytronic removed Interface class declaration 2013-07-31 Marcin Kolny at Flytronic fixed test-init test 2013-07-30 Marcin Kolny at Flytronic removed "test-base-src" test - mixer removed without replacement 2013-07-30 Marcin Kolny at Flytronic enabled audioformat 2013-07-30 Marcin Kolny at Flytronic added appsink plugin. appsink.{hg|ccg} as handcrafted files 2013-07-30 Marcin Kolny at Flytronic wrapped GstSample struct 2013-07-30 Marcin Kolny at Flytronic added wait method to basesink 2013-07-30 Marcin Kolny at Flytronic ignore list updated 2013-07-30 Marcin Kolny at Flytronic [peper0] added some unit examples 2013-07-30 Marcin Kolny at Flytronic [peper0] Don't copy buffer if RefPtr is empty. 2013-07-30 Marcin Kolny at Flytronic [peper0] Corrected default retval of BaseSrc::start & stop vfuncs to true (neutral) 2013-07-30 Marcin Kolny at Flytronic [peper0] gst_element_class_get_pad_template wrapped, which simplified element derivation a bit. 2013-07-30 Marcin Kolny at Flytronic [peper0] plugin registering test 2013-07-30 Marcin Kolny at Flytronic [peper0] set_clock vfunc fixed 2013-07-30 Marcin Kolny at Flytronic [peper0] Pad::chain and Pad::push functions corrected 2013-07-30 Marcin Kolny at Flytronic [peper0]Pad::set_chain_function support prototype. 2013-07-30 Marcin Kolny at Flytronic [peper0]added missing file 2013-07-30 Marcin Kolny at Flytronic [peper0] Registration of C++ type as GType 2013-07-30 Marcin Kolny at Flytronic wrapped (I think) useful methods in buffer 2013-07-30 Marcin Kolny at Flytronic wrapped GstMemory 2013-07-30 Marcin Kolny at Flytronic resolved wrong include dependencies in buffer 2013-07-30 Marcin Kolny at Flytronic removed some entries in enum patch(patch for glibmm enum.pl here: https://bug705113.bugzilla-attachments.gnome.org/attachment.cgi?id=250423) 2013-07-30 Marcin Kolny at Flytronic replaced C-type arguments to c++ types 2013-07-30 Marcin Kolny at Flytronic restored event methods (ported to 1.0) 2013-07-29 Marcin Kolny at Flytronic modified names audiobase* and audioringbuffer in comments 2013-07-29 Marcin Kolny at Flytronic [cleaning] audioringbuffer 2013-07-29 Marcin Kolny at Flytronic gitignore updated 2013-07-29 Marcin Kolny at Flytronic appsink disabled 2013-07-29 Marcin Kolny at Flytronic added simple example 2013-07-29 Marcin Kolny at Flytronic made project build-able 2013-07-29 Marcin Kolny at Flytronic enabled plugins 2013-07-29 Marcin Kolny at Flytronic includes fixed 2013-07-26 Marcin Kolny at Flytronic xoverlay to videooverlay renamed, minor improvements 2013-07-26 Marcin Kolny at Flytronic minor changes in urihandler, removed some functions from value 2013-07-26 Marcin Kolny at Flytronic minor change in typefind 2013-07-26 Marcin Kolny at Flytronic disabled tuner 2013-07-26 Marcin Kolny at Flytronic split GstTaskThreadCallbacks struct to independend variables 2013-07-26 Marcin Kolny at Flytronic fixes in tags 2013-07-26 Marcin Kolny at Flytronic structure class repaired 2013-07-26 Marcin Kolny at Flytronic minor fixes, temporary disabled streamvolume class 2013-07-26 Marcin Kolny at Flytronic fixed query class 2013-07-26 Marcin Kolny at Flytronic removed propertyprobe - not implemented in gstreamer1.0 yet 2013-07-26 Marcin Kolny at Flytronic removed deprecated methods from pad 2013-07-26 Marcin Kolny at Flytronic fixed object class 2013-07-26 Marcin Kolny at Flytronic improved include statements 2013-07-26 Marcin Kolny at Flytronic temporary disabled mixer 2013-07-26 Marcin Kolny at Flytronic fixed miniobject class 2013-07-26 Marcin Kolny at Flytronic fixed problems with Message - previous commit didn't solve it 2013-07-26 Marcin Kolny at Flytronic mixer[track] fixed 2013-07-26 Marcin Kolny at Flytronic temporary fixed messaeg 2013-07-26 Marcin Kolny at Flytronic removed deprecated interface files 2013-07-26 Marcin Kolny at Flytronic removed deprecated files 2013-07-26 Marcin Kolny at Flytronic removed some bad-building methods from event, probably it should be repaired in the future 2013-07-25 Marcin Kolny at Flytronic removed some functions from element 2013-07-25 Marcin Kolny at Flytronic minor 2013-07-25 Marcin Kolny at Flytronic solved problems with discovererinfo 2013-07-25 Marcin Kolny at Flytronic disabled colorbalance[channel].hg 2013-07-25 Marcin Kolny at Flytronic colorbanace[channel].hg was moved to another directory. Includes fixed 2013-07-25 Marcin Kolny at Flytronic some fixes in clock 2013-07-25 Tomek Lakota childproxy renewed 2013-07-25 Tomek Lakota signals and methods regenerated (signals patch still fails) 2013-07-25 Tomek Lakota include convert_glibmm.m4 since we'll need conversion of GObject* 2013-07-25 Tomek Lakota removed old method wrappers from buffer 2013-07-25 Tomek Lakota cddabasesrc disabled for now (it is in plugins-bad) 2013-07-25 Tomek Lakota gst_methods fixed (1.0.8 vs 1.1.1) 2013-07-25 Tomek Lakota generate_methods.sh script should work even if "h2def" is not in path 2013-07-25 Tomek Lakota audiobase{sink,src} compiles 2013-07-25 Tomek Lakota query and event enums fixed 2013-07-25 Tomek Lakota enums patch fixed to match GStreamer 1.0 (not 1.1) 2013-07-25 Tomek Lakota update types and includes in generator's hardcoded lists 2013-07-25 Tomek Lakota Don't wrap plugins for now, focus on gstreamer core and libs first 2013-07-25 Tomek Lakota we are using GStreamer 1.0.8, not 1.1.1 2013-07-24 Marcin Kolny at Flytronic fixed caps 2013-07-24 Marcin Kolny at Flytronic fixed bus 2013-07-24 Marcin Kolny at Flytronic minors in bufferlist 2013-07-24 Marcin Kolny at Flytronic fixed buffer, bin, iterator 2013-07-24 Marcin Kolny at Flytronic fixed basetransform class 2013-07-24 Marcin Kolny at Flytronic temporary(?) removed lock/unlock methods 2013-07-24 Marcin Kolny at Flytronic fixed basesink, basesrc, glib::wrap instead of gst::wrap 2013-07-24 Marcin Kolny at Flytronic fixed bufferlist 2013-07-24 Marcin Kolny at Flytronic fixed audiosrc 2013-07-24 Marcin Kolny at Flytronic some minor fixes in build (includes, types) 2013-07-24 Marcin Kolny at Flytronic renamed Gst::RingBufferSpec to Gst::AudioRingBufferSpec 2013-07-24 Marcin Kolny at Flytronic renamed GstRingBufferSpec to GstAudioRingBufferSpec 2013-07-24 Marcin Kolny at Flytronic renamed baseaudio to audiobase 2013-07-24 Marcin Kolny at Flytronic renamed old-style name gst_ring_buffer to gst_audio_ring_buffer 2013-07-24 Marcin Kolny at Flytronic removed unnecessary functions, fixed commit-callback method 2013-07-24 Marcin Kolny at Flytronic audioringbufferspec class improved 2013-07-24 Marcin Kolny at Flytronic fixed audiofilter class 2013-07-23 Marcin Kolny at Flytronic added a part-implementation of AudioFormatInfo class 2013-07-23 Marcin Kolny at Flytronic minor 2013-07-23 Marcin Kolny at Flytronic fixed audiofilter class, still AudioInfo missing 2013-07-23 Marcin Kolny at Flytronic removed BufferFormat enum type, format member from AudioRingBufferSpec - no more in gstreamer-1.0 2013-07-23 Marcin Kolny at Flytronic fixed BufferFormatType - renamed to AudioRingBufferFormatType 2013-07-22 José Alburquerque configure.ac: Remove libxml++ package dependency. * configure.ac: The usage of libxml2 has ben removed from the C API in versions 1.0 and above so do the same here. 2013-07-18 José Alburquerque Include gst/gst.h and not individual includes to avoid compile errors. * gstreamer/src/bin.ccg: * gstreamer/src/buffer.ccg: * gstreamer/src/buffer.hg: * gstreamer/src/bufferlist.hg: * gstreamer/src/bus.ccg: * gstreamer/src/bus.hg: * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: * gstreamer/src/childproxy.hg: * gstreamer/src/clock.ccg: * gstreamer/src/clock.hg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/elementfactory.ccg: * gstreamer/src/elementfactory.hg: * gstreamer/src/enums.ccg: * gstreamer/src/enums.hg: * gstreamer/src/error.ccg: * gstreamer/src/event.ccg: * gstreamer/src/event.hg: * gstreamer/src/filter.ccg: * gstreamer/src/format.ccg: * gstreamer/src/format.hg: * gstreamer/src/ghostpad.ccg: * gstreamer/src/interface.ccg: * gstreamer/src/iterator.ccg: * gstreamer/src/iterator.hg: * gstreamer/src/message.ccg: * gstreamer/src/message.hg: * gstreamer/src/miniobject.hg: * gstreamer/src/object.ccg: * gstreamer/src/object.hg: * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: * gstreamer/src/padtemplate.ccg: * gstreamer/src/padtemplate.hg: * gstreamer/src/parse.ccg: * gstreamer/src/parse.hg: * gstreamer/src/pipeline.ccg: * gstreamer/src/plugin.ccg: * gstreamer/src/plugin.hg: * gstreamer/src/pluginfeature.ccg: * gstreamer/src/pluginfeature.hg: * gstreamer/src/preset.hg: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: * gstreamer/src/registry.ccg: * gstreamer/src/registry.hg: * gstreamer/src/segment.ccg: * gstreamer/src/structure.ccg: * gstreamer/src/systemclock.ccg: * gstreamer/src/taglist.ccg: * gstreamer/src/taglist.hg: * gstreamer/src/tagsetter.hg: * gstreamer/src/task.ccg: * gstreamer/src/task.hg: * gstreamer/src/taskpool.ccg: * gstreamer/src/taskpool.hg: * gstreamer/src/typefind.ccg: * gstreamer/src/typefind.hg: * gstreamer/src/typefindfactory.hg: * gstreamer/src/urihandler.ccg: * gstreamer/src/urihandler.hg: * gstreamer/src/value.hg: 2013-07-18 José Alburquerque Index*: Remove the classes because they are removed in the C API. * gstreamer/src/index.{ccg,hg}: * gstreamer/src/indexfactory.{ccg,hg}: Delete these files containing the classes. * gstreamer/src/filelist.am: Also remove them from the build. * gstreamer/src/element.hg: Remove the methods and virtual functions using the Gst::Index class because it is removed. 2013-07-17 José Alburquerque MiniObject Classes: Make them opaque reference counted boxed types. * gstreamer/gstreamermm/wrap.{cc,h}: * gstreamer/gstreamermm/gst_wrap_init.h: * tools/generate_gst_wrap_init.pl: * tools/m4/class_gstminiobject.m4: Delete these files because mini object classes are now boxed types. The gstreamermm wrapping subsystem for mini objects, generating gst_wrap_init.cc and the _CLASS_GSTMINIOBJECT() macro are no longer needed. * gstreamer/gstreamermm/init.cc (initialize_wrap_system): Don't use the Gst::wrap_register_init() and Gst::wrap_init() from the above delete files because it is no longer necessary. * gstreamer/gstreamermm/filelist.am: * tools/m4/convert.m4: * tools/m4/filelist.am: Also remove the delete files from the build. * gstreamer/src/Makefile.am: Don't generate gst_wrap_init.cc. * gstreamer/src/buffer.{ccg,hg}: * gstreamer/src/bufferlist.{ccg,hg}: * gstreamer/src/discovererinfo.{ccg,hg}: Make these classes opaque reference counted classes removing their custom wrap_new() functions and related functions for ensuring that wrappers created are destroyed when the C object is destroyed because ensuring that wrappers are destroyed for opaque reference counted classes is not necessary. * gstreamer/src/event.{ccg,hg}: * gstreamer/src/message.{ccg,hg}: * gstreamer/src/query.{ccg,hg}: Do the same for these classes and use Glib::wrap() instead of Gst::wrap() when needed. Also remove the handwritten virtual function implementations because they are no longer part of the C API. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc (get_signal_wrap_statements): Don't treat mini object types differently from boxed types when generating return and parameter conversions (which would generate a Gst::wrap() instead of a Glib::wrap()) because there is no need to do so. 2013-07-16 José Alburquerque MiniObject: Make it an opaque refcounted class generated by gmmproc. * gstreamer/gstreamermm/filelist.am: * gstreamer/gstreamermm/miniobject.{cc,h}: * gstreamer/gstreamermm/private/miniobject_p.h: Remove these files and remove them from the build. * gstreamer/gstreamermm/private/.gitignore: Also update the .gitignore file. * gstreamer/src/filelist.am: * gstreamer/src/miniobject.{ccg,hg}: Add these new files wrapping GstMiniObject and include the files in the build. * gstreamer/src/enums.hg (MiniObjectFlags): Move enum to the miniobject.hg file. * tools/m4/convert_gst.m4: Update the conversions file to include needed conversions. 2013-07-16 José Alburquerque Remove the use of libxml++ as is done in the C API. * gstreamer/src/caps.{ccg,hg} (save,load): Remove these methods which save and load the caps as XML. * gstreamer/src/object.{ccg,hg} (save, restore): Remove these methods that save and load the object as XML. (signal_object_saved): Remove this signal that is triggered when an object is saved as XML (it is now obsolete). * gstreamer/src/registry.{ccg,hg} ([binary|xml]_[read|write]_cache): Remove these methods because they have also been removed in the C API. Also update the class docs according to the new docs in the C API. * gstreamer/src/filelist.am: * gstreamer/src/xml.{ccg,hg}: Remove these files defining the XML class because it's also been removed in the C API. Also remove the files from the list of files to be built. 2013-07-16 José Alburquerque Event,Query: Handwrap their *Type enums. * gstreamer/src/event.hg: Handwrap the EventType enum because it can't be parsed by glibmm's enum.pl because it uses a C macro to define its values. Use _WRAP_ENUM_DOCS_ONLY() to get the docs from the C API. * gstreamer/src/query.{hg,ccg}: Do the same as above with the QueryType enum for the same reason. (QueryTypeDefinition): Remove the QueryTypeDefinition class because it's been removed in the C API. (get_details): (iterate_definitions): Also remove the methods dealing with the removed class. 2013-07-16 José Alburquerque Move to a generated ChangeLog. 2013-06-19 José Alburquerque BaseAudio[Sink|Src],RingBuffer: Rename as was done in the C API. * gstreamer/src/baseaudiosink.{ccg,hg}: Rename these files/classes to: * gstreamer/src/audiobasesink.{ccg,hg}: * gstreamer/src/baseaudiosrc.{ccg,hg}: Rename these files/classes to: * gstreamer/src/audiobasesrc.{ccg,hg}: * gstreamer/src/ringbuffer.{ccg,hg}: Rename these files/classes to: * gstreamer/src/audioringbuffer.{ccg,hg}: * gstreamer/src/filelist.am: Rename the files here also. * gstreamer/src/gst_vfuncs.defs: Rename the types here also. * tools/m4/convert_gst.m4: Rename the types here also. 2013-06-18 José Alburquerque Correct some general method parameter changes in existing source files. * gstreamer/src/basesrc.hg ([get|set]_blocksize): Use guint instead of gulong for the block size. * gstreamer/src/bufferlist.hg (get): The get() methods (for getting a Buffer) no longer require a 'group' parameter. * gstreamer/src/bus.hg (poll): Use a ClockTime instead of a ClockTimeDiff for the 'timeout' parameter. * gstreamer/src/childproxy.{ccg,hg}: Move the conversions specific to this file to this file from the global conversion file. Use 'constversion' to wrap constant methods that have equivalent non-constant ones. (child_[added|removed]): These methods now require a 'name' parameter. Also use _WRAP_METHOD to wrap them. (signal_child_[added|removed]): These signals also require a new 'name' parameter. * gstreamer/src/element.hg (query_convert): (query_position): (query_duration): The 'format' parameter is no longer passed in as a reference. * gstreamer/src/elementfactory.hg (get_uri_type): Now returns a URIType and not an int. (get_uri_protocols): Return a std::vecto instead of a Glib::StringArrayHandle. Also correct its m4 _CONVERSION macro. * gstreamer/src/pad.hg (event_default): (query_default): These methods now take an optional 'parent' first parameter. (query_duration): (query_convert): The 'format' parameters are no longer passed in as references. (iterate_internal_links_default): Now take an optional 'parent' first parameter. * gstreamer/src/query.hg (get_structure): Correct its m4 _CONVERSION macro. * gstreamer/src/segment.hg: Use guint64 instead of gint64 throughout for the parameters. * gstreamer/src/task.hg (set_lock): Use a Glib::Threads::RecMutex instead of a Glib::StaticRecMutex (which has been deprecated). * gstreamer/src/typefind.hg (peek): Return a std::vector instead of a Glib::ArrayHandle. Also correct its m4 _CONVERSION macro. * gstreamer/src/typefindfactory.hg (get_extensions): Return a std::vector instead of a Glib::StringArrayHandle. Also correct its m4 _CONVERSION macro. * gstreamer/src/urihandler.hg (make_element_from_uri): Now throws a Glib::Error. (get_uri_type): Returns a URIType instead of a guint. (get_protocols): Return a std::vector instead of a Glib::StringArrayHandle. Also correct its m4 _CONVERSION macro. (set_uri): Now throws a Glib::Error. * tools/m4/convert_gst.m4: Remove unneeded conversions because of above changes. Also correct existing ones according to the above changes also. 2013-06-18 José Alburquerque gstreamer/src/filelist.am: Correct plug-ins here also. * gstreamer/src/filelist.am: Correct the plug-in list according to the changes in the configure.ac file. This change was forgotten in the previous to last commit. 2013-06-18 José Alburquerque Regenerate the defs files and the XML docs file with GStreamer-1.1.1. * gstreamer/src/gst_docs.xml: Regenerate the XML docs file. * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_enums.defs.patch: Regenerate the enum defs file and update its patch file. * gstreamer/src/gst_methods.defs: * gstreamer/src/gst_methods.defs.patch: Regenerate the method defs file and update its patch file. * gstreamer/src/gst_signals.defs: Regenerate the signal and properties defs file. 2013-06-18 José Alburquerque Begin the transition to GStreamer-1.1.1. * configure.ac (AC_INIT): Change the gstreamermm version (for a future release) to 0.11.0. (MM_PREREQ): Require mm-common 0.9.6. (MM_INIT_MODULE): Use 1.0 for the module version. (GSTREAMERMM_SO_VERSION): Reset to 0.0.0. (GSTREAMERMM_MODULES): Require glibmm-2.36. Add all the GStreamer modules and require version 1.1.1 of those modules. (GSTREAMERMM_PLUGIN_DEFS): Add the app[sink|src] plug-ins. Remove the decodebin2 and playbin2 plug-ins (which are removed in GStreamer-1.0 also). Rename the ffmpegcolorspace plug-in to videoconvert because it's been renamed. Remove plug-ins that are not found but leave TODOs to possibly re-add the gdpdepay and gdppay plug-ins which the GStreamer porting docs seems to suggest still exist. (GST_INSPECT): Require version 1.0. (Plugin Processing): Add AC_MSG_CHECKING() and AC_MSG_RESULT() macros to report that required plug-ins are being checked for and found when the process is successful. * gstreamer/src/filelist.am: Add the app[sink|src] plug-ins. * tools/extra_defs_gen/generate_defs_gst.cc: Simplify the includes because since version 1.1.1 GStreamer has moved to single includes -- see https://bugzilla.gnome.org/show_bug.cgi?id=701812. (gst_type_is_a_pointer): Don't test for the GST_TYPE_MINI_OBJECT because it is now just a boxed type according to the GStreamer porting guide. Remove the GTypes that don't exist and rename ones that have been changed (like the GST_TYPE_BASE_AUDIO_* types, the GST_TYPE_BASE_RTP_* types, the GST_TYPE_RING_BUFFER type and GST_TYPE_X_OVERLAY type) since GStreamer-1.0. Also change the plug-ins as in the configure.ac file. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc (gst_type_is_a_pointer): Don't test for the GST_TYPE_MINI_OBJECT because miniobjects are now boxed types. (is_a_mini_object): Add this function that tests if a given C type is a miniobject. (get_signal_wrap_statements): When dealing with a boxed type return, check to see if it is a miniobject (using the above function) so that a correct Gst::wrap() function is generated. Do the same for boxed type parameters. Also, don't check for miniobjects using GST_TYPE_MINI_OBJECT when dealing with a Glib::RefPtr<> type any more because miniobjects are checked for when dealing with boexed types. * tools/m4/plugingen_gstreamermm.m4: Add translations which the plug-ins now require and modify the GstXOverlay because GstXOverlay has been renamed to GstVideoOverlay. 2013-06-10 José Alburquerque Move the generation scripts to the tools/gen_scripts directory. * tools/gen_scripts/generate_docs.sh: * tools/gen_scripts/generate_enums.sh: * tools/gen_scripts/generate_extra_defs.sh: * tools/gen_scripts/generate_methods.sh: Move these scripts from the gstreamer/src directory. Also add and reorder missing directories. 2012-09-19 José Alburquerque Release 0.10.11. * NEWS: * configure.ac: 2012-09-19 José Alburquerque Regenerate the XML docs file. * gstreamer/src/gst_docs.xml: Regenerate the docs file for updated method and signal docs. * gstreamer/src/bin.hg: * gstreamer/src/bus.hg: * gstreamer/src/childproxy.hg: * gstreamer/src/colorbalance.hg: * gstreamer/src/colorbalancechannel.hg: * gstreamer/src/discoverer.hg: * gstreamer/src/element.hg: * gstreamer/src/index.hg: * gstreamer/src/object.hg: * gstreamer/src/pad.hg: * gstreamer/src/padtemplate.hg: * gstreamer/src/registry.hg: * gstreamer/src/tuner.hg: * gstreamer/src/tunerchannel.hg: * gstreamer/src/urihandler.hg: Remove the handwritten signal docs from these files so that the automatically generated ones (in the above file) are used. 2012-09-19 José Alburquerque Regenerate the enums and signal defs with 0.10.36 for a new release. * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_signals.defs: Regenerated. 2012-09-19 José Alburquerque Init: Add the is_initialized() and the deinit() functions. * gstreamer/gstreamermm/init.{cc,h}: Wrap the GStreamer gst_is_initialized() and gst_deinit() functions. Bug #684148 (kangaba@yandex.ru). 2012-09-17 José Alburquerque Plug-ins: Speed up initialization by avoiding their loading on startup. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc (generate_hg_file): Use the new _NO_WRAP_INIT_REGISTRATION macro to signal that the plug-ins should not be registered on startup by the wrap_init() function. Also use the new _CUSTOM_WRAP_FUNCTION in order to implement a custom Glib::wrap() function for plug-ins that ensures the registration of the wrap_new() function before calling Glib::wrap_auto() to wrap a C object. (generate_ccg_file): Modify the generation of the plug-in *_get_type() functions so that when an object of the plug-in type is first created, the plug-in's wrap_new() function is registered with the wrapping system using the type obtained when the plug-in is first loaded. Also generate a custom Glib::wrap() function that ensures the registration of the plug-in's wrap_new() function before calling Glib::wrap_auto(). This ensures that even if there is a C type of the plug-in, that even that object can be properly wrapped. Bug #684006. 2012-09-13 José Alburquerque Event, Message, Query: Have create() methods return derived types. * gstreamer/src/event.{ccg,hg}: * gstreamer/src/message.{ccg,hg}: * gstreamer/src/query.{ccg,hg}: Modify the create() methods of all the Event, Message and Query derived classes so that the methods return a reference pointer to the derived type and not to the base type. Add protected templated inline wrap() methods to the base types (Event, Message and Query) which convert a derived type wrapped as a reference pointer to the base type to a reference pointer to the derived type using a reference pointer dynamic cast and use the methods in the derived classes create() methods for the conversions. * tests/test-event-wrap.cc: * tests/test-message-wrap.cc: * tests/test-query-wrap.cc: Modify the event, message and query wrapping tests to create an Event, Message and Query to ensure that the new create() methods work. Bug #683580 (kangaba@yandex.ru) 2012-09-11 José Alburquerque MiniObject derived classes: Correct wrapper memory leak. * gstreamer/src/buffer.{ccg,hg}: * gstreamer/src/bufferlist.{ccg,hg}: * gstreamer/src/discovererinfo.{ccg,hg}: Add custom wrap_new() functions to the Gst::MiniObject derived classes in these files so that when the C objects are wrapped, a weak reference is added to the miniobject and the newly created wrapper can be destroyed in the specified callbacks. Also add the callbacks that destroy the wrappers on weak referencing notification. Use the _CUSTOM_WRAP_NEW macro in the class declarations to ensure that gmmproc knows that these classes have custom wrap_new() functions. * gstreamer/src/event.ccg: * gstreamer/src/message.ccg: * gstreamer/src/query.ccg: Modify the custom class wrap() methods to add weak reference notification on the newly given GstMiniObject. Add the callbacks which destroy the wrapper on weak reference notification. * gstreamer/gstreamermm/miniobject.cc (~MiniObject): Ensure that the destructor does not try to unreference an object that is being destroyed because of a weak reference (when the reference is already zero). Bug #608702 (Massimiliano). 2012-09-07 José Alburquerque Query: Correct the docs usage example so that its lines compile. * gstreamer/src/query.hg: The example was not translated correctly from the C code thus lines from the example would not compile correctly. The error was discovered on the GStreamer mailing list. 2012-08-15 José Alburquerque Examples: Fix the media player example for MinGW. * examples/media_player_gtkmm/main.cc: * examples/media_player_gtkmm/player_window.cc: * examples/media_player_gtkmm/player_window.h: Modify the code to not use the XImageSink plugin (which is is specific to the Linux Platform). Also include gdk/gdkwin32.h instead of gdk/gdkx.h when compiling for the Windows platform. 2012-07-30 José Alburquerque Object: Add getter methods for the GMutex lock member. * gstreamer/src/object.hg: Use _MEMBER_GET_PTR() to provide getter methods for the GMutex lock member. * gstreamer/src/object.ccg: Adapt the callbacks to use the new Thread classes in Glib::Threads and not Glib::Thread which have been deprecated. * gstreamer/src/task.{ccg,hg}: Also use the new thread classes in these files where possible. 2012-07-30 José Alburquerque ElementFactory: Add register_element() wrapping gst_element_register(). * gstreamer/src/elementfactory.hg: Add the register_element() static method. * gstreamer/src/plugin.hg (register_static): Correct the staticity of this method (it should be a static method). 2012-07-23 José Alburquerque BaseAudioSink: Wrap new properties. * gstreamer/src/baseaudiosink.hg: Wrap the "alignment-threshold" and "discont-wait" new properties. 2012-07-23 José Alburquerque Fix the build with the latest GStreamer git sources. * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_signals.defs: Regenerate these files so that the new plug-in enums, properties and signals are found when they are wrapped by the generator. * gstreamer/src/gst_enums.defs.patch: Update the gst_enums.defs patch file for easy regeneration. * examples/media_player_gtkmm/player_window.cc (on_button_forward): Cast the playbin to a Gst::Element to disambiguate the send_event() method. Gst::PlayBin2 derives from both Gst::Navigation and Gst::Element which both implement a send_event() method. 2012-05-14 José Alburquerque Release 0.10.10.2. * NEWS: * configure.ac: Prepare for a new release. 2012-05-14 José Alburquerque Plugin Gen: Remove conflict with GStreamer *_get_type() function names. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc (generate_hg_file): Append a _GSTREAMERMM to the cast macro of the _CLASS_GOBJECT() macro so that gmmproc uses the custom *_get_type() function of the plug-in to get the base GType of the plug-in. (generate_ccg_file): Use *_gstremaermm_get_type() for the name of the custom *_get_type() functions of the plug-ins so that there is no conflict with the actual GStreamer *_get_type() functions for any reason. * gstreamer/src/Makefile.am: Remove unnecessary line. * gstreamer/src/mixer.hg: Remove unnecessary include. 2012-02-19 José Alburquerque Release 0.10.10.1. * NEWS: * configure.ac: 2012-02-19 José Alburquerque Fix the distcheck. * tests/test-plugin-signals.cc: Add an include to fix the build. 2012-02-19 José Alburquerque Allow the build to succeed for MinGW32. * configure.ac: Add logic to define the GSTREAMERMM_STATIC_LIB macro if the --enable-static option is passed to configure. * gstreamer/gstreamermmconfig.h.in: Add logic to decide how to build certain constants in Windows. * gstreamer/src/clock.ccg: * gstreamer/src/clock.hg: Correct the declaration and definition of the ClockTime constants so that it uses the above logic (namely the GSTREAMERMM_API macro) to decide how these constants should be linked when building in Windows. Also correct the use of 'static' in the declaration. * gstreamer/gstreamermm/wrap.h: Use the new GSTREAMERMM_API macro here also. Bug #669045 (Joao Paulo Pizani Flor). 2012-01-31 José Alburquerque Regenerate signals and properties. * gstreamer/src/gst_signals.defs: Regenerate to get the new properties of plugins. * gstreamer/src/gst_signals.defs.patch: Update the patch file to include a fix for the "discovered" signal of GstDiscoverer. 2012-01-30 José Alburquerque Fix the build with the latest GStreamer sources and glibmm. * examples/hello_world/main.cc: * examples/media_player_gtkmm/player_window.cc: * examples/media_player_gtkmm/player_window.h: * examples/ogg_player/main.cc: * examples/ogg_player_gtkmm/player_window.cc: * examples/optiongroup/main.cc: * examples/typefind/main.cc: Add needed includes to the example sources so that they build with the latest glibmm. * gstreamer/gstreamermm/wrap.cc: * gstreamer/src/bus.hg: * gstreamer/src/cddabasesrc.hg: * gstreamer/src/element.hg: * gstreamer/src/elementfactory.hg: * gstreamer/src/format.hg: * gstreamer/src/index.hg: * gstreamer/src/mixer.hg: * gstreamer/src/object.hg: * gstreamer/src/pad.hg: * gstreamer/src/plugin.hg: * gstreamer/src/preset.hg: * gstreamer/src/propertyprobe.hg: * gstreamer/src/query.hg: * gstreamer/src/ringbuffer.hg: * gstreamer/src/structure.hg: * gstreamer/src/task.hg: * gstreamer/src/typefind.hg: * gstreamer/src/typefindfactory.hg: * gstreamer/src/urihandler.hg: Add needed includes to the sources so that they also build with the latest glibmm. * tools/m4/plugingen_gstreamermm.m4: Add a _TRANSLATION from GstFraction to Gst::Fraction so that the plugin generation process works with the latest GStreamer sources. 2011-11-03 José Alburquerque Examples: Add a "Hello World" example. * examples/Makefile.am: * examples/hello_world/main.cc: Add a translation of the GStreamer helloworld example so that the GStreamer bindings page can be updated correctly (see the e-mail: http://lists.freedesktop.org/archives/gstreamer-devel/2011-October/033776.html) 2011-09-06 José Alburquerque Preset: Add an include to fix the build with git sources. * gstreamer/src/preset.hg: 2011-07-20 José Alburquerque 0.10.10. * NEWS: * configure.ac: Prepare for a new release. 2011-07-20 José Alburquerque Update the .gitignore file. 2011-07-20 José Alburquerque gstreamermm.h: Include discovererinfo.h. * gstreamer/gstreamermm.h: 2011-07-18 José Alburquerque Regenerate signal and property defs file. * gstreamer/src/gst_signals.defs: Regenerate to update the existing properties and signals of plugins. 2011-07-18 José Alburquerque DiscovererInfo: Wrap methods and add related classes with methods. * gstreamer/src/discovererinfo.{ccg,hg} (DiscovererInfo): Wrap the methods. (Discoverer[Audio|Container|Stream|Video]Info): Add these new classes which are related to DiscovererInfo and wrap their methods. DiscovererStreamInfo is a base class for the others. * tools/m4/convert_gst.m4: Add necessary conversions. * gstreamer/src/taglist.hg: Move a local conversion to this file from the main convert file above. 2011-07-18 José Alburquerque Event, Message, Plugin, Query: Get Structure as non-const. * gstreamer/src/event.hg: * gstreamer/src/message.hg: * gstreamer/src/plugin.hg: * gstreamer/src/query.hg: When getting a Structure get it a as non-const since it is a copy. 2011-07-18 José Alburquerque Examples: Port to gtkmm-3.0. * configure.ac: Require gtkmm-3.0 for examples. * examples/ogg_player_gtkmm/player_window.cc (on_button_open): Use FileFilter as a refcounted object (using Glib::RefPtr<>) because it is so in gtkmm-3.0. 2011-07-15 José Alburquerque Discoverer: Complete a TODO. * gstreamer/src/discoverer.hg (discovered): Use a Glib::Error instead of a GError when wrapping this signal. * tools/m4/convert_gst.m4: Add a GError conversion. 2011-07-15 José Alburquerque Discoverer: Wrap the methods, properties and signals. * tools/extra_defs_gen/generate_defs_gst.cc: Alphabetize the gst-plugins-base types and add the GST_TYPE_DISCOVERER GType to the extra defs generation utility. * gstreamer/src/gst_signals.defs: Regenerate with the utility to get the properties and signals of GstDiscoverer. * gstreamer/src/discoverer.{ccg,hg}: Wrap the constructor, the create method, the other methods, the properties and the signals. * tools/m4/convert_gst.m4: Add a GstDiscovererInfo conversion. 2011-07-15 José Alburquerque Add Gst::DiscovererInfo skeleton. * gstreamer/src/discovererinfo.{ccg,hg}: * gstreamer/src/filelist.am: Add the sources and mention them in the build. The _STRUCT_NOT_HIDDEN macro was needed when defining the class because otherwise gmmproc generates a 'typedef struct _GstDiscovererInfoClass GstDiscovererInfoClass' which is not the same typedef used in the C sources. 2011-07-13 José Alburquerque Discoverer: Use pkg-config to get the -lgstpbutils-0.10. * configure.ac (GSTREAMERMM_MODULES): Require the gstreamer-pbutils-0.10 package so that GSTREAMERMM_LIBS variable includes the -lgstpbutils-0.10 automatically. * examples/Makefile.am (LDDADD): Remove the extra (now unneeded) -lgstpbutils-0.10. * gstreamer/gstreamermm.pc.in (Libs): Remove it from here also because it is included automatically from the "Requires:" section. 2011-07-13 José Alburquerque gstreamermm.h: Add forgotten includes from newly added API. * gstreamer/gstreamermm.h: 2011-07-12 José Alburquerque Add Gst::Discoverer skeleton. * gstreamer/src/discoverer.{ccg,hg}: Add the source files including the Gst::Discoverer class definition though nothing is wrapped yet. * gstreamer/src/filelist.am: Mention the new source files in the build. * examples/Makefile.am (LDDADD): Add a -lgstpbutils-0.10 because it is needed when linking because it is not included in the gstreamer-plugins-base-0.10.pc file and has to be included so that the linker can find the GstDiscoverer related API. * gstreamer/gstreamermm.pc.in (Libs): Do the same so that users don't have to include the -lgstpbutils-0.10 themselves. 2011-07-12 José Alburquerque Element: Add request_pad() method overloads. * gstreamer/src/element.hg (request_pad): Use the new gmmproc syntax for specifying optional arguments in the _WRAP_METHOD macro to provide method overloads not requiring the name or the caps. 2011-07-12 José Alburquerque configure.ac: Require glibmm-2.28. * configure.ac: Require glibmm-2.28 because Gst::Mixer uses the Glib::[Array|List]Handler<> API which was added in that version. 2011-07-12 José Alburquerque Caps: Correct a compile error. * gstreamer/src/caps.ccg (set_simple): Use this->gobj() instead of just gobj() because gcc 4.5.2 sees that as error for some reason. 2011-05-25 José Alburquerque Element: Add request_pad() and a link_pads() overload. * gstreamer/src/pad.hg: Wrap the GstPadLinkCheck enum. * gstreamer/src/element.hg: Add regquest_pad() and link_pads() which wraps gst_element_link_pads_full(). * tools/m4/convert_gst.m4: Add necessary conversion. 2011-05-25 José Alburquerque ElementFactory: Added filter(), get_elements() and is_of_type(). * gstreamer/src/elementfactory.{ccg,hg}: Wrapped the GstElementFactoryListType as an enum as in TagList. Added the missing new methods. * tools/m4/convert_gst.m4: Added a GstRank enum conversion. 2011-05-24 José Alburquerque Value: Glib::Value<> specializations: Derive from ValueBase_Boxed. * gstreamer/src/value.hg: Make sure the Glib::Value<> specializations for the range classes derive from ValueBase_Boxed so that the classes can be used as properties. 2011-05-24 Olav Vitters Use tar-ustar instead of tar-pax to ensure OpenBSD compatibility 2011-05-23 José Alburquerque Structure: Remove the need of conversions when setting fields. * gstreamer/src/value.{ccg,hg}: Add Glib::Value<> specializations for the helper classes so that they can be properly translated by the Glib::ValueBase system when setting/getting the values to/from the C API. * gstreamer/src/structure.{ccg,hg} (_set_gstructure_field): Remove this method because translation is now done by the Glib::ValueBase system. (set_field): Rewritten so it doesn't use the above deleted method. * gstreamer/src/caps.ccg (set_simple): Also rewritten. 2011-05-22 José Alburquerque ElementFactory: Add some new methods. * gstreamer/src/elementfactory.hg: Add can_[sink|src]_[all|any]_caps() get_documentation_uri(), and get_icon_name() methods. 2011-05-17 José Alburquerque Caps: Add new methods. * gstreamer/src/caps.{ccg,hg}: Add the steal_structure() method and get_intersect() method accepting a Gst::CapsIntersectMode enum. Wrap the get_structure() method instead of handwriting it. * tests/test-caps-structures.cc: Adapt the test to use the new steal_structure() method. * tools/m4/convert_gst.m4: Added a GstCapsIntersect enum conversion. 2011-05-12 José Alburquerque BaseAudioSink, BaseSink, XOverlay: Add new methods. * gstreamer/src/baseaudiosink.hg: Add get_drift_tolerance() and set_drift_tolerance(). * gstreamer/src/basesink.hg: Add set_last_buffer_enabled(), is_last_buffer_enabled(), get_throttle_time() and set_throttle_time(). * gstreamer/src/xoverlay.hg: Add got_window_handle() and set_window_handle(). 2011-05-12 José Alburquerque Plugins: Add the funnel plug-in. * configure.ac: * gstreamer/src/filelist.am: Add the new funnel plug-in and mention it in the build. 2011-05-12 José Alburquerque Regenerate the defs files. * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_methods.defs: Regenerate all the defs files (the extra defs file has not changed) as of GStreamer 0.10.33. 2011-05-12 José Alburquerque Docs: Regenerate the docs and update the generation script. * gstreamer/src/generate-docs.sh: Update the script to use the new --no-since option of the doc generation tool. * gstreamer/src/gst_docs.xml: Regenerate to remove the "Since: ..." lines from the doc. 2011-05-08 José Alburquerque XOverlay: Wrap the set_render_rectangle() method. * gstreamer/src/xoverlay.hg: 2011-05-08 José Alburquerque Wrap new properties in classes as of GStreamer 0.10.32. * gstreamer/src/baseaudiosink.hg: * gstreamer/src/basesink.hg: * gstreamer/src/bin.hg: * gstreamer/src/ghostpad.hg: * gstreamer/src/object.hg: * gstreamer/src/padtemplate.hg: Wrap the properties. * gstreamer/src/gst_extra_objects.defs: Add GstStructure to the list of extra objects to avoid a gmmproc documentation parsing error. 2011-05-05 José Alburquerque Clean up the build output. * gstreamer/src/filelist.am: * gstreamer/src/gst.defs: * gstreamer/src/gst_extra_objects.defs: Add this file and mention it in the build (as is done in glibmm) so that gmmproc does not complain about missing object definitions when parsing the documentation. This makes the gmmproc output a little cleaner. * gstreamer/src/gst_signals.defs: * gstreamer/src/gst_signals.defs.patch: Regenerated the extra defs file containing the signal and property defs (and its patch file) with the patch in bug #649519 applied to glibmm's extra defs generation utility to clean up the build. Hopefully the patch will be accepted so gmmproc's output is cleaner for this module. 2011-05-04 José Alburquerque BaseSrc: Wrap the virtual functions. * gstreamer/src/basesrc.hg: Wrap the boolean virtual functions that were commented out. * tests/Makefile.am: * tests/test-base-src.cc: Added a small test to make sure that the newly wrapped virtual functions do not cause execution errors. The AlsaSrc element derives from BaseSrc and if there were problems with the virtual functions they would most likely show up while using that element. Carlo Wood should be thanked for providing a similar example on the list. This test was adapted from his sources. Thanks Carlo. 2011-04-28 José Alburquerque Mixer: Use std::vector<> instead of Glib::[Array|List]Handle<>. * gstreamer/src/mixer.{ccg,hg}: Wrap the MessageMixerVolumeChanged::parse() method taking a track and an array of volumes output parameter. Use std::vector<> for the parameters and return of methods instead of Glib::ArrayHandle<> throughout for consistency. * gstreamer/gstreamermm.h: Corrected a couple of TODO's. 2011-04-28 José Alburquerque AudioSink, AudioSrc: Wrap the virtual functions. * gstreamer/src/audiosink.hg: * gstreamer/src/audiosrc.hg: Wrap the virtual functions checking that it doesn't break the examples. The ogg_player_gtkmm uses the AlsaSink plug-in which derives from the AudioSink class and the example runs fine. The virtual functions of the AudioSrc class are wrapped just like the ones in the AudioSink class because they are parallel classes. 2011-04-27 José Alburquerque 0.10.9.1 * NEWS: * configure.ac: Make a new release with the ogg_player_gtkmm example running successfully. 2011-04-26 José Alburquerque Fix the build with GStreamer 0.10.32. * configure.ac: * gstreamer/src/filelist.am: Remove the funnel plug-in because it is not included in GStreamer 0.10.32. Also increase the GStreamer version requirement to 0.10.32. * gstreamer/src/gst_enums.defs: Regenerate with the 0.10.32 sources to fix the build. 2011-04-26 José Alburquerque BaseTransform: Revisit the virtual functions. * gstreamer/src/basetransform.ccg: * gstreamer/src/basetransform.hg: Review the wrapping of the virtual functions because the ogg_player_gtkmm example was failing to execute properly. * configure.ac: Tiny correction of the plug-in name extraction in the plug-in processing section. 2011-04-24 José Alburquerque Use the latest mm-common. * configure.ac: Update the mm-common prerequisite to 0.9.5. 2011-04-24 José Alburquerque Update .gitignore. 2011-04-18 José Alburquerque Plugin Generator: Remove the C struct class definition for signals. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Remove code related to the class declaration of plugins for wrapping the signals since no default handlers are generated anymore which was done to avoid accidentally including a C++ keyword for a signal name in the class definition. 2011-04-18 José Alburquerque configure.ac: Restore accidentally deleted comment text. * configure.ac: 2011-04-18 José Alburquerque Plugins: Wrap new core plugins. * configure.ac: Modify the format of the plugin definitions to include the target .hg basename along with the plugin name because some plugins (like the new input-selector and output-selector plugins) use dashes in the plugin name while the target .hg filename generally does not. * gstreamer/src/filelist.am: Add the new funnel, inpput-selector, output-selector and valve core plugins. * gstreamer/src/Makefile.am: Adapt to the above change. * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_enums.defs.patch: Update the enum defs patch and regenerate the enum defs file for the enums of the new plugins. * tools/extra_defs_gen/generate_defs_gst.cc: * gstreamer/src/gst_signals.defs: Add the new plugins to the extra defs generation utility and regenerate the extra defs file for the properties and signals of the new plugins. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Modified so that there are no build errors if a signal name of a plugin happens to be a C++ keyword (such as the "switch" signal of the input-selector plugin). 2011-04-17 José Alburquerque Plugin Generator: Use Glib::OptionContext instead of GOptionContext. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Use the available glibmm API for option parsing instead of the C API where possible. 2011-04-15 Murray Cumming Require a newer gmmproc. * configure.ac: Require giomm 2.26.0, so we require a more recent gmmproc from glibmm, to fix an m4 bug with some property descriptions. This fixes bug #647799 (Sebastian Dröge) 2011-04-14 Sebastian Dröge Link the plugin bindings generation tool with $(GSTREAMERMM_LIBS) too * tools/Makefile.am: Link the plugin bindings generation tool with $(GSTREAMERMM_LIBS) too. It depends on GObject, glibmm and other things. 2011-04-14 Murray Cumming 0.10.9 2011-04-14 Murray Cumming Dist the documentation scripts. * configure.ac: Require the latest mm-common (when building from git) and call MM_CONFIG_DOCTOOL_DIR() so we include the mm-common scripts in the tarball. 2010-10-21 José Alburquerque Fix the build with the latest GStreamer repositories. * gstreamer/src/gst_enums.defs.patch: Fixed the enums defs patch file with the latest GStreamer sources. * gstreamer/src/gst_enums.defs: Regenerated (specifically to get the theoraenc plugin's GstTheoraEncMultipassMode enum). * gstreamer/src/gst_signals.defs: Regenerated to get the new properties and signals of plugins. * gstreamer/src/bufferlist.hg (BufferList::n_groups): Wrote out the docs because, as the TODO comment says, the C function is not recognized by h2def.py and thus the docs is not generated. 2010-10-21 José Alburquerque BaseTransform: Wrote out bool vfuncs to avoid execution errors. * gstreamer/src/basetransform.ccg: * gstreamer/src/basetransform.hg: Wrote out the boolean virtual functions ensuring that both the functions and their callbacks return true at the end by default. This is to make sure that if the C API expects a true result on successful execution of the callbacks it gets it even if it is a default return. This ensures proper application execution. I suspect that if any should return false by default, it may be easier to catch those than the ones that should return true by default. 2010-10-18 José Alburquerque Update the README and the Doxygen main page documentation. * README: Updated to describe more precisely where the documentation can be found. * gstreamer/gstreamermm.h: Updated the Doxygen main page docs to explain that most of the core and base plug-ins have been wrapped (so it is not thought that more than a few are not wrapped). Re-worded the sentence about initializing the library. 2010-10-17 José Alburquerque Tests: BufferListIterator: Make sure the GType system is initialized. * tests/test-buffer-list-iterator.cc: Initialize gstreamermm so that the test executes successfully. The code used for the last release was slightly different and the new code seemed more correct, however it was missing the initialization statement to make sure the GType system was also initialized. 2010-10-15 José Alburquerque Release 0.10.8. * NEWS: * configure.ac: Prepare for a new release. 2010-10-15 José Alburquerque Audio[Sink,Src], BaseSrc, BaseTransform: Comment out bool vfuncs. * gstreamer/src/audiosink.hg: * gstreamer/src/audiosrc.hg: * gstreamer/src/basesrc.hg: * gstreamer/src/basetransform.hg: Comment out the wrapped boolean virtual functions because in fact they still do cause problems with the execution of applications. The ogg_player_gtkmm example, for example, does not run correctly with the virtual functions wrapped. These vfuncs will have to be handwritten (at least the ones that cause the problems) to make sure they return true by default. 2010-10-15 José Alburquerque Tests: Add simple buffer list iterator test. * tests/Makefile.am: * tests/test-buffer-list-iterator.cc: Add a simple test just to confirm the successful creation/destruction of a BufferListIterator. 2010-10-15 José Alburquerque BufferList: Wrap the iterate() method. * gstreamer/src/bufferlist.ccg: * gstreamer/src/bufferlist.hg: Wrap the BufferList::iterate() method. Also correct the logic of the foreach callback. * gstreamer/gstreamermm.h: Include the buffer list header file in the main includes. 2010-10-14 José Alburquerque Regenerate the docs. * gstreamer/src/generate-docs.sh: Correct docs generation script. * gstreamer/src/gst_docs.xml: Regenerate. 2010-10-14 José Alburquerque BufferList, BufferListIterator: Wrap most methods. * gstreamer/src/bufferlist.ccg: * gstreamer/src/bufferlist.hg: Wrap most BufferList and BufferListIterator methods. * gstreamer/src/gst_methodsdefs: Regenerate. * gstreamer/src/basesink.ccg: * gstreamer/src/basesink.hg: * gstreamer/src/gst_vfuncs.defs: Wrap the render_list_vfunc(). * tools/m4/convert_gst.m4: Add necessary conversions. 2010-10-14 José Alburquerque Virtual functions: const corrections. * gstreamer/src/audiosink.hg: * gstreamer/src/audiosrc.hg: * gstreamer/src/cddabasesrc.hg: * gstreamer/src/preset.ccg: * gstreamer/src/preset.hg: Const corrections. * gstreamer/src/bin.hg: Typo. 2010-09-02 José Alburquerque AudioSrc, BaseSrc: Wrap boolean virtual functions. * gstreamer/src/basesrc.hg: Uncomment boolean virtual functions that were previously wrapped. The ogg_player_gtkmm example, which uses a plug-in derived from this class (Gst::FileSrc), runs fine with the virtual functions uncommented. * gstreamer/src/audiosrc.hg: Uncomment the virtual functions here also, although it's not easy to test because no examples use the only plug-in derived from this class, Gst::AlsaSrc. 2010-08-31 José Alburquerque AudioSink: Wrap boolean virtual functions. * gstreamer/src/audiosink.hg: Uncomment commented out boolean virtual functions which don't appear to be a problem with the execution of the examples that use plugins that inherit from this class (such as the Gst::AlsaSink plugin). 2010-08-24 José Alburquerque Add initial implementation of BufferList and BufferListIterator. * gstreamer/src/bufferlist.ccg: * gstreamer/src/bufferlist.hg: * gstreamer/src/filelist.am: Add new source files and mention the .hg file so that they are built. 2010-08-10 José Alburquerque BaseTransform: Wrap virtual functions. * gstreamer/src/basetransform.hg: Uncomment the virtual functions so that they are wrapped. Wrapped the new "accept_caps" virtual function. The boolean virtual functions here don't seem to cause problems if they don't return true as the BaseSink ones do. The ogg_player_gtkmm example works fine even if it uses the AudioConvert element which derives from BaseTransform. The media_player_gtkmm example, on the other hand, crashes if the BaseSink boolean virtual functions do not return true because it uses the XimageSink element which derives from BaseSink. * gstreamer/src/gst_vfuncs.defs: Added the BaseTransform "accept_caps" virtual function. 2010-08-06 José Alburquerque BaseSink: Wrap remaining virtual functions. * gstreamer/src/basesink.ccg: * gstreamer/src/basesink.hg: Manually wrap the remaining boolean virtual functions making sure that they return true by default. The C API does not set default handlers for the virtual functions (in the init function) causing our virtual functions to return false by default which apparently is considered an error by the underlying API. 2010-08-06 José Alburquerque Fix the build with GCC 4.5. * gstreamer/src/message.ccg (wrap): Store the message type as a GstMixerMessage type for testing in the second switch clause to avoid a compiler warning. 2010-08-06 José Alburquerque Mixer: Use correct syntax for object construction. * gstreamer/src/mixer.ccg (get_volume): Use ArrayHandle<>() for constructing the list instead of Glib::ArrayHandle<>::ArrayHandle<>() which is incorrect. Fixes bug #626203 (Diego E. Flameeyes Pettenò) 2010-07-21 José Alburquerque BaseSink: Wrap the "enable-last-buffer" property. * gstreamer/src/basesink.hg: Wrap the "enable-last-buffer" property which a lot of derived classes (including plugins) inherit. 2010-07-21 José Alburquerque Fix the build with the 0.10.30 version of GStreamer. * configure.ac: Update the GStreamer version requirement to 0.10.30 which is the latest release. * gstreamer/src/gst_signals.defs: Regenerate extra defs to get the new properties for the decodebin2, playbin2, and uridecodebin plugins, added in the GStreamer 0.10.30 release. 2010-06-06 José Alburquerque Remove the optional API #ifdefs. As in gtkmm, remove the #ifdefs related to optional API like exceptions, virtual functions, etc. because now the API is not optional. 2010-05-30 José Alburquerque 0.10.7.3. * configure.ac: New release that compiles with GCC 4.5. 2010-05-30 José Alburquerque Iterator: Correct casts and code order. * gstreamer/src/iterator.hg: Use C++ style casts instead of C ones. (IteratorBase): Reorder method definitions so that constructors come before methods. Apparently they were defined as in the class declaration (where they are declared protected after the method declarations), but it might be better to define them first for readability. 2010-05-30 Daniel Elstner Update list of files ignored by version control 2010-05-30 Daniel Elstner Correct wrong syntax for object construction * tools/m4/convert_gst.m4 (GstIterator): Change conversions to use the correct C++ syntax for constructing objects; Iterator() instead of Iterator::Iterator(). The latter fails with GCC 4.5. Reported by Kacper Kowalik, GNOME bug #618565. * gstreamer/src/format.ccg (iterate_format_definitions): As above. 2010-05-25 José Alburquerque Correct some typos. * gstreamer/src/event.hg: * gstreamer/src/message.hg: * gstreamer/src/query.hg: Remove unnecessary '*' in docs. * gstreamer/src/element.hg: Typo. 2010-05-24 José Alburquerque Release 0.10.7.2. * NEWS: * configure.ac: Make a new release with a better Doxygen main page (I really should double check things before releasing). 2010-05-24 José Alburquerque Refine the Doxygen main page. * gstreamer/gstreamermm.h: - Include references to main classes that users might want to know about. - Make the features a list instead of a paragraph. - Include a paragraph about initializing the library and a reference to the GStreamer Application Development Manual. - Use caps for section names so that it looks nice in the web pages. Apparently, this makes Doxygen use the section title instead of the name. * docs/reference/Doxyfile.in: Use options from gtkmm for consistency. * README: Typos. 2010-05-23 José Alburquerque Release 0.10.7.1. * NEWS: * configure.ac: Make a new release that includes a main page for the Doxygen documentation. 2010-05-23 José Alburquerque Add a main page to the Doxygen documentation. * docs/Makefile.am: * gstreamer/gstreamermm.h: Add a main page to the Doxygen docs as in other *mm modules. 2010-05-07 José Alburquerque Media Player Example: Use the m_* prefix for member variables. * examples/media_player_gtkmm/player_window.cc: * examples/media_player_gtkmm/player_window.h (x_window_id): Rename to m_xwindow_id so that it uses the m_* prefix like the rest of the member variables do. 2010-05-06 José Alburquerque NEWS: Correct the file format. * NEWS: Slightly correct the format of the entries so consistency is kept in the future. 2010-04-17 Shaun McCance [gstreamermm.doap] Fix invalid mulitple objects in maintainer property 2010-04-12 José Alburquerque Prepare for 0.10.7 release. * NEWS: * configure.ac: Update NEWS and version number. * gstreamer/gstreamermm.h: Add missing plug-in include. 2010-04-12 José Alburquerque Pad: Cleaned up _IGNORE's. * gstreamer/src/pad.hg: Cleaned up _IGNORE's. * gstreamer/src/pad.ccg (Pad::set_blocked_async): Use gst_pad_set_blocked_async_full() to get destroy notification of slots. 2010-04-09 José Alburquerque Wrap some new API included in recent GStreamer release. * gstreamer/src/basesrc.hg: Wrapped new_seamless_segment(). * gstreamer/src/caps.hg: Wrapped set_value() and can_intersect() methods. * gstreamer/src/event.ccg: * gstreamer/src/event.hg: Added new EventSinkMessage class. * gstreamer/src/registry.hg: Wrapped get_feature_list_cookie(). * gstreamer/src/structure.hg: Included _IGNORE()'s for functions that need not be wrapped. 2010-03-21 kitone MessageDuration: Correct variables named 'position' to 'duration'. * gstreamer/src/message.ccg: * gstreamer/src/message.hg: Rename occurrences of 'position' to * 'duration' in Gst::MessageDuration. 2010-03-15 José Alburquerque Regenerate defs files using new GStreamer release (0.10.28). * gstreamer/src/gst_docs.xml: Regenerated with docextract_to_xml.py. * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_enums.defs.patch: Regenerated defs file using glibmm's new enum generation tool and updated the patch file. * gstreamer/src/gst_methods.defs: * gstreamer/src/gst_methods.defs.patch: Regenerate with h2def.py and updated the patch file. 2010-03-15 José Alburquerque AudioRate Plug-in: Regenerate extra defs to get properties. * tools/extra_defs_gen/generate_defs_gst.cc: * gstreamer/src/gst_signals.defs: Add audiorate plug-in to the extra defs generation tool and regenerate signals defs file to get the plug-in's properties. 2010-03-12 José Alburquerque Bump gstreamer requirement to 0.10.28. * configure.ac: Bump gstreamer requirement to 0.10.28 because of new properties (for the TheoraEnc plug-in) and new plug-ins (queue2, subtitleoverlay and audiorate) that are included from those core and base releases. Fixes bug #612563 (David King) 2010-03-12 José Alburquerque Add new audiorate base plug-in. * configure.ac: * gstreamer/src/filelist.am: Add new audiorate plug-in from new GStreamer release to complement the already added queue2 and subtitleoverlay core and base plug-ins respectively. 2010-03-12 José Alburquerque TheoraEnc Plugin: Regenerate extra defs for needed properties. * gstreamer/src/gst_signals.defs: Regenerated this file to get the new properties included in the new GStreamer release. 2010-03-09 José Alburquerque Event, Query: Wrap virtual functions. * gstreamer/src/event.ccg: * gstreamer/src/event.hg: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: Wrap virtual functions MiniObject classes. Also use custom wrap_new() functions where the classes have a local wrap() method. * gstreamer/src/buffer.hg: Typo. 2010-03-09 José Alburquerque Message: Revert changes for partial fix of bug #608702. * gstreamer/src/message.ccg: Revert the changes to partially fix bug #608702 because really a change in the C API is needed so that this bug can be fully fixed. The fix for leaks of mini objects must wait for bug #609473 to be addressed by the GStreamer developers. 2010-02-11 José Alburquerque TaskPool: Use 'protected' for the wrapped default constructor. * gstreamer/src/taskpool.hg: Make sure the default constructor is protected and not accidentally private from the generation process. * gstreamer/src/message.ccg: Be a bit more verbose about why the extra reference is taken in the wrap_new() method. 2010-02-11 José Alburquerque Message: Use a custom wrap_new() to generate correct Message class. * gstreamer/src/message.ccg: * gstreamer/src/message.hg: Used a custom wrap_new() method which uses the Gst::Message::wrap() method to generate the correct Message class wrapper. Wrapped the copy_vfunc() virtual function. 2010-02-07 José Alburquerque Message: Modify create() method so that wrappers are not leaked. * gstreamer/src/message.ccg: * gstreamer/src/message.hg: Wrapped the finalize virtual function of GstMiniObject. Modified the create() method so that the C++ wrapper is stored in the structure of the message. Hooked into the GstMiniObject finalize virtual function so that wrappers can be deleted before final message destruction. * gstreamer/src/gst_vfuncs.defs: Defined GstMessage finalize vfunc. Partly fixes bug #608702 (Massimiliano). 2010-02-05 José Alburquerque MiniObject: Lay the foundation for virtual methods in derived classes. * gstreamer/gstreamermm/miniobject.cc (class_init_function): Modified method to override the GstMiniObject virtual methods. (MiniObject): Added new constructor designed to be used to initialize the Glib::Class sort of as what is done with the ConstructParams Glib::Object constructor. (copy_vfunc_callback): (copy_vfunc): (finalize_vfunc_callback): (finalize_vfunc): Wrote out first attempt at the two GstMiniObject virtual functions. * gstreamer/gstreamermm/miniobject.h (MiniObject): Declared new constructor. (copy_vfunc): (finalize_vfunc): Declared virtual functions. * gstreamer/gstreamermm/private/miniobject_p.h (copy_vfunc_callback): (finalize_vfunc_callback): Declared virtual function callbacks. * tools/m4/class_gstminiobject.m4 (_MINI_CTOR_DEFAULT): Added default constructor wrapping macro for Gst::MiniObject derived classes. The default constructor will use the Glib::Class initializing parent constructor sort of as what happens with the ConstructParams Glib::Object constructor. (_PH_MINIOBJECTCLASS_DECLARATION): Added a section which includes the virtual function declarations. * gstreamer/src/element.hg (~ElementInterfaced): Code formatting. 2010-02-02 José Alburquerque Correct constant declarations in header files. * gstreamer/src/basetransform.ccg: * gstreamer/src/basetransform.hg (BASE_TRANSFORM_SINK_NAME): Move constant into the BaseTransform class renaming it to SINK_NAME. (BASE_TRANSFORM_SRC_NAME): Ditto. * gstreamer/src/clock.hg: Declare the ClockTime constants as static and use GLIBMM_API for if the library is compiled in Windows. * gstreamer/src/event.hg: * gstreamer/src/interface.hg: * gstreamer/src/iterator.hg: * gstreamer/src/message.hg: * gstreamer/src/query.hg: * gstreamer/src/taglist.hg: * gstreamer/src/tagsetter.hg: Code formatting. * gstreamer/gstreamermm/gst_wrap_init.h: Typo. 2010-02-01 José Alburquerque Remove initial class identification in Doxygen class docs. * gstreamer/src/audioclock.hg: * gstreamer/src/audiofilter.hg: * gstreamer/src/audiosink.hg: * gstreamer/src/audiosrc.hg: * gstreamer/src/baseaudiosink.hg: * gstreamer/src/baseaudiosrc.hg: * gstreamer/src/basesink.hg: * gstreamer/src/basesrc.hg: * gstreamer/src/basetransform.hg: * gstreamer/src/bin.hg: * gstreamer/src/buffer.hg: * gstreamer/src/bus.hg: * gstreamer/src/caps.hg: * gstreamer/src/cddabasesrc.hg: * gstreamer/src/childproxy.hg: * gstreamer/src/clock.hg: * gstreamer/src/colorbalance.hg: * gstreamer/src/colorbalancechannel.hg: * gstreamer/src/element.hg: * gstreamer/src/elementfactory.hg: * gstreamer/src/error.hg: * gstreamer/src/event.hg: * gstreamer/src/filter.hg: * gstreamer/src/format.hg: * gstreamer/src/ghostpad.hg: * gstreamer/src/index.hg: * gstreamer/src/indexfactory.hg: * gstreamer/src/interface.hg: * gstreamer/src/iterator.hg: * gstreamer/src/message.hg: * gstreamer/src/mixer.hg: * gstreamer/src/mixeroptions.hg: * gstreamer/src/mixertrack.hg: * gstreamer/src/navigation.hg: * gstreamer/src/object.hg: * gstreamer/src/pad.hg: * gstreamer/src/padtemplate.hg: * gstreamer/src/parse.hg: * gstreamer/src/pipeline.hg: * gstreamer/src/plugin.hg: * gstreamer/src/pluginfeature.hg: * gstreamer/src/preset.hg: * gstreamer/src/propertyprobe.hg: * gstreamer/src/pushsrc.hg: * gstreamer/src/query.hg: * gstreamer/src/registry.hg: * gstreamer/src/ringbuffer.hg: * gstreamer/src/segment.hg: * gstreamer/src/streamvolume.hg: * gstreamer/src/structure.hg: * gstreamer/src/systemclock.hg: * gstreamer/src/taglist.hg: * gstreamer/src/tagsetter.hg: * gstreamer/src/task.hg: * gstreamer/src/taskpool.hg: * gstreamer/src/tuner.hg: * gstreamer/src/tunerchannel.hg: * gstreamer/src/tunernorm.hg: * gstreamer/src/typefind.hg: * gstreamer/src/typefindfactory.hg: * gstreamer/src/urihandler.hg: * gstreamer/src/value.hg: * gstreamer/src/videoorientation.hg: * gstreamer/src/videosink.hg: * gstreamer/src/xml.hg: * gstreamer/src/xoverlay.hg: Remove initial class identification in Doxygen docs of classes and plug-ins because it looks redundant in the documentation. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Correct help information that is printed at the command line with the '-?' option. 2010-01-28 José Alburquerque Include new core and base plug-ins (queue2 and subtitleoverlay). * configure.ac: * gstreamer/gstreamermm.h: * gstreamer/src/filelist.am: * tools/extra_defs_gen/generate_defs_gst.cc: Add new queue2 core plug-in and subtitleoverlay base plug-in. * gstreamer/src/gst_docs.xml: * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_methods.defs: * gstreamer/src/gst_signals.defs: Regenerate to include new method, enum, property and signal defs along with updated docs from the GStreamer-0.10.25.2 pre-release. * .gitignore: Update to exclude generated plug-in sources. 2009-12-27 José Alburquerque Release 0.10.6. * NEWS: * configure.ac: Prepare for release 0.10.6. * gstreamer/src/index.ccg: Minor reformatting. 2009-12-23 José Alburquerque Make gobj() method definitions in API inline. * gstreamer/src/ringbuffer.ccg: * gstreamer/src/ringbuffer.hg (gobj): * gstreamer/src/element.hg (ElementInterfaced<>::gobj) (ElementInterfaced<>::gobj_copy): Define these short methods where they are declared in the header so that they are used inline (as is done generally in *mm projects). (ElementInterfaced<>): Make the class non-copyable like other refcounted classes. Also add the template class to the group of interfaces in the docs so that it is accessible there because it is related to the use of interfaces. 2009-12-22 José Alburquerque Mixer: Correct the list_tracks() methods docs. * gstreamer/src/mixer.hg (list_tracks): Correct the docs for the two methods because it is not properly generated by pygobject's docextract_to_xml.py. 2009-12-22 José Alburquerque TagList: Export a lookup function for tags and not the internal array. * gstreamer/src/taglist.ccg (_tag_strings): Make array of const char* static within the file so it cannot be accessed outside. * gstreamer/src/taglist.hg (gstreamermm_get_stock_tag): Defined this method to get internal tags instead of having to access the internal array. * gstreamer/src/tagsetter.ccg (add_tag): Modified methods to use look up function above instead of accessing the internal _tag_strings array. 2009-12-22 José Alburquerque RingBufferSpec: Use _MEMBER_[GET|SET] macros for accessing members. * gstreamer/src/ringbuffer.ccg: * gstreamer/src/ringbuffer.hg (RingBufferSpec): Use _MEMBER_[GET|SET] macros for setting and getting members where possible instead of handwriting the methods. This works because RingBufferSpec implements gobj() methods. * tools/m4/convert_gst.m4: Added GstBufferFormat and GstBufferFormatType enum conversions. 2009-12-22 José Alburquerque Pad: Make constructors handle errors as in GhostPad. * gstreamer/src/pad.ccg (Pad): Corrected casting in _CONSTRUCT macros and included error handling in constructors that might be dealing with null PadTemplates. Used Glib::unwrap() for templates that might be null. * gstreamer/src/ghostpad.ccg (GhostPad): Use Glib::unwrap() as above in constructors. * gstreamer/src/pad.hg (Pad): Added docs to constructors. (create): * gstreamer/src/ghostpad.hg (create): Added docs about exceptions that might be thrown because of calls to create() methods. * gstreamer/src/audioclock.ccg (AudioClock): Check for an empty "name" property in _CONSTRUCT macro. * gstreamer/src/iterator.hg (IteratorBase, IteratorBasic, Iterator): * gstreamer/src/ringbuffer.hg (RingBufferSpec): Use explicit in constructors with default arguments that might be interpreted as single parameter constructors. 2009-12-20 José Alburquerque Make exception handling code in classes accessible globally. * gstreamer/gstreamermm/filelist.am: * gstreamer/gstreamermm/handle_error.cc: * gstreamer/gstreamermm/handle_error.h (gstreamermm_handle_error): Added this new function to report errors in gstreamermm either by exception (if they are enabled) or to std::err (otherwise) so that it can be used globally throughout gstreamermm. * gstreamer/src/bin.ccg: * gstreamer/src/bin.hg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/iterator.hg: * gstreamer/src/ghostpad.hg: * gstreamer/src/ghostpad.ccg: Modified to use the global error handling function above and not a member class defined one. (GhostPad): * gstreamer/src/pipeline.ccg (Pipeline): Use proper casting in _CONSTRUCT macros of these constructors. * gstreamer/src/ringbuffer.hg: * gstreamer/src/ringbuffer.ccg (RingBufferSpec): Use g_try_new() for underlying C object allocation in the constructors and use the error handling function above to report errors if any allocation errors occur. * gstreamer/src/format.ccg (get_format_details): * gstreamer/src/query.ccg (get_details): Use "if(!...) return false;" instead of g_return_val_if_fail(). * gstreamer/src/basesink.ccg: * gstreamer/src/parse.ccg: Removed unneeded parenthesis. 2009-12-18 José Alburquerque Plugin Generator: Generate convenience methods for action signals. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Added code to generate convenience methods for action signals. Factored out common strings that could be used in all the code and modified code accordingly. * gstreamer/src/bus.hg: Reformatting. 2009-12-16 José Alburquerque Use std::auto_ptr<> in classes that keep member slots. * gstreamer/src/audioclock.ccg: * gstreamer/src/audioclock.hg: * gstreamer/src/task.ccg: * gstreamer/src/task.hg: Use std::auto_ptr<> for classes that are constructed with slots and keep a copy of the slots so that they are automatically freed with the auto_ptr. If the C API had new functions with destroy notification this would not be necessary, but it doesn't seem complicated to compensate in C++. 2009-12-16 José Alburquerque Gst::RingBufferSpec: Avoid copying between it and its C counterpart. * gstreamer/src/ringbuffer.ccg: * gstreamer/src/ringbuffer.hg (RingBufferSpec): Re-implement as a class with an underlying GstRingBufferSpec* instead of a struct so that copying to and from the C object is not necessary in the implementation of virtual functions. Also, functions with GstRingBufferSpec* parameters can be wrapped with _WRAP_METHOD. (acquire): (parse_caps): Wrapped with _WRAP_METHOD. * gstreamer/src/audiofilter.ccg (setup_vfunc): * gstreamer/src/audiosink.ccg (prepare_vfunc): * gstreamer/src/audiosrc.ccg (prepare_vfunc): Modified usage of Gst::RingBufferSpec in virtual functions and their callbacks so that copying is now not done because it is no longer necessary. * tools/m4/convert_gst.m4: Added a conversion from Gst::RingBufferSpec& to GstRingBufferSpec*. 2009-12-10 José Alburquerque RingBuffer: Wrap virtual functions. * gstreamer/src/ringbuffer.ccg: * gstreamer/src/ringbuffer.hg: Wrapped virtual functions. (RingBufferSpec): Declare it as a struct and make the members public. Document the use of the members and justify why it was declared as a struct and not a class. (RingBufferSpec::silence_sample): Use a std::vector<> for the member type instead of int[32]. (RingBufferSpec::copy_fields_from): Renamed to copy_from(). (RingBufferSpec::copy_fields_to): Renamed to copy_to(). (RingBufferSpec::RingBufferSpec): Deleted "castitem" constructor. (RingBuffer::SlotFill): Use std::vector instead of a guint8* for the data parameter. (RingBuffer::commit): (RingBuffer::read): Use a Glib::ArrayHandle for the data parameter in these three methods instead of a guchar*. (RingBuffer::prepare_read): Use a std::vector for the readptr parameter instead of a guint8*&. (slot): Renamed member to m_slot and used a std::auto_ptr<> for automatic memory management. This made it unnecessary to use the bool member _slot_set and to have custom constructors and destructors. (_slot_set): Deleted. * gstreamer/src/gst_vfuncs.defs: Alphabetized and added GstRingBuffer's virtual method definitions. * gstreamer/src/audiofilter.ccg: * gstreamer/src/audiofilter.hg: Correct class docs. (setup_vfunc): * gstreamer/src/audiosink.ccg: * gstreamer/src/audiosink.hg: (prepare_vfunc): * gstreamer/src/audiosrc.ccg: * gstreamer/src/audiosrc.hg: (prepare_vfunc): Use a non-const RingBufferSpec in the virtual methods as it could be modified. Also correct the implementation of the methods (and their callbacks) to copy back and forth between the C struct and the C++ struct. 2009-12-09 José Alburquerque Make single argument constructors explicit. * gstreamer/src/format.hg: * gstreamer/src/index.hg: * gstreamer/src/pad.hg: * gstreamer/src/query.hg: * gstreamer/src/task.hg: * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Use 'explicit' for single argument constructors so that they are used explicitly and not by an implicit conversion. * gstreamer/src/element.hg: Also update the ElementInterfaced<> docs. 2009-12-07 José Alburquerque VideoSink: Wrap center_rect() method. * gstreamer/src/videosink.hg (center_rect): Wrap static method. (propery_show_preroll_frame): Wrap property. * gstreamer/src/cddabasesrc.ccg (probe_devices_vfunc): Use Glib::OWNERSHIP_NONE in virtual function when constructing the ArrayHandle<> so that the underlying data is not deleted with the resulting ArrayHandle. * gstreamer/src/childproxy.ccg: Typo. 2009-12-04 José Alburquerque CddaBaseSrc: Wrap virtual functions. * gstreamer/src/cddabasesrc.ccg: * gstreamer/src/cddabasesrc.hg: * gstreamer/src/gst_vfuncs.defs: Wrapped add_track() and virtual functions. Used std::string for device property. Corrected tag references in docs. 2009-12-04 José Alburquerque TaskPool: Wrap virtual functions. * gstreamer/src/taskpool.ccg: * gstreamer/src/taskpool.hg: * gstreamer/src/gst_vfuncs.defs: Wrapped Gst::TaskPool vfuncs. * examples/typefind/main.cc (main): Used #ifdefs for lines dealing with properties for when properties are disabled. 2009-12-02 José Alburquerque Message[Error|Warning|Info]: Fix the parse_debug() methods. * gstreamer/src/message.ccg (MessageError::parse_debug): (MessageWarning::parse_debug): (MessageInfo::parse_debug): Use a temporary GError* which the gst_message_parse_[warning|info|error]() methods require to get to the debug string. * gstreamer/src/mixer.ccg: * gstreamer/src/mixer.hg: Typos. 2009-12-01 José Alburquerque Element: Correct the release_request_pad() docs. * gstreamer/src/element.hg (release_request_pad): Remove the unreferencing instructions in the docs as that is done automatically with Glib::RefPtr<>. 2009-11-29 José Alburquerque MixerTrack: Add a has_flags() method to check for MixerTrackFlags * gstreamer/src/mixertrack.ccg: * gstreamer/src/mixertrack.hg (has_flags): Add boolean method to determine whether certain flags are present in the Gst::MixerTrack. 2009-11-29 José Alburquerque Add extra source files to Doxygen source processing * docs/Makefile.am: Add source files in gstreamer/gstreamermm/ listed in the list of extra files to be processed by Doxygen. 2009-11-25 José Alburquerque Use g_new() instead of new where C and C++ API might mix * gstreamer/src/mixer.ccg (get_volume): Use g_new() instead of new to allocate array of volumes to allow successful debugging with libcwd. * configure.ac: Typo. 2009-11-19 José Alburquerque Added a comment to a TODO. 2009-10-27 José Alburquerque TagList: Distinguish wrap method by name rather than by parameter. * gstreamer/src/message.ccg: * gstreamer/src/tagsetter.hg: * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: * tools/m4/class_boxedtype_extra.m4: * tools/m4/convert_gst.m4: Use Glib::wrap_taglist() for the TagList wrap() method instead of distinguishing it by parameters. 2009-10-23 José Alburquerque MiniObject: Make the constructors and destructor protected. * gstreamer/gstreamermm/miniobject.h: Make the constructors and destructor protected as is done in Glib::Object. 2009-10-23 José Alburquerque Make sure the MiniObject type is registered in the GType system. * gstreamer/gstreamermm/miniobject.cc: * gstreamer/gstreamermm/miniobject.h: * gstreamer/gstreamermm/private/miniobject_p.h: Added code to ensure that the MiniObject class can be successfully registered with the GType system. Made the class non-copyable as it should be with reference counted classes. Removed the copy() method which doesn't make sense for a reference counted class. Use gst_mini_object_copy() in gobj_copy(). Included a Value< Glib::RefPtr > template specialization to make sure that MiniObject can work with the Glib::ValueBase system. * tools/m4/class_gstminiobject.m4: Use gst_mini_object_copy() in gobj_copy() for MiniObject derived classes. * gstreamer/src/event.ccg: * gstreamer/src/event.hg: * gstreamer/src/message.ccg: * gstreamer/src/message.hg: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: Remove the copy() method which doesn't make sense for reference counted classes. * gstreamer/src/structure.ccg: Remove the MiniObject conversion section in the _set_gstructure_field() gstreamermm/GStreamer translation function because it is not needed. * gstreamer/gstreamermm/wrap.h: Remove unneeded include. 2009-10-21 José Alburquerque Correct typo in ChangeLog. 2009-10-21 José Alburquerque Fix the taglist test to fix the distcheck. * tests/test-taglist.cc (main, taglist): Fix the boolean check of the validity of the taglist variable after construction. (main, rate): Initialize the rate variable to avoid warning. 2009-10-21 José Alburquerque Enable fatal warnings mode. * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): enable fatal warnings mode. * examples/media_player_gtkmm/main.cc (main): * examples/ogg_player/main.cc (main): * examples/ogg_player_gtkmm/main.cc (main): * tests/test-caps-structures.cc (main): * tests/test-caps.cc (main): * tests/test-create-bin.cc (main): * tests/test-create-bus.cc (main): * tests/test-create-element.cc (main): * tests/test-event-wrap.cc (main): * tests/test-ghost-pad.cc (main): * tests/test-init-check-noargs.cc (main): * tests/test-init-check.cc (main): * tests/test-init-noargs.cc (main): * tests/test-init.cc (main): * tests/test-interface.cc (main): * tests/test-iterator.cc (main): * tests/test-link-elements.cc (main): * tests/test-message-wrap.cc (main): * tests/test-miniobject-wrap.cc (main): * tests/test-pad.cc (main): * tests/test-pipeline-add-element.cc (main): * tests/test-plugin-gen.cc (main): * tests/test-plugin-signals.cc (main): (on_handoff): * tests/test-property-caps.cc (main): * tests/test-query-wrap.cc (main): * tests/test-structure.cc (main): * tests/test-taglist.cc (main): * tests/test-tagsetter.cc (main): Use char** instead of char*[] for argv and remove unused parameters. * gstreamer/gstreamermm/miniobject.cc: * gstreamer/gstreamermm/miniobject.h: * gstreamer/gstreamermm/private/miniobject_p.h: Don't derive from Glib::ObjectBase to avoid having to explicitly initialize it in the MiniObject copy constructor. * tools/m4/class_gstminiobject.m4 (class_init_function): return a Gst::MiniObject* instead of a Glib::ObjectBase* for Gst::MiniObject derived classes. * gstreamer/gstreamermm/wrap.cc (wrap_create_new_wrapper_for_interface): use Gst::quark_ instead of Glib::quark_. * gstreamer/src/taglist.ccg: * gstreamer/src/taglist.hg: Don't derive from Gst::Structure to avoid having two different gobject_ members. (operator bool): Added because it already had one from Gst::Structure which some of the tests use. 2009-10-16 José Alburquerque Use unwrap() instead of gobj() for Glib::RefPtr<> type classes. * gstreamer/src/basesink.ccg: * gstreamer/src/basesink.hg: * gstreamer/src/basesrc.hg: * gstreamer/src/basetransform.ccg: * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: * gstreamer/src/childproxy.ccg: * gstreamer/src/element.ccg: * gstreamer/src/interface.hg: * gstreamer/src/message.ccg: * gstreamer/src/mixer.ccg: * gstreamer/src/object.hg: * gstreamer/src/xml.ccg: * tools/m4/convert_gst.m4: Use unwrap() instead of dereferencing the RefPtr to call gobj() because unwrap() checks for null RefPtr's. 2009-10-16 José Alburquerque Examples and Tests: Return 1 on error instead of -1. * examples/media_player_gtkmm/main.cc: * examples/ogg_player_gtkmm/main.cc: * examples/typefind/main.cc: * tests/test-init-check-noargs.cc: * tests/test-init-check.cc: * tests/test-plugin-signals.cc: * tests/test-property-caps.cc: Use a return of 1 for errors instead of a -1. * gstreamer/src/xml.ccg: Typo. 2009-10-16 José Alburquerque Use C++ style casts instead of C casts. * gstreamer/src/audioclock.ccg: * gstreamer/src/basesink.ccg: * gstreamer/src/basesrc.ccg: * gstreamer/src/basetransform.ccg: * gstreamer/src/bus.ccg: * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: * gstreamer/src/clock.ccg: * gstreamer/src/element.ccg: * gstreamer/src/event.ccg: * gstreamer/src/format.ccg: * gstreamer/src/index.ccg: * gstreamer/src/message.ccg: * gstreamer/src/object.ccg: * gstreamer/src/query.ccg: * gstreamer/src/segment.ccg: * gstreamer/src/task.ccg: * gstreamer/src/xml.ccg: Correct casts to be C++ casts instead of C casts. 2009-10-15 José Alburquerque Use anonymous namespaces and extern "C" where appropriate. * gstreamer/src/audioclock.ccg: * gstreamer/src/bus.ccg: * gstreamer/src/clock.ccg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/filter.ccg: * gstreamer/src/index.ccg: * gstreamer/src/pad.ccg: * gstreamer/src/plugin.ccg: * gstreamer/src/registry.ccg: * gstreamer/src/structure.ccg: * gstreamer/src/task.ccg: * gstreamer/src/taskpool.ccg: Use anonymous namespaces and extern "C" declarations of functions that could be called from C as Daniel's previous commits have exemplified. The other changes (like using existing C++ API, using characters instead of strings for single characters, etc.) are also clear. Though, as Daniel suggested, I might need to go on irc once in a while to get input from him on things I might not understand there when he's available. * gstreamer/src/ringbuffer.ccg: * gstreamer/src/taglist.ccg: * gstreamer/src/typefind.ccg: * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: whitespace. 2009-10-06 Daniel Elstner Replace ':' with $PATH_SEPARATOR for portability * configure.ac (GST_INSPECT): Substitute $PATH_SEPARATOR in place of the literal colon to separate search path components. 2009-10-06 Daniel Elstner Avoid compiler warning in ogg_player example * examples/ogg_player/main.cc: Place file-scope declarations into an anonymous namespace. (on_sink_pad_have_data): Remove unused parameter name to get rid of a compiler warning. (main): Return exit code 1 rather than -1 on failure. 2009-10-06 Daniel Elstner Harden TypeFind code and avoid compiler warning * gstreamer/src/typefind.ccg: Place file-scope declarations into an anonymous namespace. (TypeFind_Find_gstreamermm_callback): Remove unused parameter name to avoid a compiler warning. Use extern "C" calling convention. (TypeFind_Find_gstreamermm_callback_destroy): Use extern "C" calling convention. (TypeFind::register_slot): Use Glib::unwrap() instead of ->gobj() where appropriate, in order to allow for null RefPtr<> arguments. 2009-10-06 Daniel Elstner Comment on TagList code and avoid some warnings * tools/m4/class_boxedtype_extra.m4 (_END_CLASS_BOXEDTYPE_EXTRA): Remove dummy parameter name from the definition of Glib::wrap(). Comment on the dummy parameter looking fishy to me. * gstreamer/src/taglist.hg (TagList): Explain in a comment that the class is wrapped incorrectly and should be reworked at the next ABI break. * gstreamer/src/taglist.ccg: Place file-scope declarations into an anonymous namespace. (TagList_foreach_gstreamermm_callback): Remove unused parameter name to get rid of a compiler warning. Use extern "C" calling convention. (TagList::add_value): Call new gst_tag_list_add_value() function. (TagList::add): Replace C-style casts with appropriate C++ casts. 2009-10-06 Daniel Elstner Clean up RingBuffer code and avoid warning * gstreamer/src/ringbuffer.hg: Annotate API with a few TODO comments. * gstreamer/src/ringbuffer.ccg: Include STL header instead of . Place file-scope declarations in anonymous namespace. (RingBuffer_Fill_gstreamermm_callback): Remove unused parameter name to get rid of a compiler warning. Use extern "C" calling convention. (RingBuffer::copy_fields_from): Replace C-style casts with C++ casts. (copy_fields_to): Likewise. Unconditionally assign spec.caps field. (set_fill_slot): Comment on a couple of problems with the code. (parse_caps): Use Glib::unwrap() to handle a null RefPtr<>. 2009-10-06 Daniel Elstner Further streamline the C++ plugin generator code * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Add missing include statement for . Move all file-scope declarations and definitions into an anonymous namespace. Do not use conditional expressions if one of the branches is a no-op. Avoid C-style casts, in particular for non-POD types. Replace string literals of length one by character literals. Concatenate string literals at compile time where possible. (is_wrapped_base_class): Use std::binary_search(). (is_plugin): Disentangle. (get_method_name): Use std::replace(). (main): Call the glibmm wrapper functions Glib::thread_supported() and Glib::thread_init() instead of using the GLib C API directly. 2009-10-06 Daniel Elstner Unbreak build with silent rules enabled * gstreamer/src/Makefile.am: Remove a left-over shell statement just before the $(AM_V_GEN) substitution in the rule to build the plugin source files. 2009-10-06 Daniel Elstner Streamline configure check for gstreamer plugins * configure.ac (GSTREAMERMM_PLUGIN_DEFS): Un-indent, as this a shell variable and the extra whitespace in the substitution is a bit ugly. Simplify and canonicalize the check for the availability of all used gstreamer plugins in maintainer-mode. Remove the program checks for the head and cut utilities again. 2009-10-05 José Alburquerque PropertyProbe: Don't take copies of returned wrapped GValueArray. * gstreamer/src/propertyprobe.hg (get_values): Don't take copies of returned wrapped GValueArray because these are created on the fly by the class implementing the interface and are not structure members that would be deleted if a copy is not taken as would happen, for example, with Gst::Message::get_structure() which returns a wrapped structure member. 2009-10-01 José Alburquerque configure.ac: Remove check for patch as it is not needed anymore. * configure.ac (PATCH): Remove check for patch because another way was found to avoid the typedef of the C struct in the generated taglist.h source file. (GST_INSPECT): Also check for gst-inspect-0.10 (see bug #587306). 2009-09-30 José Alburquerque TagList: Corrected the constness of the internal tag strings array. * gstreamer/src/taglist.ccg: * gstreamer/src/taglist.hg (_tag_strings): Corrected constness, completing a TODO. I hope that's correct as my constness reasoning is a little rusty. Also added a comment as to why the array is 'extern' in scope. 2009-09-30 José Alburquerque Check for the existence of plug-ins in the configure stage. * configure.ac: * gstreamer/src/Makefile.am: * gstreamer/src/filelist.am: Move the check for the existence of plug-ins from the build stage to the configure stage as originally suggest in the clean up commit by Daniel. I had been completing that but could not check it in soon enough before the other commits. 2009-09-29 Daniel Elstner Move plugin definition map into src/filelist.am * configure.ac (GSTREAMERMM_PLUGIN_DEFS): Move map of plugin names to GObject type names into the gstreamer/src/filelist.am file. * gstreamer/src/filelist.am (plugin_type_map): New variable. * gstreamer/src/Makefile.am (target_plugin_def): Adjust. 2009-09-29 Daniel Elstner Exorcize evil code in C++ plugin generator * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Aided by the ghostbusters team, drive out some of the evil demons haunting this source code file. A few more rituals need to take place though in order to really cleanse this code from evil. 2009-09-29 Daniel Elstner Clean up and simplify build system customizations * configure.ac (PATCH): Properly quote the AS_IF() macro arguments. (GSTREAMERMM_MODULES): Use m4_foreach() to reduce repetition. (ENABLE_GUI_EXAMPLES): Define an Automake conditional for the purpose of excluding the GUI example programs from the build if gtkmm is not available. Remove the --enable-examples configure option, and always build the GUI examples if gtkmm is available at build time. (AC_CONFIG_FILES): Generate examples/Makefile unconditionally. Remove tools/generate_gst_wrap_init.pl from the list of output files. (GSTREAMERMM_WXXFLAGS): Remove -pedantic flag since it is too strict for the gstreamer header files. (GTHREAD_CFLAGS): Remove substitution variable for the thread-safety compiler flags, as gstreamer itself depends on gthread and therefore already includes the necessary flags in the pkg-config output. (MM_ARG_WITH_TAGFILE_DOC): Remove reference to giomm-2.4.tag, which does not exist. Add tag file references for cairomm and pangomm. Tentatively remove gtkmm-2.4.tag reference because gtkmm symbols are not actually used in the documentation. The mere presence of the gtkmm tags already confuses Doxygen, causing it to link to gtkmm for symbols in the Gst namespace. * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): As a temporary workaround, disable fatal warnings during distcheck. (SUBDIRS): Always recurse into tools/ and examples/. * examples/Makefile.am (noinst_PROGRAMS): Make the inclusion of the GUI examples depend on the ENABLE_GUI_EXAMPLES Automake conditional. (AM_CPPFLAGS): Expand $(GUI_EXAMPLES_CFLAGS) if the GUI examples are enabled, or $(GSTREAMERMM_CFLAGS) if not. (LDADD): Link with $(GSTREAMERMM_LIBS) by default, and override the global LDADD for the GUI programs to use $(GUI_EXAMPLES_LIBS). * gstreamer/gstreamermm/Makefile.am: Completely kill the build rules for patching the generated source code on the fly. The single source file this was applied to turns out to be fixable by other means. * gstreamer/src/Makefile.am: Significantly simplify the convoluted logic of the custom rules and expressions for generating the gmmproc input files for the gstreamer plugins. ($(binding_outputdir)/gst_wrap_init.cc): Build gst_wrap_init.cc from the src/ subdirectory like the other generated source files. * gstreamer/src/element.ccg (Gst::ElementInterfaced_WeakNotify_gstreamermm_callback): Remove unused parameter name to avoid a compiler warning. * gstreamer/src/filelist.am (files_hg): Combine variable assignments. * gstreamer/src/taglist.hg (Gst::TagList): Call the special gmmproc macro _CUSTOM_STRUCT_PROTOTYPE to suppress the output of a typedef for the C struct. This removes the need to patch the generated file. * gstreamer/gstreamermm/taglist.h.patch: Delete obsolete file. * tests/Makefile.am: Do not hard-code the libgstreamermm API version. (AM_CXXFLAGS): Build tests with $(GSTREAMERMM_WXXFLAGS), too. * tools/Makefile.am: Clean up and simplify. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Add missing struct initializers to avoid a compiler warning. * tools/generate_gst_wrap_init.pl: Rename the configure input file generate_gst_wrap_init.pl.in to generate_gst_wrap_init.pl. Remove the unnecessary she-bang line with the @PERL@ substitution, so that it is no longer necessary for this file to be generated. 2009-09-25 José Alburquerque Add Gst::StreamVolume interface. * tools/extra_defs_gen/generate_defs_gst.cc: Add GstStreamVolume type for signal and property defs generation. * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_enums.defs.patch: * gstreamer/src/gst_methods.defs: * gstreamer/src/gst_signals.defs: Regenerate defs and update corresponding patch files. * gstreamer/gstreamermm.h: * gstreamer/src/filelist.am: * gstreamer/src/streamvolume.ccg: * gstreamer/src/streamvolume.hg: Add Gst::StreamVolume interface. * tools/m4/convert_gst.m4: Add conversion of Gst::StreamVolumeFormat enum. * tools/m4/plugingen_gstreamermm.m4: Add a Gst::StreamVolume interface C/C++ conversion for plug-ins that inherit from the interface (needed during plug-in generation). * configure.ac: Increment minimum mm-common version requirement. 2009-09-21 José Alburquerque 0.10.5.2 - Devhelp. * NEWS: * configure.ac: Prepare for a new release. 2009-09-21 José Alburquerque Support Automake silent rules. * autogen.sh: Pass the --verbose option to autoreconf. * configure.ac: * gstreamer/gstreamermm/Makefile.am: * gstreamer/src/Makefile.am: Support Automake silent rules. Also check for m4 and sed for plug-in processing, and patch in maintainer mode for patching generated .hg files like taglist.hg. 2009-09-14 José Alburquerque 0.10.5.1 - Use new mm-common build system. * NEWS: * configure.ac: Prepare for a new release (now using the new mm-common build system). * tests/Makefile.am: Include run of tests on a 'make check'. 2009-09-11 José Alburquerque Build tests with make check only. * tests/Makefile.am (PROGRAMS): Use check_PROGRAMS so that tests are built with make check. * examples/media_player_gtkmm/Makefile.am: Remove missed file. * gstreamer/gstreamermm/Makefile.am: Remove the .orig file left over after patching generated .hg files. 2009-09-10 José Alburquerque Remove duplicate ChangeLog entry. 2009-09-10 José Alburquerque Use docs for documentation directory as in glibmm and gtkmm. * doc/Makefile.am: * doc/reference/.gitignore: * doc/reference/Doxyfile.in: Rename these to: * docs/Makefile.am: * docs/reference/.gitignore: * docs/reference/Doxyfile.in: * Makefile.am: * configure.ac: * gstreamer/gstreamermm-uninstalled.pc.in: Rename uses of doc to docs. 2009-09-10 José Alburquerque Add examples/.gitignore. 2009-09-09 José Alburquerque Use non-recursive automake for examples. * configure.ac: * examples/Makefile.am: Modify so that non-recursive automake is used for examples (adapted from glibmm). * examples/Makefile.am_fragment: * examples/element_link/Makefile.am: * examples/ogg_player/Makefile.am: * examples/optiongroup/Makefile.am: * examples/typefind/Makefile.am: Delete these. * tests/Makefile.am: Beautify. 2009-09-09 José Alburquerque Add the tests and examples directory to the build. * Makefile.am (SUBDIRS): Add test and examples directories. * configure.ac: Add an example section to add a dependency on gtkmm-2.4 if the examples are built. * gstreamer/gstreamermm/filelist.am: Beautify. 2009-09-09 José Alburquerque Add the plug-ins to the build. * Makefile.am: Include tools directory in maintainer mode (typo). * configure.ac: Include plug-in definitions and giomm-2.4 dependency. * gstreamer/gstreamermm/Makefile.am: Patch generated .hg files only in maintainer mode. Also distribute the patch files. * gstreamer/src/Makefile.am: Include rules for generating plug-in .hg and .ccg files. Remove the generated .hg and .ccg files on maintainer cleans. * gstreamer/src/filelist.am: Sort the list of regular and plug-ins .hg file names. 2009-09-09 José Alburquerque Include the tools directory even when not in maintainer mode. * Makefile.am: Include the tools directory even when not in maintainer mode because some things there need to be installed for other possible gstreamermm modules even when building from tarballs. 2009-09-08 José Alburquerque First move to the new mm-build system. Plug-ins, tests, and examples are yet to be included. The license headers might be reviewed, but otherwise everything seems to be fine so far except for the distcheck. * build_shared/Makefile_build.am_fragment: * build_shared/Makefile_build_gensrc.am_fragment: * build_shared/Makefile_gensrc.am_fragment: * docs/Makefile.am: * docs/reference/Doxyfile.in: * docs/reference/Makefile.am: * docs/reference/beautify_docs.pl.in: * gstreamer/gstreamermm-0.10.pc.in: * gstreamer/src/Makefile_list_of_hg.am_fragment: * scripts/Makefile.am: * scripts/README: * scripts/c_std.m4: * scripts/cxx.m4: * scripts/cxx_std.m4: * scripts/dk-warn.m4: * scripts/docgen.m4: * scripts/glibmm_check_perl.m4: * scripts/macros.m4: * scripts/reduced.m4: * scripts/sun.m4: * tools/Makefile_list_of_sources.am_fragment: * tools/README: * tools/TODO: * tools/m4/Makefile.am: * tools/m4/Makefile_list_of_sources.am_fragment: Removed these. * build/.gitignore: * doc/Makefile.am: * doc/reference/.gitignore: * doc/reference/Doxyfile.in: * gstreamer/.gitignore: * gstreamer/gstreamermm-uninstalled.pc.in: * gstreamer/gstreamermm.pc.in: * gstreamer/gstreamermm/filelist.am: * gstreamer/gstreamermm/private/.gitignore: * gstreamer/src/filelist.am: * tools/m4/filelist.am: Added these. * .gitignore: * Makefile.am: * autogen.sh: * configure.ac: * gstreamer/gstreamermm/Makefile.am: * gstreamer/gstreamermm/private/Makefile.am: * gstreamer/gstreamermmconfig.h.in: * gstreamer/src/Makefile.am: * tools/Makefile.am: * tools/extra_defs_gen/Makefile.am: * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: * tools/generate_gst_wrap_init.pl.in: * tools/m4/class_boxedtype_extra.m4: * tools/m4/class_gstminiobject.m4: * tools/m4/convert.m4: * tools/m4/convert_gst.m4: * tools/m4/plugingen.m4: * tools/m4/plugingen_base.m4: * tools/m4/plugingen_gstreamermm.m4: * tools/m4/shared.m4: Modified these. 2009-09-02 José Alburquerque 0.10.5 - Ship a local beautify docs script. * docs/reference/Makefile.am: * docs/reference/beautify_docs.pl.in: Include a local beautify docs script to fix the build with the latest glibmm version. * NEWS: * configure.ac: Prepare for a new release. 2009-08-19 José Alburquerque 0.10.4 release. * NEWS: * README: * configure.ac: Prepare for a new release because of critical bug #590923, just fixed. 2009-08-19 José Alburquerque Correct the Gst::BufferFlags definition. * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_enums.defs.patch: Correct the Gst::BufferFlag in the defs file and repair the patch that automatically fixes the definition. Fixes Bug #590923. * tests/test-plugin-signals.cc: Use the BufferFlag enum in a test. 2009-08-19 José Alburquerque 0.10.3 release. * NEWS: * configure.ac: prepare for 0.10.3 release. 2009-08-19 José Alburquerque TagSetter: Add Glib::ustring tag overrides. * gstreamer/src/tagsetter.ccg: * gstreamer/src/tagsetter.hg: Added add_tag() methods that work with Glib::ustring tags for custom tags not in the Gst::Tag enum. 2009-08-18 José Alburquerque Add Gst::MessageStep{Start,Done}. * gstreamer/src/message.ccg: * gstreamer/src/message.hg: Add Gst::MessageStepStart and Gst::MessageStepDone. * tools/m4/plugingen_base.m4: Use gulong instead 'unsigned long' in plug-in generation. 2009-08-14 José Alburquerque MessageTag: Wrapped new 0.10.24 methods. * gstreamer/src/message.ccg: * gstreamer/src/message.hg: Wrapped full create() method, void parse() method and parse_pad() methods. 2009-08-12 José Alburquerque Gst::Event Classes: Overload the parse methods. * gstreamer/src/event.ccg: * gstreamer/src/event.hg: Overload the parse methods in the Gst::Event classes. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Duplicate the warning not to modify plug-in generated gmmproc files that's already in the .hg plug-in files also to the .ccg files. 2009-08-11 José Alburquerque Added Gst::EventStep. * gstreamer/src/event.ccg: * gstreamer/src/event.hg: Wrapped Gst::EventStep. It will be necessary to overload the parse() methods of the event classes as in Gst::Message and Gst::Query. 2009-08-09 José Alburquerque Media Player Example: Typos in source. * examples/media_player_gtkmm/player_window.cc: Typos. 2009-08-09 José Alburquerque Media Player Example: Get and save XID when video area is realized. * examples/media_player_gtkmm/player_window.cc: * examples/media_player_gtkmm/player_window.h: Get the video area X Window ID and save it when it is realized for more stability. 2009-08-06 José Alburquerque Task: Use anonymous namespace around internal structure definition. * gstreamer/src/task.ccg: Surround internal structure definition used only in the implementation of set_thread_slots() in an anonymous namespace. * gstreamer/src/task.hg: Doc typos. 2009-08-05 José Alburquerque Task: Docs typo. * gstreamer/src/task.hg: Typos. 2009-08-05 José Alburquerque Task: Wrapped new 0.10.24 functions. * gstreamer/src/task.ccg: * gstreamer/src/task.hg: Re-ordered method declarations as in the C API. Added new 0.10.24 methods. * tools/m4/convert_gst.m4: Added GstTaskPool and GThreadPriority conversions. 2009-08-04 José Alburquerque General API: Use actual slot instead of a copy where possible. * gstreamer/src/filter.ccg: * gstreamer/src/registry.ccg: * gstreamer/src/structure.ccg: * gstreamer/src/taglist.ccg: Used actual slot instead of copies where possible. * gstreamer/src/ringbuffer.ccg: * gstreamer/src/typefind.ccg: Typos. 2009-08-04 Murray Cumming Structure: Remove some uses of GQuark from the API. * gstreamer/src/structure.[hg|ccg]: foreach(), map_in_place(): Use a ustring instead of a nasty internal GQuark in the slot parameters. 2009-08-03 José Alburquerque Added a comment to a TODO. 2009-08-03 José Alburquerque Wrapped some unwrapped new functions in the C API. 2009-08-04 Murray Cumming TagList: Added ustring-based overloads, instead of requiring Tag enum. * gstreamer/src/taglist.[hg|ccg]: add/remove/get(ValueBase&): rename to add/remove/get_value(ValueBase&), to avoid recursive calls from the templated methods of the same names. Added method overloads that take ustring instead of Tag, to deal with unanticipated tags, and generic tag-handling code such as the foreach() slot. 2009-08-03 Murray Cumming typefind example: Output more information. * examples/typefind/main.cc: on_typefind_have_type(): Output more than just the mime type (name). Added commented-out id3demux element which should result in such extra information when using an mp3 file, but it fails to link. 2009-08-03 Murray Cumming generate_plugin_gmmproc_file: Minor improvements. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Output a warning to stdcerr if the element type is not recognized, to help people just playing with this on the command line. Add a note to the .hg that the file is generated by this tool, to help people who might try to edit the generated file. 2009-08-02 José Alburquerque Added TODO in typefind.hg. 2009-08-02 José Alburquerque Corrected Gst::TypeFindFactory::call_slot() docs. 2009-08-02 José Alburquerque Repaired docs for Gst::Typefind methods peek() and suggest(). 2009-08-02 José Alburquerque Updated .gitignore. 2009-08-02 José Alburquerque Re-added Gst::TypeFind and Gst::TypeFindFactory. 2009-08-02 Murray Cumming Added typefind example. * configure.ac: * examples/typefind/Makefile.am: * examples/typefind/main.cc: Added example of the use of the typefind element, to detect the mime-type of a media file. 2009-07-31 José Alburquerque Added Gst::TaskPool. 2009-07-30 Murray Cumming Tiny comment additions. * README: Remove the commas from the list of debian modules to make it easier to just paste them into an apt-get install line. * gstreamer/src/element.hg: Added comments about why we don't wrap the get/set_name/parent() macros. 2009-07-30 José Alburquerque Added Gst::Bin::add_ghost_pad() to add a ghost pad to bin from an element's static pad. 2009-07-30 José Alburquerque Modify Gst::GhostPad constructors to not require a name for the pads. 2009-07-29 José Alburquerque Completed some TODO's. 2009-07-29 José Alburquerque Regenerated defs and docs, and corrected patches. 2009-07-29 José Alburquerque Corrected some typos. 2009-07-29 José Alburquerque Removed appsink and appsrc plug-ins to fix initialization. 2009-07-23 José Alburquerque Wrapped some unwrapped methods in API. 2009-07-22 José Alburquerque Added Gst::Plugin::add_dependency() methods. 2009-07-16 José Alburquerque Added Gst::MessageStructureChange and Gst::MessageRequestState. 2009-07-14 José Alburquerque Commented out Gst::MessageStreamStatus until GStreamer 0.10.24 is released. 2009-07-10 José Alburquerque Update .gitignore. 2009-07-10 José Alburquerque Added Gst::MessageStreamStatus. 2009-07-02 José Alburquerque Require glibmm-2.21.1 because of dependency on new API in that version. 2009-06-30 José Alburquerque Added last few base plug-ins tcpserversink, theoraparse and uridecodebin. 2009-06-30 José Alburquerque Don't check for gst-inspect as it is not needed. 2009-06-30 José Alburquerque Typo in enum.hg. 2009-06-30 José Alburquerque Added multifdsink plug-in. 2009-06-29 José Alburquerque Re-order .hg files and plug-in list in true alphabetical order 2009-06-29 José Alburquerque Revert last commit. I'm not sure Daniel wants to be included as a maintainer yet. 2009-06-29 José Alburquerque Add Daniel Elstner to list of maintainers. 2009-06-28 José Alburquerque Move wrapped enum macros from _base.m4 to more logical file _gstreamermm.m4. 2009-06-28 José Alburquerque Renamed ctocpp*.m4 files to plugingen*.m4 which is more generic. 2009-06-28 José Alburquerque Moved wrapped enum sensing code out of plug-in generator to m4 files. 2009-06-25 José Alburquerque Update .gitignore. 2009-06-25 José Alburquerque Add decodebin2 plug-in. 2009-06-24 José Alburquerque Wrap GstPropertyProbe interface using newly wrapped Glib::ValueArray. 2009-06-24 Daniel Elstner Add DOAP category and fix mbox resources 2009-06-23 José Alburquerque Use copies of the underlying objects of Gst::Structure where necessary. 2009-06-18 José Alburquerque Added appsrc and appsink plug-ins. 2009-06-09 José Alburquerque Use reinterpret_cast<> to cast a GValue to a Glib::ValueBase in structure.ccg. 2009-06-05 José Alburquerque Began wrapping Gst::PropertyProbe methods. 2009-05-29 José Alburquerque Renamed internal array of tags, tagStrings, to _tag_strings. 2009-05-28 José Alburquerque Add a C to C++ type translation for the GstPreset interface. 2009-05-28 José Alburquerque Rename the _CCONVERT* macros used for plug-in generation to _TRANSLATE*. 2009-05-28 José Alburquerque Include version number in ChangeLog for release 0.10.2. 2009-05-27 José Alburquerque Increased version number and dependencies for release. 2009-05-25 José Alburquerque A few other fixes to enable compiling without exceptions. 2009-05-25 José Alburquerque Modify the build of plug-ins to just use a stamp file as with non-plugin *.*g files. 2009-05-25 José Alburquerque Fix the build so that multi-job makes (option -j) are supported 2009-05-24 José Alburquerque Minor typos and formatting. Minor code adjustments (for consistency). 2009-05-22 Johannes Schmid Fixed build with disabled exceptions and disabled properties (bgo#582439) 2009-05-22 Johannes Schmid Fixed build with disabled exceptions and disabled properties (bgo#582439) 2009-05-20 José Alburquerque Modified Gst::TagList and Gst::TagSetter to use an enum for the tags. 2009-05-20 José Alburquerque Included fix of coding style from 'function ()' to 'function()' (not done in previous commit) 2009-05-20 José Alburquerque Removed spaces between control statements and opening parenthesis. 2009-05-19 José Alburquerque Repaired classes with a slot member to signal per instance if a slot has been set or not. 2009-05-19 José Alburquerque Don't use space before control statement brackets. 2009-05-18 José Alburquerque Commented out wrapped boolean vfuncs to avoid wrong functionality for now. 2009-05-18 José Alburquerque Fixed gst_method.defs patch to include gst_message_get_seqnum() in method defs. 2009-05-18 José Alburquerque Removed local copy of generate_wrap_init.pl. 2009-05-17 José Alburquerque Used _MEMBER_GET_GOBJECT when working with GObject members. 2009-05-15 José Alburquerque nclude the plug-in header files for the user. 2009-05-14 José Alburquerque Modify build to not differentiate between wrapped and existing plug-ins. 2009-05-14 Murray Cumming Remove GSTREAMERMM_PLUGIN_* defines. * configure.ac: Do not AC_DEFINE_UNQUOTED() GSTREAMERMM_PLUGIN_ preprocessor macros. Plugin presence should be checked at runtime only. * gstreamer/gstreamermmconfig.h.in: Remove the GSTREAMERMM_PLUGIN_* undefs because these are no longer used. * tools/generate_wrap_init.pl.in: Remove code that adds GSTREAMERMM_PLUGIN_* ifdefs. We want to provide C++ API for all base gstreamer plugins always, but fail gracefully at runtime when trying to instantiate or use that API. 2009-05-14 José Alburquerque Include all plug-ins in build even if they don't exist on the build system. 2009-05-12 José Alburquerque Added Gst::Mixer message classes that can be used when parsing messages received on the bus. 2009-05-12 José Alburquerque arked basetransform.hg TODO's completed. 2009-05-12 José Alburquerque Included the caps field when copying to/from GstRingBufferSpec. 2009-05-12 José Alburquerque const and usage corrections of Gst::RingBufferSpec. 2009-05-11 José Alburquerque Wrapped Gst::AudioSink and Gst::AudioSrc vfuncs. 2009-05-10 José Alburquerque Wrapped Gst::BaseAudioSrc vfuncs. 2009-05-10 José Alburquerque Completed some TODO's in element.hg. 2009-05-10 José Alburquerque Wrapped Gst::BaseAudioSink vfuncs. 2009-05-10 José Alburquerque Wrapped ChildProxy::lookup() and BaseAudioSink::create_ring_buffer(). 2009-05-05 José Alburquerque Wrapped Gst::AudioFilter vfuncs. 2009-05-05 José Alburquerque Wrapped GstObject's deep_notify signal. 2009-05-05 José Alburquerque Added Gst::RingBuffer base class. 2009-05-01 José Alburquerque Also changed svn links to git links for future releases. 2009-05-01 Murray Cumming Mention what debian/Ubuntu packages to install when building gst-plugins-base, because it is not obvious and I keep forgetting. 2009-04-30 José Alburquerque Wrapped Gst::BaseTransform vfuncs. 2009-04-30 José Alburquerque Wrapped Gst::BaseSink base class vfuncs. 2009-04-30 José Alburquerque Wrapped Gst::VideoOrientation interface vfuncs. 2009-04-30 José Alburquerque Wrapped Gst::Tuner interface vfuncs. 2009-04-29 José Alburquerque Added tools/generate_wrap_init.pl to .gitignore. 2009-04-29 José Alburquerque Re-ordered preset.hg vfunc declarations. 2009-04-29 José Alburquerque Added .gitignore as in glibmm. 2009-04-24 José Alburquerque Added doap file. 2009-04-24 José Alburquerque Repaired format of MAINTAINER file. 2009-04-24 José Alburquerque Corrected last ChangeLog entry. 2009-04-16 José Alburquerque Use ()->gobj() instead of Glib::unwrap() in conversions (for consistency). 2009-04-16 José Alburquerque * tools/m4/convert_gst.m4: Use ()->gobj() instead of Glib::unwrap() in conversions (for consistency). * build_shared/Makefile_gensrc.am_fragment: Repaired plug-in generation dependencies so that the .hg and .ccg generation rules do not depend on the regular m4 files (like convert.m4) because running the generated .hg and .ccg files through gmmproc only should have this dependency. Also fixed the running plug-in .hg and .ccg files through gmmproc rule dependencies so that running the generated files does not depend on the plug-in m4 files (like ctocpp.m4) because the plug-in .hg and .ccg generation rules already have this dependency. svn path=/gstreamermm/trunk/; revision=2159 2009-04-16 José Alburquerque Placed property above signals and moved signal specific conversion to .hg 2009-04-15 José Alburquerque * tools/m4/convert_gst.m4: * gstreamer/src/index.hg: Placed property above signals and moved signal specific conversion to .hg file. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Added lines in signal generation to include m4 conversion macros for signal return types, in particular unwrapping macros for boxed types which should use gobj_copy() so that if the wrapper disappears, the unwrapped gobj_copy() is still valid. svn path=/gstreamermm/trunk/; revision=2158 2009-04-14 José Alburquerque Removed these .h and .cc files because they contain only one function. 2009-04-13 José Alburquerque * tools/extra_defs_gen/Makefile.am: * tools/extra_defs_gen/gst_type_is_a_pointer.cc: * tools/extra_defs_gen/gst_type_is_a_pointer.h: Removed these .h and .cc files because they contain only one function. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Defined the function here where it is used. svn path=/gstreamermm/trunk/; revision=2157 2009-04-13 José Alburquerque Reviewed conversions to make sure that only conversions to the C type 2009-04-13 José Alburquerque * tools/m4/convert_gst.m4: Reviewed conversions to make sure that only conversions to the C type (gobj() conversions) and conversions to types that are returned exist so that conversions to "const Glib::RefPtr<>&" are required in the .hg file (safer for signals and vfuncs). * gstreamer/src/event.hg: * gstreamer/src/index.hg: * gstreamer/src/index.ccg: * gstreamer/src/message.hg: * gstreamer/src/query.hg: * gstreamer/src/tagsetter.hg: Placed boxed type conversions specific to certain methods in the .hg files and removed them from the convert file. Ensured that copies are made so that originals are not destroyed where appropriate. * tools/m4/ctocpp_base.m4: Modified the _CCONVERT() macro so that the conversion types it accepts are: type, param and return. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Added lines in signal generation to insert "#m4 _CONVERSION()" for parameters of type GstTagList because GstTagList has a different Glib::wrap() to distinguish it from GstStructure's Glib::wrap() (GstTagList is a GstStructure which makes the two different Glib::wrap() methods necessary). * gstreamer/src/basesrc.ccg: * gstreamer/src/preset.ccg: Typos. svn path=/gstreamermm/trunk/; revision=2156 2009-04-13 José Alburquerque Revisited list ownership in API. 2009-04-13 José Alburquerque * gstreamer/src/bin.hg: * gstreamer/src/element.hg: * gstreamer/src/elementfactory.hg: * gstreamer/src/pad.hg: * gstreamer/src/urihandler.hg: Revisited list ownership in API. * gstreamer/src/index.hg: Revisited #m4 conversions that wrap() ensuring that wrap takes a copy in API. * gstreamer/src/colorbalance.hg: w/s. svn path=/gstreamermm/trunk/; revision=2155 2009-04-13 José Alburquerque Wrapped all of Gst::BaseSrc vfuncs. Handwrote some. In particular, 2009-04-12 José Alburquerque * gstreamer/src/basesrc.ccg: * gstreamer/src/basesrc.hg: Wrapped all of Gst::BaseSrc vfuncs. Handwrote some. In particular, create_vfunc() was difficult because of the (un-constant) Glib::RefPtr which should be empty initially but should have the created buffer after the vfunc is called. svn path=/gstreamermm/trunk/; revision=2154 2009-04-13 José Alburquerque Wrapped URIHandler's vfuncs. Four vfuncs don't appear to be wrappable 2009-04-12 José Alburquerque * gstreamer/src/gst_vfuncs.defs: * gstreamer/src/urihandler.hg: Wrapped URIHandler's vfuncs. Four vfuncs don't appear to be wrappable because they don't include a GstURIHandler parameter in the C Interface declarations. I left them as a TODO to be taken care of when the rest of the API's vfuncs are wrapped (we can come back to this a little later). * gstreamer/src/navigation.hg: Included docs (from C API docs) for send_event_vfunc(). svn path=/gstreamermm/trunk/; revision=2153 2009-04-10 José Alburquerque Wrapped Gst::Mixer vfuncs. 2009-04-10 José Alburquerque * gstreamer/src/mixer.ccg: * gstreamer/src/mixer.hg: * gstreamer/src/gst_vfuncs.defs: Wrapped Gst::Mixer vfuncs. * gstreamer/src/navigation.ccg: * gstreamer/src/navigation.hg: Wrapped Gst::Navigation vfuncs. * gstreamer/gstreamermm/miniobject.h: Removed erroneous TODO (was thinking of signals and dealing with vfuncs). svn path=/gstreamermm/trunk/; revision=2150 2009-04-10 José Alburquerque Added TODO. 2009-04-09 José Alburquerque * gstreamer/gstreamermm/miniobject.h: Added TODO. svn path=/gstreamermm/trunk/; revision=2149 2009-04-03 José Alburquerque Corrected comment on adding plug-ins by explaining that the list is 2009-04-02 José Alburquerque * configure.ac: Corrected comment on adding plug-ins by explaining that the list is separated by spaces so if other gstreamermm modules copy the plug-in handling sections, the comment will make it easier to start the list from scratch. svn path=/gstreamermm/trunk/; revision=2147 2009-03-31 José Alburquerque Removed unused reference-index.txt file. 2009-03-31 José Alburquerque * docs/reference/Makefile.am: * docs/reference/reference-index.txt: Removed unused reference-index.txt file. * tools/extra_defs_gen/Makefile.am: Specified the generate_plugin_gmmproc_file utility source file specifically for the distcheck (for a future release). svn path=/gstreamermm/trunk/; revision=2142 2009-03-30 José Alburquerque Don't include wrap_init.h with all includes because users will not likely 2009-03-30 José Alburquerque * gstreamer/gstreamermm.h: Don't include wrap_init.h with all includes because users will not likely need to use wrap_init(). svn path=/gstreamermm/trunk/; revision=2138 2009-03-30 José Alburquerque use <> instead of "" in #include directive. Include code in plug-in 2009-03-30 José Alburquerque * tools/extra_defs_gen/generate_defs_gst.cc: use <> instead of "" in #include directive. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Include code in plug-in generator which ensures that when a gstreamermm base class type is encountered, it always uses the Gst namespace and the gstreamermm directory for the base class in case other gstreamermm modules that use the generator use another namespace other than Gst. svn path=/gstreamermm/trunk/; revision=2137 2009-03-27 José Alburquerque Modified build files so that the generate_plugins_gmmproc_file plug-in 2009-03-27 José Alburquerque * configure.ac: * tools/extra_defs_gen/Makefile.am: Modified build files so that the generate_plugins_gmmproc_file plug-in generating utility is installed along with a get_plugin_defs library so that other (future) gstreamermm modules can also generate plug-ins (a lot is adapted from glibmm). * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Modified help info to be more general and not specific to gstreamermm module. * tools/m4/ctocpp.m4: Modified to just include ctocpp_gstreamermm.m4 so that other gstreamermm modules can have their own ctocpp.m4 in which ctocpp_gstreamermm.m4 can also be included (like what happens with convert.m4). * tools/m4/Makefile_list_of_sources.am_fragment: * tools/m4/ctocpp_gstreamermm.m4: Added C to C++ gstreamermm specific translation file which can be included by other gstreamermm modules' ctocpp.m4 file. * tools/m4/Makefile.am: Made sure that the additional ctocpp*.m4 files, which are used for plug-in generation, are installed along with the other .m4 files so that gstreamermm modules that generate plug-ins can also use the macros for generating plug-ins. svn path=/gstreamermm/trunk/; revision=2134 2009-03-25 José Alburquerque Corrected comments on what happens when add() or remove() fail to 2009-03-24 José Alburquerque * gstreamer/src/bin.ccg: Corrected comments on what happens when add() or remove() fail to add/remove elements. * gstreamer/src/bin.hg: Added @throws directive to remove() docs so users know that remove() throws an exception on failure. * gstreamer/src/element.ccg: * gstreamer/src/element.hg: Added a null element check in link(). Removed duplicate include. * gstreamer/src/ghostpad.ccg: * gstreamer/src/ghostpad.hg: Modified constructors to throw exceptions if construction fails. Added docs to constructors so that users know that constructors throw exceptions. Corrected some docs. * tests/test-ghost-pad.cc: Modified test so that it runs successfully; uncommenting commented sections exemplifies how exceptions are thrown on construction failure. * gstreamer/src/filter.ccg: Corrected returned ListHandle<> ownership type. * gstreamer/src/colorbalance.ccg: * gstreamer/src/format.ccg: * gstreamer/src/preset.ccg: Spacing. svn path=/gstreamermm/trunk/; revision=2126 2009-03-24 José Alburquerque Removed accidentally committed ChangeLog entry. svn path=/gstreamermm/trunk/; revision=2125 2009-03-24 José Alburquerque Handwrote save_vfunc() and restore_vfunc() vfuncs to use xmlpp::Node in 2009-03-24 José Alburquerque * gstreamer/src/object.ccg: * gstreamer/src/object.hg: Handwrote save_vfunc() and restore_vfunc() vfuncs to use xmlpp::Node in return and parameters. * AUTHORS: * MAINTAINERS: Corrected AUTHORS and MAINTAINERS information. It can always be updated later if necessary. svn path=/gstreamermm/trunk/; revision=2124 2009-03-24 José Alburquerque Used quotes in link (ln) commands of plug-in .hg and .ccg make rules so 2009-03-23 José Alburquerque * build_shared/Makefile_gensrc.am_fragment: Used quotes in link (ln) commands of plug-in .hg and .ccg make rules so that the build will not crash with directory names with spaces. svn path=/gstreamermm/trunk/; revision=2123 2009-03-23 José Alburquerque Commited gst_vfuncs.defs file mentioned in last ChangeLog's commit svn path=/gstreamermm/trunk/; revision=2122 2009-03-23 José Alburquerque Wrapped Gst::Object's methods, signals and vfuncs with gmmproc. Used 2009-03-23 José Alburquerque * gstreamer/gstreamermm/Makefile.am: * gstreamer/gstreamermm/private/Makefile.am: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/gst_vfuncs.defs: * gstreamer/src/object.ccg: * gstreamer/src/object.hg: Wrapped Gst::Object's methods, signals and vfuncs with gmmproc. * gstreamer/src/xml.hg: Used xmlNodePtr instead of xmlNode* in object_loaded() signal parameter. * gstreamer/src/gst_signals.defs.patch: * gstreamer/src/gst_signals.defs: Corrected signal defs patch and regenerated the signal defs. * tools/m4/convert_gst.m4: Added Gst::Object conversion. * gstreamer/gstreamermm/object.cc: * gstreamer/gstreamermm/object.h: * gstreamer/gstreamermm/private/object_p.h: Removed these because gmmproc now generates them. * gstreamer/src/bin.ccg: Modified remove() to throw exceptions if element is null or removal failed (like add() does). * gstreamer/src/element.hg: Typo. svn path=/gstreamermm/trunk/; revision=2121 2009-03-20 Murray Cumming When a gstreamer plugin is not available, give the user a hint about how 2009-03-20 Murray Cumming * build_shared/Makefile_gensrc.am_fragment: When a gstreamer plugin is not available, give the user a hint about how to fix it. svn path=/gstreamermm/trunk/; revision=2116 2009-03-19 José Alburquerque Added TCPClientSrc, TCPClientSink, TCPServerSrc plug-ins. 2009-03-18 José Alburquerque * configure.ac: * gstreamer/gstreamermmconfig.h.in: * gstreamer/src/Makefile_list_of_hg.am_fragment: Added TCPClientSrc, TCPClientSink, TCPServerSrc plug-ins. * gstreamer/src/enums.ccg: * gstreamer/src/enums.hg: Wrapped GstTCPProtocol enum here because the tcp plug-ins (above) share the enum and if it is not wrapped, it would be wrapped in all three of the plug-in .hg files. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Modified get_cast_macro() to insert '_' in correct places. Added GstTCPProtocol to list of wrapped enums. * tools/m4/ctocpp.m4: Added C to C++ translation of GstTCPProtocol enum. * tools/extra_defs_gen/generate_defs_gst.cc: Added tcp{client,server}{src,sink} plug-ins to defs generation. * gstreamer/src/gst_signals.defs: Regenerated to include properties and signals of tcp plug-ins. * gstreamer/src/urihandler.hg: Wrapped GstURIType because enhancement #575870 is implemented. svn path=/gstreamermm/trunk/; revision=2113 2009-03-17 José Alburquerque Added comment in set_clock_vfunc_callback() about why it returns true when 2009-03-16 José Alburquerque * gstreamer/src/element.ccg: Added comment in set_clock_vfunc_callback() about why it returns true when base class does not have a set_clock() vfunc. * gstreamer/src/error.ccg: Placed functions in Gst namespace. * gstreamer/src/event.ccg: * gstreamer/src/message.ccg: * gstreamer/src/query.ccg: Formatting; Initialized variables on declaration. * gstreamer/src/indexfactory.ccg: * gstreamer/src/indexfactory.hg: Removed custom destructor because GstIndexFactory (which is a GObject) is destroyed when its last reference is lost (ie. Glib::RefPtr<>'s don't reference the Gst::IndexFactory). * gstreamer/src/preset.ccg: Corrected logic error in get_meta() and initialized variable on declaration. * gstreamer/src/mixer.ccg: whitespace. svn path=/gstreamermm/trunk/; revision=2112 2009-03-13 José Alburquerque Last NULL corrections. I'm glad to have read the usage of NULL in the 2009-03-13 José Alburquerque * gstreamer/gstreamermm/init.cc: * gstreamer/gstreamermm/object.cc: * gstreamer/gstreamermm/object.h: * gstreamer/gstreamermm/wrap.h: * tests/test-event-wrap.cc: * tests/test-init-check.cc: * tests/test-init.cc: * tests/test-message-wrap.cc: * tests/test-miniobject-wrap.cc: * tests/test-plugin-gen.cc: * tests/test-query-wrap.cc: Last NULL corrections. I'm glad to have read the usage of NULL in the "Bjarne Stroustrup's C++ Style and Technique FAQ". I'll probably have to continue understanding the use of null/nullptr(?) in time. I'll probably also have to go over some of the contents in the FAQ for other things when I develop. svn path=/gstreamermm/trunk/; revision=2100 2009-03-13 José Alburquerque Corrected error in ChangeLog (mention bug). svn path=/gstreamermm/trunk/; revision=2099 2009-03-13 José Alburquerque Added --confirm-existence option to confirm if a plug-in exists (to stop 2009-03-12 José Alburquerque * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Added --confirm-existence option to confirm if a plug-in exists (to stop build if necessary). Corrected use of NULL. * build_shared/Makefile_gensrc.am_fragment: Modify build process to stop build in maintainer mode if a plug-in does not exist during generation. svn path=/gstreamermm/trunk/; revision=2097 2009-03-12 Murray Cumming Fix typo svn path=/gstreamermm/trunk/; revision=2094 2009-03-12 Murray Cumming Use (void*)0 instead of NULL, because NULL should not be used in C++. 2009-03-12 Murray Cumming * gstreamer/src/structure.ccg: * gstreamer/src/taglist.ccg: * gstreamer/src/tagsetter.ccg: Use (void*)0 instead of NULL, because NULL should not be used in C++. http://www.research.att.com/~bs/bs_faq2.html#null Also added TODOs because the C docs for some of the functions do not mention termintating NULLs, so they need to be investigated and the C documentation should be improved if necessary. svn path=/gstreamermm/trunk/; revision=2093 2009-03-12 José Alburquerque Modified example to use Gst::FileSrc "indirectly" by creating it with 2009-03-12 José Alburquerque * examples/ogg_player/main.cc: Modified example to use Gst::FileSrc "indirectly" by creating it with Gst::ElementFactory::create_element() to exemplify how a plug-in can be used "generically" and not by using its class wrapper so that users can see how to use plug-ins that are not wrapped. svn path=/gstreamermm/trunk/; revision=2092 2009-03-12 José Alburquerque Accidentally had used 0 instead of NULL which generates a missing sentinel 2009-03-11 José Alburquerque * gstreamer/src/structure.ccg: Accidentally had used 0 instead of NULL which generates a missing sentinel warning. svn path=/gstreamermm/trunk/; revision=2091 2009-03-12 José Alburquerque Corrected use of NULL in source files where missing sentinel warning is 2009-03-11 José Alburquerque * gstreamer/src/basesink.ccg: * gstreamer/src/bin.ccg: * gstreamer/src/bin.hg: * gstreamer/src/buffer.hg: * gstreamer/src/bus.ccg: * gstreamer/src/caps.ccg: * gstreamer/src/clock.ccg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/elementfactory.ccg: * gstreamer/src/elementfactory.hg: * gstreamer/src/format.ccg: * gstreamer/src/format.hg: * gstreamer/src/iterator.hg: * gstreamer/src/message.ccg: * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: * gstreamer/src/parse.hg: * gstreamer/src/pipeline.ccg: * gstreamer/src/query.ccg: * gstreamer/src/structure.ccg: Corrected use of NULL in source files where missing sentinel warning is not generated. svn path=/gstreamermm/trunk/; revision=2090 2009-03-12 José Alburquerque Added Preset vfuncs. Added Preset to GstInterfaces Doxygen group. Used 2009-03-11 José Alburquerque * gstreamer/src/preset.ccg: * gstreamer/src/preset.hg: * gstreamer/src/gst_vfuncs.defs: Added Preset vfuncs. Added Preset to GstInterfaces Doxygen group. Used _WRAP_METHOD_DOCS_ONLY instead of handwriting method docs. svn path=/gstreamermm/trunk/; revision=2089 2009-03-11 Murray Cumming Added a TODO about create_watch(). Added recalculate_latency() and the 2009-03-11 Murray Cumming * gstreamer/src/bin.hg: Added a TODO about create_watch(). * gstreamer/src/bus.hg: Added recalculate_latency() and the do_latency signal. * gstreamer/src/event.hg: Added get/set_seqnum(). * gstreamer/src/message.hg: Added get/set_seqnum(). svn path=/gstreamermm/trunk/; revision=2088 2009-03-10 Murray Cumming Add(): Throw an exception if the element is null, instead of crashing by 2009-03-10 Murray Cumming * gstreamer/src/bin.ccg: Add(): Throw an exception if the element is null, instead of crashing by dereferencing it. Maybe remove() should do the same. Constructor: Use 0 instead of NULL, because that is best in C++. svn path=/gstreamermm/trunk/; revision=2087 2009-03-09 David King Fix use of GstState references. Don't use NULL. Cast to State correctly. 2009-03-09 David King * gstreamer/src/message.ccg: Fix use of GstState references. Don't use NULL. Cast to State correctly. Initialise GstState to GST_STATE_NULL. * tools/m4/convert_gst.m4: Fix conversion from GstState* to State&. svn path=/gstreamermm/trunk/; revision=2085 2009-03-09 David King Add compiler warning flags. 2009-03-09 David King * build_shared/Makefile_build.am_fragment: * configure.ac: * scripts/dk-warn.m4: Add compiler warning flags. svn path=/gstreamermm/trunk/; revision=2084 2009-03-06 José Alburquerque Removed some remaining references to gstreamerbase branch. 2009-03-05 José Alburquerque * build_shared/Makefile_build.am_fragment: * configure.ac: Removed some remaining references to gstreamerbase branch. svn path=/gstreamermm/trunk/; revision=2082 2009-03-05 José Alburquerque Const correction. 2009-03-04 José Alburquerque * gstreamer/src/interface.hg: Const correction. * gstreamer/src/colorbalance.ccg: * gstreamer/src/colorbalance.hg: Wrapped final Gst::ColorBalance vfunc list_channels_vfunc(). svn path=/gstreamermm/trunk/; revision=2081 2009-03-04 Murray Cumming Added an explanation next to the TODO. 2009-03-04 Murray Cumming * gstreamer/src/index.hg: Added an explanation next to the TODO. svn path=/gstreamermm/trunk/; revision=2080 2009-03-03 José Alburquerque Use const GstFormatDefinition* in cast constructor of 2009-03-03 José Alburquerque * gstreamer/src/format.ccg: * gstreamer/src/format.hg: Use const GstFormatDefinition* in cast constructor of Gst::FormatDefinition. * gstreamer/src/query.ccg: * gstreamer/src/query.hg: Use const GstQueryDefinition* in cast constructor of Gst::FormatQueryDefinition. * gstreamer/src/index.ccg: * gstreamer/src/index.hg: Cleaned up code (placing signal callbacks out of Gst namespace, Removing unused Gst::IndexGroup, and placing slot typdefs at top of Gst::Index member definitions). Corrected Gst::IndexAssociation class definition and Index::add_association() method. Hand-wrote Index::get_assoc_entry() so that default parameters are used. * tools/m4/convert_gst.m4: Removed unused conversion. svn path=/gstreamermm/trunk/; revision=2079 2009-03-03 José Alburquerque Wrapped GstIndex vfuncs (except for one strange one that has a "user_data" 2009-03-03 José Alburquerque * gstreamer/src/index.ccg: * gstreamer/src/index.hg: * gstreamer/src/gst_vfuncs.defs: Wrapped GstIndex vfuncs (except for one strange one that has a "user_data" parameter -- see the TODO in the .hg file). * tools/m4/convert_gst.m4: Fixed Gst::IndexEntry conversion. svn path=/gstreamermm/trunk/; revision=2078 2009-03-03 José Alburquerque Remove typefind until it is clear how it might be used in C++. Added 2009-03-02 José Alburquerque * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/typefind.hg: * gstreamer/src/typefindfactory.hg: Remove typefind until it is clear how it might be used in C++. Added comment in docs saying that it is not possible to write typefinds yet because the C API uses members in the C struct sort of like virtual methods which is odd. * gstreamer/src/clock.hg: * gstreamer/src/gst_vfuncs.defs: Added wait_vfunc() to wrap all of Gst::Clock's vfuncs. * gstreamer/src/element.ccg: * gstreamer/src/element.hg: Added set_clock_vfunc() and get_query_types_vfunc() to wrap all of Gst::Element's vfuncs. * gstreamer/src/mixer.hg: Indentation. * build_shared/Makefile_build_gensrc.am_fragment: * gstreamer/gstreamermm/Makefile.am: Move gst_wrap_init.{h,cc} with wrap_init.{h,cc} in build process. svn path=/gstreamermm/trunk/; revision=2077 2009-03-01 José Alburquerque Wrapped GstTypeFindFactory. 2009-03-01 José Alburquerque * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/typefindfactory.ccg: * gstreamer/src/typefindfactory.hg: * tools/m4/convert_gst.m4: Wrapped GstTypeFindFactory. svn path=/gstreamermm/trunk/; revision=2075 2009-02-27 José Alburquerque Wrapped Gst::TypeFind. 2009-02-27 José Alburquerque * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/typefind.ccg: * gstreamer/src/typefind.hg: Wrapped Gst::TypeFind. * NEWS: Added entry for 0.10.1. svn path=/gstreamermm/trunk/; revision=2073 2009-02-25 José Alburquerque Removed inexistent directory from docs generation script. 2009-02-24 José Alburquerque * gstreamer/src/generate-docs.sh: Removed inexistent directory from docs generation script. * gstreamer/src/gst_docs.xml: * gstreamer/src/gst_methods.defs: * gstreamer/src/gst_signals.defs: * gstreamer/src/gst_enums.defs: Regenerated defs files. * gstreamer/src/gst_enums.defs.patch: Repaired enums defs patch. * gstreamer/src/task.hg: Typo. * gstreamer/src/ghostpad.hg: added an _IGNORE() for gst_ghost_pad_construct() function (for constructing new ghost pads). svn path=/gstreamermm/trunk/; revision=2072 2009-02-19 José Alburquerque Increased version for new release; Docs of last release had wrong library version. svn path=/gstreamermm/trunk/; revision=2067 2009-02-19 José Alburquerque Increased version. svn path=/gstreamermm/trunk/; revision=2065 2009-02-19 José Alburquerque Added vfuncs to fix media player example which was not embedding the video 2009-02-18 José Alburquerque * gstreamer/src/gst_vfuncs.defs: * gstreamer/src/interface.hg: * gstreamer/src/xoverlay.hg: Added vfuncs to fix media player example which was not embedding the video window because these vfuncs were missing. svn path=/gstreamermm/trunk/; revision=2064 2009-02-18 José Alburquerque Removed incorrect comment. 2009-02-18 José Alburquerque * examples/media_player_gtkmm/main.cc: Removed incorrect comment. svn path=/gstreamermm/trunk/; revision=2063 2009-02-16 José Alburquerque Fixed warnings that come from using the -Wall flag when compiling. 2009-02-16 José Alburquerque * gstreamer/src/bus.ccg: * gstreamer/src/clock.ccg: * gstreamer/src/filter.ccg: * gstreamer/src/index.ccg: * gstreamer/src/iterator.hg: * gstreamer/src/mixer.ccg: * gstreamer/src/pad.ccg: * gstreamer/src/registry.ccg: * gstreamer/src/structure.ccg: * tests/test-structure.cc: * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Fixed warnings that come from using the -Wall flag when compiling. svn path=/gstreamermm/trunk/; revision=2049 2009-02-11 José Alburquerque Use the C++ class name from the plug-in definitions list in configure.ac 2009-02-10 José Alburquerque * configure.ac: * build_shared/Makefile_gensrc.am_fragment: Use the C++ class name from the plug-in definitions list in configure.ac to derive the names of the .hg and .ccg files of the plug-in source files. * gstreamer/src/Makefile_list_of_hg.am_fragment: Renamed the C++ class of the 'typefind' plug-in to TypeFindElement (like the underlying C type) because the GStreamer core[1] has a GstTypeFind[2]. [1] http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/ [2] http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTypeFind.html svn path=/gstreamermm/trunk/; revision=2039 2009-02-11 José Alburquerque Modified plug-in list so that, instead of the C++ class name, each item in 2009-02-10 José Alburquerque * configure.ac: * gstreamer/src/Makefile_list_of_hg.am_fragment: Modified plug-in list so that, instead of the C++ class name, each item in the list is a definition of the form "plugin_name=CppClassName" which makes it possible to use whatever C++ class name is desired for a "plugin_name" that should still be recognized by gst-inspect. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Modified so that both a plug-in name that can be recognized by gst-inspect and a desired C++ class name can be specified for that wrapped plug-in. Removed (now unused) option --suggest-hg. Corrected help message. Fixed whitespace in generated .hg and .ccg files. * build_shared/Makefile_gensrc.am_fragment: Corrected build process to use new plug-in definitions list in configure.ac to get the plug-in name and the C++ class name and to pass both a plug-in name and the corresponding C++ class name to the plug-in generator. svn path=/gstreamermm/trunk/; revision=2038 2009-02-02 José Alburquerque Increased version for release. svn path=/gstreamermm/trunk/; revision=2033 2009-02-02 José Alburquerque Rewrote slightly so that the first section (General Information) might be 2009-02-01 José Alburquerque * README: Rewrote slightly so that the first section (General Information) might be used for release e-mails if that is appropriate. svn path=/gstreamermm/trunk/; revision=2032 2009-01-30 José Alburquerque License corrections. 2009-01-30 José Alburquerque * examples/element_link/element_link.cc: * examples/media_player_gtkmm/main.cc: * examples/media_player_gtkmm/player_window.cc: * examples/media_player_gtkmm/player_window.h: * examples/ogg_player/main.cc: * examples/ogg_player_gtkmm/main.cc: * examples/ogg_player_gtkmm/player_window.cc: * examples/ogg_player_gtkmm/player_window.h: * examples/optiongroup/main.cc: * tools/extra_defs_gen/generate_defs_gst.cc: * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: * tools/extra_defs_gen/get_plugin_defs.cc: * tools/extra_defs_gen/get_plugin_defs.h: * tools/extra_defs_gen/gst_type_is_a_pointer.cc: * tools/extra_defs_gen/gst_type_is_a_pointer.h: License corrections. svn path=/gstreamermm/trunk/; revision=2031 2009-01-30 José Alburquerque Disted COPYING.examples. 2009-01-30 José Alburquerque * Makefile.am: Disted COPYING.examples. svn path=/gstreamermm/trunk/; revision=2030 2009-01-30 José Alburquerque Added to avoid license disparities as reported in bug #545892. 2009-01-30 José Alburquerque * COPYING.examples: Added to avoid license disparities as reported in bug #545892. svn path=/gstreamermm/trunk/; revision=2029 2009-01-30 José Alburquerque Optimized generated *_get_type() methods of plug-in enums so that they 2009-01-30 José Alburquerque * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Optimized generated *_get_type() methods of plug-in enums so that they type is gotten once, kept and then returned each time when the functions are called. * configure.ac: Updated minimum requirements of gstreamermm dependencies. svn path=/gstreamermm/trunk/; revision=2028 2009-01-29 José Alburquerque Modified so that plug-in enum generated *_get_type() functions are static 2009-01-29 José Alburquerque * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Modified so that plug-in enum generated *_get_type() functions are static to the *.cc file (only callable within the generated .cc file) to fix Gst::init() related warnings when gst_dp_init() tries to call the GStreamer gst_dp_version_get_type() to initialize its GstDPVersion enum and winds up calling the generated one in gdppay.cc. svn path=/gstreamermm/trunk/; revision=2026 2009-01-29 José Alburquerque Added the last two interfaces, PropertyProbe and VideoOrientation, from 2009-01-28 José Alburquerque * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/propertyprobe.ccg: * gstreamer/src/propertyprobe.hg: * gstreamer/src/videoorientation.ccg: * gstreamer/src/videoorientation.hg: Added the last two interfaces, PropertyProbe and VideoOrientation, from the gst-plugins-base module. PropertyProbe, however, has methods that are difficult to wrap because some return GValueArray* and GParamSpec* and require GParamSpec* parameters. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Included commented code to have plug-ins extend the interfaces they implement. Made sure that the extra code generation is included only if the parent type has not already extended the interface. * tools/m4/ctocpp.m4: Added C to C++ conversions for interfaces that some plug-ins implement. * gstreamer/src/bin.hg: * gstreamer/src/element.hg: * gstreamer/src/pipeline.hg: Added these classes to Doxygen GstBaseClasses group. * gstreamer/src/childproxy.hg: * gstreamer/src/interface.hg: * gstreamer/src/tagsetter.hg: * gstreamer/src/urihandler.hg: Added these interfaces to Doxygen GstInterfaces group. * examples/ogg_player_gtkmm/player_window.cc: Modified so that the audio URI is set on 'm_source_element' instead of the filename (now that Gst::FileSrc properly extends Gst::URIHandler). * tests/Makefile.am: Marked TODO completed. svn path=/gstreamermm/trunk/; revision=2025 2009-01-28 José Alburquerque Added these to the GstInterface group because they are used with 2009-01-27 José Alburquerque * gstreamer/src/colorbalancechannel.hg: * gstreamer/src/mixeroptions.hg: * gstreamer/src/mixertrack.hg: Added these to the GstInterface group because they are used with interfaces. * gstreamer/src/value.ccg: * gstreamer/src/value.hg: Added GValue& constructors for GStreamer internal type helper classes. Placed the classes in a Doxygen group. * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/tuner.ccg: * gstreamer/src/tuner.hg: * gstreamer/src/tunerchannel.ccg: * gstreamer/src/tunerchannel.hg: * gstreamer/src/tunernorm.ccg: * gstreamer/src/tunernorm.hg: * tools/m4/convert_gst.m4: Added Gst::Tuner, Gst::TunerChannel and Gst::TunerNorm. Added necessary conversions. * tests/test-caps.cc: * tests/test-taglist.cc: Use quotes when printing strings only in tests. * tests/test-structure.cc: Add clarification that values printed are values obtained from the Gst::Structure. svn path=/gstreamermm/trunk/; revision=2023 2009-01-26 José Alburquerque Typo. 2009-01-26 José Alburquerque * gstreamer/src/preset.hg: Typo. svn path=/gstreamermm/trunk/; revision=2018 2009-01-25 José Alburquerque Add license header to plug-in .hg and .ccg files. 2009-01-24 José Alburquerque * build_shared/Makefile_gensrc.am_fragment: Add license header to plug-in .hg and .ccg files. svn path=/gstreamermm/trunk/; revision=2015 2009-01-23 José Alburquerque Added GstPreset. 2009-01-23 José Alburquerque * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/preset.ccg: * gstreamer/src/preset.hg: Added GstPreset. svn path=/gstreamermm/trunk/; revision=2013 2009-01-23 José Alburquerque Forgot to remove (unused) modelines mostly from *.ccg files in 2009-01-22 2009-01-23 José Alburquerque Forgot to remove (unused) modelines mostly from *.ccg files in 2009-01-22 commit. svn path=/gstreamermm/trunk/; revision=2012 2009-01-23 José Alburquerque Dist the COPYING.tools file (the COPYING file is already included by 2009-01-23 José Alburquerque * Makefile.am: Dist the COPYING.tools file (the COPYING file is already included by automake). svn path=/gstreamermm/trunk/; revision=2011 2009-01-23 José Alburquerque Added for licensing disparities as in bug #550789. Typo. 2009-01-23 José Alburquerque * COPYING.tools: Added for licensing disparities as in bug #550789. * tools/extra_defs_gen/generate_defs_gst.cc: Typo. svn path=/gstreamermm/trunk/; revision=2010 2009-01-22 José Alburquerque Fixed license disparities in source files by running script submitted by 2009-01-22 José Alburquerque Fixed license disparities in source files by running script submitted by Deng Xiyue[1]. iterator.hg and filter.hg suffered some damage, but after repairing them, all is okay. At the same time, removed (unused) modelines and changed character '—' in class doc headers to '-' to avoid bug #568072. [1] http://mail.gnome.org/archives/gtkmm-list/2009-January/msg00055.html svn path=/gstreamermm/trunk/; revision=2009 2009-01-22 José Alburquerque const corrections in [p-z]*.{hg,ccg} source files: 2009-01-21 José Alburquerque const corrections in [p-z]*.{hg,ccg} source files: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: * gstreamer/src/registry.ccg: * gstreamer/src/registry.hg: * gstreamer/src/segment.hg: * gstreamer/src/taglist.ccg: * gstreamer/src/taglist.hg: * gstreamer/src/tagsetter.hg: Wrapped reset_tags(). Corrected get_tag_merge_mode() method name. * gstreamer/src/task.ccg: * gstreamer/src/task.hg: * gstreamer/src/urihandler.hg: Added TODO. * gstreamer/src/value.ccg: * gstreamer/src/value.hg: Renamed Fourcc::get_ccs() to Fourcc::set_ccs() because it is in fact a "setting" method. Removed unneeded explicit in Fraction constructor. * gstreamer/src/xml.ccg: Re-ordered method definitions according to the order in the .hg file. * gstreamer/src/xml.hg: Added TODO. * gstreamer/src/xoverlay.hg: Added TODO. * tools/m4/convert_gst.m4: Const correction of Gst::TagList conversion. svn path=/gstreamermm/trunk/; revision=2006 2009-01-21 José Alburquerque Moved signal and vfunc specific conversions into individual *.hg files 2009-01-20 José Alburquerque * tools/m4/convert_gst.m4: * gstreamer/src/bin.hg: * gstreamer/src/clock.hg: * gstreamer/src/element.hg: * gstreamer/src/index.hg: Moved signal and vfunc specific conversions into individual *.hg files instead of in central convert file. svn path=/gstreamermm/trunk/; revision=2003 2009-01-21 José Alburquerque const corrections in [j-p]*.{hg,ccg} source files. 2009-01-20 José Alburquerque * gstreamer/src/message.ccg: * gstreamer/src/message.hg: * gstreamer/src/mixer.ccg: * gstreamer/src/mixer.hg: * gstreamer/src/mixeroptions.hg: * tools/m4/convert_gst.m4: const corrections in [j-p]*.{hg,ccg} source files. * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: Added iterate_internal_links*() methods. * gstreamer/src/plugin.hg: * gstreamer/src/pluginfeature.hg: Unwrapped (removed) gst_plugin*_list_free() methods because Glib::ListHandle<> already takes care of freeing lists (the lists are used in Gst::Registry). * gstreamer/src/registry.hg: w/s. svn path=/gstreamermm/trunk/; revision=2002 2009-01-20 José Alburquerque const correction in [a-i]*.{hg,ccg} source files: 2009-01-19 José Alburquerque const correction in [a-i]*.{hg,ccg} source files: * gstreamer/src/audioclock.ccg: * gstreamer/src/audioclock.hg: * gstreamer/src/baseaudiosink.hg: * gstreamer/src/baseaudiosrc.hg: * gstreamer/src/basesrc.hg: * gstreamer/src/basetransform.hg: * gstreamer/src/bin.hg: * gstreamer/src/buffer.hg: * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: * gstreamer/src/childproxy.ccg: * gstreamer/src/childproxy.hg: * gstreamer/src/clock.hg: * gstreamer/src/colorbalance.hg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/elementfactory.hg: * gstreamer/src/event.ccg: * gstreamer/src/event.hg: * gstreamer/src/index.hg: * tools/m4/convert_gst.m4: * gstreamer/src/basesink.ccg: * gstreamer/src/basesink.hg: Added wait_clock() and wait_eos() overloads. * gstreamer/src/caps.hg: Renamed make_writable() to create_writable(). * gstreamer/src/element.ccg: * gstreamer/src/element.hg: Wrapped create_compatible_pad() and get_compatible_pad_template() (instead of handwriting them). * gstreamer/src/bus.hg: * gstreamer/src/error.hg: * tests/test-plugin-signals.cc: Used sink instead of source for signal testing. * gstreamer/src/indexfactory.hg: whitespace. svn path=/gstreamermm/trunk/; revision=2000 2009-01-12 José Alburquerque Corrected template constructors' warnings. Reformatted code to fit in 80 2009-01-12 José Alburquerque * gstreamer/src/ghostpad.ccg: Corrected template constructors' warnings. Reformatted code to fit in 80 char width editor. svn path=/gstreamermm/trunk/; revision=1990 2009-01-12 José Alburquerque Uncommented warning lines to show that ghost pad constructors warn on 2009-01-12 José Alburquerque * tests/test-ghost-pad.cc: Uncommented warning lines to show that ghost pad constructors warn on construction failure (parallel C code produces same results). svn path=/gstreamermm/trunk/; revision=1989 2009-01-12 José Alburquerque Re-added ghostpad.hg (Bug #539108 has been resolved). Re-added ghost pad 2009-01-12 José Alburquerque * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/ghostpad.ccg: * gstreamer/src/ghostpad.hg: Re-added ghostpad.hg (Bug #539108 has been resolved). * tests/Makefile.am: Re-added ghost pad test. svn path=/gstreamermm/trunk/; revision=1988 2009-01-09 José Alburquerque Correction of Gst::Segment usages. 2009-01-09 José Alburquerque * gstreamer/src/basesrc.hg: Correction of Gst::Segment usages. svn path=/gstreamermm/trunk/; revision=1984 2009-01-08 José Alburquerque Forgot to commit ChangeLog of last commit. svn path=/gstreamermm/trunk/; revision=1978 2009-01-08 José Alburquerque Added vfuncs. Handwrote the get_volume_vfunc() one (adapted from gtkmm) 2009-01-08 José Alburquerque * gstreamer/src/mixer.ccg: * gstreamer/src/mixer.hg: * gstreamer/src/gst_vfuncs.defs: Added vfuncs. Handwrote the get_volume_vfunc() one (adapted from gtkmm) because the C++ version returns the array (Glib::ArrayHandle) instead of requiring a pointer in which to store the result. svn path=/gstreamermm/trunk/; revision=1977 2009-01-08 José Alburquerque Forgot to add one dependency and type to extra defs gen. utility. Added 2009-01-07 José Alburquerque * configure.ac: * gstreamer/gstreamermm-0.10.pc.in: * tools/extra_defs_gen/generate_defs_gst.cc: * gstreamer/src/gst_signals.defs: Forgot to add one dependency and type to extra defs gen. utility. Added dependency and type and regenerated. * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/navigation.ccg: * gstreamer/src/navigation.hg: Added Gst::Navigation interface. Wrapped its vfuncs. * gstreamer/src/basesink.hg: * gstreamer/src/basesrc.hg: * gstreamer/src/basetransform.hg: Corrected vfunc m4 conversions to take referecences. * gstreamer/src/colorbalance.hg: * gstreamer/src/gst_vfuncs.defs: Wrapped vfuncs. * gstreamer/src/baseaudiosink.hg: * gstreamer/src/cddabasesrc.hg: * gstreamer/src/mixer.ccg: * gstreamer/src/mixer.hg: * gstreamer/src/mixertrack.hg: * tools/m4/convert_gst.m4: Completed some TODO's. svn path=/gstreamermm/trunk/; revision=1975 2009-01-07 José Alburquerque Added all possible GStreamer dependencies to gstreamermm. 2009-01-06 José Alburquerque * configure.ac: * gstreamer/gstreamermm-0.10.pc.in: Added all possible GStreamer dependencies to gstreamermm. * tools/extra_defs_gen/generate_defs_gst.cc: * gstreamer/src/gst_signals.defs: Added all possible GStreamer types to extra defs gen. utility and regenerated signals defs (all is included so no need to add things bit by bit and regenerate). * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/mixer.ccg: * gstreamer/src/mixer.hg: * gstreamer/src/mixeroptions.ccg: * gstreamer/src/mixeroptions.hg: * gstreamer/src/mixertrack.ccg: * gstreamer/src/mixertrack.hg: * tools/m4/convert_gst.m4: Added Gst::Mixer interface and related classes. * gstreamer/gstreamermm/object.h: * gstreamer/src/baseaudiosrc.hg: * gstreamer/src/basetransform.hg: * gstreamer/src/cddabasesrc.hg: * gstreamer/src/colorbalance.hg: * gstreamer/src/colorbalancechannel.ccg: * gstreamer/src/colorbalancechannel.hg: * examples/ogg_player_gtkmm/player_window.cc: Completed some TODO's, filed bugs about non-public enums in GStreamer and fixed some typos/whitespace. svn path=/gstreamermm/trunk/; revision=1965 2009-01-06 José Alburquerque Modified test so that Gst::FakeSrc is used instead of Gst::FileSrc. 2009-01-05 José Alburquerque * tests/test-plugin-signals.cc: Modified test so that Gst::FakeSrc is used instead of Gst::FileSrc. svn path=/gstreamermm/trunk/; revision=1948 2009-01-05 José Alburquerque Added GDPDepay and GDPPay plug-ins. 2009-01-05 José Alburquerque * configure.ac: * gstreamer/src/Makefile_list_of_hg.am_fragment: Added GDPDepay and GDPPay plug-ins. * gstreamer/gstreamermm/object.cc: * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Added floating reference aversion to ConstructParam Gst::Object constructor and removed it from plug-in constructors. Also removed code in plug-in generator to ensure that certain base classes are interpreted as belonging to the Gst namespace because the gstreamerbase branch has been merged into gstreamer and there's no possibility of these base classes being interpreted as belonging to the GstBase namespace or existing in the gstreamerbasemm directory anymore. svn path=/gstreamermm/trunk/; revision=1947 2009-01-05 José Alburquerque Merged gstreamerbase into gstreamer, i.e. the GstBase namespace into the 2009-01-05 José Alburquerque * Makefile.am: * configure.ac: * docs/reference/Makefile.am: * examples/Makefile.am: * examples/Makefile.am_fragment: * examples/media_player_gtkmm/main.cc: * examples/media_player_gtkmm/player_window.cc: * examples/media_player_gtkmm/player_window.h: * examples/ogg_player_gtkmm/main.cc: * gstreamer/gstreamermm-0.10.pc.in: * gstreamer/gstreamermm.h: * gstreamer/gstreamermm/init.h: * gstreamer/gstreamermmconfig.h.in: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/audioclock.ccg: * gstreamer/src/audioclock.hg: * gstreamer/src/audiofilter.ccg: * gstreamer/src/audiofilter.hg: * gstreamer/src/audiosink.ccg: * gstreamer/src/audiosink.hg: * gstreamer/src/audiosrc.ccg: * gstreamer/src/audiosrc.hg: * gstreamer/src/baseaudiosink.ccg: * gstreamer/src/baseaudiosink.hg: * gstreamer/src/baseaudiosrc.ccg: * gstreamer/src/baseaudiosrc.hg: * gstreamer/src/cddabasesrc.ccg: * gstreamer/src/cddabasesrc.hg: * gstreamer/src/colorbalance.ccg: * gstreamer/src/colorbalance.hg: * gstreamer/src/colorbalancechannel.ccg: * gstreamer/src/colorbalancechannel.hg: * gstreamer/src/element.hg: * gstreamer/src/generate-docs.sh: * gstreamer/src/generate-enums.sh: * gstreamer/src/generate-extra-defs.sh: * gstreamer/src/generate-methods.sh: * gstreamer/src/gst_docs.xml: * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_enums.defs.patch: * gstreamer/src/gst_methods.defs: * gstreamer/src/gst_methods.defs.patch: * gstreamer/src/gst_signals.defs: * gstreamer/src/gst_signals.defs.patch: * gstreamer/src/videosink.ccg: * gstreamer/src/videosink.hg: * gstreamer/src/xoverlay.ccg: * gstreamer/src/xoverlay.hg: * gstreamerbase/Makefile.am: * gstreamerbase/README: * gstreamerbase/gstreamerbasemm-0.10.pc.in: * gstreamerbase/gstreamerbasemm.h: * gstreamerbase/gstreamerbasemm/Makefile.am: * gstreamerbase/gstreamerbasemm/gst_wrap_init.h: * gstreamerbase/gstreamerbasemm/init.cc: * gstreamerbase/gstreamerbasemm/init.h: * gstreamerbase/gstreamerbasemm/private/Makefile.am: * gstreamerbase/gstreamerbasemm/wrap_init.h: * gstreamerbase/gstreamerbasemmconfig.h.in: * gstreamerbase/src/Makefile.am: * gstreamerbase/src/Makefile_list_of_hg.am_fragment: * gstreamerbase/src/audioclock.ccg: * gstreamerbase/src/audioclock.hg: * gstreamerbase/src/audiofilter.ccg: * gstreamerbase/src/audiofilter.hg: * gstreamerbase/src/audiosink.ccg: * gstreamerbase/src/audiosink.hg: * gstreamerbase/src/audiosrc.ccg: * gstreamerbase/src/audiosrc.hg: * gstreamerbase/src/baseaudiosink.ccg: * gstreamerbase/src/baseaudiosink.hg: * gstreamerbase/src/baseaudiosrc.ccg: * gstreamerbase/src/baseaudiosrc.hg: * gstreamerbase/src/cddabasesrc.ccg: * gstreamerbase/src/cddabasesrc.hg: * gstreamerbase/src/colorbalance.ccg: * gstreamerbase/src/colorbalance.hg: * gstreamerbase/src/colorbalancechannel.ccg: * gstreamerbase/src/colorbalancechannel.hg: * gstreamerbase/src/generate-docs.sh: * gstreamerbase/src/generate-enums.sh: * gstreamerbase/src/generate-extra-defs.sh: * gstreamerbase/src/generate-methods.sh: * gstreamerbase/src/gstbase.defs: * gstreamerbase/src/gstbase_docs.xml: * gstreamerbase/src/gstbase_docs_override.xml: * gstreamerbase/src/gstbase_enums.defs: * gstreamerbase/src/gstbase_enums.defs.patch: * gstreamerbase/src/gstbase_methods.defs: * gstreamerbase/src/gstbase_signals.defs: * gstreamerbase/src/gstbase_signals.defs.patch: * gstreamerbase/src/videosink.ccg: * gstreamerbase/src/videosink.hg: * gstreamerbase/src/xoverlay.ccg: * gstreamerbase/src/xoverlay.hg: * tests/Makefile.am: * tests/test-init-check-noargs.cc: * tests/test-init-check.cc: * tests/test-init-noargs.cc: * tests/test-init.cc: * tests/test-interface.cc: * tools/extra_defs_gen/Makefile.am: * tools/extra_defs_gen/generate_defs_gst.cc: * tools/extra_defs_gen/generate_defs_gstbase.cc: * tools/m4/Makefile_list_of_sources.am_fragment: * tools/m4/convert.m4: * tools/m4/convert_gst.m4: * tools/m4/convert_gstbase.m4: Merged gstreamerbase into gstreamer, i.e. the GstBase namespace into the Gst namespace. svn path=/gstreamermm/trunk/; revision=1946 2009-01-05 Sebastian Dröge Link gstreamerbasemm to gstreamermm as it uses symbols from it. Fixes bug * gstreamerbase/gstreamerbasemm/Makefile.am: Link gstreamerbasemm to gstreamermm as it uses symbols from it. Fixes bug #560600 again. svn path=/gstreamermm/trunk/; revision=1944 2009-01-04 José Alburquerque Modified example to use plug-ins. I'm wondering if it wouldn't be easier 2009-01-03 José Alburquerque * examples/ogg_player_gtkmm/main.cc: Modified example to use plug-ins. I'm wondering if it wouldn't be easier if all classes and plug-ins would be in the Gst namespace. It seems that just because there's a packaging separation between core and base in GStreamer, it doesn't have to "seep" into the logic of namespaces, etc. I may have to ask on the list or get a better opinion from others with more experience. svn path=/gstreamermm/trunk/; revision=1942 2009-01-04 José Alburquerque Changed so that plug-in constructors avert the GstObject floating 2009-01-03 José Alburquerque * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Changed so that plug-in constructors avert the GstObject floating reference. Setting properties of bins to a plug-in with a floating reference (as is done in the media player example) causes warnings when the plug-in's RefPtr goes out of scope because the referencing is not right because of the floating reference. svn path=/gstreamermm/trunk/; revision=1941 2009-01-02 José Alburquerque Modified so that C preprocessor symbols are defined for each existing 2009-01-02 José Alburquerque * configure.ac: Modified so that C preprocessor symbols are defined for each existing plug-in from two lists (the core list and the base list) of all possible plug-ins. * gstreamer/gstreamermmconfig.h.in: * gstreamerbase/gstreamerbasemmconfig.h.in: Modified so that if plug-ins exist, a C preprocessor symbol for the plug-in is defined in the two configuration files. * gstreamer/gstreamermm/wrap_init.h: * gstreamerbase/gstreamerbasemm/wrap_init.h: Modified to include the configuration files so that wrap_init()s know if plug-ins exist. * tools/generate_wrap_init.pl.in: Added local copy so that #ifdefs are included in wrap_init() methods. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: * tools/m4/Makefile_list_of_sources.am_fragment: * tools/m4/convert.m4: * tools/m4/shared.m4: Modified plug-in generation tool to include a "marking" m4 macro (_IS_GSTREAMERMM_PLUGIN) so that wrap_init generation tool knows and can include proper #ifdefs for each plug-in. Defined the macro in the shared.m4 file so that it is simply removed from the .hg when generating the .h file (much like what happens with the optional windows wrapping macro in gtkmm). * build_shared/Makefile_gensrc.am_fragment: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamerbase/src/Makefile_list_of_hg.am_fragment: Modified so that all plug-ins are always generated, but only in maintainer mode and so the local copy of generate_wrap_init.pl is used to generate wrap_init() functions. * build_shared/Makefile_build_gensrc.am_fragment: * build_shared/Makefile_build.am_fragment: * gstreamer/gstreamermm/Makefile.am: * gstreamer/gstreamermm/private/Makefile.am: * gstreamerbase/gstreamerbasemm/Makefile.am: * gstreamerbase/gstreamerbasemm/private/Makefile.am: Modified build files so that only the plug-ins that exist are built, installed and included in the shared object libraries, but so that all plug-in files are distributed in the tarballs whether the plug-ins exist or not. * docs/reference/Makefile.am: Modified to make sure that the distcheck is successful. Added tarball building targets. * gstreamerbase/src/colorbalance.hg: Commented unused enum for now to fix the build with most recent changes to GStreamer sources in cvs. * gstreamer/src/Makefile.am: * gstreamerbase/src/Makefile.am: Whitespace. svn path=/gstreamermm/trunk/; revision=1934 2009-01-02 José Alburquerque Aparently with checkin confusion names were not ordered in alphabetical 2009-01-01 José Alburquerque * AUTHORS: Aparently with checkin confusion names were not ordered in alphabetical order by last name. svn path=/gstreamermm/trunk/; revision=1933 2008-12-23 José Alburquerque Moved gstreamerbasemm specific Doxygen group definitions to a 2008-12-22 José Alburquerque * gstreamer/src/element.hg: * gstreamerbase/src/audioclock.hg: Moved gstreamerbasemm specific Doxygen group definitions to a gstreamerbasemm class. Added a group for gstreamerbasemm interfaces. * gstreamerbase/src/colorbalance.hg: * gstreamerbase/src/xoverlay.hg: Added existing interfaces to defined Doxyen interface group. * tools/m4/ctocpp.m4: * tools/m4/ctocpp_base.m4: Modified C to C++ translation macros to allow translations from the C to the C++ type. Three types of translation are now possible: 1) type, 2) parameter and 3) return. The type translation is needed so that the classes of the plug-ins that implement interfaces can be extended with the C to C++ type translation. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Modified the plug-in generation tool to include code to extend classes that implement interfaces with the C++ type of the interface. Also modified the tool to include an _IMPLEMENTS_INTERFACE macro call for each interface the plug-in implements. The code is commented for now because the rest of the gstreamerbasemm interfaces have to be wrapped before the build is successful with the code uncommented. svn path=/gstreamermm/trunk/; revision=1912 2008-12-22 José Alburquerque Increased version. svn path=/gstreamermm/trunk/; revision=1910 2008-12-19 José Alburquerque Forgot to write ChangeLog before commit. svn path=/gstreamermm/trunk/; revision=1897 2008-12-19 José Alburquerque Added comment about how to report bugs. 2008-12-19 José Alburquerque * README: Added comment about how to report bugs. svn path=/gstreamermm/trunk/; revision=1896 2008-12-19 José Alburquerque Added warning to plug-in Doxygen blocks (class docs) that using the 2008-12-19 José Alburquerque * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Added warning to plug-in Doxygen blocks (class docs) that using the underlying C *type* of the wrapped plug-in is not guaranteed to be API stable across releases. svn path=/gstreamermm/trunk/; revision=1895 2008-12-18 José Alburquerque Modified plug-in generation so that the required parameter of the 2008-12-17 José Alburquerque * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamerbase/src/Makefile_list_of_hg.am_fragment: * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: * build_shared/Makefile_gensrc.am_fragment: Modified plug-in generation so that the required parameter of the generation tool (the plug-in name) is passed using camel casing so that this can be used as the C++ class name. This ensures that the C++ class name remains constant even if the plug-in's underlying C type changes (no more worries about ABI issues in this sense). Modified build process so that the C++ class names are specified along with the .hg file. * gstreamerbase/gstreamerbasemm/Makefile.am: Removed unneeded libgstreamermm-0.10.la build dependency of the gstreamerbasemm library. svn path=/gstreamermm/trunk/; revision=1875 2008-12-17 José Alburquerque Added cdparanoiasrc giosink giosrc giostreamsink giostreamsrc xvimagesink 2008-12-16 José Alburquerque * gstreamerbase/src/Makefile_list_of_hg.am_fragment: * gstreamerbase/src/cddabasesrc.ccg: * gstreamerbase/src/cddabasesrc.hg: Added cdparanoiasrc giosink giosrc giostreamsink giostreamsrc xvimagesink plug-ins. They did not exist in jhbuild environment because gst-plugins-base module must be be built with '--enable-experimental' and certain dependencies did not exist on my system (for cdparanoiasrc and xvimagesink plug-ins). Also added base class CddaBaseSrc from which cdparanoiasrc plug-in derives. * tools/m4/ctocpp.m4: Added C to C++ translations for gio types. * gstreamerbase/gstreamerbasemm.h: Added base classes to includes. * configure.ac: * gstreamerbase/gstreamerbasemm-0.10.pc.in: Added giomm-2.4 and gstreamer-cdda.0.10 (for CddaBaseSrc base class) dependencies to gstreamerbase branch. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Added code to determine if parent type of plug-in is wrapped or will be generated as a plug-in; If the parent type is not public, a parent class that is public is used as the plug-ins parent type. * gstreamerbase/src/gstbase_enums.defs: * gstreamerbase/src/gstbase_enums.defs.patch: * gstreamerbase/src/gstbase_signals.defs: * gstreamerbase/src/gstbase_signals.defs.patch: Went back two weeks to a gst-plugins-base version that uses GstAudioresample instead of GstSpeexResample as the type of the audioresample plug-in and regenerated these files in case a release of gstreamermm is made before a new release of GStreamer modules because the change from GstAudioresample to GstSpeexResample was made just two weeks ago and is not reflected in current releases of GStreamer modules. When a new GStreamer release is made with the change they can be regenerated then. Changing type names like this in GStreamer plug-ins (I hope it is not a common practice) makes me worry about ABI issues (if we should worry about such things in gstreamermm) because the plug-in class type names are taken from the GStreamer types and if they change this would make it appear that a class has been removed and a new one added in gstreamermm or gstreamerbasemm when plug-ins are generated. svn path=/gstreamermm/trunk/; revision=1870 2008-12-16 José Alburquerque Removed wrap_init.cc from distribution because it depends on plug-in 2008-12-16 José Alburquerque * build_shared/Makefile_build_gensrc.am_fragment: * gstreamer/gstreamermm/Makefile.am: * gstreamerbase/gstreamerbasemm/Makefile.am: Removed wrap_init.cc from distribution because it depends on plug-in generation and should be generated in build system. * build_shared/Makefile_gensrc.am_fragment: Used variable $(files_plugin_stamp) instead of complex $(foreach ...) expression in CLEANFILES and in BUILT_SOURCES. Modified plugin .hg generation to pipe the output of generate_plugin_gmmproc_file to m4 instead of using $(eval ...) to define variables for temporary files. Modified build process to generate plug-in .hg and .ccg files and then run through gmmproc. Added wrap_init.cc to BUILT_SOURCES because it is now not distributed. * tools/m4/Makefile.am: Added ctocpp*.m4 to distribution. svn path=/gstreamermm/trunk/; revision=1863 2008-12-15 José Alburquerque Added base classes to gstreamerbasemm base classes Doxygen group. 2008-12-15 José Alburquerque * gstreamerbase/src/audiofilter.hg: * gstreamerbase/src/videosink.hg: Added base classes to gstreamerbasemm base classes Doxygen group. * gstreamer/src/element.hg: Re-ordered Doxygen groups so that base classes come before plug-ins. * gstreamerbase/src/Makefile_list_of_hg.am_fragment: Typo. svn path=/gstreamermm/trunk/; revision=1856 2008-12-15 José Alburquerque Removed gdpdeplay and gdppay plug-ins because they cause strange warnings 2008-12-14 José Alburquerque * gstreamerbase/src/Makefile_list_of_hg.am_fragment: Removed gdpdeplay and gdppay plug-ins because they cause strange warnings when their wrap_new() methods are registered in GstBase::wrap_init(): * Makefile.am: Build examples before tests. Discovered that the media player example only works outside of jhbuild now. The error when attempting to play a media file in jhbuild environment: Error: Missing element 'input-selector' - check your GStreamer installation. svn path=/gstreamermm/trunk/; revision=1855 2008-12-15 José Alburquerque Removed some plug-ins that were not generated in jhbuild. Will re-add them 2008-12-14 José Alburquerque * gstreamerbase/src/Makefile_list_of_hg.am_fragment: Removed some plug-ins that were not generated in jhbuild. Will re-add them after making sure they are generated. * examples/media_player_gtkmm/main.cc: * examples/media_player_gtkmm/player_window.cc: * examples/media_player_gtkmm/player_window.h: Modified example to use GstBase::PlayBin2 and GstBase::XImageSink plug-ins. They work, but some warnings that have to be looked into are generated (I hope they're not too bad :-) svn path=/gstreamermm/trunk/; revision=1854 2008-12-15 José Alburquerque Added comment about when *Class delcaration is included in .ccg file. 2008-12-14 José Alburquerque * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Added comment about when *Class delcaration is included in .ccg file. svn path=/gstreamermm/trunk/; revision=1853 2008-12-15 José Alburquerque Added GstBase::AudioFilter and GstBase::VideoSink base classes (from which 2008-12-14 José Alburquerque * gstreamerbase/src/Makefile_list_of_hg.am_fragment: * gstreamerbase/src/audiofilter.ccg: * gstreamerbase/src/audiofilter.hg: * gstreamerbase/src/videosink.ccg: * gstreamerbase/src/videosink.hg: Added GstBase::AudioFilter and GstBase::VideoSink base classes (from which some plug-ins derive) and a list of most of the gst-plugins-base plug-ins to be generated (the rest are TODO's to be done bit by bit). * configure.ac: * gstreamerbase/gstreamerbasemm-0.10.pc.in: Added gstreamer-video-0.10 to list of package dependencies of gstreamerbasemm and to the gstreamerbasemm pk-config file (needed for GstBase::VideoSink). * gstreamerbase/src/audiosink.hg: * gstreamerbase/src/audiosrc.hg: Added GStreamer includes so plug-ins that include the .h files have access to the *Class structures. * tools/extra_defs_gen/generate_defs_gstbase.cc: * gstreamerbase/src/gstbase_signals.defs: Rewrote genereate_defs_gstbase tool to include GstPlayBaseBin (base class of GstPlayBin) so its properties can be wrapped. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Renamed global includeRoot to more appropriate parentInclude (the include of the parent class); Rewrote get_cast_macro() to use a similar algorithm for inserting the underscore ('_') in the given type name as gmmproc does more or less (just a guess, but the generate *_get_type() functions of the plug-in specific enums in the *.ccg files have names that gmmproc is happy with). Made *Class definition in *.ccg files optional based on whether there are wrapped signals in plugin. Modified so that the plug-in name can also be a type name (e.g. GstPipeline, etc.) and so that when the --suggest-hg option is used the other options like --namespace, and --target are not needed. * tools/m4/convert_gst.m4: Fixed GstBuffer conversion to work with gstreamerbase branch. * tools/m4/ctocpp_base.m4: Added gdouble C to C++ translation. * tools/m4/ctocpp.m4: Added GstElement and GstTagList C to C++ translation (for plug-in generation). svn path=/gstreamermm/trunk/; revision=1852 2008-12-12 José Alburquerque Specified namespace wherever necessary so that the conversions in 2008-12-11 José Alburquerque * tools/m4/convert_gst.m4: * gstreamer/src/basesink.hg: * gstreamer/src/basesrc.hg: * gstreamer/src/basetransform.hg: * gstreamer/src/bin.ccg: * gstreamer/src/bin.hg: * gstreamer/src/buffer.ccg: * gstreamer/src/buffer.hg: * gstreamer/src/bus.hg: * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: * gstreamer/src/childproxy.ccg: * gstreamer/src/childproxy.hg: * gstreamer/src/clock.hg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/elementfactory.ccg: * gstreamer/src/elementfactory.hg: * gstreamer/src/event.ccg: * gstreamer/src/event.hg: * gstreamer/src/ghostpad.ccg: * gstreamer/src/ghostpad.hg: * gstreamer/src/index.hg: * gstreamer/src/indexfactory.hg: * gstreamer/src/interface.hg: * gstreamer/src/message.ccg: * gstreamer/src/message.hg: * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: * gstreamer/src/padtemplate.hg: * gstreamer/src/parse.ccg: * gstreamer/src/parse.hg: * gstreamer/src/pipeline.hg: * gstreamer/src/plugin.hg: * gstreamer/src/pluginfeature.hg: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: * gstreamer/src/registry.ccg: * gstreamer/src/registry.hg: * gstreamer/src/systemclock.hg: * gstreamer/src/taglist.hg: * gstreamer/src/tagsetter.hg: * gstreamer/src/urihandler.hg: * gstreamer/src/xml.ccg: * gstreamer/src/xml.hg: Specified namespace wherever necessary so that the conversions in convert_gst.m4 can also be used with classes in gstreamerbase branch. * tools/m4/convert_gstbase.m4: Typo. * tools/extra_defs_gen/generate_defs_gstbase.cc: Modified to include some base classes that plug-ins derive from and all gst-plugins-base plug-ins. * gstreamerbase/src/generate-enums.sh: * gstreamerbase/src/generate-extra-defs.sh: * gstreamerbase/src/generate-methods.sh: Modified defs generation scripts to include plug-in directories and to patch when necessary. * gstreamerbase/src/gstbase_enums.defs: * gstreamerbase/src/gstbase_enums.defs.patch: * gstreamerbase/src/gstbase_methods.defs: * gstreamerbase/src/gstbase_signals.defs: * gstreamerbase/src/gstbase_signals.defs.patch: Regenerated and create patches to use where types are not quite correct. * gstreamerbase/src/Makefile_list_of_hg.am_fragment: * gstreamerbase/src/audiosink.ccg: * gstreamerbase/src/audiosink.hg: * gstreamerbase/src/audiosrc.ccg: * gstreamerbase/src/audiosrc.hg: * gstreamerbase/src/baseaudiosink.ccg: * gstreamerbase/src/baseaudiosink.hg: * gstreamerbase/src/baseaudiosrc.ccg: * gstreamerbase/src/baseaudiosrc.hg: Added these base classes on which some plug-ins depend (derive from). Also made a Doxygen group for them in element.hg. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Modified to not include an m4 conversion from a Glib::RefPtr<> to the underlying object in the generated plugin .hg file because the conversions in the convert_*.m4 files can be used just as well. Also modified to generate a _WRAP_ENUM for flags specific to the plug-in. svn path=/gstreamermm/trunk/; revision=1835 2008-12-11 José Alburquerque Some corrections to callbacks. 2008-12-11 José Alburquerque * gstreamer/src/bus.ccg: * gstreamer/src/clock.ccg: * gstreamer/src/filter.ccg: * gstreamer/src/index.ccg: * gstreamer/src/pad.ccg: * gstreamer/src/registry.ccg: * gstreamer/src/structure.ccg: * gstreamer/src/taglist.ccg: * gstreamer/src/task.ccg: * gstreamerbase/src/audioclock.ccg: Some corrections to callbacks. svn path=/gstreamermm/trunk/; revision=1833 2008-12-10 José Alburquerque Added a Doxygen group for base classes in gstreamermm from which plug-ins 2008-12-10 José Alburquerque * gstreamer/src/basesink.hg: * gstreamer/src/basesrc.hg: * gstreamer/src/basetransform.hg: * gstreamer/src/element.hg: * gstreamer/src/pushsrc.hg: Added a Doxygen group for base classes in gstreamermm from which plug-ins derive. svn path=/gstreamermm/trunk/; revision=1830 2008-12-10 José Alburquerque Temporarily "un-wrap" the vfuncs that return bool because they cause 2008-12-10 José Alburquerque * gstreamer/src/basesink.hg: * gstreamer/src/basesrc.hg: * gstreamer/src/basetransform.hg: Temporarily "un-wrap" the vfuncs that return bool because they cause errors when using plug-ins that derive from these classes (see related bug #530416 and comments in element.hg about the bug). * tests/Makefile.am: * tests/test-plugin-signals.cc: Added a test for generated plug-in signals. They work as long as the bool vfuncs are not wrapped or the patch in bug #530416 (or something similar) is accepted. svn path=/gstreamermm/trunk/; revision=1829 2008-12-09 José Alburquerque Added generated plug-in header files to list of files to be installed but 2008-12-08 José Alburquerque * build_shared/Makefile_build.am_fragment: Added generated plug-in header files to list of files to be installed but not distributed. * gstreamer/src/parse.ccg: * gstreamer/src/parse.hg: Renamed get_bin() to create_bin() (A bin is created). * gstreamer/gstreamermm/miniobject.cc: * gstreamer/gstreamermm/miniobject.h: Reverted changes to "unshadow" Glib::ObjectBase::gobject_ for now because there's much more to this than just changing the field name (usages of the member variable must also be changed). svn path=/gstreamermm/trunk/; revision=1828 2008-12-08 José Alburquerque Modified plug-in generation tool to generate preliminary .hg file (when 2008-12-08 José Alburquerque * tools/m4/Makefile_list_of_sources.am_fragment: * tools/m4/convert.m4: * tools/m4/ctocpp_base.m4: * tools/m4/ctocpp.m4: * build_shared/Makefile_gensrc.am_fragment: * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Modified plug-in generation tool to generate preliminary .hg file (when generating the .hg file) which would then be run through m4 with macros in ctocpp_base.m4 and ctocpp.m4. Modified the build process to generate the preliminary .hg file with the tool and then run the file through m4 before running gmmproc on the final .hg file. Modified the tool to generate signals. Signals are wrapped; testing should be done though. * gstreamer/src/gst_signals.defs: * gstreamer/src/gst_signals.defs.patch: Added `*' to GstBuffer pointer type in definitions (it is GstMiniObject and the extra defs utility does not know -- see bug #562810). Modified patch to do this. * gstreamerbase/src/Makefile_list_of_hg.am_fragment: * gstreamerbase/src/gstbase_signals.defs: * tools/extra_defs_gen/generate_defs_gstbase.cc: Added plug-in `decodebin' to list of plug-ins to be generated for gstreamerbasemm to test plug-in generation that uses API from gstreamermm (properties and signals are wrapped). * gstreamer/src/basesink.ccg: * gstreamer/src/basesink.hg: * gstreamer/src/basesrc.ccg: * gstreamer/src/basesrc.hg: * gstreamer/src/pushsrc.ccg: * gstreamer/src/pushsrc.hg: Moved includes from .ccg to .hg files because plug-ins relying on these base classes need Gst*Class definitions from GStreamer header files. svn path=/gstreamermm/trunk/; revision=1827 2008-12-04 José Alburquerque Modified defs generation scripts to use include files in the jhbuild 2008-12-03 José Alburquerque * gstreamer/src/generate-docs.sh: * gstreamer/src/generate-enums.sh: * gstreamer/src/generate-methods.sh: * gstreamerbase/src/generate-docs.sh: * gstreamerbase/src/generate-enums.sh: * gstreamerbase/src/generate-methods.sh: Modified defs generation scripts to use include files in the jhbuild sources and not in the install directory. * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_enums.defs.patch: * gstreamerbase/src/gstbase_enums.defs: * gstreamerbase/src/gstbase_methods.defs: Regenerated defs files and patch files using scripts. * gstreamer/src/element.hg: Added Doxygen groups for core and base plugins. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Modified to generate code to wrap plug-in enums. Included code to determine if an enum a plugin property uses is defined in the API or is plugin specific. Modified to include plugins in correct Doxygen group. Added check that the --namespace, --main-defs and --target options are used. * gstreamer/src/Makefile_list_of_hg.am_fragment: * tools/m4/ctocpp.m4: * tools/m4/ctocpp_base.m4: Added all the core plugins so that they are automatically generated. For now, all properties are generated. * gstreamer/gstreamermm/miniobject.cc: * gstreamer/gstreamermm/miniobject.h: Used _gobject instead of gobject_ as protected member so the Glib::ObjectBase member is not shadowed. svn path=/gstreamermm/trunk/; revision=1825 2008-12-01 José Alburquerque Modify example to use Gst::FileSrc for source element. 2008-11-30 José Alburquerque * examples/ogg_player_gtkmm/main.cc: * examples/ogg_player_gtkmm/player_window.cc: * examples/ogg_player_gtkmm/player_window.h: Modify example to use Gst::FileSrc for source element. * gstreamerbase/gstreamerbasemm.h: Correct typo. svn path=/gstreamermm/trunk/; revision=1821 2008-12-01 José Alburquerque Renamed macro to define translation from C to C++ type from _CPPTYPE to 2008-11-30 José Alburquerque * tools/m4/ctocpp_base.m4: Renamed macro to define translation from C to C++ type from _CPPTYPE to _CCONVERSION. Likewise, renamed the include generation macro from _CTOCPP_INCLUDE to _CCONVERSION_INCLUDE and the macro that does the translating from _CTOCPP to _CCONVERT. Used the actual C type to define translations instead of the param spec types. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Modified to get the actual C type name instead of the param spec name; also to determine if a GType is a pointer. Also modified so that the return type C++ translation is used for the generated property type (by adding a second parameter, `true', to the generated _CCONVERT macro call). * tools/extra_defs_gen/Makefile.am: * tools/extra_defs_gen/gst_type_is_a_pointer.cc: * tools/extra_defs_gen/gst_type_is_a_pointer.h: Included to determine if a GType is a pointer. * tools/extra_defs_gen/generate_defs_gst.cc: Modified to generate extra defs for all core plug-ins. * gstreamer/src/gst_signals.defs: Regenerated so that the core plug-in extra defs (signals and properties) are included. * gstreamer/src/Makefile_list_of_hg.am_fragment: Added `capsfilter' plug-in to list of plug-ins to be generated. * tools/m4/Makefile_list_of_sources.am_fragment: * tools/m4/convert.m4: * tools/m4/ctocpp.m4: Added a file independent of ctopp_base.m4 to include additional C to C++ translations (the basic ones will go in ctocpp_base.m4). svn path=/gstreamermm/trunk/; revision=1820 2008-11-30 José Alburquerque Add patches to .h files to dist. Added get_plugin_defs.{h,cc} to dist. 2008-11-30 José Alburquerque * build_shared/Makefile_build_gensrc.am_fragment: * build_shared/Makefile_gensrc.am_fragment: Add patches to .h files to dist. * tools/extra_defs_gen/Makefile.am: Added get_plugin_defs.{h,cc} to dist. svn path=/gstreamermm/trunk/; revision=1819 2008-11-30 José Alburquerque Modified build process so that taglist.hg can be included in list of .hg 2008-11-30 José Alburquerque * gstreamer/src/Makefile_list_of_hg.am_fragment: * build_shared/Makefile_gensrc.am_fragment: * gstreamer/gstreamermm/Makefile.am: Modified build process so that taglist.hg can be included in list of .hg files to generate, but also to patch the generated .h file to remove the "typedef _GstTagList ..." section because the C API defines GstTagList as a GstStructure (so there's a conflict). * gstreamer/gstreamermm/taglist.h.patch: Added this patch so build process can use it to patch taglist.h. * gstreamer/gstreamermm/private/taglist_p.h: * gstreamer/gstreamermm/taglist.cc: * gstreamer/gstreamermm/taglist.h: Removed these because now they are generated. svn path=/gstreamermm/trunk/; revision=1817 2008-11-30 José Alburquerque Modified add() to take extra reference of element if it is still floating. 2008-11-29 José Alburquerque * gstreamer/src/bin.ccg: Modified add() to take extra reference of element if it is still floating. This is necessary because bins like to destroy the elements themselves so we can't let the Glib::RefPtr<> to the element do this (see comments in add method). * tests/test-create-bin.cc: Added lines to test removal and re-addition of element to a bin. * tests/test-interface.cc: Modified to use a Glib::RefPtr<> to hold the copy of the element gobject so it is properly destroyed when Glib::RefPtr<> goes out of scope. svn path=/gstreamermm/trunk/; revision=1816 2008-11-28 José Alburquerque Commented out set_clock() vfunc wrap because of problems with generated 2008-11-28 José Alburquerque * gstreamer/src/element.hg: Commented out set_clock() vfunc wrap because of problems with generated plug-ins that rely on the underlying GstElement base class to always have a set_clock() vfunc implementation (see comments in .hg file). * examples/ogg_player/main.cc: Use Gst::FileSrc and its property to ensure that (generated) plug-in wrapper works correctly. May be a good idea to not require additional includes for plug-ins (just include them in gstreamermm.h (or gstreamerbasemm.h). svn path=/gstreamermm/trunk/; revision=1814 2008-11-27 José Alburquerque Restored because changes were committed accidentally (rev. 1808). Added 2008-11-26 José Alburquerque * gstreamer/src/ghostpad.ccg: Restored because changes were committed accidentally (rev. 1808). * tools/m4/Makefile_list_of_sources.am_fragment: Added ctocpp_base.m4 to list of m4 tool files. * tools/m4/ctocpp_base.m4: Added macro docs. Added _CTOCPP_INCLUDE() macro to generate a C++ include directive, if necessary, from a ctype. Removed commented example usages because docs explain how to use macros. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Modified to use _CTOCPP_INCLUDE() macro so that C++ type declarations are included if necessary. svn path=/gstreamermm/trunk/; revision=1812 2008-11-25 José Alburquerque Use BUILT_SOURCES only when not in maintainer mode (e.g. when running a 2008-11-25 José Alburquerque * build_shared/Makefile_gensrc.am_fragment: Use BUILT_SOURCES only when not in maintainer mode (e.g. when running a distcheck) because it is only needed when tarball is distributed and plug-ins need to be generated on build machine. * tools/m4/convert.m4: * tools/m4/ctocpp_base.m4: Added _CPPTYPE() and _CTOCPP() macros for defining ways to translate from a C type to a C++ type (both when used as a parameter and as a return type) and then translating from a C type to a C++ type. If successful, the macros will include ways of automatically including the correct header file if the include header file is specified in the translation specification. * tools/extra_defs_gen/Makefile.am: * tools/extra_defs_gen/get_plugin_defs.cc: * tools/extra_defs_gen/get_plugin_defs.h: * gstreamer/src/generate-extra-defs.sh: Renamed generate_extra_defs to generate_defs_gst (to complement generate_defs_gstbase). Factored out get_plugin_defs() so that generate_defs_gstbase can also generate plug-in defs for gstreamerbase branch. * tools/extra_defs_gen/generate_defs_gst.cc: Added `filesrc' to the list of plug-ins to generate defs for. * tools/extra_defs_gen/generate_defs_gstbase.cc: Added `audioconvert' and `oggmux' to the list of plug-ins to generate defs for. * gstreamer/src/gst_signals.defs: * gstreamerbase/src/gstbase_signals.defs: Regenerated to include additional plug-in defs. * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Modified plug-in generation tool to wrap plug-in properties using the _CTOCPP marco described above (property iteration was adapted from glibmm's extra defs generation utility). Made the GType of the plug-in global for easy access. * gstreamer/src/Makefile_list_of_hg.am_fragment: * tests/test-plugin-gen.cc: * gstreamerbase/src/Makefile_list_of_hg.am_fragment: Used Gst::FileSrc instead of Gst::FakeSrc in the gstreamer branch and GstBase::OggDemux instead of GstBase::AudioConvert in the gstreamerbase branch to test plug-in generation because property generation does not quite work with the `fakesrc' and `audioconvert' plug-ins just yet because special care must be used in dealing with enums and boxed types. svn path=/gstreamermm/trunk/; revision=1811 2008-11-24 José Alburquerque Restored AUTHORS file. Meld keeps checking in files I haven't selected (don't know why). svn path=/gstreamermm/trunk/; revision=1809 2008-11-24 José Alburquerque Removed generated plug-in sources from distribution because they should be 2008-11-23 José Alburquerque * gstreamer/gstreamermm/Makefile.am: * gstreamer/gstreamermm/private/Makefile.am: * gstreamerbase/gstreamerbasemm/Makefile.am: * gstreamerbase/gstreamerbasemm/private/Makefile.am: Removed generated plug-in sources from distribution because they should be generated on the build system. * docs/reference/Makefile.am: Modified so that the html/ directory is not distributed because docs may differ depending on the plug-ins available on the build system. Made docs clean on `make clean' (for distcheck). * build_shared/Makefile_gensrc.am_fragment: Modified plug-in generation to use a stamp directory (like the regular .hg files do) so that the build system is aware of changes to them and knows how to regenerate them if necessary. Modified the BUILT_SOURCES to build the stamp of the plug-ins which uses the plug-ins .hg and .ccg rules to generate the .hg and .ccg files and then creates a stamp after running gmmproc on the files. Added the plug-in stamps to CLEANFILES so that they are cleaned with `make clean'. Removed unused `sublib_srcdir' variable and unneeded (?) Makefile dependencies. Used $(srcdir) and $(builddir) where necessary (for distcheck). Added `stamp_plugin_dir' dependency to plug-in stamp generation because in the distcheck, a stamp directory is not created by `all-local'. The distcheck now works to make it easier for future releases, but write permission is necessary in the source directory because the plug-in .hg and .ccg files must be generated there and gmmproc must also generate the private headers, the .cc and the .h files in the source directory structure so that wrap_init(), which includes stuff from the plug-in header files, is built successfully. * gstreamer/gstreamermm.h: Moved init includes to top (to keep logical order of includes). svn path=/gstreamermm/trunk/; revision=1808 2008-11-21 José Alburquerque Modified plug-in generation tool to prepend namespaces to parent types and 2008-11-20 José Alburquerque * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Modified plug-in generation tool to prepend namespaces to parent types and use correct include roots in cases where parent types are from gstreamermm. Added --sugest-hg option that outputs what the name of the .hg file should if the plug-in exists (nothing otherwise) while building gstreamermm. Modified it to output a comment warning in the .hg file if a plug-in is not available. * build_shared/Makefile_build_gensrc.am_fragment: * build_shared/Makefile_gensrc.am_fragment: * gstreamer/gstreamermm/Makefile.am: * gstreamer/gstreamermm/private/Makefile.am: * gstreamerbase/gstreamerbasemm/Makefile.am: * gstreamerbase/gstreamerbasemm/private/Makefile.am: Modified build process so that all plug-ins are generated and compiled, but only included in wrap_init() if they exist during the build. * gstreamer/src/Makefile_list_of_hg.am_fragment: Added dvbsrc plug-in[1] from gst-plugins-ugly to list of plug-ins to build (which will not exist in jhbuild environment) to test compilation of a plug-in that is not available. Also added fakesink from the core plugins[2]. * gstreamerbase/src/Makefile_list_of_hg.am_fragment: Added audioconvert plug-in[3] from gst-plugins-base to list of plug-ins to build for gstreamerbasemm. These plug-in additions are just tests to ensure build process works. [1] http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-bad-plugins/html/gst-plugins-bad-plugins-dvbsrc.html [2] http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-fakesink.html [3] http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-audioconvert.html svn path=/gstreamermm/trunk/; revision=1806 2008-11-19 José Alburquerque Modify example to use GstBase::init() instead of Gst::init() to show that 2008-11-19 José Alburquerque * examples/media_player_gtkmm/main.cc: Modify example to use GstBase::init() instead of Gst::init() to show that GstBase::init() can be used instead of Gst::init() in some cases. I'm not sure how awkward it will be for developers, but I think it's workable enough so that both distributors and developers feel good about gstreamermm (see yesterday's ChangeLog entries and bug references for context). svn path=/gstreamermm/trunk/; revision=1805 2008-11-18 José Alburquerque Removed warning about certain unsupported linking flags which now are 2008-11-18 José Alburquerque * INSTALL: Removed warning about certain unsupported linking flags which now are supported. svn path=/gstreamermm/trunk/; revision=1803 2008-11-18 José Alburquerque Removed gstreamermm dependency on gstreamerbasemm by not using 2008-11-18 José Alburquerque * gstreamer/gstreamermm-0.10.pc.in: * gstreamer/gstreamermm/init.cc: * gstreamer/gstreamermm/init.h: Removed gstreamermm dependency on gstreamerbasemm by not using GstBase::wrap_init() in gstreamermm initialization. Modified init() and init_check() methods so that they only call gst_init() or gst_init_check() only once regardless of how many times the methods are used. * gstreamerbase/gstreamerbasemm/init.cc: * gstreamerbase/gstreamerbasemm/init.h: Added init() and init_check() methods. Modifed docs to explain that GstBase::init() and GstBase::init_check() methods can be used to initialize gsteamermm. * gstreamerbase/gstreamerbasemm/wrap_init.h: * gstreamerbase/gstreamerbasemm/gst_wrap_init.h: Modified docs to suggest to use GstBase::init() or GstBase::init_check() methods instead of GstBase::wrap_init() or GstBase::gst_wrap_init(). * tests/test-init-check.cc: * tests/test-init.cc: Modified two tests to ensure that GstBase::init() and GstBase::init_check() initialize both gstreamermm and gstreamerbasemm. svn path=/gstreamermm/trunk/; revision=1802 2008-11-18 José Alburquerque Used _WRAP_CREATE() to generate create() method. 2008-11-18 José Alburquerque * gstreamer/src/task.ccg: * gstreamer/src/task.hg: Used _WRAP_CREATE() to generate create() method. * gstreamerbase/src/audioclock.ccg: * gstreamerbase/src/audioclock.hg: Modified both Gst::Task and GstBase::AudioClock to keep track if a slot was created so that if one has not been created (because an object was wrapped and not created) the delete statement is is not called in the destructor. svn path=/gstreamermm/trunk/; revision=1801 2008-11-18 José Alburquerque Restore gstreamermm dependency on gstreamer-base-0.10 because it is in 2008-11-17 José Alburquerque * configure.ac: * gstreamer/gstreamermm-0.10.pc.in: Restore gstreamermm dependency on gstreamer-base-0.10 because it is in fact needed to build elements like Gst::BaseSrc, Gst::BaseSink and Gst::BaseTransform. svn path=/gstreamermm/trunk/; revision=1798 2008-11-18 José Alburquerque Undo last commit as many files were committed accidentally. svn path=/gstreamermm/trunk/; revision=1797 2008-11-18 José Alburquerque Restore gstreamermm dependency on gstreamer-base-0.10 because it is in 2008-11-17 José Alburquerque * configure.ac: * gstreamer/gstreamermm-0.10.pc.in: Restore gstreamermm dependency on gstreamer-base-0.10 because it is in fact needed to build elements like Gst::BaseSrc, Gst::BaseSink and Gst::BaseTransform. svn path=/gstreamermm/trunk/; revision=1796 2008-11-16 José Alburquerque Also remove gstreamer-base-0.10 from dependency of gstreamermm in 2008-11-15 José Alburquerque * gstreamer/gstreamermm-0.10.pc.in: Also remove gstreamer-base-0.10 from dependency of gstreamermm in pkg-config file (as in last commit). svn path=/gstreamermm/trunk/; revision=1791 2008-11-16 José Alburquerque Remove gstreamer-base-0.10 as dependency of gstreamermm. 2008-11-15 José Alburquerque * configure.ac: Remove gstreamer-base-0.10 as dependency of gstreamermm. svn path=/gstreamermm/trunk/; revision=1790 2008-11-14 José Alburquerque Corrected includes. Added code to generate extra defs for plug-ins. Added 2008-11-13 José Alburquerque * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Corrected includes. * tools/extra_defs_gen/generate_defs_gst.cc: Added code to generate extra defs for plug-ins. Added `fakesrc' to list of generated types as test. * gstreamer/src/gst_signals.defs: Regenerated extra defs (now includes `fakesrc' plug-in properties/signals). * tests/test-plugin-gen.cc: Modified test to access created plug-in gobjcect and get a known property. * tools/extra_defs_gen/Makefile.am: * gstreamerbase/gstreamerbasemm/Makefile.am: Typos. svn path=/gstreamermm/trunk/; revision=1789 2008-11-13 Sebastian Dröge Link gstreamerbasemm to gstreamermm as it uses symbols from it. Fixes bug * gstreamerbase/gstreamerbasemm/Makefile.am: Link gstreamerbasemm to gstreamermm as it uses symbols from it. Fixes bug #560600. svn path=/gstreamermm/trunk/; revision=1788 2008-11-13 José Alburquerque Modified so that gen. plugin has create() methods. Modified test to use 2008-11-12 José Alburquerque * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Modified so that gen. plugin has create() methods. * tests/test-plugin-gen.cc: Modified test to use Gst::FakeSrc::create() instead of casting. svn path=/gstreamermm/trunk/; revision=1784 2008-11-12 José Alburquerque Renamed generate_plugin_hg_file.cc to generate_plugin_gmmproc_file.cc. 2008-11-12 José Alburquerque * tools/extra_defs_gen/Makefile.am: * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: * tools/extra_defs_gen/generate_plugin_hg_file.cc: Renamed generate_plugin_hg_file.cc to generate_plugin_gmmproc_file.cc. Modified it to generate both .hg and .ccg files. Made it generate basic stuff (class declaration, simple class docs and a *_get_type() function which is needed for compilation). * build_shared/Makefile_gensrc.am_fragment: Also made build process use plugin geneneration tool to generate plugin .ccg file. * gstreamer/src/Makefile.am: * gstreamerbase/src/Makefile.am: Removed .defs extension in declaration of `main_defs =' variable (used to pass the main def that the plugin gen. tool should use). * gstreamer/src/Makefile_list_of_hg.am_fragment: Added `fakesrc.hg' to `files_plugin_hg =' list to test plugin generation. * tests/Makefile.am: * tests/test-plugin-gen.cc: Added minimal test. svn path=/gstreamermm/trunk/; revision=1783 2008-11-11 José Alburquerque Added first cut at source generation tool that generates *.hg files from a 2008-11-11 José Alburquerque * tools/extra_defs_gen/Makefile.am: * tools/extra_defs_gen/generate_plugin_hg_file.cc: Added first cut at source generation tool that generates *.hg files from a given plug-in name (same syntax as in gst-inspect) so that additional GStreamer plug-ins like GstFileSrc (see TODO in ogg player example) can have corresponding C++ classes. * tools/extra_defs_gen/generate_defs_gst.cc: * tools/extra_defs_gen/generate_defs_gstbase.cc: Removed unused includes. * build_shared/Makefile_build.am_fragment: * build_shared/Makefile_build_gensrc.am_fragment: * build_shared/Makefile_gensrc.am_fragment: * gstreamer/src/Makefile.am: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamerbase/src/Makefile.am: * gstreamerbase/src/Makefile_list_of_hg.am_fragment: Modified build process to be sensitive to generating source code for additional GStreamer plug-ins that are not public. All that is need is to include the *.hg name (e.g. filesrc.hg) in the `files_plugin_hg =' variable definition of the Makefile_list_of_hg.am_fragment in the branch `src' directory. svn path=/gstreamermm/trunk/; revision=1782 2008-11-07 José Alburquerque Added a set_simple() for C strings (const char*) and modified test to 2008-11-07 José Alburquerque * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: * tests/test-caps.cc: Added a set_simple() for C strings (const char*) and modified test to ensure it works. * gstreamer/src/tagsetter.ccg: * gstreamer/src/tagsetter.hg: * tests/test-tagsetter.cc: Added add_tag() for C strings (const char*) and modified test to ensure it works. svn path=/gstreamermm/trunk/; revision=1777 2008-11-06 José Alburquerque Remove unneeded Gst::StructureValue classes (used before for setting and 2008-11-06 José Alburquerque * gstreamer/gstreamermm/Makefile.am: * gstreamer/gstreamermm/structurevalue.cc: * gstreamer/gstreamermm/structurevalue.h: * gstreamer/src/caps.hg: * gstreamer/src/tagsetter.hg: Remove unneeded Gst::StructureValue classes (used before for setting and getting generic types in methods such as Gst::Caps::set_simple(), Gst::TagList::add() and Gst::TagList::add_tag()). * gstreamer/src/taglist.ccg: * gstreamer/src/taglist.hg: * gstreamer/gstreamermm/taglist.cc: * gstreamer/gstreamermm/taglist.h: Renamed get_tag_size() to size(). Added a non-index get() method for Glib::ValueBase. Replaced the overridden get() methods with index and non-index generic data type get() methods. * tests/test-taglist.cc: Added sections for adding and getting a Glib::Date. Used the index get() method for retrieving the bit rate to ensure that the index get() generic data type method works. svn path=/gstreamermm/trunk/; revision=1776 2008-11-05 José Alburquerque Forgot to commit (commented in last entry). 2008-11-05 José Alburquerque * tools/m4/convert_gst.m4: Forgot to commit (commented in last entry). svn path=/gstreamermm/trunk/; revision=1774 2008-11-05 José Alburquerque Corrected Gst::TagList conversions to take a copy of the GstTagList (as is 2008-11-05 José Alburquerque * tools/m4/convert_gst.m4: * gstreamer/gstreamermm/taglist.cc: Corrected Gst::TagList conversions to take a copy of the GstTagList (as is done for Gst::Structure which Gst::TagList derives from). * tests/test-taglist.cc: * tests/test-tagsetter.cc: Added if-else clauses when getting tags to report errors if any. * gstreamer/gstreamermm/object.cc: Used G_LIKELY in floating reference aversion test as suggested in Bug #559209 (RichardF). svn path=/gstreamermm/trunk/; revision=1773 2008-11-05 José Alburquerque Added standard install instructions with specific comment about 2008-11-05 José Alburquerque * INSTALL: Added standard install instructions with specific comment about unsupported linking flags (adapted from patch). Bug #556570 (Deng Xiyue) svn path=/gstreamermm/trunk/; revision=1772 2008-11-05 José Alburquerque Fix the floating reference aversion code so that it checks that the 2008-11-04 José Alburquerque * gstreamer/gstreamermm/object.cc: Fix the floating reference aversion code so that it checks that the GstObject is floating before referencing it and then sinking it. svn path=/gstreamermm/trunk/; revision=1770 2008-11-04 Murray Cumming get_factory(): Use refreturn. refresult is not a valid _WRAP_METHOD() 2008-11-04 Murray Cumming * gstreamer/src/element.hg: get_factory(): Use refreturn. refresult is not a valid _WRAP_METHOD() parameter. svn path=/gstreamermm/trunk/; revision=1767 2008-10-27 José Alburquerque Moved GstTagList constants to new Gst::Tag namespace. Marked TODO 2008-10-27 José Alburquerque * gstreamer/gstreamermm/taglist.h: * gstreamer/src/taglist.hg: * tests/test-taglist.cc: Moved GstTagList constants to new Gst::Tag namespace. * gstreamer/src/Makefile_list_of_hg.am_fragment: Marked TODO completed. svn path=/gstreamermm/trunk/; revision=1754 2008-10-22 José Alburquerque Repaired initialization function docs of gstreamerbasemm specifying what 2008-10-21 José Alburquerque * gstreamerbase/gstreamerbasemm/init.h: * gstreamerbase/gstreamerbasemm/wrap_init.h: * gstreamerbase/gstreamerbasemm/gst_wrap_init.h: Repaired initialization function docs of gstreamerbasemm specifying what needs to be used for initialization and what does not. svn path=/gstreamermm/trunk/; revision=1753 2008-10-17 José Alburquerque Added docs xml files to list of def files so that it is included in 2008-10-16 José Alburquerque * gstreamer/src/Makefile.am: * gstreamerbase/src/Makefile.am: Added docs xml files to list of def files so that it is included in release tarballs (not included before). * gstreamer/src/gsterror.defs: Removed unused def file (definitions are already found in gst_enums.defs and gst_methods.defs. svn path=/gstreamermm/trunk/; revision=1748 2008-10-15 José Alburquerque Fixed signal defs patch to not add "new-uri" signal of GstURIHandler 2008-10-15 José Alburquerque * gstreamer/src/gst_signals.defs.patch: Fixed signal defs patch to not add "new-uri" signal of GstURIHandler interface (already generated by extra defs utility). svn path=/gstreamermm/trunk/; revision=1746 2008-10-15 José Alburquerque Removed extra "new-uri" signal of GstURIHandler definition (added when the 2008-10-15 José Alburquerque * gstreamer/src/gst_signals.defs: Removed extra "new-uri" signal of GstURIHandler definition (added when the signal patch was applied) because the extra defs generation utility which now generates signals for interfaces already generated it. svn path=/gstreamermm/trunk/; revision=1745 2008-10-15 José Alburquerque Added extra ref to GstColorBalance signal conversion. Removed paragraph 2008-10-14 José Alburquerque * gstreamerbase/src/colorbalance.hg: Added extra ref to GstColorBalance signal conversion. * gstreamer/src/plugin.hg: Removed paragraph that was also removed in C API. svn path=/gstreamermm/trunk/; revision=1744 2008-10-14 José Alburquerque Error proofed generation scripts from directory names with spaces (as best 2008-10-14 José Alburquerque * gstreamer/src/generate-docs.sh: * gstreamer/src/generate-enums.sh: * gstreamer/src/generate-extra-defs.sh: * gstreamer/src/generate-methods.sh: * gstreamerbase/src/generate-docs.sh: * gstreamerbase/src/generate-enums.sh: * gstreamerbase/src/generate-extra-defs.sh: * gstreamerbase/src/generate-methods.sh: Error proofed generation scripts from directory names with spaces (as best possible) and have them automatically apply patches on generated files where appropriate. * gstreamer/src/gst_docs.xml: * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_methods.defs: * gstreamer/src/gst_signals.defs: * gstreamerbase/src/gstbase_docs.xml: * gstreamerbase/src/gstbase_enums.defs: * gstreamerbase/src/gstbase_methods.defs: * gstreamerbase/src/gstbase_signals.defs: Regenerated defs and docs. * gstreamerbase/src/colorbalance.hg: Wrapped "value-changed" signal. * gstreamer/src/index.hg: Used int instead of gint. svn path=/gstreamermm/trunk/; revision=1743 2008-10-13 José Alburquerque Added signal docs. 2008-10-12 José Alburquerque * gstreamer/src/xml.hg: Added signal docs. * gstreamer/src/bin.hg: * gstreamer/src/childproxy.hg: * gstreamer/src/clock.hg: * gstreamer/src/element.hg: Corrected typos in virtual method docs. svn path=/gstreamermm/trunk/; revision=1741 2008-10-13 José Alburquerque Added create() methods for Gst::Bin and Gst::Pipeline that don't require a 2008-10-12 José Alburquerque * gstreamer/src/bin.ccg: * gstreamer/src/bin.hg: * gstreamer/src/pipeline.ccg: * gstreamer/src/pipeline.hg: Added create() methods for Gst::Bin and Gst::Pipeline that don't require a name param. * tests/test-create-bin.cc: Modified test to use new create() methods. * gstreamer/src/indexfactory.hg: Renamed make() methods to create_index(). * gstreamer/src/xml.hg: Added create() docs. svn path=/gstreamermm/trunk/; revision=1740 2008-10-13 José Alburquerque Added create() methods without requiring a name param. Added method docs 2008-10-12 José Alburquerque * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: Added create() methods without requiring a name param. Added method docs (a couple are still missing); Added signal docs. * tests/Makefile.am: * tests/test-ghost-pad.cc: * tests/test-pad.cc: Rewrote test-pad to test Gst::Pad::create() methods and copied old contents to test-ghost-pad.cc (for future ghost pad test). svn path=/gstreamermm/trunk/; revision=1739 2008-10-13 José Alburquerque Added Gst::Enums::get_flags(EventType). 2008-10-12 José Alburquerque * gstreamer/src/event.ccg: * gstreamer/src/event.hg: Added Gst::Enums::get_flags(EventType). * gstreamer/src/element.hg: * gstreamer/src/format.hg: * gstreamer/src/message.hg: * gstreamer/src/query.hg: Fixed parameter name typos in Gst::Enum methods. * gstreamer/src/index.ccg: * gstreamer/src/index.hg: * gstreamer/src/gst_others.defs: Handwrote is_readable() and is_writable() and removed definitions in *.defs file. Added method docs. svn path=/gstreamermm/trunk/; revision=1738 2008-10-09 Murray Cumming Increased version svn path=/gstreamermm/trunk/; revision=1736 2008-10-08 José Alburquerque Renamed save_thyself() and load_thyself() to save() and load() because 2008-10-08 José Alburquerque * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: Renamed save_thyself() and load_thyself() to save() and load() because *_thyself() is redundant. svn path=/gstreamermm/trunk/; revision=1733 2008-10-07 José Alburquerque Added "direction" property to list of Gst::Pad::Pad() construction 2008-10-07 José Alburquerque * gstreamer/src/pad.ccg: Added "direction" property to list of Gst::Pad::Pad() construction properties. * gstreamer/src/plugin.hg: Made TODO more specific. svn path=/gstreamermm/trunk/; revision=1731 2008-10-06 José Alburquerque Reordered class declarations according to the C API docs. Slightly 2008-10-06 José Alburquerque * gstreamer/src/event.ccg: * gstreamer/src/event.hg: Reordered class declarations according to the C API docs. * gstreamer/src/message.ccg: Slightly re-wrote Gst::Message::wrap() to use Gst::MessageCustom where appropriate. svn path=/gstreamermm/trunk/; revision=1728 2008-09-19 José Alburquerque Reorganized all _IGNOREs so it is clear what has not been wrapped and: 2008-09-18 José Alburquerque * gstreamer/src/bin.hg: * gstreamer/src/buffer.hg: * gstreamer/src/bus.hg: * gstreamer/src/caps.hg: * gstreamer/src/childproxy.hg: * gstreamer/src/element.hg: * gstreamer/src/elementfactory.hg: * gstreamer/src/filter.hg: * gstreamer/src/ghostpad.hg: * gstreamer/src/indexfactory.hg: * gstreamer/src/interface.hg: * gstreamer/src/pad.hg: * gstreamer/src/padtemplate.hg: * gstreamer/src/plugin.hg: * gstreamer/src/pluginfeature.hg: * gstreamer/src/registry.hg: * gstreamer/src/segment.hg: * gstreamer/src/taglist.hg: * gstreamer/src/tagsetter.hg: * gstreamer/src/task.hg: * gstreamer/src/urihandler.hg: * gstreamer/src/xml.hg: Reorganized all _IGNOREs so it is clear what has not been wrapped and: * gstreamer/src/event.ccg: * gstreamer/src/event.hg: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: Wrapped get_structure() methods instead of handwriting them and: * gstreamer/src/message.ccg: * gstreamer/src/message.hg: Renamed get* methods in MessageBuffering to parse*. * gstreamer/gstreamermm/taglist.cc: * gstreamer/gstreamermm/taglist.h: * tools/m4/class_boxedtype_extra.m4: Modified custom CLASS_BOXEDTYPE class macro for GstTagList to use a dummy int instead of a bool and "regenerated" *.h and *.cc files by adding taglist.hg to gstreamer/src/Makefile_list_of_hg.am_fragment and then removing it so that wrapping get_structure() methods above would not be ambiguous (GstTagList is in fact a GstStructure see bug #518934). * tools/m4/convert_gst.m4: Included conversion for GstStructure and remove unused GstStructure and GstTagList ones. * gstreamer/src/structure.ccg: * gstreamer/src/structure.hg: Added fixate* methods. * gstreamer/src/clock.hg: * gstreamer/src/gst_docs_override.xml: Fixed wait() method docs and added overridden wait() method docs. * gstreamer/src/iterator.hg: Changed gpointer uses to void*. svn path=/gstreamermm/trunk/; revision=1704 2008-09-17 José Alburquerque Renamed boolean `destroy' in iterator classes to `take_ownership' (may be 2008-09-17 José Alburquerque * gstreamer/src/iterator.hg: Renamed boolean `destroy' in iterator classes to `take_ownership' (may be more intuitive and is how it is done in other *mm libraries). svn path=/gstreamermm/trunk/; revision=1703 2008-09-17 José Alburquerque Made Glib::Value< Glib::RefPtr > template specialization derive 2008-09-17 José Alburquerque * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: Made Glib::Value< Glib::RefPtr > template specialization derive from Glib::ValueBase_Boxed instead of Value_Boxed. Moved the specialization set() method implementation to .hg file. Also added get() method (for getting properties) and custom value_type() definition (all in .hg file as in glibmm/value.h). * tests/test-property-caps.cc: Modified caps property test to get property before and after setting the property. svn path=/gstreamermm/trunk/; revision=1702 2008-09-17 José Alburquerque Added template specialization Glib::Value< Glib::RefPtr > so 2008-09-16 José Alburquerque * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: Added template specialization Glib::Value< Glib::RefPtr > so that Glib::ObjectBase::set_property() doesn't fail when setting the "caps" property of certain GStreamer elements such as `multifilesrc' (from gst-plugins-good); also added Gst::Caps::get_type() without which the specialization could not compile. * tests/Makefile.am: * tests/test-property-caps.cc: Added "caps" property setting test for compile verification. Should fix bug #552305. svn path=/gstreamermm/trunk/; revision=1701 2008-09-14 José Alburquerque Add gstreamerbasemm-0.10 to libs to fix compilation of files (otherwise 2008-09-14 José Alburquerque * gstreamer/gstreamermm-0.10.pc.in: Add gstreamerbasemm-0.10 to libs to fix compilation of files (otherwise missing reference to GstBase::wrap_init() is reported). svn path=/gstreamermm/trunk/; revision=1700 2008-09-11 José Alburquerque Added get_flags(), flag_is_set() flag_set() and flag_unset(). Uncommented 2008-09-10 José Alburquerque * gstreamer/gstreamermm/miniobject.cc: * gstreamer/gstreamermm/miniobject.h: Added get_flags(), flag_is_set() flag_set() and flag_unset(). Uncommented copy(). Included comments in docs about how copying works with Gst::MiniObjects. * gstreamer/src/buffer.ccg: * gstreamer/src/buffer.hg: * gstreamer/src/gst_others.defs: Removed *flag() methods (which are already defined in Gst::MiniObject). Handwrote and renamed make_writable() to create_writable() as in Gst::MiniObject. * gstreamer/src/message.ccg: * gstreamer/src/message.hg: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: * gstreamer/src/event.ccg: * gstreamer/src/event.hg: Added copy() and create_writable() methods. * gstreamer/src/bin.hg: Renamed find_unconnected_pad() to find_unlinked_pad() and used gst_bin_find_unlinked_pad() instead of gst_bin_find_unconnected_pad() which is deprecated. * gstreamer/gstreamermm/object.h: * gstreamer/src/element.hg: * gstreamer/src/interface.hg: * gstreamer/src/pad.hg: * gstreamer/src/xml.hg: Typos and some _IGNOREs. svn path=/gstreamermm/trunk/; revision=1697 2008-09-10 José Alburquerque Added class docs. Made Gst::write_xml() and Gst::write_xml_file() static 2008-09-09 José Alburquerque * gstreamer/src/xml.ccg: * gstreamer/src/xml.hg: Added class docs. Made Gst::write_xml() and Gst::write_xml_file() static methods of Gst::XML renaming them to write() and write_to_stream() (similar to C API); also made Gst::make_element() a static member of Gst::XML. Used libxml++ API where possible; used Glib::ustring instead of std::string where possible. * tools/m4/convert_gst.m4: Added Glib::ustring& and xmlpp::Document* conversions. * gstreamer/gstreamermm/object.cc: * gstreamer/gstreamermm/object.h: Added class and method docs. Added save_thyself() and restore_thyself() (saving and restoring to/from XML using libxml++). * configure.ac: Added libxml++-2.6 as build dependency for gstreamerbasemm (which is needed to build gstreamerbasemm classes derived from Gst::Object). * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: Renamed save() and load() to save_thyself() and load_thyself() respectively (as in C API). svn path=/gstreamermm/trunk/; revision=1696 2008-09-05 José Alburquerque Fixed up Query class docs. Added Gst::QueryApplication. Added parse() 2008-09-05 José Alburquerque * gstreamer/src/query.ccg: * gstreamer/src/query.hg: Fixed up Query class docs. Added Gst::QueryApplication. Added parse() (overloaded) methods. Added class and method docs. Modified Gst::QueryFormats::set() to use Glib::ArrayHandle<>. Added Gst::QueryBuffering. * examples/media_player_gtkmm/player_window.cc: * examples/ogg_player/main.cc: * examples/ogg_player_gtkmm/player_window.cc: Modified examples to use new Gst::Query classes parse() methods. * gstreamer/src/gst_docs_override.xml: Corrected Gst::Query::iterate_definitions() return type in docs. * gstreamer/src/bus.hg: Typo in docs. svn path=/gstreamermm/trunk/; revision=1695 2008-08-29 José Alburquerque Added register_format(), formats_contain() and 2008-08-29 José Alburquerque * gstreamer/src/format.ccg: * gstreamer/src/format.hg: Added register_format(), formats_contain() and iterate_format_definitions(). Renamed get_details(Format f, ...) to get_format_details(). Made FormatDefinition a _CLASS_GENERIC to make it usable with Gst::IteratorBasic<> for return of iterate_format_definitions(). * gstreamer/src/query.ccg: * gstreamer/src/query.hg: Added Gst;:Query class doc. Renamed query_types_constains() to query_types_contain(). Added Gst::Query::iterate_definitions(). Made QueryTypeDefinition a _CLASS_GENERIC so that it can be used with Gst::IteratorBasic<> for return of Gst::Query::iterate_definitions(). * tools/m4/convert_gst.m4: Added conversion from GstIterator* to Gst::IteratorBasic. * gstreamer/src/iterator.hg: Added Gst::IteratorBasic<>::operator->(). Used CppType() constructor in the Gst::IteratorBasic<>::operator*() return instead of Glib::wrap() which makes it usable with classes that don't have a Glib::wrap() method (like FormatDefinition and QueryTypeDefinition). * tests/test-iterator.cc: Modified to test iterate_format_definitions() and Gst::Query::iterate_definitions(). * gstreamer/src/caps.ccg: Clarified TODO. svn path=/gstreamermm/trunk/; revision=1694 2008-08-26 José Alburquerque Removed get_pad() (was a TODO). 2008-08-25 José Alburquerque * gstreamer/src/element.hg: Removed get_pad() (was a TODO). * examples/media_player_gtkmm/player_window.cc: * examples/ogg_player/main.cc: * examples/ogg_player_gtkmm/main.cc: Changed examples to not use Gst::Element::get_pad() which is removed. * gstreamer/src/bus.hg: Made TODO more specific (for future completion). svn path=/gstreamermm/trunk/; revision=1692 2008-08-20 José Alburquerque Forward declared Gst::Iterator<> in hg file. 2008-08-19 José Alburquerque * gstreamer/src/bin.ccg: * gstreamer/src/bin.hg: Forward declared Gst::Iterator<> in hg file. * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * tools/m4/convert_gst.m4: Wrapped iterate*_pads() methods. svn path=/gstreamermm/trunk/; revision=1687 2008-08-11 José Alburquerque Wrapped iterate*() methods. Removed children_cookie() because I'm not sure 2008-08-11 José Alburquerque * gstreamer/src/bin.hg: Wrapped iterate*() methods. Removed children_cookie() because I'm not sure what it would be used for yet. Corrected docs. svn path=/gstreamermm/trunk/; revision=1684 2008-08-11 José Alburquerque Removed ConcurrentUpdateException and used std::runtime_error with 2008-08-11 José Alburquerque * gstreamer/src/iterator.ccg: * gstreamer/src/iterator.hg: Removed ConcurrentUpdateException and used std::runtime_error with description for iterator concurrent update. Renamed is_last() to is_end() (logic was flawed on what Gst::ITERATOR_DONE means -- one past last element, not *on* last element). Added Gst::IteratorBasic (for non reference counted objects) and made Gst::Iterator derive from it. Added (questionable?) operator->() to Gst::Iterator. * tests/test-iterator.cc: Rewrote test. svn path=/gstreamermm/trunk/; revision=1679 2008-08-08 José Alburquerque First cut at implementing Gst::Iterator. 2008-08-08 José Alburquerque * gstreamer/src/iterator.ccg: * gstreamer/src/iterator.hg: First cut at implementing Gst::Iterator. * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: Re-added Gst::Iterator after first cut at implementing it. * gstreamer/src/bin.hg: * tools/m4/convert_gst.m4: Wrapped iterate_elements() (makes use of Gst::Iterator). * tests/Makefile.am: * tests/test-iterator.cc: Added Gst::Iterator test. Still need to test further and refine Iterator class implementations where possible. * gstreamerbase/gstreamerbasemm.h: Added audioclock.h. * gstreamerbase/src/audioclock.ccg: * gstreamer/src/element.hg: Typos. svn path=/gstreamermm/trunk/; revision=1665 2008-08-07 Murray Cumming Do not wrap gst_buffer_join() because it is just a C convenience function 2008-08-07 Murray Cumming * gstreamer/src/buffer.hg: Do not wrap gst_buffer_join() because it is just a C convenience function doing nasty unreffing. gst_buffer_merge() does the same thing without the unrefs. As discovered in bug #533856. svn path=/gstreamermm/trunk/; revision=1664 2008-08-01 José Alburquerque Added audioclock.hg to list of *.hg files and modified GstBase::AudioClock 2008-08-01 José Alburquerque * gstreamerbase/src/audioclock.ccg: * gstreamerbase/src/Makefile_list_of_hg.am_fragment: Added audioclock.hg to list of *.hg files and modified GstBase::AudioClock cosntructor to include few lines in gst_audio_clock_new() since bug #545782 seems like a bit more trouble than including the lines. * gstreamer/src/generate-docs.sh: * gstreamer/src/generate-enums.sh: * gstreamer/src/generate-extra-defs.sh: * gstreamer/src/generate-methods.sh: * gstreamerbase/src/generate-docs.sh: * gstreamerbase/src/generate-enums.sh: * gstreamerbase/src/generate-extra-defs.sh: * gstreamerbase/src/generate-methods.sh: Modified these scripts to provide error messages. svn path=/gstreamermm/trunk/; revision=1659 2008-08-01 José Alburquerque Added gstreamer-audio-0.10 to gstreamerbasemm dependencies. Removed 2008-07-31 José Alburquerque * Makefile.am: * configure.ac: * gstreamer/gstreamermm/Makefile.am: * gstreamerbase/gstreamerbasemm-0.10.pc.in: * tests/Makefile.am: Added gstreamer-audio-0.10 to gstreamerbasemm dependencies. Removed libgstreamerbasemm-0.10.la from gstreamermm library list and include it for tests. Build gstreamer branch before gstreamerbase branch. * gstreamer/src/task.hg: Hid private slot variable from docs. * gstreamer/src/plugin.ccg: * gstreamer/src/plugin.hg: Added code to be able to register static plugins as Eric Jonas asked about in "Gstreamer with C++" thread on gtkmm-list on 7/21/2008. This code is dependent on the acceptance of bug #545787. * gstreamerbase/src/Makefile_list_of_hg.am_fragment: * gstreamerbase/src/audioclock.ccg: * gstreamerbase/src/audioclock.hg: Added GstBase::AudioClock. Bug #545782 needs to be resolved before it can be completely included. svn path=/gstreamermm/trunk/; revision=1658 2008-07-30 José Alburquerque Added these scripts in gstreamer and gstreamerbase branches to make 2008-07-30 José Alburquerque * gstreamer/src/generate-docs.sh: * gstreamer/src/generate-enums.sh: * gstreamer/src/generate-extra-defs.sh: * gstreamer/src/generate-methods.sh: * gstreamerbase/src/generate-docs.sh: * gstreamerbase/src/generate-enums.sh: * gstreamerbase/src/generate-extra-defs.sh: * gstreamerbase/src/generate-methods.sh: Added these scripts in gstreamer and gstreamerbase branches to make generation of *.def files easier. svn path=/gstreamermm/trunk/; revision=1657 2008-07-30 José Alburquerque Renamed get_compatible_pad() to create_compatible_pad() because it 2008-07-30 José Alburquerque * gstreamer/src/element.ccg: * gstreamer/src/element.hg: Renamed get_compatible_pad() to create_compatible_pad() because it actually creates a pad if one does not exist. * gstreamer/src/gst_docs.xml: Regenerated gstreamer branch docs. * gstreamer/src/bus.hg: * gstreamer/src/clock.hg: * gstreamer/src/filter.hg: * gstreamer/src/index.hg: * gstreamer/src/pad.hg: * gstreamer/src/plugin.hg: * gstreamer/src/pluginfeature.hg: * gstreamer/src/structure.hg: * gstreamer/src/taglist.hg: * gstreamer/src/task.hg: Beautified slot docs a bit. svn path=/gstreamermm/trunk/; revision=1656 2008-07-29 José Alburquerque - Reordered class declarations according to the C API docs. 2008-07-28 José Alburquerque * gstreamer/src/message.ccg: * gstreamer/src/message.hg: - Reordered class declarations according to the C API docs. - Added class and method docs. - Rewrote parse() method of classes so that there is a void one named parse() which parses all the relevant message members, another also named parse() which returns the most prominent member of the message and others parse methods named parse_*() for the less prominent ones. This organization and naming of parse() methods can change to be more intuitive if there is a better way, in particular the parse() methods which return the prominent members may be better named parse_*() also. - Added Gst::MessageBuffering::{set/get}_stats*() methods based on new in GStreamer 0.10.20. * gstreamer/src/query.hg: Wrapped enum BufferingMode. * examples/media_player_gtkmm/player_window.cc: * examples/ogg_player/main.cc: * examples/ogg_player_gtkmm/player_window.cc: Fixed examples to use new Gst::MessageError::parse() methods correctly. svn path=/gstreamermm/trunk/; revision=1651 2008-07-27 José Alburquerque Added these patch files to be applied after corresponding def is generated 2008-07-27 José Alburquerque * gstreamer/src/gst_enums.defs.patch: * gstreamer/src/gst_methods.defs.patch: * gstreamer/src/gst_signals.defs.patch: Added these patch files to be applied after corresponding def is generated (as in gtkmm). * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_methods.defs: * gstreamer/src/gst_signals.defs: Applied patches to keep build sane. svn path=/gstreamermm/trunk/; revision=1647 2008-07-27 José Alburquerque Commit these unmodified regenerated files to create patches that fix them 2008-07-27 José Alburquerque * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_methods.defs: * gstreamer/src/gst_signals.defs: Commit these unmodified regenerated files to create patches that fix them appropriately. svn path=/gstreamermm/trunk/; revision=1646 2008-07-27 José Alburquerque Ensure that slot from set_resolver() is deleted by using 2008-07-27 José Alburquerque * gstreamer/src/index.ccg: Ensure that slot from set_resolver() is deleted by using gst_index_set_resolver_full(). This fixes bug #515373. * configure.ac: * gstreamer/gstreamermm-0.10.pc.in: Added libxml++-2.6 library dependency. Updated min. required GStreamer version to 0.10.20 (I think we're using API found in newer versions). * gstreamer/gstreamermm/miniobject.cc: * gstreamer/gstreamermm/miniobject.h: Added is_writable(), make_writable() method docs. Found that make_writable() returns a GstMiniObject* so return Glib::RefPtr from make_writable() and renamed to create_writable(). * gstreamer/src/bin.hg: Added get_children_cookie() (It has to do with GstIterator but will have to become clearer when Gst::Iterator is written). * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: * tools/m4/convert_gst.m4: Rewrote save() and load() to use libxml++. * gstreamer/src/pad.hg: Added _IGNORE's * gstreamer/src/bus.hg: Typo. svn path=/gstreamermm/trunk/; revision=1645 2008-07-26 Murray Cumming Increased version svn path=/gstreamermm/trunk/; revision=1640 2008-07-22 José Alburquerque Added Gst::PushSrc class. 2008-07-22 José Alburquerque * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/pushsrc.ccg: * gstreamer/src/pushsrc.hg: Added Gst::PushSrc class. * gstreamer/src/basesink.ccg: * gstreamer/src/basesrc.ccg: * gstreamer/src/basetransform.ccg: Removed unused includes. svn path=/gstreamermm/trunk/; revision=1618 2008-07-22 José Alburquerque Moved basesrc.h to bottom and included basesink.h and basetransform.h. 2008-07-21 José Alburquerque * gstreamer/gstreamermm.h: Moved basesrc.h to bottom and included basesink.h and basetransform.h. * gstreamer/src/Makefile_list_of_hg.am_fragment: Added basetransform.hg and temporarily removed iterator.hg until we have properly implemented it. * gstreamer/src/basetransform.ccg: * gstreamer/src/basetransform.hg: New Gst::BaseTransform class. * gstreamer/src/gst_vfuncs.defs: Included vfuncs for GstBaseTransform. * tools/extra_defs_gen/generate_defs_gst.cc: Added comments. svn path=/gstreamermm/trunk/; revision=1617 2008-07-21 José Alburquerque Hid two method wraps that don't compile with GStreamer 0.10.20 (include 2008-07-20 José Alburquerque * gstreamer/src/basesink.hg: Hid two method wraps that don't compile with GStreamer 0.10.20 (include later -- probably next GStreamer release ?). * gstreamer/src/segment.hg: Added gst_segment_copy to ignores. svn path=/gstreamermm/trunk/; revision=1616 2008-07-21 José Alburquerque Added Gst::BaseSink with methods, properties and vfuncs (included class 2008-07-20 José Alburquerque * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/basesink.ccg: * gstreamer/src/basesink.hg: Added Gst::BaseSink with methods, properties and vfuncs (included class docs). Left buffer_alloc_vfunc() as a TODO (can't figure out how to convert GstBuffer** to C++ type). * gstreamer/src/basesrc.hg: Corrected docs. * gstreamer/src/gst_docs.xml: * gstreamer/src/gst_methods.defs: * gstreamer/src/gst_signals.defs: * tools/extra_defs_gen/generate_defs_gst.cc: Added GST_TYPE_{BASE_SINK, BASE_TRANSFORM, PUSH_SRC, ADAPTER, COLLECT_PADS, DATA_QUEUE} GTypes and regenerated defs to include new API since last regeneration. * gstreamer/src/gst_vfuncs.defs: Added GstBaseSink vfuncs. * tools/m4/convert_gst.m4: Added ClockTimeDiff <==> GstClockTimeDiff conversions. svn path=/gstreamermm/trunk/; revision=1615 2008-07-20 José Alburquerque Wrapped up GstBaseSrc by wrapping vfuncs and including class docs. 2008-07-20 José Alburquerque * gstreamer/src/basesrc.ccg: * gstreamer/src/basesrc.hg: * gstreamer/src/gst_vfuncs.defs: Wrapped up GstBaseSrc by wrapping vfuncs and including class docs. create_vfunc() is left as a TODO (a bit complicated for me at the moment). svn path=/gstreamermm/trunk/; revision=1614 2008-07-17 José Alburquerque Put get_name() and get_quark() functions in a namespace to avoid 2008-07-16 José Alburquerque * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/event.ccg: * gstreamer/src/event.hg: * gstreamer/src/format.ccg: * gstreamer/src/format.hg: * gstreamer/src/message.ccg: * gstreamer/src/message.hg: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: * tests/test-event-wrap.cc: * tests/test-message-wrap.cc: * tests/test-query-wrap.cc: Put get_name() and get_quark() functions in a namespace to avoid conflicts. svn path=/gstreamermm/trunk/; revision=1612 2008-06-30 José Alburquerque Added Gst::init() and Gst::init_check() with no arguments to fix bug 2008-06-30 José Alburquerque * gstreamer/gstreamermm/init.cc: * gstreamer/gstreamermm/init.h: Added Gst::init() and Gst::init_check() with no arguments to fix bug #539059. * tests/Makefile.am: * tests/test-init-check-noargs.cc: * tests/test-init-check.cc: * tests/test-init-noargs.cc: * tests/test-init.cc: Added init tests to test Gst::init() and Gst::init_check() methods (arguments and no argument versions). * gstreamerbase/gstreamerbasemm/init.h: Made it clear in the GstBase::init() function docs that Gst::init() functions already initialize gstreamerbasemm (no need to call GstBase::init() directly). svn path=/gstreamermm/trunk/; revision=1593 2008-06-29 José Alburquerque Handwrote Pad constructor to supply correct construction properties with 2008-06-28 José Alburquerque * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: Handwrote Pad constructor to supply correct construction properties with _CONSTRUCT. * gstreamer/src/ghostpad.ccg: * gstreamer/src/ghostpad.hg: Handwrote constructors to supply correct construction properties with _CONSTRUCT. Made constructors produce warnings if construction of ghost pad is unsuccessful (this relies on patch in bug #539108). * tests/test-pad.cc: Modified test slightly to test all pad, padtemplate, and ghostpad constructors. * tests/test-ghost-pad.cc: Removed superfluous test. * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: Exclude ghostpad.hg from build until patch in bug #539108 is fixed (and patch is accepted). * tests/Makefile.am: Also exclude pad test. * configure.ac: Use gtkmm-list in AC_INIT([gstreamermm], ...) line. svn path=/gstreamermm/trunk/; revision=1591 2008-06-24 José Alburquerque Had to re-add the extra referencing code when adding Gst::Bin's to a 2008-06-24 José Alburquerque * gstreamer/src/bin.ccg: Had to re-add the extra referencing code when adding Gst::Bin's to a Gst::Bin. I thought that this referencing problem was caused by bug #539805 but that report was rejected so the extra reference is necessary to avoid error when child bin is destroyed before parent bin is. * gstreamer/src/padtemplate.ccg: * gstreamer/src/padtemplate.hg: Used _WRAP_CTOR to wrap constructor with construction properties "name-template", "direction", "presence" and "caps". According to bug #539772 it looks like the GStreamer developers will be making gst_pad_template_new() work with these construction properties. Creating Gst::PadTemplates will still provide missing construction properties warnings, but when GStreamer patch is applied warnings will be gone and Gst::PadTemplate creation will work correctly. * tests/test-pad.cc: Modified test to use Gst::PadTemplate::get_template_name() instead of Gst::PadTemplate::get_name() and print pad directions (to ensure pad was created correctly). * tests/test-create-bus.cc: * tests/test-create-element.cc: * tests/test-ghost-pad.cc: * tests/test-interface.cc: * tests/test-link-elements.cc: * tests/test-pipeline-add-element.cc: Added missing main() return statements and corrected w/s. * gstreamer/src/basesrc.ccg: Removed unused namespace definition. svn path=/gstreamermm/trunk/; revision=1585 2008-06-24 José Alburquerque Added gstreamer-base-0.10 as dependency (to be able to wrap the Gstreamer 2008-06-23 José Alburquerque * configure.ac: * gstreamer/gstreamermm-0.10.pc.in: Added gstreamer-base-0.10 as dependency (to be able to wrap the Gstreamer Library elements -- http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/). * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/basesrc.ccg: * gstreamer/src/basesrc.hg: Added Gst::BaseSrc (still need to add rest of class docs). Added segment.hg (bug #518932 is in tarball release). * gstreamer/src/pad.ccg: Used *add_probe_full() methods to add data probes (bug #526814 is in tarball release). * gstreamer/src/gst_signals.defs: * tools/extra_defs_gen/generate_defs_gst.cc: Regenerated signals and properties with GstBasSrc included. * gstreamer/src/bin.hg: Typo. * tests/Makefile.am: Removed superflous lines at end. svn path=/gstreamermm/trunk/; revision=1583 2008-06-23 José Alburquerque Added comment about Gst::wrap_init() in Gst::init_check(); Removed extra 2008-06-23 José Alburquerque * gstreamer/gstreamermm/init.cc: Added comment about Gst::wrap_init() in Gst::init_check(); * gstreamer/src/bin.ccg: Removed extra referencing code in Gst::Bin::add() because warning by running tests/gst-test-bin (which is not issued with extra ref. code) is caused by GStreamer putting private code in gst_bin_new() instead of putting it in a class _init() function. Filed bug #539805 about this. * gstreamer/src/padtemplate.ccg: * gstreamer/src/padtemplate.hg: Used custom constructor with _CONSTRUCT for Gst::PadTemplate because gst_pad_template_new() has different construction parameters than those of the call to g_object_new(). It also has extra code that should probably be in a class _init() method. Filed bug #539772 about this. * tests/test-pad.cc: Began writing general pad test. svn path=/gstreamermm/trunk/; revision=1582 2008-06-20 José Alburquerque Modified init_check() to initialize wrapping system in same manner as 2008-06-19 José Alburquerque * gstreamer/gstreamermm/init.cc: Modified init_check() to initialize wrapping system in same manner as init() does. * gstreamer/src/ghostpad.hg: * gstreamer/src/pad.hg: Modified constructors that have a PadDirection to use the name "direction" which is the right name of the construction property (see bug #539055, filed in last commit). Once the other constructor's construction properties are well known the construction properties warning should be fixed. * tests/Makefile.am: * tests/test-ghost-pad.cc: * tests/test-init-check.cc: Added tests for Gst::GhostPad and init_check(). Found that there are errors when running ghost pad test related to destruction (unreferencing). If the pad is given an extra reference, the errors disappear so it will probably be necessary to debug referencing in (some) Gst::*Pad* constructors. svn path=/gstreamermm/trunk/; revision=1569 2008-06-19 José Alburquerque Added simple pad test to confirm warning reported in bug #539063 which in 2008-06-19 José Alburquerque * tests/Makefile.am: * tests/test-pad.cc: Added simple pad test to confirm warning reported in bug #539063 which in fact does produce the warning. Filed gstreamer bug #539055 explaining that some of their GObject instances are not initialized with the construction properties. svn path=/gstreamermm/trunk/; revision=1568 2008-06-18 José Alburquerque Renamed some methods, but if there are more appropriate names for these, 2008-06-18 José Alburquerque * gstreamer/src/caps.hg: Renamed some methods, but if there are more appropriate names for these, they should be renamed. * gstreamer/src/format.ccg: * gstreamer/src/format.hg: Removed register_format() because this seems to extend gstreamer and this might be best in gstreamer API for now. Also removed format_contains_format() because it doesn't seem very useful right now. svn path=/gstreamermm/trunk/; revision=1567 2008-06-12 José Alburquerque Added _IGNORE() directive for functions that don't have to be wrapped or 2008-06-12 José Alburquerque * gstreamer/src/tagsetter.hg: Added _IGNORE() directive for functions that don't have to be wrapped or have been handwritten. svn path=/gstreamermm/trunk/; revision=1562 2008-06-12 José Alburquerque Added ColorBalance and ColorBalanceChannel. 2008-06-12 José Alburquerque * gstreamerbase/gstreamerbasemm.h: * gstreamerbase/src/colorbalance.ccg: * gstreamerbase/src/colorbalance.hg: * gstreamerbase/src/colorbalancechannel.ccg: * gstreamerbase/src/colorbalancechannel.hg: * gstreamerbase/src/Makefile_list_of_hg.am_fragment: Added ColorBalance and ColorBalanceChannel. * tools/extra_defs_gen/Makefile.am: * tools/extra_defs_gen/generate_defs_gstbase.cc: * gstreamerbase/src/gstbase_signals.defs: Fixed extra defs generation tool compilation for gstreamerbasemm; included GST_TYPE_COLOR_BALANCE, GST_TYPE_COLOR_BALANCE_CHANNEL and GST_TYPE_X_OVERLAY, and regenerated signal defs. * tools/m4/Makefile_list_of_sources.am_fragment: * tools/m4/convert.m4: * tools/m4/convert_gstbase.m4: Added conversion m4 file for gstreamerbasemm. * tools/m4/convert_gst.m4: Moved _CONV_ENUMs to top and removed unused _CONV_GST_ENUM macro. * gstreamerbase/gstreamerbasemm/gst_wrap_init.h: * gstreamerbase/gstreamerbasemm/init.h: * gstreamerbase/gstreamerbasemm/wrap_init.h: Added docs. * gstreamer/src/pipeline.hg: Removed duplicate PINCLUDE's (already in *.ccg file). svn path=/gstreamermm/trunk/; revision=1561 2008-06-12 José Alburquerque Used Gst::TAG_MERGE_PREPEND as default TagMergeMode in add/insert/merge 2008-06-11 José Alburquerque * gstreamer/src/taglist.ccg: * gstreamer/src/taglist.hg: * gstreamer/gstreamermm/taglist.cc: * gstreamer/gstreamermm/taglist.h: Used Gst::TAG_MERGE_PREPEND as default TagMergeMode in add/insert/merge methods. * gstreamer/src/structure.ccg: Used Glib::Date GDate constructor in get_field(..., Glib::Date&) method. * gstreamer/src/tagsetter.ccg: * gstreamer/src/tagsetter.hg: * tools/m4/convert_gst.m4: Added add_tag(), get_tag_list(), set_tag_merge_mode(), and get_tag_merge_mode() methods (Wrapped GstTagSetter). * tests/Makefile.am: * tests/test-tagsetter.cc: Added a Gst::TagSetter test. * gstreamer/src/element.hg: Whitespace. svn path=/gstreamermm/trunk/; revision=1557 2008-06-05 José Alburquerque Wrapped various GST_TAG_* names; Expounded the class docs; Added add/get 008-06-04 José Alburquerque * gstreamer/src/taglist.ccg: * gstreamer/src/taglist.hg: Wrapped various GST_TAG_* names; Expounded the class docs; Added add/get methods to insert and get tag values into TagLists; Wrapped remove_tag() and get_tag_size(). * tools/m4/Makefile_list_of_sources.am_fragment: * tools/m4/class_boxedtype_extra.m4: * tools/m4/convert.m4: * tools/m4/convert_gst.m4: Had to add CLASS_BOXEDTYPE_EXTRA because Gst::TagList::wrap(GstTagList*,bool) ambiguates Gst::Structure::wrap() since a GstTagList is a GstStructure. * gstreamer/gstreamermm/taglist.cc: * gstreamer/gstreamermm/taglist.h: Regenerated these files by temporarily adding taglist.hg to gstreamer/src/Makefile_list_of_hg.am_fragment, removing the extern "C" section in taglist.h and proceeding with build process; taglist.hg cannot be left in Makefile_list_of_hg.am_fragment because a compile error results when gmmproc generates taglist.h from taglist.hg (see report #518934). svn path=/gstreamermm/trunk/; revision=1551 2008-06-03 José Alburquerque Added {get,set}_field() methods for Gst::{Int,Double}Range types. Modified 2008-06-02 José Alburquerque * gstreamer/src/structure.ccg: * gstreamer/src/structure.hg: Added {get,set}_field() methods for Gst::{Int,Double}Range types. Modified set_field() methods to use gst_structure_set() to set the given values. * tests/test-caps-structures.cc: Modified test to use regular types instead of Glib::Value<>. svn path=/gstreamermm/trunk/; revision=1548 2008-05-30 José Alburquerque Used regular types instead of Glib::Value<> when setting/getting structure 2008-05-30 José Alburquerque * examples/media_player_gtkmm/player_window.cc: Used regular types instead of Glib::Value<> when setting/getting structure fields. * examples/ogg_player_gtkmm/player_window.cc: Used newly wrapped Gst::SECOND (instead of GST_SECOND). svn path=/gstreamermm/trunk/; revision=1544 2008-05-30 José Alburquerque ChangeLog of last commit. svn path=/gstreamermm/trunk/; revision=1543 2008-05-30 José Alburquerque Added set_simple() method which in conjunction with newly added 2008-05-29 José Alburquerque * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: Added set_simple() method which in conjunction with newly added Gst::StructureValue<> allows setting of fields w/o the need to use Glib::ValueBase (as Gtk::TreeRow does). * gstreamer/gstreamermm/Makefile.am: * gstreamer/gstreamermm/structurevalue.cc: * gstreamer/gstreamermm/structurevalue.h: Added to allow setting of simple Gst::Caps fields w/o need to use Glib::Value<>. * tests/test-caps.cc: Modified to test Gst::Caps::set_simple() with regular C++ types. * gstreamer/src/elementfactory.hg: Did not rename find() to create() because in theory ElementFactories "pre-exist" so find() seems to make more sense. gst_element_factory_create() creates elements from a specified factory. svn path=/gstreamermm/trunk/; revision=1542 2008-05-29 José Alburquerque Filed GStreamer minor doc bug #535285 to fix 2008-05-28 José Alburquerque * gstreamer/src/gst_docs.xml: * gstreamerbase/src/gstbase_docs.xml: Filed GStreamer minor doc bug #535285 to fix Gst::ElementFactory::get_uri_type() GST_URI_UNKNOWN reference which was quickly fixed so regenerated docs. * gstreamer/src/tagsetter.hg: Added default value for merge_tags() mode parameter. svn path=/gstreamermm/trunk/; revision=1540 2008-05-28 José Alburquerque Use Gst::Bus::signal_sync_message() to receive synchronous messages 2008-05-27 José Alburquerque * examples/media_player_gtkmm/player_window.cc: * examples/media_player_gtkmm/player_window.h: Use Gst::Bus::signal_sync_message() to receive synchronous messages instead of setting a sync handler on the Bus. * gstreamer/src/elementfactory.hg: Added C++ code example on using Gst::ElementFactory; Corrected class docs. * gstreamer/src/error.hg: Removed unnecessary TODO. * gstreamer/src/event.ccg: * gstreamer/src/event.hg: Modified Gst::EventTag::parse() to return a Gst::TagList instead of setting a passed reference. * gstreamerbase/src/xoverlay.hg: Added C++ code example on using GstBase::XOverlay. svn path=/gstreamermm/trunk/; revision=1538 2008-05-26 José Alburquerque Added get_children() and get_num_children(). Wrapped 2008-05-25 José Alburquerque * gstreamer/src/bin.hg: Added get_children() and get_num_children(). * gstreamer/src/clock.hg: Wrapped {MILLI,MICRO,NANO}_SECOND. * gstreamer/src/structure.hg: * gstreamer/src/query.hg: Added method docs and _IGNORE for handwritten methods. svn path=/gstreamermm/trunk/; revision=1531 2008-05-23 José Alburquerque Wrapped GST_SECOND 2008-05-22 José Alburquerque * examples/ogg_player_gtkmm/player_window.cc: * gstreamer/src/clock.hg: Wrapped GST_SECOND * gstreamer/src/childproxy.hg: * gstreamer/src/registry.hg: * gstreamer/src/xml.hg: Put _WRAP_SIGNAL specific conversions in *.hg files * gstreamer/src/element.hg: * gstreamer/src/elementfactory.hg: * gstreamer/src/event.ccg: * gstreamer/src/filter.ccg: * gstreamer/src/format.hg: * gstreamer/src/pad.hg: * gstreamer/src/plugin.hg: * gstreamer/src/pluginfeature.hg: * gstreamer/src/query.hg: * gstreamer/src/urihandler.hg: * tools/m4/convert_gst.m4: Moved method specific conversions to *.hg files svn path=/gstreamermm/trunk/; revision=1525 2008-05-22 José Alburquerque Added set_field() methods documentation; Added set_field(..., const 2008-05-21 José Alburquerque * gstreamer/src/error.ccg: * gstreamer/src/error.hg: Added set_field() methods documentation; Added set_field(..., const char*); Made enum {get,set}_field() methods use int instead of ValueBase; Revisted method docs. * gstreamer/src/structure.ccg: * gstreamer/src/structure.hg: Wrapped get_*_error_quark() methods. * tests/test-structure.cc: Added lines to test setting/getting enums. * examples/media_player_gtkmm/player_window.h: * gstreamer/gstreamermm/init.h: * gstreamer/gstreamermm/version.h: * gstreamer/src/bin.hg: * gstreamer/src/buffer.hg: * gstreamer/src/bus.hg: * gstreamer/src/caps.hg: * gstreamer/src/childproxy.hg: * gstreamer/src/clock.hg: * gstreamer/src/element.hg: * gstreamer/src/event.hg: * gstreamer/src/filter.hg: * gstreamer/src/format.hg: * gstreamer/src/ghostpad.hg: * gstreamer/src/pad.hg: * gstreamer/src/padtemplate.hg: * gstreamer/src/parse.hg: * gstreamer/src/pipeline.hg: * gstreamer/src/registry.hg: * gstreamer/src/taglist.hg: * gstreamer/src/task.hg: * gstreamer/src/xml.hg: * tools/m4/class_gstminiobject.m4: Corrected method docs @param, @returns and @result directives to start with uppercase and end with period. svn path=/gstreamermm/trunk/; revision=1521 2008-05-21 Murray Cumming Added several set_field() method overloads, so people don't have to use 2008-05-21 Murray Cumming * gstreamer/src/structure.ccg: * gstreamer/src/structure.hg: Added several set_field() method overloads, so people don't have to use Glib::Value for common types. Renamed get_*() to get_field(), and made them take actual types instead of Glib::ValueBase. Some TODOs show parts of this still left to do. Do not return *this from set_field(). It did reduce the code, but it is not a natural syntax for simply setting data. * gstreamer/src/value.ccg: * gstreamer/src/value.hg: Fourcc, Fraction, IntRange, DoubleRange, FractionRange: Made single-parameter constructors explicit (apart from copy constructors) and added operator= (because we should always have one where we have a copy constructor). * tests/test-caps.cc: * tests/test-structure.cc: Adapted to the changed API. svn path=/gstreamermm/trunk/; revision=1517 2008-05-21 José Alburquerque Added comment on video_sink constructor parameter 2008-05-21 José Alburquerque * examples/media_player_gtkmm/player_window.h: Added comment on video_sink constructor parameter * gstreamer/gstreamermm/init.h: * gstreamer/gstreamermm/version.h: * gstreamer/gstreamermm/wrap.cc: * gstreamer/src/bin.hg: * gstreamer/src/element.hg: * gstreamer/src/filter.hg: * gstreamer/src/message.ccg: * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: * gstreamer/src/registry.hg: * gstreamer/src/structure.hg: Changed TRUE/FALSE to true/false; Capitalized first letter of @param descriptions svn path=/gstreamermm/trunk/; revision=1516 2008-05-20 José Alburquerque Added comment on weird Glib::RefPtr cast Caught 2008-05-19 José Alburquerque * examples/ogg_player/main.cc: Added comment on weird Glib::RefPtr cast * examples/ogg_player_gtkmm/main.cc: Caught std::runtime_error when adding elements to pipeline * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: Made get_pad_template_caps() const * gstreamer/src/xml.hg: Added parse_memory() docs * gstreamer/gstreamermm/miniobject.cc: * gstreamer/src/format.ccg: Fixed typos * gstreamer/src/event.hg: * gstreamer/src/message.hg: * gstreamer/src/query.hg: Added TODO's svn path=/gstreamermm/trunk/; revision=1514 2008-05-19 Murray Cumming Some minor API cleanups. 2008-05-19 Murray Cumming * gstreamer/src/bin.hg: * gstreamer/src/buffer.hg: * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: * gstreamer/src/childproxy.ccg: * gstreamer/src/childproxy.hg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * tools/m4/convert_gst.m4: Some minor API cleanups. svn path=/gstreamermm/trunk/; revision=1507 2008-05-19 José Alburquerque Removed references to Gst::Structure ownership 2008-05-18 José Alburquerque * gstreamer/src/caps.hg: Removed references to Gst::Structure ownership * gstreamer/src/element.hg: * gstreamer/src/gst_enums.defs: Added TODO about making it possible for StateChange to be wrapped * gstreamer/src/elementfactory.hg: * gstreamer/src/gst_docs_override.xml: Wrapped create_named_element(); Overrode gst_element_factory_make docs so that mention of NULL name parameter is not included svn path=/gstreamermm/trunk/; revision=1505 2008-05-18 Murray Cumming As with Structure, use _CLASS_BOXEDTYPE() instead of the custom 2008-05-18 Murray Cumming * gstreamer/src/taglist.ccg: * gstreamer/src/taglist.hg: As with Structure, use _CLASS_BOXEDTYPE() instead of the custom _CLASS_BOXEDTYPE_NCOPY_EXTRA() macro, so we can just use this by copying it instead of having strange ownership rules. Uncommented and corrected the foreach() implementation. * gstreamer/src/tagsetter.hg: Wrapped merge_tags(). * gstreamer/src/element.hg: * gstreamer/src/event.ccg: * gstreamer/src/event.hg: * gstreamer/src/message.ccg: * gstreamer/src/message.hg: Adapt to this change. * tools/m4/: Removed the unused .m4 files. svn path=/gstreamermm/trunk/; revision=1502 2008-05-17 Murray Cumming Use _CLASS_BOXEDTYPE() instead of the custom _CLASS_BOXEDTYPE_NCOPY() 2008-05-17 Murray Cumming * gstreamer/src/structure.ccg: * gstreamer/src/structure.hg: Use _CLASS_BOXEDTYPE() instead of the custom _CLASS_BOXEDTYPE_NCOPY() macro, so we can just use this by copying it instead of having strange ownership rules. Add operator bool() to check for invalid instances. * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: create(), append_structure(), merge_structure(): Take a const Structure& instead of taking ownership. get_structure(): Return by value. Remove set_simple_valist() because it does not seem useful. * gstreamer/src/event.ccg: * gstreamer/src/event.hg: get_structure(): * gstreamer/src/message.ccg: * gstreamer/src/message.hg: get_structure(): * gstreamer/src/query.ccg: * gstreamer/src/query.hg: get_structure(): Return by copy. * examples/element_link/element_link.cc: * examples/media_player_gtkmm/player_window.cc: * examples/ogg_player/main.cc: * examples/ogg_player_gtkmm/main.cc: * examples/ogg_player_gtkmm/player_window.cc: * tests/test-caps-structures.cc (main): * tests/test-event-wrap.cc (main): * tests/test-message-wrap.cc (main): * tests/test-query-wrap.cc (main): Adapted to the changed API. svn path=/gstreamermm/trunk/; revision=1501 2008-05-17 Murray Cumming Make add() throw an exception, needed for chaining. The examples already 2008-05-17 Murray Cumming * gstreamer/src/bin.ccg: * gstreamer/src/bin.hg: Make add() throw an exception, needed for chaining. The examples already try/catch this, assuming that it did already throw. * gstreamer/src/element.ccg: * gstreamer/src/element.hg: Document that link() throws an exception. Include so applications can catch runtime_error. * examples/element_link/element_link.cc? * examples/media_player_gtkmm/player_window.c: * examples/ogg_player/main.cc: * examples/ogg_player_gtkmm/player_window.cc: try/catch when using link(), because it throws an exception. svn path=/gstreamermm/trunk/; revision=1500 2008-05-17 Murray Cumming Implement MessageInfo::parse() and add a method overload without the debug 2008-05-17 Murray Cumming * gstreamer/src/message.ccg: * gstreamer/src/message.hg: Implement MessageInfo::parse() and add a method overload without the debug parameter. svn path=/gstreamermm/trunk/; revision=1499 2008-05-17 Murray Cumming More cleaning up of examples. 2008-05-17 Murray Cumming * examples/media_player_gtkmm/main.cc: * examples/media_player_gtkmm/player_window.cc: * examples/media_player_gtkmm/player_window.h: * examples/ogg_player/main.cc: * examples/ogg_player_gtkmm/player_window.cc: * examples/ogg_player_gtkmm/player_window.h: More cleaning up of examples. svn path=/gstreamermm/trunk/; revision=1498 2008-05-16 Murray Cumming Renamed files to be consistent with other *mm examples. 2008-05-17 Murray Cumming * examples/: Renamed files to be consistent with other *mm examples. svn path=/gstreamermm/trunk/; revision=1497 2008-05-16 Murray Cumming Remove this example, because it does not seem useful. All the other 2008-05-16 Murray Cumming * configure.ac: * examples/Makefile.am: * examples/init/Makefile.am: * examples/init/init.cc: Remove this example, because it does not seem useful. All the other examples show how to initialize gstreamermm already. * examples/element_link/element_link.cc: * examples/media_player_gtkmm/PlayerWindow.cc: * examples/media_player_gtkmm/PlayerWindow.h: * examples/media_player_gtkmm/main.cc: * examples/ogg_player/main.cc: * examples/ogg_player_gtkmm/PlayerWindow.cc: * examples/ogg_player_gtkmm/PlayerWindow.h: * examples/ogg_player_gtkmm/main.cc: Change the syntax/formatting to be consistent with other *mm examples. svn path=/gstreamermm/trunk/; revision=1496 2008-05-16 Murray Cumming Rename create() to create_element() and add an override that takes no 2008-05-16 Murray Cumming * gstreamer/src/elementfactory.ccg: * gstreamer/src/elementfactory.hg: Rename create() to create_element() and add an override that takes no name, because that can be NULL in the C API. * examples/element_link/element_link.cc: * examples/media_player_gtkmm/PlayerWindow.cc: * examples/media_player_gtkmm/PlayerWindow.h: * examples/media_player_gtkmm/main.cc: * examples/ogg_player/main.cc: * examples/ogg_player_gtkmm/PlayerWindow.cc: * examples/ogg_player_gtkmm/PlayerWindow.h: * examples/ogg_player_gtkmm/main.cc: * tests/test-caps.cc: * tests/test-create-bin.cc: * tests/test-create-element.cc: * tests/test-interface.cc: * tests/test-link-elements.cc: * tests/test-pipeline-add-element.cc: Adapt to the API change, and remove unused create_elemnt() name parameters. Also change (void) to () in method declarations, for consistency with other *mm examples. svn path=/gstreamermm/trunk/; revision=1495 2008-05-14 Murray Cumming Minor const corrections and some TODOs. 2008-05-14 Murray Cumming * examples/ogg_player/main.cc (main): * gstreamer/src/bin.hg: * gstreamer/src/buffer.hg: * gstreamer/src/bus.hg: * gstreamer/src/caps.hg: * gstreamer/src/childproxy.hg: * gstreamer/src/clock.ccg: * gstreamer/src/clock.hg: * gstreamer/src/element.hg: * gstreamer/src/elementfactory.hg: * gstreamer/src/event.hg: * gstreamer/src/format.hg: * gstreamer/src/ghostpad.hg: * gstreamer/src/pad.hg: * gstreamer/src/structure.hg: * tools/m4/convert_gst.m4: Minor const corrections and some TODOs. svn path=/gstreamermm/trunk/; revision=1494 2008-05-07 Murray Cumming 0.9.5: 2008-05-07 Murray Cumming * gstreamer/gstreamermm/private/Makefile.am: Added taglist_p.h to fix the distcheck. * tests/Makefile.am: Added include paths for gstreamerbasemm to fix the distcheck. svn path=/gstreamermm/trunk/; revision=1493 2008-05-07 Murray Cumming add_data_probe(), add_buffer_probe(), add_event_probe(): Comment out the 2008-05-07 Murray Cumming * gstreamer/src/pad.ccg: add_data_probe(), add_buffer_probe(), add_event_probe(): Comment out the use of the new *_full() functions, choosing to use the existing functions, with the leak, so gstreamermm builds with gstreamer tarballs. We can bring this code back later. * gstreamer/src/Makefile_list_of_hg.am_fragment: Likewise, remove segment.hg from the build, until bug #518932 is in a tarball. svn path=/gstreamermm/trunk/; revision=1492 2008-05-01 José Alburquerque Added segment.hg which means that when gstreamermm will compile with 2008-04-30 José Alburquerque * gstreamer/src/Makefile_list_of_hg.am_fragment: Added segment.hg which means that when gstreamermm will compile with GStreamer CVS only until bug fix #518932 is reflected in GStreamer release * gstreamer/src/element.ccg: * gstreamer/src/element.hg: Added Element::found_tags() and Element::found_tags_for_pad() * tools/m4/convert_gst.m4: Added TagList conversion needed for two method wrapping above * gstreamer/src/pad.ccg: Used gst_pad_add_*_probe_full() methods for adding probes which means that gstreamermm will compile only with GStreamer CVS until bug fix #526814 is reflected in release svn path=/gstreamermm/trunk/; revision=1487 2008-05-01 José Alburquerque Added taglist.{h,c} to extra files that should be compiled because both 2008-04-30 José Alburquerque * gstreamer/gstreamermm/Makefile.am: Added taglist.{h,c} to extra files that should be compiled because both are generated by adding taglist.hg to list of files in Makefile_list_of_hg.am_fragment, editing the *.h file and then removing the *.hg from list of files in Makefile_list_of_hg.am_fragment (see comments on this in ChangeLog) * gstreamer/gstreamermm/private/taglist_p.h: Added this file for same reasons as above (otherwise build process would generate this file automatically) * gstreamer/src/buffer.hg: Removed completed TODO's * gstreamer/src/element.hg: Changed GQuark to const Glib::QueryQuark& * gstreamer/src/event.ccg: * gstreamer/src/event.hg: Added EventTag::create() and EventTag::parse(); Used forward declarations of Gst::Structure and Gst::TagList instead of including *.h files in header file * gstreamer/src/message.ccg: * gstreamer/src/message.hg: Added MessageTag class with create() and parse() methods; Used forward declarations instead of including *.h files in header file svn path=/gstreamermm/trunk/; revision=1486 2008-04-29 José Alburquerque Added TODO about not wrapping the get_query_types() vfunc yet because the 2008-04-29 José Alburquerque * gstreamer/src/element.hg: Added TODO about not wrapping the get_query_types() vfunc yet because the generated code assumes that Glib::ArrayHandle<> has a default constructor svn path=/gstreamermm/trunk/; revision=1485 2008-04-29 José Alburquerque Didn't write out ChangeLog in last commit svn path=/gstreamermm/trunk/; revision=1484 2008-04-29 José Alburquerque Wrapped GstParseError as a GError and not an enum; Added @throw to methods 2008-04-29 José Alburquerque * gstreamer/src/parse.hg: Wrapped GstParseError as a GError and not an enum; Added @throw to methods that throw Glib::Errors svn path=/gstreamermm/trunk/; revision=1483 2008-04-29 José Alburquerque Added gst_wrap_init(), wrap_init(), and version() method docs 2008-04-29 José Alburquerque * gstreamer/gstreamermm/gst_wrap_init.h: * gstreamer/gstreamermm/wrap_init.h: * gstreamer/gstreamermm/version.h: Added gst_wrap_init(), wrap_init(), and version() method docs * gstreamer/gstreamermm/init.cc: * gstreamer/gstreamermm/init.h: * examples/optiongroup/optiongroup.cc: Renamed init_get_option_group() to get_option_group(); Added init(), init_check() and get_option_group() method docs; Modified init_check() to throw Glib::Error if GLIBMM_EXCEPTIONS_ENABLED * gstreamer/src/event.hg: Added get_name() and get_quark() function docs * gstreamer/src/plugin.hg: * gstreamer/src/gst_docs_override.xml: Wrapped PluginError as a GError (and not an Enum); Modified load_file() method docs (and added @throw directive to docs) * gstreamer/src/pluginfeature.hg: Removed unused blank line svn path=/gstreamermm/trunk/; revision=1482 2008-04-28 José Alburquerque Added additional Glib::ArrayHandle conversion needed for 2008-04-28 José Alburquerque * tools/m4/convert_gst.m4: Added additional Glib::ArrayHandle conversion needed for Gst::Element "get_query_types" vfunc (when it is wrapped) svn path=/gstreamermm/trunk/; revision=1481 2008-04-28 José Alburquerque Added intro line to class docs of GError classes Corrected typo 2008-04-27 José Alburquerque * gstreamer/src/error.hg: Added intro line to class docs of GError classes * gstreamer/src/event.hg: Corrected typo * gstreamer/src/pad.hg: * gstreamer/src/query.hg: * gstreamer/src/element.hg: Used ArrayHandle<> for methods that return an array of QueryType (ie QueryType*) * gstreamer/src/gst_vfuncs.defs: Corrected return type of GstElement vfunc from `GstQueryType*' to `const GstQueryType*' * tools/m4/convert_gst.m4: Added GstQueryType array (to/from Glib::ArrayHandle<>) conversions svn path=/gstreamermm/trunk/; revision=1480 2008-04-27 José Alburquerque Removed segment.hg and: Used the gst_pad_add_*_probe() methods instead of 2008-04-27 José Alburquerque * gstreamer/src/Makefile_list_of_hg.am_fragment: Removed segment.hg and: * gstreamer/src/pad.ccg: Used the gst_pad_add_*_probe() methods instead of the "full" methods to allow compilation using distribution GStreamer (and not CVS). Will re-add segment.hg and use probe "full" methods when GStreamer releases version that include bug fixes #526814 and #518932 svn path=/gstreamermm/trunk/; revision=1479 2008-04-25 José Alburquerque -Added reference to create() methods in Event classes docs which more 2008-04-25 José Alburquerque * gstreamer/src/event.hg: -Added reference to create() methods in Event classes docs which more fully explain each event type (docs for each create() method comes from C API) - Reordered parameter order in EventNewSegment::parse() method docs to reflect actual method parameter order svn path=/gstreamermm/trunk/; revision=1478 2008-04-25 José Alburquerque Made list of Gst::MessageTypes and Gst::QueryTypes in class docs appear as 2008-04-24 José Alburquerque * gstreamer/src/bin.hg: Made list of Gst::MessageTypes and Gst::QueryTypes in class docs appear as an actual list (in html) * gstreamer/src/clock.hg: Added docs for functions not member of classes * gstreamer/src/error.hg: Added class docs for GErrors * gstreamer/src/event.ccg: * gstreamer/src/event.hg: Added docs for Event classes and handwritten class methods; Removed EventCustom because extending GstEvents would probably be best done in C API for now * gstreamer/src/format.ccg: * gstreamer/src/format.hg: Added docs for FormatDefinition structure; Added function docs for Gst::Format functions svn path=/gstreamermm/trunk/; revision=1477 2008-04-22 José Alburquerque Added method docs for Gst::Element handwritten methods; Added class docs 2008-04-22 José Alburquerque * gstreamer/src/element.hg: Added method docs for Gst::Element handwritten methods; Added class docs and example usage for Gst::ElementInterfaced class svn path=/gstreamermm/trunk/; revision=1472 2008-04-18 José Alburquerque Qualified class name in first line of class 2008-04-17 José Alburquerque * gstreamer/src/filter.hg: Qualified class name in first line of class svn path=/gstreamermm/trunk/; revision=1470 2008-04-18 José Alburquerque Fully qualified Gst classes in doc blocks of following (and all *.hg files 2008-04-17 José Alburquerque Fully qualified Gst classes in doc blocks of following (and all *.hg files in this commit): * gstreamer/src/registry.hg: * gstreamer/src/segment.hg: * gstreamer/src/systemclock.hg: * gstreamer/src/tagsetter.hg: * gstreamer/src/task.hg: * gstreamer/src/urihandler.hg: * gstreamer/src/value.hg: * gstreamer/src/structure.hg: Added docs for handwritten method foreach() * tools/m4/class_boxedtype_ncopy.m4: Modified to generate docs for set_destroy() generated wrapper method * gstreamer/src/taglist.hg: Added docs for handwritten method foreach() * gstreamer/gstreamermm/taglist.h: Regenerated through build process by adding (and then removing) taglist.hg to Makefile_list_of_hg.am_fragment and removing top extern "C" {...} section * tools/m4/class_boxedtype_ncopy_extra.m4: Modified to generate docs for set_destroy() generated wrapper method svn path=/gstreamermm/trunk/; revision=1469 2008-04-17 José Alburquerque Added PadTemplateFlags to list of handwritten enums 2008-04-17 José Alburquerque * gstreamer/src/gst_enums.defs: Added PadTemplateFlags to list of handwritten enums svn path=/gstreamermm/trunk/; revision=1468 2008-04-17 José Alburquerque Fully qualified Gst classes in doc blocks of following (and all *.hg in 2008-04-17 José Alburquerque Fully qualified Gst classes in doc blocks of following (and all *.hg in this commit): * gstreamer/src/bin.hg: * gstreamer/src/buffer.hg: * gstreamer/src/bus.hg: * gstreamer/src/caps.hg: * gstreamer/src/element.hg: * gstreamer/src/elementfactory.hg: * gstreamer/src/index.hg: * gstreamer/src/indexfactory.hg: * gstreamer/src/interface.hg: * gstreamer/src/pad.hg: * gstreamer/src/parse.hg: * gstreamer/src/pipeline.hg: * gstreamer/src/plugin.hg: * gstreamer/src/pluginfeature.hg: * gstreamer/src/ghostpad.hg: Fixed parameter name typo * gstreamer/src/childproxy.ccg: * gstreamer/src/childproxy.hg: Modified {set,get}_proxy_property() methods to return RefPtr to ChildProxy; Added signal docs * gstreamer/src/clock.hg: * tools/m4/convert_gst.m4: Wrapped {get,set}_calibration() methods * gstreamer/src/event.hg: * gstreamer/src/message.hg: Added class docs * gstreamer/src/padtemplate.ccg: * gstreamer/src/padtemplate.hg: * gstreamer/src/gst_enums.defs: Added class docs; Wrapped PadTemplateFlags enum; Used _WRAP_CREATE() for create() method; Wrapped members name_template, direction, and presence; Added signal and create() docs * gstreamer/src/filter.hg: Fixed whitespace svn path=/gstreamermm/trunk/; revision=1467 2008-04-17 José Alburquerque Added vfuncs, docs for signals and docs for Gst::get_name() methods (in 2008-04-16 José Alburquerque * gstreamer/src/element.hg: * gstreamer/src/gst_vfuncs.defs: Added vfuncs, docs for signals and docs for Gst::get_name() methods (in element.hg) * tools/m4/convert_gst.m4: Added conversions needed for Gst::Element vfuncs * gstreamer/src/buffer.ccg: * gstreamer/src/buffer.hg: Wrapped create() (with no parameters); Used _WRAP_METHOD for create(guint size) (modified parameter type from reference to value); Added docs to _MEMBER_GET generated methods * gstreamer/src/bin.ccg: Added comments to add() and remove() methods * gstreamer/src/bin.hg: Added missing method docs * gstreamer/src/caps.hg: Corrected class docs (typo) * gstreamer/src/bus.hg: * gstreamer/src/childproxy.hg: * gstreamer/src/clock.hg: Added signal, vfunc and create() method docs svn path=/gstreamermm/trunk/; revision=1466 2008-04-16 José Alburquerque Used article 'an' instead of 'a' where appropriate in class docs 2008-04-16 José Alburquerque * gstreamer/src/element.hg: * gstreamer/src/elementfactory.hg: Used article 'an' instead of 'a' where appropriate in class docs * gstreamer/src/pad.hg: * gstreamer/src/systemclock.hg: Added class docs * gstreamer/src/pipeline.hg: Wrapped properties (no signals or vfuncs) svn path=/gstreamermm/trunk/; revision=1465 2008-04-16 José Alburquerque Wrapped signals and properties; Made IndexEtnry::assoc_map() constant (ie 2008-04-15 José Alburquerque * gstreamer/src/index.hg: Wrapped signals and properties; Made IndexEtnry::assoc_map() constant (ie bool assoc_map(...) const) * tools/m4/convert_gst.m4: Added/Re-organized IndexEntry conversions svn path=/gstreamermm/trunk/; revision=1464 2008-04-15 José Alburquerque Used GstClockEntry as C type of class macro of class ClockID (a 2008-04-14 José Alburquerque * gstreamer/src/clock.ccg: * gstreamer/src/clock.hg: Used GstClockEntry as C type of class macro of class ClockID (a GstClockID, in fact, is a void pointer which in GStreamer API is generally cast to a (GstClockEntry*) (see implementation of gst_clock_id_* functions -- for example gst_clock_id_ref); Wrapped create_single_shot_id() create_periodic_id() * tools/m4/convert_gst.m4: Fixed ClockID conversions to reflect Gst::ClockID C type from GstClockID to GstCockEntry svn path=/gstreamermm/trunk/; revision=1461 2008-04-15 José Alburquerque Added taglist.h to includes Added _IGNORE for gst_element_free 2008-04-14 José Alburquerque * gstreamer/gstreamermm.h: Added taglist.h to includes * gstreamer/src/segment.hg: Added _IGNORE for gst_element_free * gstreamer/src/bin.hg: * gstreamer/src/childproxy.hg: * gstreamer/src/clock.hg: * gstreamer/src/gst_vfuncs.defs: Added properties and virtual functions for Bin, ChildProxy and Clock svn path=/gstreamermm/trunk/; revision=1460 2008-04-13 José Alburquerque Reused gst_pad_add_*_probe_full() functions included with fix of bug 2008-04-13 José Alburquerque * gstreamer/src/pad.ccg: Reused gst_pad_add_*_probe_full() functions included with fix of bug #526814 since Gst::Segment is also included and relies on recent fix of bug #518932 (users will have to use GStreamer CVS for latest to compile) svn path=/gstreamermm/trunk/; revision=1457 2008-04-13 José Alburquerque Corrected ChangeLog checkin error svn path=/gstreamermm/trunk/; revision=1456 2008-04-13 José Alburquerque Went back to using regular gst_pad_add_*_probe() functions when adding 2008-04-13 José Alburquerque * gstreamer/src/pad.ccg: Went back to using regular gst_pad_add_*_probe() functions when adding probes (and not their "full" counterparts) until new version of GStreamer is released (which will include the "full" counterparts) svn path=/gstreamermm/trunk/; revision=1455 2008-04-13 José Alburquerque Added new class macro _CLASS_BOXEDTYPE_NCOPY_EXTRA which is like the class 2008-04-13 José Alburquerque * tools/m4/class_boxedtype_ncopy_extra.m4: * tools/m4/convert.m4: Added new class macro _CLASS_BOXEDTYPE_NCOPY_EXTRA which is like the class macro used for Gst::Structure but adds extra dummy param to wrap method to disambiguate definitions of "Gst::Structure Glib::wrap(GstStructure*)" and "Gst::TagList Glib::wrap(GstStructure*)" (because GstTagList is declared as "typedef GstStructure GstTagList" in GStreamer API which in essence makes it a GstStructure) * gstreamer/src/taglist.hg: Added class docs and modified to use class macro _CLASS_BOXEDTYPE_NCOPY_EXTRA * gstreamer/gstreamermm/taglist.cc: * gstreamer/gstreamermm/taglist.h: Furthermore, had to add actual gmmproc generated source files in order to manually remove the standard 'extern "C" { typedef struct _GstTagList GstTagList; }' at top of *.h file, again, because GStreamer API does not define GstTagList in a standard way. In bug report #518934 developers seem not to want to fix this. Will post last comment in report informing that they are not following GObject definition standards to see if perhaps they will reconsider for future. taglist.hg has to be added to gstreamer/src/Makefile_list_of_hg.am_fragment when changed to regenerate these files and then removed and the 'extern "C" { ...}' has to be removed from the *.h file to keep build process working. svn path=/gstreamermm/trunk/; revision=1454 2008-04-11 José Alburquerque Wrapped some of GstTagList by using GstStructure as C type of class macro 2008-04-11 José Alburquerque * gstreamer/src/taglist.hg: Wrapped some of GstTagList by using GstStructure as C type of class macro (instead of GstTagList) after getting idea by commenting on related bug report #518934. Got stuck using "Gst::TagList Glib::wrap(GstStructure*)" which ambiguates "Gst::Structure Glib::wrap(GstStructure*)". The ambiguity holds even if GstTagList is used for class macro C type because GstTagList is declared as "typedef GstStructure GstTagList" in gsttaglist.h instead of "typdef struct _GstTagList GstTagList" as it should be. I explained the problem in bug report (I had even submitted a patch), but it seems developers are unwilling to fix it. I don't see how GstTagList will be wrapped otherwise so I'll be leaving taglist.hg as is for now. * tools/m4/convert_gst.m4: Added conversions for GstTagList svn path=/gstreamermm/trunk/; revision=1453 2008-04-10 José Alburquerque Commited ChangeLog of last commit (forgot to include in last commit) svn path=/gstreamermm/trunk/; revision=1451 2008-04-10 José Alburquerque Modified the add_{data,event,buffer}_probe() methods to delete copy of 2008-04-10 José Alburquerque * gstreamer/src/pad.ccg: Modified the add_{data,event,buffer}_probe() methods to delete copy of slot when probe is removed (disconnected) * examples/ogg_player/main.cc: Corrected whitespace svn path=/gstreamermm/trunk/; revision=1450 2008-04-10 José Alburquerque Added segment.hg (bug #518932 resolved) Fixed includes for compilation 2008-04-09 José Alburquerque * gstreamer/src/Makefile_list_of_hg.am_fragment: Added segment.hg (bug #518932 resolved) * gstreamer/src/segment.hg: Fixed includes for compilation svn path=/gstreamermm/trunk/; revision=1448 2008-04-08 José Alburquerque Moved some _PINCLUDES from *.hg files to *.ccg files 2008-04-08 José Alburquerque * gstreamer/src/bin.ccg: * gstreamer/src/bin.hg: * gstreamer/src/buffer.ccg: * gstreamer/src/buffer.hg: * gstreamer/src/bus.ccg: * gstreamer/src/bus.hg: * gstreamer/src/clock.ccg: * gstreamer/src/clock.hg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/elementfactory.ccg: * gstreamer/src/elementfactory.hg: * gstreamer/src/event.ccg: * gstreamer/src/event.hg: * gstreamer/src/index.ccg: * gstreamer/src/index.hg: * gstreamer/src/indexfactory.ccg: * gstreamer/src/indexfactory.hg: * gstreamer/src/message.ccg: * gstreamer/src/message.hg: * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: * gstreamer/src/padtemplate.ccg: * gstreamer/src/padtemplate.hg: * gstreamer/src/pipeline.ccg: * gstreamer/src/plugin.ccg: * gstreamer/src/plugin.hg: * gstreamer/src/pluginfeature.ccg: * gstreamer/src/pluginfeature.hg: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: * gstreamer/src/registry.ccg: * gstreamer/src/registry.hg: * gstreamer/src/systemclock.ccg: * gstreamer/src/systemclock.hg: * gstreamer/src/task.ccg: * gstreamer/src/task.hg: * gstreamer/src/xml.ccg: * gstreamer/src/xml.hg: Moved some _PINCLUDES from *.hg files to *.ccg files * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/ghostpad.ccg: * gstreamer/src/ghostpad.hg: Added GhostPad svn path=/gstreamermm/trunk/; revision=1447 2008-04-08 José Alburquerque Modified media player example to use its own video sink with the playbin 2008-04-08 José Alburquerque * examples/media_player_gtkmm/PlayerWindow.cc: * examples/media_player_gtkmm/PlayerWindow.h: * examples/media_player_gtkmm/main.cc: Modified media player example to use its own video sink with the playbin pipeline; Modified widget packing so that videoArea takes most space and rest less; Added code to react to initial data (buffer) received in the video sink pad to deal with size of videoArea. svn path=/gstreamermm/trunk/; revision=1446 2008-04-07 José Alburquerque Added add_{data,buffer,event}_probe() methods which accepts a slot 2008-04-07 José Alburquerque * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: Added add_{data,buffer,event}_probe() methods which accepts a slot (SlotData) to be called whenever data, an event, or a buffer passes through the pad. Filed bug #526814 requesting enhancement to allow a disconnect callback to be called when "probes" are disconnected so that slot copies can be easily deleted on disconnections. Found that the "have-data" signal does not work on its own (connecting to it never calls slot) because C API doesn't transmit signal unless one of the add_*_probe() methods is used (see gst_pad_add_data_probe() implementation in gstutils.c) so unwrapped the signal to disallow possible confusion and let developers use add_*_probe() methods which will work. * examples/ogg_player/main.cc: Modified example to exemplify use Gst::Pad::add_data_probe() method svn path=/gstreamermm/trunk/; revision=1444 2008-04-04 José Alburquerque Used _WRAP_CREATE to generate create() method; Merged clear_sync_handler() 2008-04-04 José Alburquerque * gstreamer/src/bus.ccg: * gstreamer/src/bus.hg: Used _WRAP_CREATE to generate create() method; Merged clear_sync_handler() into set_sync_handler() because clear_sync_hander() would only be used before a call to set_sync_handler() * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: Used _WRAP_CREATE to generate create() methods; Moved SlotBlock to top; Added get_pad_template(); Moved set_blocked_async() below set_blocked() and added method docs * tools/m4/convert_gst.m4: Added PadTemplate conversions * tests/Makefile.am: * tests/test-create-bus.cc: Added test to create bus svn path=/gstreamermm/trunk/; revision=1443 2008-04-04 José Alburquerque Added comments in slot docs to clear up what bool returns mean 2008-04-04 José Alburquerque * gstreamer/src/bus.hg: * gstreamer/src/clock.hg: * gstreamer/src/filter.hg: * gstreamer/src/index.hg: * gstreamer/src/plugin.hg: * gstreamer/src/pluginfeature.hg: * gstreamer/src/structure.hg: Added comments in slot docs to clear up what bool returns mean svn path=/gstreamermm/trunk/; revision=1442 2008-04-04 José Alburquerque Corrected config files to include the glibmmconfig.h file so that things 2008-04-03 José Alburquerque * gstreamer/gstreamermmconfig.h.in: * gstreamerbase/gstreamerbasemmconfig.h.in: Corrected config files to include the glibmmconfig.h file so that things like GLIBMM_PROPERTIES_ENABLED are defined (and properties can be wrapped) * docs/reference/Doxyfile.in: Added list of predefined macros as in other *mm projects svn path=/gstreamermm/trunk/; revision=1441 2008-04-03 José Alburquerque Modified method names to not conflict with Gst::Object inherited methods 2008-04-03 José Alburquerque * gstreamer/src/childproxy.ccg: * gstreamer/src/childproxy.hg: Modified method names to not conflict with Gst::Object inherited methods (in particular set_property) * gstreamer/src/element.hg: Overloaded ElementInterfaced<..> methods gobj() (both const and non-const versions) and gobj_copy() to avoid ambiguity (in particular using ElementInterfaced<...>::gobj() would be ambiguous otherwise) * tests/test-interface.cc: Added lines to test ElementInterfaced<...> gobject methods' ambiguity svn path=/gstreamermm/trunk/; revision=1440 2008-04-02 José Alburquerque Modified cast() to return NULL RefPtr if element is NULL 2008-04-02 José Alburquerque * gstreamer/src/interface.hg: Modified cast() to return NULL RefPtr if element is NULL * examples/media_player_gtkmm/Makefile.am: * examples/media_player_gtkmm/PlayerWindow.cc: * examples/media_player_gtkmm/PlayerWindow.h: * examples/media_player_gtkmm/main.cc: Added new media player example which uses GStreamer playbin plugin (from gst-plugins-base) to play any supported media (including video). At present it's crude (window doesn't resize, etc.), but it does successfully insert video in window! * configure.ac: Added examples/media_player_gtkmm/Makefile to AC_CONFIG_FILES to generate * examples/Makefile.am: Added media_player-gtkmm directory to build directories * examples/Makefile.am_fragment: Modified to allow build to use gstreamerbase branch (from gtkmm -- Thanks) svn path=/gstreamermm/trunk/; revision=1439 2008-04-02 José Alburquerque Modified get_structure() methods to get GstStructure* for each call (It 2008-04-01 José Alburquerque * gstreamer/src/event.hg: * gstreamer/src/message.ccg: * gstreamer/src/message.hg: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: Modified get_structure() methods to get GstStructure* for each call (It seems more reliable if structure is changed for any reason); Removed unused members structure_ svn path=/gstreamermm/trunk/; revision=1438 2008-04-02 José Alburquerque Renamed SlotWatch to SlotMessage; Added SlotMessageSync; Added 2008-04-01 José Alburquerque * gstreamer/src/bus.ccg: * gstreamer/src/bus.hg: Renamed SlotWatch to SlotMessage; Added SlotMessageSync; Added set_sync_handler() and clear_sync_handler(); Added docs for hand-written methods; * gstreamer/src/pipeline.hg: Added class docs * gstreamerbase/src/xoverlay.hg: Added TODO to insert code example in class docs svn path=/gstreamermm/trunk/; revision=1437 2008-04-01 José Alburquerque Rewrote cast() to return null RefPtr<...> if cast is not possible Rewrote 2008-04-01 José Alburquerque * gstreamer/src/interface.hg: Rewrote cast() to return null RefPtr<...> if cast is not possible * gstreamer/src/element.hg: Rewrote ElementInterfaced constructor to accept possible NULL GstElement* * tests/Makefile.am: * tests/test-create-element.cc: * tests/test-interface.cc: Added test-interface.cc (for testing casting) and removed casting test from test-create-element.cc * gstreamerbase/gstreamerbasemm.h: Added xoverlay.h to includes; Removed unused version.h include svn path=/gstreamermm/trunk/; revision=1436 2008-04-01 José Alburquerque Renamed GStreamermm to gstreamermm in these files 2008-04-01 José Alburquerque * README: * docs/reference/Doxyfile.in: * docs/reference/reference-index.txt: * examples/README: * examples/init/init.cc: * examples/ogg_player_gtkmm/PlayerWindow.cc: * gstreamer/README: Renamed GStreamermm to gstreamermm in these files svn path=/gstreamermm/trunk/; revision=1435 2008-03-31 José Alburquerque Modified requirements to exclude gstreamermm-0.10 (logically, developer 2008-03-31 José Alburquerque * gstreamerbase/gstreamerbasemm-0.10.pc.in: Modified requirements to exclude gstreamermm-0.10 (logically, developer should include that requirement himself if needed) svn path=/gstreamermm/trunk/; revision=1434 2008-03-31 José Alburquerque Added some hand-wrapped functions to list of _IGNOREs 2008-03-31 José Alburquerque * gstreamer/src/caps.hg: Added some hand-wrapped functions to list of _IGNOREs * gstreamer/src/gst_signals.defs: * gstreamer/src/xml.hg: Wrapped signal "object-loaded" (which signals when an object is loaded from xml) svn path=/gstreamermm/trunk/; revision=1433 2008-03-31 José Alburquerque Added list of functions from gstelement that appear when processed by 2008-03-30 José Alburquerque * gstreamer/src/interface.hg: Added list of functions from gstelement that appear when processed by glibmm to an _IGNORE() construct svn path=/gstreamermm/trunk/; revision=1432 2008-03-31 José Alburquerque Added new gst-interfaces-0.10 dependency to gstreamerbase branch Added 2008-03-30 José Alburquerque * configure.ac: Added new gst-interfaces-0.10 dependency to gstreamerbase branch * build_shared/Makefile_build.am_fragment: Added gstreamer branch includes to "all_includes" (so that gstreamerbase branch can include from it) * gstreamerbase/gstreamerbasemm-0.10.pc.in: Modified requirements to include gstreamermm-0.10 and gst-interfaces-0.10 * gstreamerbase/src/Makefile_list_of_hg.am_fragment: * gstreamerbase/src/xoverlay.ccg: * gstreamerbase/src/xoverlay.hg: Added gst-plugins-base interface gstxoverlay svn path=/gstreamermm/trunk/; revision=1431 2008-03-28 José Alburquerque Modified init() to call GstBase::wrap_init() (which initializes list of 2008-03-28 José Alburquerque * gstreamer/gstreamermm/init.cc: Modified init() to call GstBase::wrap_init() (which initializes list of wrapper functions for gstreamerbasemm) * Makefile.am: Changed order of subdirectories so that gstreamerbase is built before gstreamer directory (since gstreamermm depends on gstreamerbasemm -- Gst::init() calls GstBase::wrap_init()) * build_shared/Makefile_build.am_fragment: Added gstreamerbase includes to "all_includes" so that Gst::init() knows about GstBase::wrap_init() * gstreamer/gstreamermm/Makefile.am: Added libgstreamerbasemm-0.10.la to list of libs to be linked to gstreamermm so that GstBase::wrap_init() is linked in and Gst::init() does not get an undefined reference error svn path=/gstreamermm/trunk/; revision=1429 2008-03-27 José Alburquerque Changed general include to more specific one 2008-03-27 José Alburquerque * gstreamer/src/enums.ccg: Changed general include to more specific one svn path=/gstreamermm/trunk/; revision=1428 2008-03-27 José Alburquerque Dispersed enums from: 2008-03-27 José Alburquerque Dispersed enums from: * gstreamer/src/enums.hg: * gstreamer/src/enums.ccg: to: * gstreamer/src/bin.hg: * gstreamer/src/buffer.ccg: * gstreamer/src/buffer.hg: * gstreamer/src/bus.ccg: * gstreamer/src/bus.hg: * gstreamer/src/clock.ccg: * gstreamer/src/clock.hg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/event.ccg: * gstreamer/src/event.hg: * gstreamer/src/format.ccg: * gstreamer/src/format.hg: * gstreamer/src/index.ccg: * gstreamer/src/index.hg: * gstreamer/src/iterator.ccg: * gstreamer/src/iterator.hg: * gstreamer/src/message.ccg: * gstreamer/src/message.hg: * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: * gstreamer/src/padtemplate.ccg: * gstreamer/src/padtemplate.hg: * gstreamer/src/parse.ccg: * gstreamer/src/parse.hg: * gstreamer/src/plugin.ccg: * gstreamer/src/plugin.hg: * gstreamer/src/pluginfeature.ccg: * gstreamer/src/pluginfeature.hg: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: * gstreamer/src/taglist.ccg: * gstreamer/src/taglist.hg: * gstreamer/src/task.ccg: * gstreamer/src/task.hg: * gstreamer/src/urihandler.ccg: * gstreamer/src/urihandler.hg: * gstreamer/src/xml.hg: * gstreamer/src/gst_enums.defs: Handwrote BusFlags, ElementFlags and PadFlags to wrap corresp. enums * docs/reference/Doxyfile.in: Modified to display one enum value per line in docs * docs/reference/Makefile.am: Modified docs build to depend on Doxyfile which reponds better to changes to Doxyfile.in file svn path=/gstreamermm/trunk/; revision=1427 2008-03-27 José Alburquerque Generated docs with all directories that includes API that may be wrapped 2008-03-26 José Alburquerque * gstreamer/src/gst_docs.xml: * gstreamerbase/src/gstbase_docs.xml: Generated docs with all directories that includes API that may be wrapped svn path=/gstreamermm/trunk/; revision=1426 2008-03-26 José Alburquerque wrapped enum ClockFlags using _WRAP_ENUM() (by writing out the def) so 2008-03-26 José Alburquerque * gstreamer/src/enums.hg: * gstreamer/src/gst_enums.defs: wrapped enum ClockFlags using _WRAP_ENUM() (by writing out the def) so that its Glib::Value<..> class is defined svn path=/gstreamermm/trunk/; revision=1425 2008-03-26 José Alburquerque Removed these because just realized that these are specific to a single 2008-03-25 José Alburquerque * gstreamer/src/generate-enums.sh: * gstreamer/src/generate-methods.sh: * gstreamerbase/src/generate-enums.sh: * gstreamerbase/src/generate-methods.sh: Removed these because just realized that these are specific to a single system svn path=/gstreamermm/trunk/; revision=1424 2008-03-26 José Alburquerque Added two scripts to generate gst_enums.defs and gst_methods.def (when 2008-03-25 José Alburquerque * gstreamer/src/generate-enums.sh: * gstreamer/src/generate-methods.sh: Added two scripts to generate gst_enums.defs and gst_methods.def (when generating must take care of handwritten things in gst_methods.defs -- see comment at top of file which would be best to keep in file after regenerating) * gstreamerbase/src/generate-enums.sh: * gstreamerbase/src/generate-methods.sh: Added scripts to generate gstbase_enums.defs and gstbase_methods.defs * gstreamerbase/src/gstbase_enums.defs: * gstreamerbase/src/gstbase_methods.defs: Regenerated these after building most recent update of gst-plugins-base svn path=/gstreamermm/trunk/; revision=1423 2008-03-25 José Alburquerque Removed redundant _WRAP_ENUM() (ClockFlags is already defined); Modified 2008-03-25 José Alburquerque * gstreamer/src/enums.hg: Removed redundant _WRAP_ENUM() (ClockFlags is already defined); Modified brace placements to match rest of sources * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_methods.defs: Regenerated both def files to include API in gst/{base,controller,dataprotocol,net,check} include directories (along with standard includes in gst/) svn path=/gstreamermm/trunk/; revision=1422 2008-03-25 José Alburquerque Added lines to define GSTREAMERMM_DOXYGEN_INPUT (which includes 2008-03-25 José Alburquerque * configure.ac: Added lines to define GSTREAMERMM_DOXYGEN_INPUT (which includes directories to be proecessed by Doxygen) -- Adapted from goocanvasmm * docs/reference/Doxyfile.in: Modified to use GSTREAMERMM_DOXYGEN_INPUT for input files svn path=/gstreamermm/trunk/; revision=1421 2008-03-25 José Alburquerque Modified recursive Makefile.am structure to include doc-clean, 2008-03-24 José Alburquerque * Makefile.am: * docs/Makefile.am: * docs/reference/Makefile.am: Modified recursive Makefile.am structure to include doc-clean, doc-clean-recursive and doc-rebuild. Also modified to use beautify_docs.pl and to be dependent on *.h source files (adapted from glibmm -- thanks) svn path=/gstreamermm/trunk/; revision=1420 2008-03-24 José Alburquerque Fixed class docs class name Fixed typo 2008-03-24 José Alburquerque * gstreamer/src/buffer.hg: Fixed class docs class name * tools/extra_defs_gen/Makefile.am: Fixed typo svn path=/gstreamermm/trunk/; revision=1419 2008-03-24 José Alburquerque Removed these files which the build automatically generates 2008-03-24 José Alburquerque * gstreamerbase/gstreamerbasemm-0.10.pc: * gstreamerbase/gstreamerbasemmconfig.h: Removed these files which the build automatically generates svn path=/gstreamermm/trunk/; revision=1418 2008-03-24 José Alburquerque Corrected class docs typo 2008-03-24 José Alburquerque * gstreamer/src/bus.hg: Corrected class docs typo * gstreamer/src/caps.hg: * gstreamer/src/structure.hg: Renamed is_empty() and get_size() methods to empty() and size() (which is compatible with C++ STL names); Also renamed is_equal..() methods (in caps.hg) to equals..() * gstreamer/src/value.hg: Corrected class docs to have a short single line intro statement and then the explanation svn path=/gstreamermm/trunk/; revision=1417 2008-03-24 José Alburquerque Fixed ChangeLog typo svn path=/gstreamermm/trunk/; revision=1416 2008-03-24 José Alburquerque Added subdirectory gstreamermmbase in which to wrap gst-plugins-base 2008-03-23 José Alburquerque * gstreamerbase/Makefile.am: * gstreamerbase/README: * gstreamerbase/gstreamerbasemm-0.10.pc: * gstreamerbase/gstreamerbasemm-0.10.pc.in: * gstreamerbase/gstreamerbasemm.h: * gstreamerbase/gstreamerbasemm/Makefile.am: * gstreamerbase/gstreamerbasemm/gst_wrap_init.h: * gstreamerbase/gstreamerbasemm/init.cc: * gstreamerbase/gstreamerbasemm/init.h: * gstreamerbase/gstreamerbasemm/private/Makefile.am: * gstreamerbase/gstreamerbasemm/wrap_init.h: * gstreamerbase/gstreamerbasemmconfig.h: * gstreamerbase/gstreamerbasemmconfig.h.in: * gstreamerbase/src/Makefile.am: * gstreamerbase/src/Makefile_list_of_hg.am_fragment: * gstreamerbase/src/gstbase.defs: * gstreamerbase/src/gstbase_docs.xml: * gstreamerbase/src/gstbase_docs_override.xml: * gstreamerbase/src/gstbase_others.defs: * gstreamerbase/src/gstbase_signals.defs: * gstreamerbase/src/gstbase_vfuncs.defs: Added subdirectory gstreamermmbase in which to wrap gst-plugins-base module relevant API (just what's needed) * gstreamerbase/src/gstbase_enums.defs: * gstreamerbase/src/gstbase_methods.defs: Generated enums and methods for new gstreamerbasemm branch using h2def.py and enum.pl (see wrapping docs) * tools/extra_defs_gen/Makefile.am: * tools/extra_defs_gen/generate_defs_gstbase.cc: Added an extra defs generator for the gstreamerbasemm branch and mentioned it in Makefile.am so that it is built (the types that need to be generated still have to be added as the needed parts of gst-plugins-base are wrapped) * Makefile.am: Mentioned gstreamerbase dir to include in build * configure.ac: Modified to check needed dependencies, include shared object version and generate makefiles for gstreamerbasemm branch svn path=/gstreamermm/trunk/; revision=1415 2008-03-23 José Alburquerque Moved needed includes from *.h files to *.cc files (speeds up compile for 2008-03-23 José Alburquerque * gstreamer/gstreamermm/gst_wrap_init.h: * gstreamer/gstreamermm/init.cc: * gstreamer/gstreamermm/init.h: * gstreamer/gstreamermm/version.cc: * gstreamer/gstreamermm/wrap_init.h: Moved needed includes from *.h files to *.cc files (speeds up compile for applications) svn path=/gstreamermm/trunk/; revision=1414 2008-03-19 José Alburquerque Modified test to use a Gst::Caps to link two Gst::Elements using feature 2008-03-19 José Alburquerque * tests/test-caps.cc: Modified test to use a Gst::Caps to link two Gst::Elements using feature (caps) negotiation (filtered linking) as exemplified in Gstreamer Application Development Manual (GADM) section 8.3.2 svn path=/gstreamermm/trunk/; revision=1413 2008-03-19 José Alburquerque Added Fourcc class; Added constructor docs; Refined previous docs to 2008-03-19 José Alburquerque * gstreamer/src/value.ccg: * gstreamer/src/value.hg: Added Fourcc class; Added constructor docs; Refined previous docs to reference GstValue for better understanding of classes in value.hg * gstreamer/src/structure.ccg: * gstreamer/src/structure.hg: Modified get_fraction() to take a Gst::Fraction& in which to set values; Fixed docs for get_date() and get_fraction(); Added conversion lines in set_field() for Glib::Value, Glib::Value, Glib::Value and Glib::Value * gstreamer/gstreamermm/miniobject.cc: * gstreamer/gstreamermm/miniobject.h: Added take_copy param to MiniObject(GstMiniObject*, bool); Added definitions swap(), operator=() and MiniObject(const MiniObject&) (the copy constructor is needed if it is embedded in a Glib::Value<...>) * tests/test-structure.cc: Modified to test setting and getting a Glib::Date field (embedded in a Glib::Value<...>) * tools/m4/class_boxedtype_ncopy.m4: Added comment on destruction of underlying gobject svn path=/gstreamermm/trunk/; revision=1412 2008-03-18 José Alburquerque Added wrapper to be used with GstStructure which with GstCaps wants 2008-03-18 José Alburquerque * tools/m4/class_boxedtype_ncopy.m4: * tools/m4/convert.m4: Added wrapper to be used with GstStructure which with GstCaps wants wrapper to work with original gobject and not to be delete when its ownership has been taken over by the GstCaps. * gstreamer/src/structure.hg: Modified Gst::Structure to use _CLASS_BOXED_TYPE_NCOPY so that it mostly doesn't copy the gobject and is flexible at destroying underlying gobject when wrapper is destroyed which makes it easier for Gst::Caps to "take ownership" of Gst::Structures * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: Reimplemented get_structure() to function properly and to return a const Gst::Structure*. Modified create(Gst::Structure&) to "take ownership" of the Gst::Structure (as GstCaps does with underlying gobject). Also handwrote append_structure() and merge_structure() to "take ownership" of the Gst::Structure which is appended/merged (as GstCaps does with underlying gobject) * tests/Makefile.am: * tests/test-caps-structures.cc: Added test to add/remove and get Gst::Structures in a Gst::Caps * docs/Makefile.am: Added copyright statement at top svn path=/gstreamermm/trunk/; revision=1411 2008-03-13 José Alburquerque Rewrote get_structure() methods to return a const Structure* (and only get 2008-03-13 José Alburquerque * gstreamer/src/event.ccg: * gstreamer/src/event.hg: * gstreamer/src/message.ccg: * gstreamer/src/message.hg: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: Rewrote get_structure() methods to return a const Structure* (and only get the structure once because it never changes) * tests/test-event-wrap.cc: * tests/test-message-wrap.cc: * tests/test-query-wrap.cc: Rewrote tests to get structures and print their names (to verify that get_structure() methods work) * gstreamer/src/value.hg: Removed blank line svn path=/gstreamermm/trunk/; revision=1405 2008-03-13 José Alburquerque Corrected class docs (@code/@endcode sections) which was impeding docs to 2008-03-13 José Alburquerque * gstreamer/src/value.hg: Corrected class docs (@code/@endcode sections) which was impeding docs to appear in html svn path=/gstreamermm/trunk/; revision=1404 2008-03-12 José Alburquerque Modified get_field() to return the GValue from GStreamer as is (without 2008-03-12 José Alburquerque * gstreamer/src/structure.ccg: * gstreamer/src/structure.hg: Modified get_field() to return the GValue from GStreamer as is (without converting to, for example Glib::Value) in case that value is used elsewhere and needs to be as GStreamer interprets it; Added comment in set_field() docs to explain how setting special GStreamer fields works * gstreamer/src/value.ccg: * gstreamer/src/value.hg: Added "const ValueBase&" constructors so that when GValues are obtained from a Gst::Structure if the GValue holds any of these special types they can be easily obtained using theese classes. * tests/test-structure.cc: Modified test to use "const ValueBase&" constructors when getting values from Gst::Structure svn path=/gstreamermm/trunk/; revision=1403 2008-03-12 José Alburquerque Added class definitions Fraction, IntRange, DoubleRange and FractionRange 2008-03-11 José Alburquerque * gstreamer/src/value.ccg: * gstreamer/src/value.hg: Added class definitions Fraction, IntRange, DoubleRange and FractionRange with docs explaining that these classes can be wrapped in a Glib::Value<...> to be used to set GStreamer specific fields in Gst::Caps Structures (Still need to look at GDate and possibly the GStreamer fourcc gtype GST_TYPE_FOURCC) (Must fix config files so these classes appear in docs) * gstreamer/src/structure.ccg: Modified get_field() and set_field() to "translate" to/from the GStreamer gtypes to the gstreamermm gtypes when setting and getting fields. * tests/test-structure.cc: Modified source to test the adding and retrieving of the new classes in value.hg to a Gst::Structure svn path=/gstreamermm/trunk/; revision=1402 2008-03-11 José Alburquerque Added class docs header 2008-03-10 José Alburquerque * gstreamer/src/bin.hg: * gstreamer/src/buffer.hg: * gstreamer/src/bus.hg: Added class docs header * gstreamer/src/clock.ccg: * gstreamer/src/clock.hg: Added class docs header; Wrapped ClockID methods get_time(), wait(), wait_async(), and unschedule(); Replaced new by create in new_single_shot_id() and new_periodic_id() method names (must still wrap these) * gstreamer/src/enums.hg: Added ClockFlags enum * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/filter.ccg: * gstreamer/src/index.ccg: * gstreamer/src/interface.hg: * gstreamer/src/pad.ccg: * gstreamer/src/registry.ccg: * gstreamer/src/structure.ccg: * gstreamer/src/taglist.ccg: Replaced gpointer with void* in callbacks; Rewrote slot code to create copies as pointers and delete the copies in callbacks once done (for those slots that are called only once) * tools/m4/convert_gst.m4: Added ClockTimeDiff conversion svn path=/gstreamermm/trunk/; revision=1401 2008-03-10 José Alburquerque Added get_structure() docs commenting that assigning structures engenders 2008-03-10 José Alburquerque * gstreamer/src/caps.hg: * gstreamer/src/event.hg: * gstreamer/src/message.hg: * gstreamer/src/query.hg: Added get_structure() docs commenting that assigning structures engenders a copy and not the original * tests/test-structure.cc: Modified test to create a structure and not use one from a Query * gstreamer/src/clock.hg: Moved ClockTime, ClockTimeDiff and CLOCK_TIME_NONE to: * gstreamer/src/enums.hg: svn path=/gstreamermm/trunk/; revision=1400 2008-03-09 José Alburquerque - Added create(Structure& s) method; - Added class and method docs - Wrote 2008-03-09 José Alburquerque * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: - Added create(Structure& s) method; - Added class and method docs - Wrote out get_structure() to return Structure& and not Structure* (getting Gst::Structures feels a bit weird because since Gst::Structure is a boxed type, copies are always created and developers may think that once they get a Gst::Structure, if the owner of the Gst::Structure modifies it, it will be reflected in the copy they obtain. This doesn't seem to be so) * tools/m4/convert_gst.m4: Fixed GstStructure conversions svn path=/gstreamermm/trunk/; revision=1399 2008-03-09 José Alburquerque Used WRAP_CREATE() for create() method; Made add() and remove() not throw 2008-03-08 José Alburquerque * gstreamer/src/bin.ccg: * gstreamer/src/bin.hg: Used WRAP_CREATE() for create() method; Made add() and remove() not throw exceptions (unsure if need exceptions presently); Added a needed extra reference to Element in add() method to avoid warning (see comment in method implementation) * gstreamer/src/pipeline.ccg: * gstreamer/src/pipeline.hg: Used _WRAP_CREATE() for create() method * gstreamer/src/element.hg: Added comment about needing _CTOR_DEFAULT svn path=/gstreamermm/trunk/; revision=1398 2008-03-07 José Alburquerque Added return of "this Structure" in set_field() and remove_field() (had 2008-03-07 José Alburquerque * gstreamer/src/structure.ccg: Added return of "this Structure" in set_field() and remove_field() (had neglected this in last commit thus not allowing test-structure to run) svn path=/gstreamermm/trunk/; revision=1397 2008-03-07 José Alburquerque Modified set_field() and remove_field() to return the Structure (thus 2008-03-06 José Alburquerque * gstreamer/src/structure.ccg: * gstreamer/src/structure.hg: Modified set_field() and remove_field() to return the Structure (thus allowing "chain" setting and removing); Added docs; Reordered methods to C API order. Must find a way of adding gtypes GST_TYPE_FRACTION, GST_TYPE_DATE along with other gstreamer specific gtypes like G_TYPE_INT_RANGE to Structure correctly (see GstValue C API docs and GStreamer Application Development Manual sections 8.2.2 and 8.2.3) * tests/test-structure.cc: Modified test to use "chain setting" * gstreamer/src/element.hg: Removed virtual from ElementInterfaced destructor def since its base class (Element) destructor is virtual which makes derived destructor virtual already svn path=/gstreamermm/trunk/; revision=1394 2008-03-06 José Alburquerque Added gst_caps_new_empty() as new function in _CLASS_OPAQUE_REFCOUNTED 2008-03-05 José Alburquerque * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: Added gst_caps_new_empty() as new function in _CLASS_OPAQUE_REFCOUNTED which automatically generates create() method. Commented out create_full() until we can figure out how to have a list of Structures for parameter * gstreamer/src/clock.hg: Removed unused _CTOR_DEFAULT * gstreamer/src/element.ccg: * gstreamer/src/element.hg: Made get_compatible_{pad,pad_template}() methods not throw exceptions because the returned RefPtr<> will be NULL if none is found. Used const Glib::ustring& in link_pads_filtered() method * gstreamer/src/plugin.hg: Removed completed TODO * gstreamer/src/tagsetter.hg: Typos svn path=/gstreamermm/trunk/; revision=1386 2008-03-05 José Alburquerque Added tagsetter.h to includes 2008-03-04 José Alburquerque * gstreamer/gstreamermm.h: Added tagsetter.h to includes svn path=/gstreamermm/trunk/; revision=1385 2008-03-05 José Alburquerque Added tagsetter 2008-03-04 José Alburquerque * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/tagsetter.ccg: * gstreamer/src/tagsetter.hg: Added tagsetter * tools/m4/convert_gst.m4: Added initial conversions to be used with TagSetter when it is wrapped svn path=/gstreamermm/trunk/; revision=1384 2008-03-04 José Alburquerque Removed unused struct ElementDetails 2008-03-03 José Alburquerque * gstreamer/src/elementfactory.hg: Removed unused struct ElementDetails svn path=/gstreamermm/trunk/; revision=1383 2008-03-04 José Alburquerque Added GWeakNotify callback which will be called for each ElementInterfaced 2008-03-03 José Alburquerque * gstreamer/src/element.ccg: Added GWeakNotify callback which will be called for each ElementInterfaced instance to delete them * gstreamer/src/element.hg: Modified constructor of ElementInterfaced to add a weak ref to underlying GObject; Added destructor to remove reference to underlying GObject so that the GObject is not "mangled" when ElementInterfaced is destroyed svn path=/gstreamermm/trunk/; revision=1382 2008-03-03 José Alburquerque Added templated, Element derived Gst::ElementInterfaced class which 2008-03-03 José Alburquerque * gstreamer/src/element.hg: Added templated, Element derived Gst::ElementInterfaced class which implements the template argument. This class is used in the templated Gst::Interface::cast() method to cast the element's RefPtr to a RefPtr of a Gst::ElementInterfaced that implements the target interface * gstreamer/src/interface.hg: Modified Gst::Interface::cast() method to return a RefPtr to a Gst::ElementInterfaced class * tests/test-create-element.cc: Modified to test casting from Glib::RefPtr to Glib::RefPtr< Gst::ElementInterfaced<..> > svn path=/gstreamermm/trunk/; revision=1381 2008-03-02 José Alburquerque Removed Gst::Interface derivation as not all elements implement interface 2008-03-02 José Alburquerque * gstreamer/src/element.hg: Removed Gst::Interface derivation as not all elements implement interface (see bug #519584) * gstreamer/src/interface.hg: Made implements() static and renamed to element_implements(); Added static cast() method * tests/test-create-element.cc: Changed test to use Gst::Interface::element_implements() method and Gst::Interface::cast() methods (test two methods) though cast() method does not quite work * tools/m4/convert_gst.m4: Added conversion for Gst::Interface::element_implements() method (from const Glib::RefPtr& to GstElement*) svn path=/gstreamermm/trunk/; revision=1380 2008-02-29 José Alburquerque Made Element derive also from Gst::Interface (newly added 2008-02-27); 2008-02-29 José Alburquerque * gstreamer/src/element.ccg: * gstreamer/src/element.hg: Made Element derive also from Gst::Interface (newly added 2008-02-27); Removed create() method and use Gst::ElementFactory to create elements (as C API does); Added class docs * examples/element_link/element_link.cc: * examples/ogg_player/main.cc: * examples/ogg_player_gtkmm/main.cc: * tests/test-link-elements.cc: * tests/test-pipeline-add-element.cc: Modified to create elements using Gst::ElementFactory::create() * tests/test-create-bin.cc: Added lines to test derived interface ChildProxy * tests/test-create-element.cc: Added lines to test the Gst::Interface::implements() method; Filed bug #519584 due to segfault. May have to rethink Gst::Element's derivation of Gst::Interface because as bug report says, not all elements implement GstImplementsInterface * gstreamer/src/urihandler.hg: Added accidental remove of new_uri() method in last commit svn path=/gstreamermm/trunk/; revision=1375 2008-02-28 José Alburquerque Added signals "feature-added" and "plugin-added" Added signal "new-uri" 2008-02-28 José Alburquerque * gstreamer/src/registry.hg: Added signals "feature-added" and "plugin-added" * gstreamer/src/urihandler.hg: Added signal "new-uri" * gstreamer/src/gst_signals.defs: Repaired Registry and URIHandler signal defenitions * tools/m4/convert_gst.m4: Added conversions for Registry and URIHandler signals svn path=/gstreamermm/trunk/; revision=1374 2008-02-28 José Alburquerque Renamed make() to create() 2008-02-28 José Alburquerque * gstreamer/src/elementfactory.hg: Renamed make() to create() * gstreamer/src/pluginfeature.ccg: * gstreamer/src/pluginfeature.hg: Removed type_name_filter() (It is a reimplementation of a C filter callback) and struct TypeNameData (used only in type_name_filter() method) * gstreamer/src/indexfactory.hg: * gstreamer/src/plugin.hg: * gstreamer/src/registry.hg: Added some _IGNORE's * tools/m4/convert_gst.m4: Removed unused TypeNameData conversion; Finished ordering conversions svn path=/gstreamermm/trunk/; revision=1373 2008-02-27 José Alburquerque Added interface "Interface" 2008-02-27 José Alburquerque * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/interface.ccg: * gstreamer/src/interface.hg: Added interface "Interface" * gstreamer/src/registry.hg: Added TODO * gstreamer/src/segment.hg: * tools/m4/convert_gst.m4: Made some changes to Segment (I think both gstsegment.h and gsttasklist.h problems commented below may be fixed see Bug reports #518932, #518934 and #518940) svn path=/gstreamermm/trunk/; revision=1372 2008-02-25 José Alburquerque Removed SlotMerge code (which will not be needed because a merge callback 2008-02-25 José Alburquerque * gstreamer/src/taglist.ccg: * gstreamer/src/taglist.hg: Removed SlotMerge code (which will not be needed because a merge callback is only required for registering new taglists which is done more appropriately in C API directly) * gstreamer/src/segment.hg: Removed unused whitespace svn path=/gstreamermm/trunk/; revision=1371 2008-02-25 José Alburquerque Added boxed type Segment, but not yet to Makefile_list_of_hg.am_fragment 2008-02-25 José Alburquerque * gstreamer/src/segment.ccg: * gstreamer/src/segment.hg:Added boxed type Segment, but not yet to Makefile_list_of_hg.am_fragment because gst_segment_copy() is not declared in gstsegment.h * gstreamer/src/taglist.ccg: * gstreamer/src/taglist.hg: Added taglist, but not yet to Makefile_list_of_hg because GstTagList is declared as "struct GstStructure GstTagList" instead of "struct _GstTagList GstTagList" in gsttaglist.h * gstreamer/src/filter.ccg: * examples/ogg_player_gtkmm/PlayerWindow.cc: Minor TODO addition and tab to spaces conversion svn path=/gstreamermm/trunk/; revision=1370 2008-02-25 Siavash Safi Commented out unused argument const Glib::RefPtr&' in 2008-02-25 Siavash Safi * examples/ogg_player/main.cc: Commented out unused argument const Glib::RefPtr&' in PlayerWindow::on_bus_message, Glib::ListHandle< Glib::RefPtr >', note: the ownership of items is not known, see the todo * gstreamer/src/index.ccg: * gstreamer/src/index.hg: Added const Glib::RefPtr&' to SlotBlock * gstreamer/src/structure.ccg: Fixed foreach(), map_in_place() to return the value from C API * tools/m4/convert_gst.m4: Added _CONV_ENUM(Gst,FlowReturn) svn path=/gstreamermm/trunk/; revision=1369 2008-02-25 José Alburquerque Renamed Slot types and callbacks (for consistency with other *mm projects) 2008-02-24 José Alburquerque * gstreamer/src/bus.ccg: * gstreamer/src/filter.ccg: * gstreamer/src/index.ccg: * gstreamer/src/index.hg: * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: * gstreamer/src/task.ccg: Renamed Slot types and callbacks (for consistency with other *mm projects) * gstreamer/src/parse.hg: Corrected class name in docs from GstParse to Parse. svn path=/gstreamermm/trunk/; revision=1366 2008-02-22 José Alburquerque Added GNU License 2008-02-22 José Alburquerque * COPYING: Added GNU License svn path=/gstreamermm/trunk/; revision=1365 2008-02-22 José Alburquerque Added Registry 2008-02-21 José Alburquerque * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/registry.ccg: * gstreamer/src/registry.hg: Added Registry * gstreamer/src/plugin.ccg: * gstreamer/src/plugin.hg: Removed unnecessary SlotInit code and name_filter() method (which is a standard gstreamer filter "slot" not a member method) * gstreamer/src/pluginfeature.hg: Renamed SlotFeatureFilter to SlotFilter * tools/m4/convert_gst.m4: Added PluginFeature and Registry conversions; Removed unused GstURIHandler conversion svn path=/gstreamermm/trunk/; revision=1364 2008-02-21 Murray Cumming Increase version svn path=/gstreamermm/trunk/; revision=1363 2008-02-21 Murray Cumming Added gobj(). Otherwise Glib::ObjectBase::gobj() is called. 2008-02-21 Murray Cumming * gstreamer/gstreamermm/miniobject.h: Added gobj(). Otherwise Glib::ObjectBase::gobj() is called. * gstreamer/src/bus.hg: pop_filtered(), timed_pop(), timed_pop_filtered(): Renamed all these to pop(). * gstreamer/src/element.hg: Renamed message_full() to post_message() so it looks like a method overload. * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: Wrapped have_data signal. * gstreamer/src/xml.hg: Added const version of get_topelements(). * tools/m4/convert_gst.m4: * gstreamer/src/childproxy.hg: Moved signal-specific conversion to the .hg file where it is used. svn path=/gstreamermm/trunk/; revision=1362 2008-02-21 Murray Cumming Patch in bug #517208 svn path=/gstreamermm/trunk/; revision=1361 2008-02-20 José Alburquerque Added urihandler and related enums+conersions; Manually included the 2008-02-19 José Alburquerque * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/enums.hg: * gstreamer/src/gst_signals.defs: * gstreamer/src/urihandler.ccg: * gstreamer/src/urihandler.hg: * tools/m4/convert_gst.m4: Added urihandler and related enums+conersions; Manually included the "new-uri" signal def in defs file. Must fix "const gchar*" parameter problem before wrapping signal in *.hg file. svn path=/gstreamermm/trunk/; revision=1356 2008-02-19 José Alburquerque Removed commas at end of name in last ChangeLog entry svn path=/gstreamermm/trunk/; revision=1355 2008-02-19 José Alburquerque Added Parse and Task 2008-02-18 José Alburquerque * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/enums.hg: * gstreamer/src/parse.ccg: * gstreamer/src/parse.hg: * gstreamer/src/task.ccg: * gstreamer/src/task.hg: * tools/m4/convert_gst.m4: Added Parse and Task svn path=/gstreamermm/trunk/; revision=1354 2008-02-18 José Alburquerque Added Filter and IndexFactory; Removed unused include in elementfactory.hg 2008-02-18 José Alburquerque * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/elementfactory.hg: * gstreamer/src/filter.ccg: * gstreamer/src/filter.hg: * gstreamer/src/indexfactory.ccg: * gstreamer/src/indexfactory.hg: Added Filter and IndexFactory; Removed unused include in elementfactory.hg * gstreamer/src/structure.ccg: * gstreamer/src/structure.hg: Renamed MapSlot to SlotMap and moved outside of namespace Gst; Used glibmm types for slot typedefs * tools/m4/convert_gst.m4: Added Index and IndexFactory conversions svn path=/gstreamermm/trunk/; revision=1353 2008-02-15 José Alburquerque Fixed misdefinition of static methods to actual member methods (must still 2008-02-15 José Alburquerque * gstreamer/src/childproxy.ccg: * gstreamer/src/childproxy.hg: Fixed misdefinition of static methods to actual member methods (must still add docs) svn path=/gstreamermm/trunk/; revision=1351 2008-02-15 José Alburquerque Wrapped signals; Wrapped methods that could be wrapped and removed 2008-02-14 José Alburquerque * gstreamer/src/bin.ccg: * gstreamer/src/bin.hg: Wrapped signals; Wrapped methods that could be wrapped and removed handwritten definitions; Wrapped property (but something to do with GLIBMM_PROPERTIES_ENABLED def is hiding it in docs) * gstreamer/src/buffer.hg: * gstreamer/src/caps.hg: * gstreamer/src/childproxy.hg: * gstreamer/src/elementfactory.hg: * gstreamer/src/plugin.hg: * gstreamer/src/structure.hg: * tests/test-pipeline-add-element.cc: Reviewed recent method name changes and realized that it's best to stick with the C API names for now and use prefixes "get_", "is_" and "has_" consistently (Names can be reviewed later) svn path=/gstreamermm/trunk/; revision=1350 2008-02-14 José Alburquerque Reordered includes from least to greatest -- Sorry for inconsistency 2008-02-13 José Alburquerque * gstreamer/src/bin.ccg: * gstreamer/src/bin.hg: * gstreamer/src/buffer.ccg: * gstreamer/src/buffer.hg: * gstreamer/src/bus.ccg: * gstreamer/src/bus.hg: * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: * gstreamer/src/childproxy.hg: * gstreamer/src/clock.hg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/elementfactory.hg: * gstreamer/src/enums.hg: * gstreamer/src/error.ccg: * gstreamer/src/event.hg: * gstreamer/src/format.hg: * gstreamer/src/index.ccg: * gstreamer/src/index.hg: * gstreamer/src/iterator.hg: * gstreamer/src/message.hg: * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: * gstreamer/src/padtemplate.ccg: * gstreamer/src/padtemplate.hg: * gstreamer/src/pipeline.ccg: * gstreamer/src/pipeline.hg: * gstreamer/src/plugin.ccg: * gstreamer/src/plugin.hg: * gstreamer/src/pluginfeature.ccg: * gstreamer/src/pluginfeature.hg: * gstreamer/src/query.hg: * gstreamer/src/structure.hg: * gstreamer/src/systemclock.hg: * gstreamer/src/value.ccg: * gstreamer/src/value.hg: * gstreamer/src/xml.ccg: * gstreamer/src/xml.hg: Reordered includes from least to greatest -- Sorry for inconsistency svn path=/gstreamermm/trunk/; revision=1349 2008-02-13 José Alburquerque Made minor changes to include brief descriptions and static members in 2008-02-13 José Alburquerque * docs/reference/Doxyfile.in: Made minor changes to include brief descriptions and static members in html docs * gstreamer/src/element.ccg: * gstreamer/src/element.hg: Wrapped get_factory() method svn path=/gstreamermm/trunk/; revision=1348 2008-02-13 José Alburquerque Added a couple of consts where appropriate 2008-02-12 José Alburquerque * gstreamer/src/caps.hg: Added a couple of consts where appropriate * gstreamer/src/elementfactory.ccg: * gstreamer/src/elementfactory.hg: Wrapped ElementFactory * tools/m4/convert_gst.m4: Added conversions for ElementFactory; Reordered conversions svn path=/gstreamermm/trunk/; revision=1347 2008-02-12 José Alburquerque Corrected misuse of data parameter in type_name_filter() 2008-02-11 José Alburquerque * gstreamer/src/pluginfeature.ccg: Corrected misuse of data parameter in type_name_filter() svn path=/gstreamermm/trunk/; revision=1346 2008-02-12 José Alburquerque Reworked TypeNameData to include necessary fields for type_name_filter() 2008-02-11 José Alburquerque * gstreamer/src/pluginfeature.ccg: * gstreamer/src/pluginfeature.hg: Reworked TypeNameData to include necessary fields for type_name_filter() method; Wrote out type_name_filter() to convert from TypeNameData to GstTypeNameData svn path=/gstreamermm/trunk/; revision=1345 2008-02-12 José Alburquerque Added PluginError 2008-02-11 José Alburquerque * gstreamer/src/enums.hg: Added PluginError * gstreamer/src/plugin.ccg: * gstreamer/src/plugin.hg: Wrapped Plugin * gstreamer/src/pluginfeature.hg: Added const for methods where appropriate * tools/m4/convert_gst.m4: Added Plugin conversions svn path=/gstreamermm/trunk/; revision=1344 2008-02-11 José Alburquerque Generated docs from C API (the build processs must still be adapted to use 2008-02-11 José Alburquerque * gstreamer/src/gst_docs.xml: Generated docs from C API (the build processs must still be adapted to use it) svn path=/gstreamermm/trunk/; revision=1343 2008-02-11 José Alburquerque Added GstRank 2008-02-10 José Alburquerque * gstreamer/src/enums.hg: Added GstRank * gstreamer/src/pluginfeature.ccg: * gstreamer/src/pluginfeature.hg: Wrapped PluginFeature * tools/m4/convert_gst.m4: Finished previous commit's unmentioned TypeNameData conversion; Added GstPluginFeature* and Glib::ListHandle<> converison for PluginFeature svn path=/gstreamermm/trunk/; revision=1342 2008-02-11 José Alburquerque Moved SlotWatch typdef to top of Bus class definition; Used 2008-02-10 José Alburquerque * gstreamer/src/bus.hg: Moved SlotWatch typdef to top of Bus class definition; Used Glib::PRIORITY_DEFAULT instead of G_PRIORITY_DEFAULT * gstreamer/src/childproxy.hg: Repaired wraps of static method child_added() and child_removed() and signals "child-added" and "child-removed" * gstreamer/src/gst_signals.defs: Regenerated with generate_extra_defs tool to include missing signals and properties * tools/extra_defs_gen/generate_defs_gst.cc: Added all types so that signal and property generation includes all methods possible * tools/m4/convert_gst.m4: Included def from GstObject* to const Glib::RefPtr<>& svn path=/gstreamermm/trunk/; revision=1341 2008-02-10 Murray Cumming Restored the license headers. There is not reason not to have them in 2008-02-10 Murray Cumming * gstreamer/gstreamermm/private/miniobject_p.h: * gstreamer/gstreamermm/private/object_p.h: Restored the license headers. There is not reason not to have them in these source files. svn path=/gstreamermm/trunk/; revision=1337 2008-02-10 Murray Cumming Made some methods const. Corrected the slot parameter types, and actually 2008-02-10 Murray Cumming * gstreamer/src/index.ccg: * gstreamer/src/index.hg: Made some methods const. Corrected the slot parameter types, and actually passed them from the callbacks. I am surprised that it compiled before. svn path=/gstreamermm/trunk/; revision=1335 2008-02-10 Siavash Safi Added index.h Added index.hg Added AssocFlags, IndexCertainty, 2008-02-09 Siavash Safi * gstreamer/gstreamermm.h: Added index.h * gstreamer/src/Makefile_list_of_hg.am_fragment: Added index.hg * gstreamer/src/enums.hg: Added AssocFlags, IndexCertainty, IndexEntryType, IndexFlags, IndexLookupMethod, IndexResolverMethod * gstreamer/src/gst_enums.defs: Added GstIndexFlags values manually * gstreamer/src/gst_others.defs: Added defenitions for GST_INDEX_IS_READABLE, GST_INDEX_IS_WRITABLE * gstreamer/src/index.ccg: * gstreamer/src/index.hg: * tools/m4/convert_gst.m4: Added Conversions: GstIndexEntry* to IndexEntry const IndexAssociation& to const GstIndexAssociation* AssocFlags IndexCertainty IndexEntryType IndexFlags IndexLookupMethod IndexResolverMethod svn path=/gstreamermm/trunk/; revision=1334 2008-02-10 Murray Cumming Remove unnecessary cobj_ member variable. 2008-02-10 Murray Cumming * gstreamer/src/caps.hg: Remove unnecessary cobj_ member variable. svn path=/gstreamermm/trunk/; revision=1333 2008-02-08 José Alburquerque Added modelines to source files (copied modeline from glibmm) 2008-02-08 José Alburquerque * examples/element_link/element_link.cc: * examples/init/init.cc: * examples/ogg_player/main.cc: * examples/ogg_player_gtkmm/PlayerWindow.cc: * examples/ogg_player_gtkmm/PlayerWindow.h: * examples/ogg_player_gtkmm/main.cc: * examples/optiongroup/optiongroup.cc: * gstreamer/src/bin.ccg: * gstreamer/src/bin.hg: * gstreamer/src/buffer.ccg: * gstreamer/src/buffer.hg: * gstreamer/src/bus.ccg: * gstreamer/src/bus.hg: * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: * gstreamer/src/clock.ccg: * gstreamer/src/clock.hg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/enums.ccg: * gstreamer/src/enums.hg: * gstreamer/src/error.ccg: * gstreamer/src/error.hg: * gstreamer/src/event.ccg: * gstreamer/src/event.hg: * gstreamer/src/format.ccg: * gstreamer/src/format.hg: * gstreamer/src/iterator.ccg: * gstreamer/src/iterator.hg: * gstreamer/src/message.ccg: * gstreamer/src/message.hg: * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: * gstreamer/src/padtemplate.ccg: * gstreamer/src/padtemplate.hg: * gstreamer/src/pipeline.ccg: * gstreamer/src/pipeline.hg: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: * gstreamer/src/structure.ccg: * gstreamer/src/structure.hg: * gstreamer/src/systemclock.ccg: * gstreamer/src/systemclock.hg: * gstreamer/src/value.ccg: * gstreamer/src/value.hg: * gstreamer/src/xml.ccg: * gstreamer/src/xml.hg: * tests/test-caps.cc: * tests/test-create-bin.cc: * tests/test-create-element.cc: * tests/test-event-wrap.cc: * tests/test-link-elements.cc: * tests/test-message-wrap.cc: * tests/test-miniobject-wrap.cc: * tests/test-pipeline-add-element.cc: * tests/test-query-wrap.cc: * tests/test-structure.cc: Added modelines to source files (copied modeline from glibmm) svn path=/gstreamermm/trunk/; revision=1332 2008-02-08 José Alburquerque Added PluginFeature, Plugin and ElementFactory (still need to be wrapped); 2008-02-08 José Alburquerque * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/element.hg: * gstreamer/src/elementfactory.ccg: * gstreamer/src/elementfactory.hg: * gstreamer/src/plugin.ccg: * gstreamer/src/plugin.hg: * gstreamer/src/pluginfeature.ccg: * gstreamer/src/pluginfeature.hg: Added PluginFeature, Plugin and ElementFactory (still need to be wrapped); Removed unused _PINCLUDE in element.hg svn path=/gstreamermm/trunk/; revision=1331 2008-02-08 José Alburquerque Bin (and its descendant Pipeline) implements ChildProxy interface Removed 2008-02-07 José Alburquerque * gstreamer/src/bin.hg: Bin (and its descendant Pipeline) implements ChildProxy interface * gstreamer/src/childproxy.hg: Removed unused _PINCLUDEs; Wrapped up API * tools/m4/convert_gst.m4: Added conversion from const Glib::RefPtr& to GstObject*; Used Glib::unwrap(...) instead of __CONVERT_REFPTR_TO_P svn path=/gstreamermm/trunk/; revision=1330 2008-02-08 José Alburquerque Added missing value.h and new childproxy.h 2008-02-07 José Alburquerque * gstreamer/gstreamermm.h: Added missing value.h and new childproxy.h * gstreamer/gstreamermm/gst_wrap_init.h: * gstreamer/gstreamermm/init.h: * gstreamer/gstreamermm/private/miniobject_p.h: * gstreamer/gstreamermm/private/object_p.h: * gstreamer/gstreamermm/wrap.cc: * gstreamer/gstreamermm/wrap.h: * gstreamer/gstreamermm/wrap_init.h: Reformatted license section of files; Removed license section in private files * gstreamer/src/Makefile_list_of_hg.am_fragment: Added childproxy * gstreamer/src/caps.hg: Made a couple of more method renames * gstreamer/src/childproxy.ccg: * gstreamer/src/childproxy.hg: Added childproxy source files svn path=/gstreamermm/trunk/; revision=1329 2008-02-07 José Alburquerque Added Licensing statement at top of files 2008-02-07 José Alburquerque * examples/element_link/element_link.cc: * examples/init/init.cc: * examples/ogg_player/main.cc: * examples/ogg_player_gtkmm/PlayerWindow.cc: * examples/ogg_player_gtkmm/PlayerWindow.h: * examples/ogg_player_gtkmm/main.cc: * examples/optiongroup/optiongroup.cc: * gstreamer/gstreamermm/gst_wrap_init.h: * gstreamer/gstreamermm/init.cc: * gstreamer/gstreamermm/init.h: * gstreamer/gstreamermm/miniobject.cc: * gstreamer/gstreamermm/miniobject.h: * gstreamer/gstreamermm/object.cc: * gstreamer/gstreamermm/object.h: * gstreamer/gstreamermm/private/miniobject_p.h: * gstreamer/gstreamermm/private/object_p.h: * gstreamer/gstreamermm/version.cc: * gstreamer/gstreamermm/version.h: * gstreamer/gstreamermm/wrap.cc: * gstreamer/gstreamermm/wrap.h: * gstreamer/gstreamermm/wrap_init.h: * gstreamer/src/bin.ccg: * gstreamer/src/bin.hg: * gstreamer/src/buffer.ccg: * gstreamer/src/buffer.hg: * gstreamer/src/bus.ccg: * gstreamer/src/bus.hg: * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: * gstreamer/src/clock.ccg: * gstreamer/src/clock.hg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/enums.ccg: * gstreamer/src/enums.hg: * gstreamer/src/error.ccg: * gstreamer/src/error.hg: * gstreamer/src/event.ccg: * gstreamer/src/event.hg: * gstreamer/src/format.ccg: * gstreamer/src/format.hg: * gstreamer/src/iterator.ccg: * gstreamer/src/iterator.hg: * gstreamer/src/message.ccg: * gstreamer/src/message.hg: * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: * gstreamer/src/padtemplate.ccg: * gstreamer/src/padtemplate.hg: * gstreamer/src/pipeline.ccg: * gstreamer/src/pipeline.hg: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: * gstreamer/src/structure.ccg: * gstreamer/src/structure.hg: * gstreamer/src/systemclock.ccg: * gstreamer/src/systemclock.hg: * gstreamer/src/value.ccg: * gstreamer/src/value.hg: * gstreamer/src/xml.ccg: * gstreamer/src/xml.hg: * tests/test-caps.cc: * tests/test-create-bin.cc: * tests/test-create-element.cc: * tests/test-event-wrap.cc: * tests/test-link-elements.cc: * tests/test-message-wrap.cc: * tests/test-miniobject-wrap.cc: * tests/test-pipeline-add-element.cc: * tests/test-query-wrap.cc: * tests/test-structure.cc: Added Licensing statement at top of files svn path=/gstreamermm/trunk/; revision=1328 2008-02-07 José Alburquerque Added create_simple() and set_simple() -- methods that work with Caps with 2008-02-06 José Alburquerque * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: Added create_simple() and set_simple() -- methods that work with Caps with only one structure; made some minor method name changes (may have to be reviewed later) * tests/Makefile.am: * tests/test-caps.cc: Added Gst::Caps test (still needs to be finished) * tests/test-structure.cc: Use Glib::Quark in set_field() call as example svn path=/gstreamermm/trunk/; revision=1324 2008-02-06 José Alburquerque Renamed create_empty() to create() and simple_valist() to 2008-02-06 José Alburquerque * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: Renamed create_empty() to create() and simple_valist() to set_simple_valist() (want to rename set_simple_valist() to set_simple() and use variable arguments) * gstreamer/src/structure.ccg: * gstreamer/src/structure.hg: * tests/test-structure.cc: Removed getter and setter methods with Glib::QueryQuark for field name because Glib::QueryQuark can be converted to Glib::ustring (so can use those with Glib::QueryQuark just fine) svn path=/gstreamermm/trunk/; revision=1322 2008-02-05 Murray Cumming Use _MEMBER_GET_GOBJECT() where appropriate, because this does proper 2008-02-05 Murray Cumming * gstreamer/src/event.hg: * gstreamer/src/message.hg: * tools/m4/convert_gst.m4: Use _MEMBER_GET_GOBJECT() where appropriate, because this does proper reference-counting and creates const and non-const versions. * gstreamer/src/buffer.[hg|cc]: Some const fixes. Methods that return new instance do not need both const and non-const versions. svn path=/gstreamermm/trunk/; revision=1321 2008-02-05 Siavash Safi Added buffer.h Added buffer.hg 2008-02-05 Siavash Safi * gstreamer/gstreamermm.h: Added buffer.h * gstreamer/src/Makefile_list_of_hg.am_fragment: Added buffer.hg * gstreamer/src/buffer.ccg: * gstreamer/src/buffer.hg: * gstreamer/src/enums.hg: Added BufferFlag, BufferCopyFlags, MiniObjectFlags * gstreamer/src/event.hg: Corrected the comment on wrap() * gstreamer/src/gst_enums.defs: Changed BufferFlag defenition manually * gstreamer/src/gst_others.defs: Added methods for Buffer: copy(), copy_metadata(), flags(), flag_is_set(), flag_set(), flag_unset() * tools/m4/convert_gst.m4: Added conversions: Glib::RefPtr', GstBuffer*', const GstBuffer*', GstBuffer*', Glib::RefPtr', BufferFlag, BufferCopyFlags, Replaced all _CONVERSION()s for enums by _CONV_ENUM() svn path=/gstreamermm/trunk/; revision=1320 2008-02-05 Murray Cumming MessageType: Change 0xFFFFFFFFFFFFFFFF to ~0 as it is in the C header, to 2008-02-05 Murray Cumming * gstreamer/src/gst_enums.defs: MessageType: Change 0xFFFFFFFFFFFFFFFF to ~0 as it is in the C header, to avoid a error about it being too big for the type. * gstreamer/src/gst_methods.defs: Removed EventType because enums.pl could not parse GstEventType properly. We will have to make these changes every time we regenerate these files, unless we can fix enums.pl. svn path=/gstreamermm/trunk/; revision=1319 2008-02-05 José Alburquerque Removed unused enum declarations; wrapped MessageType and SeekFlags 2008-02-05 José Alburquerque * gstreamer/src/enums.hg: Removed unused enum declarations; wrapped MessageType and SeekFlags * gstreamer/src/gst_enums.defs: Regenerated with new glibmm's enums.pl * gstreamer/src/gst_methods.defs: Regenerated with h2defs.py * tests/test-structure.cc: Removed blank line svn path=/gstreamermm/trunk/; revision=1318 2008-02-05 José Alburquerque Final rename from gstmm to gstreamermm 2008-02-05 José Alburquerque * configure.ac: * docs/reference/Doxyfile.in: * examples/Makefile.am_fragment: * gstreamer/Makefile.am: * gstreamer/gstmmconfig.h.in: * gstreamer/gstreamermm.h: * gstreamer/gstreamermm/Makefile.am: * gstreamer/gstreamermm/gst_wrap_init.h: * gstreamer/gstreamermm/init.h: * gstreamer/gstreamermm/miniobject.h: * gstreamer/gstreamermm/object.h: * gstreamer/gstreamermm/private/miniobject_p.h: * gstreamer/gstreamermm/private/object_p.h: * gstreamer/gstreamermm/version.cc: * gstreamer/gstreamermm/version.h: * gstreamer/gstreamermm/wrap.h: * gstreamer/gstreamermm/wrap_init.h: * gstreamer/gstreamermmconfig.h.in: * tests/Makefile.am: * tools/extra_defs_gen/Makefile.am: Final rename from gstmm to gstreamermm svn path=/gstreamermm/trunk/; revision=1317 2008-02-01 José Alburquerque Allow any number of args, but only process first one Added value.hg 2008-02-01 José Alburquerque * examples/ogg_player/main.cc: Allow any number of args, but only process first one * gstreamer/src/Makefile_list_of_hg.am_fragment: Added value.hg * gstreamer/src/event.ccg: * gstreamer/src/event.hg: * gstreamer/src/message.ccg: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: Removed bool argument for Gst::Structure constructor in get_structure() methods; Fixed whitespace * gstreamer/src/structure.ccg: * gstreamer/src/structure.hg: Removed StructureValueProxy, assignment operator and Fraction definition; Changed most getters to use Glib::ValueBase as output parameter * gstreamer/src/value.ccg: * gstreamer/src/value.hg: Added GstValue (place Fraction definition here) * tests/test-structure.cc: Modified test to not use Gst::Structure assignment operator * tools/m4/convert_gst.m4: Changed `Glib::QueryQuark' conversion to `const Glib::QueryQuark&' svn path=/gstreamermm/trunk/; revision=1316 2008-01-30 José Alburquerque minor change in Jose's e-mail (added first letter) 2008-01-30 José Alburquerque * AUTHORS: minor change in Jose's e-mail (added first letter) * gstreamer/src/event.ccg: * gstreamer/src/message.ccg: * gstreamer/src/query.ccg: modified get_structure() methods to reference GstStructure * gstreamer/src/structure.ccg: * gstreamer/src/structure.hg: wrapped size() and clear() methods; used Glib::QueryQuark instead GQuark for method parameters; change StructureValueProxy to use Glib::ValueBase * tests/Makefile.am: added test-structure * tests/test-structure.cc: new test for Gst::Structure * tools/m4/convert_gst.m4: added conversion from Glib::QueryQuark to GQuark svn path=/gstreamermm/trunk/; revision=1315 2008-01-30 Murray Cumming Increased version svn path=/gstreamermm/trunk/; revision=1314 2008-01-30 Murray Cumming Corrected José's email address (It listed Daniel's). 2008-01-30 Murray Cumming * AUTHORS: Corrected José's email address (It listed Daniel's). svn path=/gstreamermm/trunk/; revision=1313 2008-01-30 José Alburquerque changed -lgstmm-1.0 to -lgstreamermm-0.10 2008-01-29 José Alburquerque * gstreamer/gstreamermm-0.10.pc.in: changed -lgstmm-1.0 to -lgstreamermm-0.10 svn path=/gstreamermm/trunk/; revision=1312 2008-01-28 José Alburquerque Replaced gstmm with gstreamermm in source and reference files; added brief 2008-01-27 José Alburquerque * README: * docs/reference/reference-index.txt: * examples/README: * examples/ogg_player_gtkmm/PlayerWindow.cc: * examples/ogg_player_gtkmm/PlayerWindow.h: * examples/ogg_player_gtkmm/main.cc: * gstreamer/README: * gstreamer/gstreamermm/wrap.cc: * gstreamer/src/bin.ccg: * gstreamer/src/bin.hg: * gstreamer/src/bus.ccg: * gstreamer/src/bus.hg: * gstreamer/src/caps.ccg: * gstreamer/src/caps.hg: * gstreamer/src/clock.hg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/enums.hg: * gstreamer/src/error.hg: * gstreamer/src/event.hg: * gstreamer/src/format.hg: * gstreamer/src/iterator.hg: * gstreamer/src/message.hg: * gstreamer/src/pad.ccg: * gstreamer/src/pad.hg: * gstreamer/src/padtemplate.ccg: * gstreamer/src/padtemplate.hg: * gstreamer/src/pipeline.ccg: * gstreamer/src/pipeline.hg: * gstreamer/src/query.hg: * gstreamer/src/structure.ccg: * gstreamer/src/structure.hg: * gstreamer/src/systemclock.hg: * gstreamer/src/xml.ccg: * gstreamer/src/xml.hg: * tools/generate_gst_wrap_init.pl.in: Replaced gstmm with gstreamermm in source and reference files; added brief text to README in main directory svn path=/gstreamermm/trunk/; revision=1307 2008-01-26 Murray Cumming Released first version svn path=/gstreamermm/trunk/; revision=1303 2008-01-26 Murray Cumming Rename the library and pkg-config file from -1.0 to -0.10, to match the C 2008-01-26 Murray Cumming * configure.ac: * docs/reference/Makefile.am: * examples/Makefile.am_fragment: * gstreamer/Makefile.am: * gstreamer/gstreamermm-0.10.pc.in: * gstreamer/gstreamermm-1.0.pc.in: * gstreamer/gstreamermm/Makefile.am: * gstreamer/gstreamermm/private/Makefile.am: * tests/Makefile.am: * tools/m4/Makefile.am: Rename the library and pkg-config file from -1.0 to -0.10, to match the C library. This will make life less awkward for us when gstreamer does a new parallel-installed version in future. svn path=/gstreamermm/trunk/; revision=1302 2008-01-26 Murray Cumming gstreamer/gstmm/ 2008-01-26 Murray Cumming * Makefile.am: * autogen.sh: * configure.ac: * docs/reference/Doxyfile.in: * examples/Makefile.am_fragment: * examples/ogg_player_gtkmm/PlayerWindow.cc: * examples/ogg_player_gtkmm/PlayerWindow.h: * examples/ogg_player_gtkmm/main.cc: * gstreamer/Makefile.am: * gstreamer/gstmm/ * gstreamer/src/Makefile.am: * tests/Makefile.am: Renamed directories and headers from gstmm to gstreammermm for more consistency. svn path=/gstreamermm/trunk/; revision=1301 2008-01-26 Murray Cumming More renaming svn path=/gstreamermm/trunk/; revision=1300 2008-01-26 Murray Cumming Rename gstmm.h to gstreamermm.h and gstmm-1.0.pc to gstreamermm-1.0.pc, to 2008-01-26 Murray Cumming * configure.ac: * examples/element_link/element_link.cc: * examples/init/init.cc: * examples/ogg_player/main.cc: * examples/ogg_player_gtkmm/Makefile.am: * examples/optiongroup/optiongroup.cc: * gst/Makefile.am: * gst/gstmm-1.0.pc.in: * gst/gstmm.h: * gst/gstreamermm-1.0.pc.in: * tests/test-create-bin.cc: * tests/test-create-element.cc: * tests/test-event-wrap.cc: * tests/test-link-elements.cc: * tests/test-message-wrap.cc: * tests/test-miniobject-wrap.cc: * tests/test-pipeline-add-element.cc: * tests/test-query-wrap.cc: Rename gstmm.h to gstreamermm.h and gstmm-1.0.pc to gstreamermm-1.0.pc, to be more consistent. svn path=/gstreamermm/trunk/; revision=1299 2008-01-22 José Alburquerque moved Gst::QueryPosition cast in print_stream_position() inside the if 2008-01-21 José Alburquerque * examples/ogg_player/main.cc: moved Gst::QueryPosition cast in print_stream_position() inside the if block (after sending Gst::Query) to avoid warnings svn path=/gstreamermm/trunk/; revision=1297 2008-01-21 José Alburquerque Updated author list deleted binary executable modified to use 2008-01-21 José Alburquerque * AUTHORS: Updated author list * examples/ogg_player/example: deleted binary executable * examples/ogg_player/main.cc: modified to use Gst::QueryPosition to get stream position svn path=/gstreamermm/trunk/; revision=1296 2008-01-10 José Alburquerque moved cast of Gst::Query in PlayerWindow::on_forward() method to occur 2008-01-10 José Alburquerque * examples/ogg_player_gtkmm/PlayerWindow.cc: moved cast of Gst::Query in PlayerWindow::on_forward() method to occur after mainPipeline->query() call to avoid immutable warnings on the Query's structure svn path=/gstreamermm/trunk/; revision=1280 2008-01-10 José Alburquerque modified to use Gst::Query in PlayerWindow::on_forward() callback 2008-01-10 José Alburquerque * examples/ogg_player_gtkmm/PlayerWindow.cc: modified to use Gst::Query in PlayerWindow::on_forward() callback * gst/src/query.ccg: * gst/src/query.hg: added a Gst::QueryConvert::parse(dest_format, dest_value) method svn path=/gstreamermm/trunk/; revision=1279 2008-01-09 José Alburquerque added necessary includes added missing gstmm includes 2008-01-08 José Alburquerque * examples/ogg_player_gtkmm/PlayerWindow.cc: * examples/ogg_player_gtkmm/main.cc: added necessary includes * gst/gstmm.h: added missing gstmm includes * gst/src/bin.ccg: * gst/src/bin.hg: * gst/src/bus.ccg: * gst/src/bus.hg: * gst/src/caps.ccg: * gst/src/caps.hg: * gst/src/clock.ccg: * gst/src/clock.hg: reduced includes in *.hg files * gst/src/element.ccg: * gst/src/element.hg: reduced includes in *.hg file; added query() method and fixed set_clock() to use Glib::RefPtr * gst/src/enums.hg: added StateChange enum; reduced includes * gst/src/error.ccg: * gst/src/error.hg: * gst/src/event.ccg: * gst/src/iterator.hg: * gst/src/message.hg: * gst/src/pad.ccg: * gst/src/pad.hg: * gst/src/padtemplate.ccg: * gst/src/padtemplate.hg: * gst/src/pipeline.ccg: * gst/src/pipeline.hg: * gst/src/systemclock.hg: * gst/src/xml.ccg: * gst/src/xml.hg: reduced includes in *.hg files * tests/test-message-wrap.cc: * tests/test-miniobject-wrap.cc: added necessary includes * tools/m4/convert_gst.m4: added Query, and StateChange conversions svn path=/gstreamermm/trunk/; revision=1278 2008-01-08 José Alburquerque added get_name() and get_quark() for QueryType wrapped QueryType 2008-01-08 José Alburquerque * gst/src/enums.ccg: added get_name() and get_quark() for QueryType * gst/src/enums.hg: wrapped QueryType * gst/src/event.ccg: * gst/src/event.hg: removed Gst::Event default constructor def * gst/src/format.ccg: renamed get_format_by_nick() to get_format(); commented out badly defined formats_contain_format() method; renamed get_format_details() to get_details() and reordered args * gst/src/format.hg: redefined struct FormatDefinition to use Glib::QueryQuark instead of GQuark * gst/src/message.ccg: * gst/src/message.hg: removed Gst::Message default constructor def * gst/src/query.ccg: * gst/src/query.hg: wrapped GstQuery * tests/Makefile.am: added test to wrap a query * tests/test-query-wrap.cc: new wrap query source file * tools/m4/convert_gst.m4: added QueryType/GstQueryType conversions svn path=/gstreamermm/trunk/; revision=1277 2008-01-06 José Alburquerque moved get_enum_name() methods to Gst namespace in enum.{hg, ccg} added 2008-01-06 José Alburquerque * gst/src/element.hg: moved get_enum_name() methods to Gst namespace in enum.{hg, ccg} * gst/src/enums.ccg: added get_name() methods for EventType, Format, * gst/src/enums.hg: MessageType, State and StateChangeReturn; added get_quark() methods for EventType, Format and MessageType * gst/src/event.hg: moved get_enum_name() and get_enum_quark() to Gst namespace in enum.{hg, ccg} * gst/src/format.ccg: * gst/src/format.hg: moved get_format_name() and get_format_quark() to enum.{hg, ccg} * gst/src/message.hg: moved get_enum_name() and get_enum_quark() to Gst namespace in files enum.{hg, ccg} * tests/test-event-wrap.cc: added type name output line * tests/test-message-wrap.cc: added type name output line svn path=/gstreamermm/trunk/; revision=1276 2008-01-04 José Alburquerque modified on_forward() to send seek event instead of using Element::seek() 2008-01-04 José Alburquerque * examples/ogg_player_gtkmm/PlayerWindow.cc: modified on_forward() to send seek event instead of using Element::seek() * gst/src/Makefile_list_of_hg.am_fragment: alphabetized list of *.hg files * gst/src/element.ccg: added send_event() (manually because it needs to reference the event before sending it to not loose it) * gst/src/element.hg: alphabetized forward declarations; renamed state_get_name() and state_change_return_get_name() both to get_enum_name(); added send_event() method declaration * gst/src/event.ccg: added is_downstream(), is_upstream() and is is_serialized() * gst/src/event.hg: added getter methods for event timestamp and source; added get_enum_name() and get_enum_query(); made all create() methods static * gst/src/gst_methods.defs: fixed gst_{event,message}_type_{get_name,to_quark} definitions * gst/src/message.hg: added getter methods for message timestamp and source; added get_enum_name() and get_enum_quark() * gst/src/structure.ccg: * gst/src/structure.hg: made foreach_callback() and map_callback() functions private (in *.ccg file only and not members of Structure) * tests/Makefile.am: added a wrap event test * tests/test-event-wrap.cc: added for testing wrapping of event * tools/m4/convert_gst.m4: removed unused GstObect*/GObject* conversions; added guint64/ClockTime, MessageType, EventType, GQuark and Glib::RefPtr conversions svn path=/gstreamermm/trunk/; revision=1275 2008-01-01 Murray Cumming Removed these generated files. 2008-01-01 Murray Cumming * scripts/config.guess: * scripts/config.sub: * scripts/depcomp: * scripts/install-sh: * scripts/ltmain.sh: * scripts/missing: Removed these generated files. svn path=/gstreamermm/trunk/; revision=1272 2008-01-01 Murray Cumming Removed this directory from svn. 2008-01-01 Murray Cumming * gst/src/.stamps/: Removed this directory from svn. svn path=/gstreamermm/trunk/; revision=1271 2008-01-01 Murray Cumming Use guint instead of unsigned int, for consistency with the rest of *mm. 2008-01-01 Murray Cumming * gst/src/bus.ccg: * gst/src/bus.hg: Use guint instead of unsigned int, for consistency with the rest of *mm. svn path=/gstreamermm/trunk/; revision=1267 2008-01-01 José Alburquerque modified to remove bus watch when PlayerWindow is destroyed (in 2007-12-31 José Alburquerque * examples/ogg_player_gtkmm/PlayerWindow.cc: modified to remove bus watch when PlayerWindow is destroyed (in destructor) * examples/ogg_player_gtkmm/PlayerWindow.h: added destructor (to remove bus watch) and watch_id variable definition (to store bus watch id) * gst/src/bin.ccg: changed std::string usages to * gst/src/bin.hg: Glib::ustring * gst/src/bus.ccg: added remove_watch() method and modified add_watch() to return a watch_id * gst/src/bus.hg: modified add_watch() declaration to return unsigned int and added a remove_watch() method * gst/src/caps.hg: used Glib::ustring instead of std::string * gst/src/element.ccg: removed handwritten sate_get_name() and state_change_return_get_name() methods to use _WRAP_METHOD .hg file instead * gst/src/element.hg: used _WRAP_METHOD for state_get_name() and state_change_return_get_name(); used Glib::ustring instead of std::string * gst/src/enums.hg: alphabetized enums; added EventType, TagMergeMode and TagFlag * gst/src/event.ccg: wrapped GstEvent * gst/src/event.hg: wrapped GstEvent * gst/src/format.ccg: used Glib::ustring instead of * gst/src/format.hg: std::string * gst/src/message.ccg: added MessageAsyncStart::parse() method definition * gst/src/message.hg: cleaned up spacing * gst/src/pad.ccg: used Glib::ustring instead of * gst/src/pad.hg: std::string * gst/src/padtemplate.ccg: used Glib::ustring instead of * gst/src/padtemplate.hg: std::string * gst/src/pipeline.ccg: used Glib::ustring instead of * gst/src/pipeline.hg: std::string * gst/src/structure.ccg: used Glib::ustring instead of * gst/src/structure.hg: std::string and added parameter names in .hg file * tools/m4/convert_gst.m4: added a GstEventType conversion macro svn path=/gstreamermm/trunk/; revision=1266 2008-01-01 Murray Cumming Remove these generated files from svn. 2008-01-01 Murray Cumming * gst/gstmm/gst_wrap_init.cc: * gst/gstmm/wrap_init.cc: Remove these generated files from svn. svn path=/gstreamermm/trunk/; revision=1265 2007-12-31 Murray Cumming Checked in from a checkout previously taken from http://svn.beep-media-player.org, now no longer working. svn path=/gstreamermm/trunk/; revision=1264