2007-10-03 Kouhei Sutou * src/rbgst-mini-object.c, src/rbgst-message.c, src/rbgst-bus.c: added. * src/rbgst.[ch]: registered above classes. * sample/ogg-audio-player.rb: added GStreamer's Hello World application. 2007-10-01 Kouhei Sutou * src/rbgst.h: added convert macro for Gst::Bus. * src/rbgstmediainfo.c: removed. * src/rbgstpipeline.c: added Gst::Pipeline#bus. * sample/video-player.rb: just worked. 2007-09-29 Kouhei Sutou * extconf.rb, README, src/: made build-able with gstreamer-0.10. only just build-able. * sample/gst-inspect.rb: partially worked. 2007-07-08 Masahiro Sakai * src/*.c: use rb_block_proc() directly instead of using G_BLOCK_PROC(). 2006-06-17 Masao Mutoh * sample/video-player.rb: Remove Gtk.init. 2005-10-07 Masao Mutoh * src/rbgstelement.c: g_type_name() returns const gchar*, not gchar*. Reported by Sven Herzberg. * src/misc.c: ditto. 2005-10-06 Masao Mutoh * src/rbgst.c: Added Gst::BUILD_VERSION. * src/rbgstelement.c: Gst::Element#get_property returns correct name instead of Class class. 2005-08-04 Laurent Sansonetti * src/misc.c, src/rbgstelementfactory.c, src/rbgstindexfactory.c, src/rbgstschedulerfactory.c, src/rbgsttypefindfactory.c: Renamed rb_str_format () to rb_str_new_with_format () as Ruby 1.9 introduces a new function with the same name. 2005-07-24 Masao Mutoh * src/rbgstxml.c: Fix compiling warning. 2005-06-29 Laurent Sansonetti * src/rbgst.h, src/rbgststructure.c, src/rbgsttagsetter.c: Properly convert the Hash argument given to GstTagSetter#merge to a GstTagList by naming the GstStructure accordingly. Problem reported by Pablo Lorenzzoni. 2005-06-20 Laurent Sansonetti * src/rbgstelement.c: Added a custom signal handler for the 'found_tag' signal that converts the GstTagList. Problem reported by Erik Karlsson. 2005-04-30 Laurent Sansonetti * sample/video-player.rb: Added. 2005-04-25 Laurent Sansonetti * src/rbgstxoverlay.c: Added. * extconf.rb, src/rbgst.h: Follow latest change. 2005-03-21 Laurent Sansonetti Problems reported by Bas Kloet. * src/rbgstcaps.c: Fixed #initialize (GstCaps does not inherit from GstObject anymore) and API reference still referencing the deprecated Gst::Structure. * src/rbgstpad.c (#each_caps): Removed, (#link_filtered): Added. * src/rbgststructure.c: Fixed hash-to-gst-structure conversion. * src/rbgstelement.c (#link_filtered): Added. 2005-03-04 Laurent Sansonetti * src/rbgstregistrypool.c, src/rbgstschedulerfactory.c, src/rbgsttag.c, src/rbgsttagsetter.c, src/rbgsttypefindfactory.c: Updated API reference. 2005-02-23 Laurent Sansonetti * src/rbgstregistrypool.c: Added. * src/rbgsttagsetter.c: Added. * src/rbgst.c: Initializes Gst::RegistryPool and Gst::TagSetter. * src/rbgst.h: Added helper macro for Gst::TagSetter and Gst::Plugin. * src/rbgstscheduler.c (Gst::Scheduler::Flags): Added. * src/rbgstschedulerfactory.c (::default_name, ::set_default_name): Added. * src/rbgstthread.c (::current): Added. * src/rbgsttypefindfactory.c (#extensions): Implemented. * src/rbgstxml.c (#parse_memory): Added. 2005-02-21 Laurent Sansonetti * src/rbgst.c: Initialize Gst::Tag, do not initialize Gst::Structure. * src/rbgst.h: Removed helper macros for Gst::Structure. * src/rbgsttag.c: Added. * src/rbgstcaps.c: Convert Gst::Structure to Hash. * src/rbgstmediainfo.c: - #initialize throws Gst::MediaInfoError upon problems ; - Added #set_source ; - #metadata and #streaminfo now return a Hash (instead of a Gst::Structure). * src/rbgstplugin.c: - Added #major_version, #minor_version, #version ; - Added missing documentation. * src/rbgststructure.c: - Deprecated Gst::Structure ; - Added two functions to convert Ruby Hash to Gst::Structure and vice-versa. * sample/media-type.rb, sample/gst-inspect.rb: Follow these changes. 2005-02-09 Masao Mutoh * src/rbgstmediainfo.c: Added Gst::MediaInfoError. Raise an Gst::MediaInfoError when an error raised in Gst::MediaInfo#read. Reported by Max Nickel. * src/rbgstcaps.c: Added G_DEF_SETTERS(). 2005-02-09 Max Nickel * src/rbgstcaps.c: Fix a wrong argument of Gst::Caps#get_structure. 2005-02-09 Jack, Paul * src/rbgsttypefindfactory.c: Added. * sample/gst-inspect.rb: Replaced print_caps function with caps.to_s * src/rbgst.c: Added call to Init_gst_typefindfactory. * src/rbgst.h: Added RGST_TYPE_FIND_FACTORY macro and RGST_TYPE_FIND_FACTORY_NEW macro * src/rbgstpad.c: Replaced nonexistent RBGST_CAPS macro with RGST_CAPS_NEW macro. * src/rbgstpadtemplate.c: Replaced nonexistent RBGST_CAPS macro with RGST_CAPS_NEW macro. * src/rbgstplugin.c: Added filename, description, package, license, origin and name accessor methods. * src/rbgstpluginfeature.c: Added ability to instantiate Gst::TypeFindFactory. * src/rbgsttypefindfactory.c: New file. 2005-01-30 Masao Mutoh * extconf.rb: Follow mkmf-gnome2.rb changes. 2004-08-27 Masao Mutoh * src/rbgstparse.c: Improved error handling. 2004-08-05 Laurent Sansonetti * src/rbgst.c: Fixed bad comments (for the constants). * src/rbgstcaps.c: Added missing Returns statements in the comments. * src/rbgstscheduler.c: Fixed a bug when creating the GEnum, reported by Pascal Terjan. 2004-08-03 Laurent Sansonetti * src/rbgstelement.c (#seek, #locked_state?, #set_locked_state, #sync_state_with_parent, #managing_bin, #no_more_pads): Added. 2004-08-02 Laurent Sansonetti * src/rbgstelement.c (#get_static_pad, #get_request_pad, #release_request_pad, #get_compatible_pad, #get_pad_template, #pad_templates, #each_pad_template, #get_compatible_pad_template): Added. 2004-08-01 Laurent Sansonetti * src/rbgst.c: Initializes Gst::Scheduler. * src/rbgst.h: Added helper macros for Gst::Scheduler. * src/rbgstelement.c (#scheduler, #set_scheduler): Added. * src/rbgstscheduler.c: Added. 2004-07-31 Laurent Sansonetti * src/rbgst.c: Initializes Gst::Index and Gst::IndexEntry. * src/rbgst.h: Added helper macros for Gst::Index and Gst::IndexEntry. * src/rbgstelement.c (#index, #set_index): Added. * src/rbgstindex.c, src/rbgstindexentry.c: Added. 2004-07-28 Laurent Sansonetti * src/rbgst.c: Initializes Gst::Structure. * src/rbgst.h: Added helper macros for Gst::Structure and fixed the declaration of the Gst::ClockEntry's GType function. * src/rbgstcaps.c (#initialize, #set_any, #append, #append_structure, #size, #get_structure, #set_simple, #any?, #empty?, #simple?, #equal?, #equal_fixed?, #always_compatible?, #subset?, #intersect, #union, #normalize, #simplify, #simplify!, #replace!, #to_string, #subtract): Added. * src/rbgstclock.c (#event_time, #get_event_time_delay, #next_id): Added. * src/rbgstclockentry.c: Indentation clean. * src/rbgstelement.c (#enable_threadsafe_properties, #disable_threadsafe_properties, #set_pending_properties, #set_clock, #time, #set_time, #set_time_delay, #adjust_time): Added. * src/rbgststructure.c: Added. 2004-07-25 Laurent Sansonetti * src/rbgst.c (Gst.set_debug): Removed. * src/rbgst.h: Removed obsolete macros. * src/rbgstbin.c (#get_by_interface, #get_all_by_interface, #each_by_interface): Added. Existing code has been refactored. 2004-07-23 Laurent Sansonetti * README: We require 0.8.x now. * extconf.rb: Check for gstreamer-0.8 and gst-mediainfo-0.8 instead of 0.6. * src/rbgst.c: Do not initialize autoplug, autoplugfactory, type, typefactory and typefind anymore (since they have been removed). * src/rbgstautoplug.c, src/rbgstautoplugfactory.c, src/rbgsttype.c, src/rbgsttypefactory.c, src/rbgsttypefind.c: Removed. * src/rbgstcaps.c, src/rbgstelementfactory.c, src/rbgstmediainfo.c, src/rbgstpad.c, src/rbgstpadtemplate.c, src/rbgstplugin.c, src/rbgstpluginfeature.c: Compiles against 0.8.x. 2004-03-23 Laurent Sansonetti * src/rbgstelement.c (#get_property): Fixed a memory leak in GValue conversion (discovered by Masao Mutoh). 2004-03-07 Laurent Sansonetti * src/*.[ch]: Updated copyright. 2004-03-06 Laurent Sansonetti * src/rbgstelement.c (#query): Fixed bad GEnum conversion. 2004-03-06 Masao Mutoh * README: Update Copyright. 2004-03-02 Laurent Sansonetti * src/rbgst.c: Defines Gst::[MAJOR|MINOR|MACRO]_VERSION. * src/rbgstpad.c (#caps, #each_caps): Added. * src/rbgstpadtemplate.c (#caps): Uses the gst_pad_template_get_caps C function instead of directly accessing the structure fields. * src/rbgsttype.c (find_by_ext): Added. 2004-03-02 Laurent Sansonetti * extconf.rb: Removed assert.h dependency. * src/*.[ch]: - Refactored some parts of the code. - Updated coding style; - Updated comments for the API reference; - Uses GLib assertions (g_assert); - Uses G_DEF_CONSTANTS to define GLib enumerations/flags. * sample/gst-inspect.rb, sample/media-type2.rb: Follows API changes. 2004-02-17 Laurent Sansonetti * src/rbgstbin.c: Added GstBin#[] as a alias for GstBin#get_by_name. 2003-11-14 Laurent Sansonetti * Changed my e-mail address (laurent@datarescue.be -> lrz@gnome.org). 2003-09-05 Masahiro Sakai * extconf.rb: win32 support. 2003-08-29 Laurent Sansonetti * src/rbgstclockentry.c: New file. * src/rbgst.c: Initializes Gst::ClockEntry. * src/rbgst.h: Added macros for Gst::ClockEntry + fixed a critical bug in ULL conversion. * src/rbgstclock.c: Added a lot of methods + some constants. Class is now finished. * src/rbgsteventsize.c: Fixed typos in a comment (for API reference). * tests/misc.rb, tests/tc_clock.rb: Added additional tests for Gst::Clock. 2003-08-28 Masao Mutoh * extconf.rb: Exit with 1 when the package is not found. 2003-08-25 Laurent Sansonetti * src/rbgst.h, src/rbgstplugin.c, src/rbgstpluginfeature.c: Introduced is_valid_pluginfeature_type() and instanciate_pluginfeature(). * src/rbgstregistry.c: Added a lot of methods + some constants. Class is now finished. * tests/tc_registry.rb: New file. * tests/tc_plugin.rb: Moved 'test_registry' in tests/tc_registry.rb. * src/rbgstmediainfo.c: Implemented Gst::MediaInfoTrack#con_streams. 2003-08-24 Laurent Sansonetti * src/rbgstbin.c: Added methods get_by_name_recurse_up, auto_clock, use_clock and on_[pre|post]_iterate. * tests/rc_element.rb: Added tests for Gst::Bin#get_by_name* and on_[pre|post]_iterate. 2003-08-23 Laurent Sansonetti * src/rbgst*.c: Changed extdoc.rb enumeration syntax to something more RDish (-a, -b, -c to *a, *b, *c). 2003-08-19 Laurent Sansonetti * src/rbgst*.c: Fixed comments + removed obsolete code. 2003-08-15 Laurent Sansonetti * sample/xml-ogg-player.rb: New file. * sample/media-type.rb: Fixed a bug when printing track length (needed to divide with Gst::Second to have the correct number of seconds). * src/rbgstmediainfo.c: Fixed integer conversion bug (now uses ULL). 2003-08-14 Laurent Sansonetti * src/rbgstxml.c, tests/tc_xml.rb: New files. * src/rbgst.c: Initializes Gst::XML. * src/rbgst.h: Added macros for Gst::XML. 2003-08-10 Laurent Sansonetti * src/rbgstautoplug.c, src/rbgstelement.c, src/rbgsteventseek.c, src/rbgsteventsegmentseek.c, src/rbgstformat.c, src/rbgstpad.c, src/rbgstparse.c, src/rbgstquerytype.c: Fixed typos in C comments. 2003-08-09 Hiroshi Igarashi * src/rbgst.c: Fixed a compilation bug with old 2.x GCC. 2003-08-09 Laurent Sansonetti * sample/media-type2.rb: New file (thanks to Nikolai Weibull). 2003-08-08 Laurent Sansonetti * sample/gst-inspect.rb: Added signals and event masks support. * src/rbgsteventmask.c: New file. * src/rbgst.c: Initializes Gst::EventMask. * src/rbgst.h: Added macros for Gst::EventMask. * src/rbgstpad.c: Implemented methods event_masks and each_event_mask. * src/rbgstquerytype.c: Renamed method id to type_id. 2003-08-04 Laurent Sansonetti * src/rbgst.c: Added constants Gst::SECOND, Gst::MSECOND, Gst::USECOND and Gst::NSECOND. * src/rbgstcaps.c: Added methods mime, set_mime and mime=. * src/rbgstformat.c: Renamed method id to type_id. * src/rbgstpad.c, src/rbgstelement.c: Methods query sets the format parameter on success. 2003-08-03 Laurent Sansonetti * src/rbgsteventseek.c, src/rbgsteventsegmentseek.c, src/rbgsteventsize.c: New files. * src/rbgst.c: Initializes Gst::EventSeek, Gst::EventSegmentSeek and Gst::EventSize. * src/rbgst.h: Fixed bug in macros for Gst::Caps and Gst::Event + introduced NUM2ULL. * src/rbgstcaps.c: Removed obsolete _get/_wrap functions. * src/rbgstelement.c: Uses ULL2NUM in query. * src/rbgstevent.c: Added methods src and timestamp. * src/rbgstpad.c: Uses ULL2NUM in query + added method send_event. 2003-08-01 Laurent Sansonetti * src/rbgstparse.c, tests/tc_parse.rb: New files. * src/rbgst.c: Initializes the Gst::Parse module. * src/rbgstmediainfo.c: Removed a debug warning. 2003-07-30 Laurent Sansonetti * src/rbgstpad.c: Added method query. 2003-07-29 Laurent Sansonetti * src/rbgstcaps.c, src/rbgstclock.c, src/rbgstformat.c, src/rbgstplugin.c, src/rbgstquerytype.c src/rbgsttype.c: Fixed '==' operators (they were broken when used against nil values). * src/rbgstmediainfo.c, sample/media-type.rb: New files. * src/rbgst.c: Initializes the media-info extension if needed. * extconf.rb: Checks if the gstmedia-info library is installed, and sets the HAVE_MEDIA_INFO macro accordingly. 2003-07-28 Laurent Sansonetti * src/rbgstautoplug.c: Added method signal_new_object. * src/rbgstpluginfeature.c: Added methods ensure_loaded and unload_thyself. 2003-07-25 Laurent Sansonetti * AUTHORS: removed * .cvsignore, AUTHORS, COPYING.LIB, README, extconf.rb, sample/audio-player.rb, sample/gst-inspect.rb, sample/mp3-player.rb, src/.cvsignore, src/misc.c, src/rbgst.c, src/rbgst.h, src/rbgstautoplug.c, src/rbgstautoplugfactory.c, src/rbgstbin.c, src/rbgstcaps.c, src/rbgstclock.c, src/rbgstcpu.c, src/rbgstelement.c, src/rbgstelementfactory.c, src/rbgstevent.c, src/rbgstformat.c, src/rbgstindexfactory.c, src/rbgstobject.c, src/rbgstpad.c, src/rbgstpadtemplate.c, src/rbgstpipeline.c, src/rbgstplugin.c, src/rbgstpluginfeature.c, src/rbgstquerytype.c, src/rbgstregistry.c, src/rbgstschedulerfactory.c, src/rbgstsystemclock.c, src/rbgstthread.c, src/rbgsttype.c, src/rbgsttypefactory.c, src/rbgsttypefind.c, src/lib/gst.rb, tests/misc.rb, tests/tc_all.rb, tests/tc_clock.rb, tests/tc_cpu.rb, tests/tc_element.rb, tests/tc_modfunc.rb, tests/tc_pad.rb, tests/tc_plugin.rb, tests/tc_type.rb: initial SF import 2003-07-07 Laurent Sansonetti * 0.1.1 released * improved the existing API (in the Ruby way) * added some classes (AutoplugFactory, Caps, Clock, Format, IndexFactory, Pad, PadTemplate, Plugin, PluginFeature, QueryType, Registry, SchedulerFactory, Type, TypeFactory) * gst-inspect example * improved documentation system: * C tags are now human readable * added inclusion and inheritance maps * enhanced support of Ruby operators 2003-06-01 Laurent Sansonetti * 0.1.0 released * basic API * helloworld (mp3-player) example * basic documentation system