2009-05-25 José Alburquerque * examples/ogg_player/main.cc: * examples/ogg_player_gtkmm/main.cc: * gstreamer/src/iterator.hg: A few other fixes to enable compiling without exceptions. * build_shared/Makefile_gensrc.am_fragment: Removed unused variable def. 2009-05-25 José Alburquerque * configure.ac: * gstreamer/src/Makefile_list_of_hg.am_fragment: * build_shared/Makefile_gensrc.am_fragment: Modify the build of plug-ins to just use a stamp file when running the .{hg,ccg} files through gmmproc as is done with regular *.{hg,ccg} files. 2009-05-25 José Alburquerque * build_shared/Makefile_gensrc.am_fragment: Fix the build so that multi-job makes (option -j) are supported. 2009-05-24 José Alburquerque * examples/optiongroup/main.cc: * gstreamer/src/bin.ccg: * gstreamer/src/bin.hg: * gstreamer/src/element.ccg: * gstreamer/src/ghostpad.ccg: * tests/test-caps.cc: * tests/test-iterator.cc: * tests/test-plugin-signals.cc: Minor typos and formatting. Minor code adjustments (for consistency). 2009-05-20 Johannes Schmid * examples/element_link/element_link.cc: * examples/media_player_gtkmm/main.cc: * examples/media_player_gtkmm/player_window.cc: * examples/optiongroup/main.cc: Fixed examples to build with disabled exceptions and disabled properties * gstreamer/src/bin.ccg: * gstreamer/src/bin.hg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/ghostpad.ccg: * gstreamer/src/ghostpad.hg: Report runtime exceptions to stderr if exceptions are disabled * tests/test-caps.cc: * tests/test-init-check-noargs.cc: * tests/test-plugin-signals.cc: Fixed test-cases to build with disabled exceptions and properties * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Fixed build with disabled exceptions 2009-05-20 José Alburquerque * gstreamer/src/taglist.ccg: * gstreamer/src/taglist.hg: * gstreamer/src/tagsetter.ccg: * gstreamer/src/tagsetter.hg: Modified Gst::TagList and Gst::TagSetter to use an enum for the tags instead of a Glib::ustring as Daniel suggested in the following e-mail: http://mail.gnome.org/archives/gtkmm-list/2009-May/msg00164.html I hope it is something along the lines of what he meant. Of course, others can correct things if needed. * tests/test-taglist.cc: * tests/test-tagsetter.cc: Modified tests according to the changes above. 2009-05-20 José Alburquerque * examples/optiongroup/main.cc: Included the fix of coding style from 'function ()' to 'function()' which had not been done in the previous general coding style fix. 2009-05-20 José Alburquerque * examples/media_player_gtkmm/main.cc: * examples/media_player_gtkmm/player_window.cc: * examples/ogg_player/main.cc: * examples/optiongroup/main.cc: * gstreamer/gstreamermm/wrap.cc: * tests/test-caps-structures.cc: * tests/test-caps.cc: * tests/test-ghost-pad.cc: * tests/test-init-check-noargs.cc: * tests/test-init-check.cc: * tests/test-init-noargs.cc: * tests/test-init.cc: * tests/test-interface.cc: * tests/test-iterator.cc: * tests/test-pad.cc: * tests/test-pipeline-add-element.cc: * tests/test-plugin-gen.cc: * tests/test-plugin-signals.cc: * tests/test-property-caps.cc: * tests/test-structure.cc: * tests/test-taglist.cc: * tests/test-tagsetter.cc: * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: * tools/extra_defs_gen/get_plugin_defs.cc: Corrected coding style so that there are no spaces between control statements and the opening parenthesis. It had been pointed out by a few of Murray's previous commits, but I had not taken the time to correct them all. 2009-05-19 José Alburquerque * gstreamer/src/audioclock.ccg: * gstreamer/src/audioclock.hg: * gstreamer/src/ringbuffer.ccg: * gstreamer/src/ringbuffer.hg: * gstreamer/src/task.ccg: * gstreamer/src/task.hg: Repaired classes with a slot member to signal per instance if a slot has been set or not. 2009-05-19 José Alburquerque * gstreamer/gstreamermm/init.h: * gstreamer/src/audioclock.ccg: * gstreamer/src/bin.ccg: * gstreamer/src/element.ccg: * gstreamer/src/element.hg: * gstreamer/src/elementfactory.hg: * gstreamer/src/event.ccg: * gstreamer/src/format.ccg: * gstreamer/src/ghostpad.ccg: * gstreamer/src/interface.hg: * gstreamer/src/iterator.hg: * gstreamer/src/message.ccg: * gstreamer/src/mixer.ccg: * gstreamer/src/pad.ccg: * gstreamer/src/query.ccg: * gstreamer/src/query.hg: * gstreamer/src/ringbuffer.ccg: * gstreamer/src/structure.ccg: * gstreamer/src/taglist.ccg: * gstreamer/src/taglist.hg: * gstreamer/src/task.ccg: Don't use space before control statement brackets, for e.g. 'if(...)' and not 'if (...)'. 2009-05-18 José Alburquerque * gstreamer/src/audiosink.hg: * gstreamer/src/audiosrc.hg: * gstreamer/src/basesink.hg: * gstreamer/src/basesrc.hg: * gstreamer/src/basetransform.hg: Commented out wrapped boolean vfuncs because some cause incorrect functionality when their callbacks return false with the last 'return RType()' line. Aparently the C API expects a return of true to mark completion in these cases. Added TODO's to make sure they can be implemented correctly later. 2009-05-18 José Alburquerque * gstreamer/src/gst_methods.defs: * gstreamer/src/gst_methods.defs.patch: Fixed gst_method.defs patch to include gst_message_get_seqnum() which is not automatically defined for some reason. Regenerated methods defs. * gstreamer/src/gst_docs.xml: Regenerated for for next release. * gstreamer/src/element.hg: Add some _IGNOREs. * .gitignore: Added *.swp pattern (for vim), ringbuffer.{h,cc} and taglist.h.orig. 2009-05-18 José Alburquerque * build_shared/Makefile_gensrc.am_fragment: * configure.ac: * tools/generate_wrap_init.pl.in: Removed local copy of generate_wrap_init.pl. * tools/generate_gst_wrap_init.pl.in: Removed execute permissions. 2009-05-17 José Alburquerque * gstreamer/src/baseaudiosink.hg: * gstreamer/src/baseaudiosrc.hg: * gstreamer/src/basesink.hg: * gstreamer/src/basesrc.hg: * gstreamer/src/basetransform.hg: Used _MEMBER_GET_GOBJECT when working with GObject members. I don't know how I didn't notice Murray's entry on 2008-02-05 explaining this. 2009-05-15 José Alburquerque * examples/media_player_gtkmm/main.cc: * examples/ogg_player_gtkmm/main.cc: * gstreamer/gstreamermm.h: Include the plug-in header files for the user (if there are too many includes, the paradigm can be changed to individual includes again). * tools/extra_defs_gen/generate_plugin_gmmproc_file.cc: Fix the plug-in docs so that an #include is not required and the dangers of using a non-existing plug-in are understood. * gstreamer/src/gst_signals.defs: Regenerated to remove warnings from build. * gstreamer/src/gst_enums.defs: * gstreamer/src/gst_enums.defs.patch: Regenerated and fixed the patch. 2009-05-14 José Alburquerque * configure.ac: Remove the need to check if a plug-in exists because they can all be built whether they exist or not on the build system. * build_shared/Makefile_build.am_fragment: * build_shared/Makefile_build_gensrc.am_fragment: * gstreamer/gstreamermm/Makefile.am: * gstreamer/gstreamermm/private/Makefile.am: * gstreamer/src/Makefile_list_of_hg.am_fragment: Modify the build system to not differentiate between all the wrapped plug-ins and the existing plug-ins on the build system when building and installing. 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 * configure.ac: * gstreamer/src/Makefile_list_of_hg.am_fragment: Include all plug-ins in build even if they don't exist on the build system so that there are no errors generated by examples that may use them. 2009-05-12 José Alburquerque * gstreamer/src/mixer.ccg: * gstreamer/src/mixer.hg: Added Gst::Mixer message classes that can be used when parsing messages received on the bus. Wrapped get_message_type(). * gstreamer/src/message.ccg: Modified Gst::wrap() (for GstMessage) so that it wraps GstMessages to mixer message classes if appropriate. * tools/m4/convert_gst.m4: Added a conversion from GstMixerMessageType. 2009-05-12 José Alburquerque * gstreamer/src/basetransform.hg: Marked TODO's completed. 2009-05-12 José Alburquerque * gstreamer/src/ringbuffer.ccg: Included the caps field when copying to/from GstRingBufferSpec. * gstreamer/src/ringbuffer.hg: Added _IGNORE's. 2009-05-12 José Alburquerque * 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/ringbuffer.ccg: * gstreamer/src/ringbuffer.hg: const corrections of Gst::RingBufferSpec usages. Also corrected logical use so that copying from a GstRingBufferSpec is done only after API that in fact modifies the GstRingBufferSpec. 2009-05-11 José Alburquerque * gstreamer/src/audiosink.ccg: * gstreamer/src/audiosink.hg: * gstreamer/src/audiosrc.ccg: * gstreamer/src/audiosrc.hg: * gstreamer/src/gst_vfuncs.defs: Wrapped Gst::AudioSink and Gst::AudioSrc vfuncs. * gstreamer/src/index.hg: Modified TODO. 2009-05-10 José Alburquerque * gstreamer/src/baseaudiosrc.ccg: * gstreamer/src/baseaudiosrc.hg: * gstreamer/src/gst_vfuncs.defs: Wrapped Gst::BaseAudioSrc vfuncs. * gstreamer/src/bus.hg: Typo. 2009-05-10 José Alburquerque * gstreamer/src/element.ccg: * gstreamer/src/element.hg: Completed some TODO's. Corrected param names in methods to match the generated Doxygen docs. Renamed link_filtered() to simply link() (overloaded name). * tests/test-caps.cc: Corrected use of Gst::Element::link_filtered() which is now just Gst::Element::link(). 2009-05-10 José Alburquerque * gstreamer/src/baseaudiosink.hg: * gstreamer/src/gst_vfuncs.defs: * tools/m4/convert_gst.m4: Wrapped Gst::BaseAudioSink vfuncs. 2009-05-10 José Alburquerque * gstreamer/src/childproxy.ccg: * gstreamer/src/childproxy.hg: Wrapped lookup(). * gstreamer/src/object.hg: Added TODO about GParamSpec. * gstreamer/src/baseaudiosink.ccg: * gstreamer/src/baseaudiosink.hg: Wrapped create_ring_buffer(). * tools/m4/convert_gst.m4: Added GstRingBuffer conversion. 2009-05-05 José Alburquerque * gstreamer/src/ringbuffer.ccg: * gstreamer/src/ringbuffer.hg: Removed accidentally included Gst::RingBufferSpec::gobj_copy() method. Added a Gst::RingBufferSpec castitem constructor. Added Gst::RingBufferSpec::copy_fields_{to,from} methods and made them public; Removed the Gst::RingBufferSpec::set_fields() method (because it is implemented in the copy_fields_from method. * gstreamer/src/audiofilter.ccg: * gstreamer/src/audiofilter.hg: * gstreamer/src/gst_vfuncs.defs: Wrapped Gst::AudioFilter vfuncs. * gstreamer/src/tagsetter.ccg: Marked TODO's completed because the gst_tag_setter_add_{tags,tag_values} functions have been corrected. 2009-05-05 José Alburquerque * gstreamer/src/object.hg: Wrapped deep_notify signal. * gstreamer/src/gst_signals.defs.patch: Modified so that when patch is applied to signal defs file, GstObject's deep notify signal has correct parameter (the GParamSpec one in particular). * gstreamer/src/gst_signals.defs: Regenerated. * gstreamer/src/mixer.hg: Added TODO. * tools/m4/convert_gst.m4: Removed un-needed () around $3 occurrences in conversions. 2009-05-05 José Alburquerque * gstreamer/gstreamermm.h: * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/ringbuffer.ccg: * gstreamer/src/ringbuffer.hg: * tools/m4/convert_gst.m4: Added Gst::RingBuffer base class. * gstreamer/src/element.hg: * gstreamer/src/plugin.hg: Typos. 2009-05-01 José Alburquerque * README: Also changed svn links to git links for future releases. 2009-05-01 Murray Cumming * README: 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. * gstreamer/src/basetransform.ccg: * gstreamer/src/basetransform.hg: * gstreamer/src/gst_vfuncs.defs: * tools/m4/convert_gst.m4: Wrapped Gst::BaseTransform vfuncs. 2009-04-30 José Alburquerque Wrapped Gst::BaseSink base class vfuncs. * gstreamer/src/basesink.ccg: * gstreamer/src/basesink.hg: Wrapped Gst::BaseSink base class vfuncs. 2009-04-30 José Alburquerque Wrapped Gst::VideoOrientation interface vfuncs. * gstreamer/src/videoorientation.ccg: * gstreamer/src/videoorientation.hg: * gstreamer/src/gst_vfuncs.defs: Wrapped vfuncs. Handwrote methods with bool& parameters. * tools/m4/convert_gst.m4: Removed erroneous bool& to gboolean* conversion. * gstreamer/src/basesink.ccg: * gstreamer/src/basesink.hg: * gstreamer/src/basesrc.ccg: * gstreamer/src/basesrc.hg: * gstreamer/src/segment.ccg: * gstreamer/src/segment.hg: Handwrote methods with boo& parameters. 2009-04-30 José Alburquerque Wrapped Gst::Tuner interface vfuncs. * gstreamer/src/tuner.ccg: * gstreamer/src/tuner.hg: * tools/m4/convert_gst.m4: * gstreamer/src/gst_vfuncs.defs: Wrapped Gst::Tuner interface vfuncs. * gstreamer/src/audiosrc.ccg: * gstreamer/src/cddabasesrc.ccg: * gstreamer/src/filter.ccg: * gstreamer/src/segment.ccg: Removed leading spaces before #include directives. 2009-04-29 José Alburquerque Re-ordered preset.hg vfunc declarations. * gstreamer/src/preset.hg: Re-ordered vfunc declarations according to the GstPreset Interface C structure declarations. 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 the plug-in generation dependencies so that the .hg and .ccg generation rules do not depend on the regular m4 files (like convert.m4) because only the rule that runs generated .hg and .ccg files through gmmproc should have this dependency. Also fixed the dependencies of the rule that runs plug-in .hg and .ccg files through gmmproc so that it does not depend on the plug-in m4 files (like ctocpp.m4) because the rules that generate plug-in .hg and .ccg already have this dependency. 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. 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. 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. 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. 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. 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(). 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). 2009-04-09 José Alburquerque * gstreamer/gstreamermm/miniobject.h: Added TODO. 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. 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). 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(). 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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 (Bug #574844). 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. 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. 2009-03-11 José Alburquerque * gstreamer/src/structure.ccg: Accidentally had used 0 instead of NULL which generates a missing sentinel warning. 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. 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. 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(). 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++. 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&. 2009-03-09 David King * build_shared/Makefile_build.am_fragment: * configure.ac: * scripts/dk-warn.m4: Add compiler warning flags. 2009-03-05 José Alburquerque * build_shared/Makefile_build.am_fragment: * configure.ac: Removed some remaining references to gstreamerbase branch. 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(). 2009-03-04 Murray Cumming * gstreamer/src/index.hg: Added an explanation next to the TODO. 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. 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. 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. 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. 2009-02-27 José Alburquerque * gstreamer/src/Makefile_list_of_hg.am_fragment: * gstreamer/src/typefind.ccg: * gstreamer/src/typefind.hg: Wrapped GstTypeFind. * NEWS: Added entry for 0.10.1. 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).