docs/manual/: Don't leak bus reference in sample code.
[platform/upstream/gstreamer.git] / ChangeLog
1 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
2
3         * docs/manual/advanced-autoplugging.xml:
4         * docs/manual/basics-helloworld.xml:
5         * docs/manual/highlevel-components.xml:
6           Don't leak bus reference in sample code.
7
8 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
9
10         * autogen.sh:
11           Add default for new --enable-plugin-docs switch.
12
13         * configure.ac:
14           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
15           Fixes #344039.
16
17         * docs/Makefile.am:
18           Use new ENABLE_PLUGIN_DOCS conditional.
19
20 2006-06-14  Wim Taymans  <wim@fluendo.com>
21
22         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
23         Make it clear with a FIXME and a real define what the #if 0
24         previously disabled.
25
26 2006-06-14  Wim Taymans  <wim@fluendo.com>
27
28         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
29         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
30         * libs/gst/base/gstbasetransform.c:
31         (gst_base_transform_sink_eventfunc):
32         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
33         Don't randomly and silently reset a segment when the format 
34         changes as this is a bug somewhere upstream. Fixes #330379.
35
36 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
37
38         Patch by: Wouter Paesen  <wouter at kangaroot net>
39
40         * libs/gst/controller/gstcontroller.c:
41         (gst_controlled_property_new):
42           Fix controlling of float properties (#344849).
43
44         * tests/check/libs/controller.c:
45         (gst_test_mono_source_get_property),
46         (gst_test_mono_source_set_property),
47         (gst_test_mono_source_class_init), (GST_START_TEST):
48           While we're at it, add some float stuff to unit test.
49
50 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
51
52         * docs/README:
53         * docs/images/gdp-header.svg:
54           add a gdp image
55         * docs/libs/Makefile.am:
56         * docs/libs/gdp-header.png:
57         * libs/gst/dataprotocol/dataprotocol.c:
58           add it to the API docs
59         * docs/manual/intro-motivation.xml:
60           fix typo
61
62 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
63
64         * gst/gst.c: (scan_and_update_registry), (init_post):
65           If the fork()'ed child process can't write the updated registry cache
66           file to disk for some reason, make it exit with a failure exit code,
67           so that the parent can then re-scan the plugins itself and update the
68           registry structures in memory and work with that (rather than failing
69           when creating elements because seemingly no plugins are available).
70           Refactor registry scanning code into separate function for this and
71           also separate fork() and non-fork() code paths. Fixes #344748.
72
73 2006-06-13  Wim Taymans  <wim@fluendo.com>
74
75         * docs/manual/advanced-dataaccess.xml:
76         Fix wrong PluginDesc. Fixes #344755.
77
78 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
79
80         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
81           Fix silly bug that prevented us from creating
82           ~/.gstreamer-0.10 and writing the registry in one
83           go (the first call to g_mkstemp() would overwrite the
84           placeholder in the template string, so the second call
85           to g_mkstemp() after creating the missing directory
86           would then error out with 'invalid argument').
87
88 2006-06-13  Edward Hervey  <edward@fluendo.com>
89
90         * gst/gst.c: (init_post):
91         Free string.
92
93 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
94
95         * gst/glib-compat-private.h:
96         * gst/glib-compat.c:
97         * gst/glib-compat.h:
98         * gst/gstvalue.c: (gst_value_serialize_flags):
99           remove GLib 2.6 compatibility code
100
101 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
102
103         * gst/parse/Makefile.am:
104           Fix build with 'make -j N' even more (#340016).
105
106 2006-06-12  Wim Taymans  <wim@fluendo.com>
107
108         * docs/gst/gstreamer-sections.txt:
109         Fix docs.
110
111 2006-06-12  Wim Taymans  <wim@fluendo.com>
112
113         * gst/gstsegment.c: (gst_segment_set_duration),
114         (gst_segment_set_last_stop), (gst_segment_set_seek),
115         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
116         (gst_segment_to_running_time), (gst_segment_clip):
117         Use G_UNLIKELY to help the compiler a bit.
118
119 2006-06-12  Wim Taymans  <wim@fluendo.com>
120
121         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
122
123         * gst/gstevent.c: (gst_event_get_type):
124         * gst/gstmessage.c:
125         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
126         (gst_pad_push):
127         constify quark registration strings. Fixes #344115
128         Avoid unneeded type checking is _pad_push() by internally
129         calling gst_pad_chain_unchecked().
130
131 2006-06-12  Wim Taymans  <wim@fluendo.com>
132
133         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
134         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
135         (gst_subbuffer_finalize), (gst_buffer_create_sub),
136         (gst_buffer_is_span_fast), (gst_buffer_span):
137         Init _type for consistency.
138         Use _FLAGS macro to avoid type check.
139         Avoid unneeded type checks in subbufer code.
140
141 2006-06-12  Wim Taymans  <wim@fluendo.com>
142
143         * gst/gst.c: (gst_debug_help):
144         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
145         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
146         (gst_plugin_feature_list_free):
147         * gst/gstregistry.c: (gst_registry_add_plugin),
148         (gst_registry_add_feature), (gst_registry_plugin_filter),
149         (gst_registry_feature_filter), (gst_registry_find_plugin),
150         (gst_registry_find_feature), (gst_registry_get_plugin_list),
151         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
152         * gst/gstregistryxml.c: (load_feature),
153         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
154         * gst/gstminiobject.c: (gst_mini_object_unref),
155         (gst_mini_object_replace), (gst_value_mini_object_free),
156         (gst_value_mini_object_copy):
157         Use _CAST macros to avoid unneeded type checking.
158         Added some more G_UNLIKELY.
159
160 2006-06-12  Wim Taymans  <wim@fluendo.com>
161
162         * gst/gstbuffer.h:
163         Avoid unneeded type checking.
164         API: GST_BUFFER_IS_DISCONT
165
166         * gst/gstminiobject.h:
167         Avoid type check in flag accessor.
168
169         * gst/gstelementfactory.h:
170         * gst/gstplugin.h:
171         * gst/gstpluginfeature.h:
172         Add _CAST macros.
173         API: GST_ELEMENT_FACTORY_CAST
174         API: GST_PLUGIN_CAST
175         API: GST_PLUGIN_FEATURE_CAST
176
177 2006-06-12  Wim Taymans  <wim@fluendo.com>
178
179         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
180         (gst_object_unref):
181         Add G_UNLIKELY in type registration.
182         Avoid type check in _ref/_unref since that is also
183         done in glib.
184
185 2006-06-12  Wim Taymans  <wim@fluendo.com>
186
187         * gst/gsterror.c: (gst_g_error_get_type):
188         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
189         (gst_static_pad_template_get_type):
190         * gst/gsttaglist.c: (gst_tag_list_get_type):
191         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
192         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
193         * gst/gsturi.c: (gst_uri_handler_get_type):
194         * gst/gstvalue.c: (gst_date_get_type):
195         * gst/gstxml.c: (gst_xml_get_type):
196         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
197         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
198         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
199         Add G_UNLIKELY in type registration.
200
201 2006-06-12  Wim Taymans  <wim@fluendo.com>
202
203         * tools/gst-inspect.c: (print_signal_info):
204         Properly print enum values.
205
206 2006-06-12  Wim Taymans  <wim@fluendo.com>
207
208         * gst/gstinfo.c: (gst_debug_set_active),
209         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
210         * gst/gstinfo.h:
211         Add some G_[UN]LIKELY.
212         Maintain __gst_debug_min to avoid formatting the arguments of
213         debug messages that will be dropped anyway to avoid a lot of 
214         overhead from the debugging system.
215
216 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
217
218         * po/POTFILES.in:
219         * po/POTFILES.skip:
220           add missing files containing translatable strings, tell intltool about
221           one exception
222
223 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
224
225         * tests/check/libs/.cvsignore:
226         add test-binary to ignore list
227
228 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
229
230         * docs/libs/gstreamer-libs-docs.sgml:
231         reorder (put dp into a chapter) and indent
232
233 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
234
235         * configure.ac:
236           back to HEAD
237
238 === release 0.10.8 ===
239
240 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
241
242         * configure.ac:
243           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
244
245 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
246
247         * gst/gst.c: (init_post):
248           move pid declaration to declaration block
249
250 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
251
252         * gst/gst.c: (init_post):
253           use _exit() instead of exit() in our forked child; this ensures
254           that none of the registered exit handlers from whatever is using
255           GStreamer get executed.  This fixes gnome-mixer-applet failing
256           to load, because ORBit would shut down.
257           Spotted by: Edward Hervey  <edward@fluendo.com>
258           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
259           Fixes #344474
260
261 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
262
263         * configure.ac:
264           back to TRUNK
265
266 === release 0.10.7 ===
267
268 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
269
270         * configure.ac:
271           releasing 0.10.7, "Soepeke, ik zie ou"
272
273 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
274
275         * configure.ac:
276         * po/af.po:
277         * po/az.po:
278         * po/bg.po:
279         * po/ca.po:
280         * po/cs.po:
281         * po/de.po:
282         * po/en_GB.po:
283         * po/fr.po:
284         * po/it.po:
285         * po/nb.po:
286         * po/nl.po:
287         * po/ru.po:
288         * po/sq.po:
289         * po/sr.po:
290         * po/sv.po:
291         * po/tr.po:
292         * po/uk.po:
293         * po/vi.po:
294         * po/zh_CN.po:
295         * po/zh_TW.po:
296         * win32/common/config.h:
297           0.10.6.2 prerelease
298
299 2006-06-07  Wim Taymans  <wim@fluendo.com>
300
301         * gst/gstindex.c: (gst_index_gtype_resolver):
302         * tools/gst-xmlinspect.c: (print_plugin_info):
303         Fix leak spotted by coverity checker. Fixes #343827
304         Fix another other leak found by paolo borelli.
305
306 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
307
308         * libs/gst/dataprotocol/dataprotocol.c:
309         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
310         (gst_dp_version_get_type), (gst_dp_init),
311         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
312         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
313         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
314         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
315         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
316         (gst_dp_packetizer_free):
317         * libs/gst/dataprotocol/dataprotocol.h:
318           API: add a GstDPPacketizer object, and create/free functions
319           API: add GstDPVersion enum
320           Add 1.0 event function that uses the string serialization
321           Serialize more useful buffer flags
322           Fixes #343988
323
324 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
325
326         * tests/check/Makefile.am:
327         * tests/check/gst/gstabi.c:
328         * tests/check/gst/struct_ppc64.h:
329         * tests/check/libs/libsabi.c:
330         * tests/check/libs/struct_ppc64.h:
331           add ppc64 structure sizes
332
333 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
334
335         * tests/check/Makefile.am:
336         * tests/check/gst/gstabi.c:
337         * tests/check/gst/struct_x86_64.h:
338         * tests/check/libs/libsabi.c:
339         * tests/check/libs/struct_x86_64.h:
340           generate and add structure size lists for x86_64
341
342 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
343
344         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
345         * libs/gst/check/gstcheck.h:
346           factor out the method from tests that checks size of structures,
347           and add code to generate the header containing these sizes
348         * tests/check/gst/gstabi.c: (GST_START_TEST):
349         * tests/check/gst/struct_i386.h:
350         * tests/check/libs/libsabi.c: (GST_START_TEST):
351         * tests/check/libs/struct_i386.h:
352           use it
353
354 2006-06-06  Michael Smith  <msmith@fluendo.com>
355
356         * gst/gstsegment.h:
357           Don't use c++-style comments, fixes #343929
358
359 2006-06-05  Edward Hervey  <edward@fluendo.com>
360
361         * gst/gst.c:
362         plugin_paths is not used if we build without registry support.
363
364         * gst/gstsegment.c: (gst_segment_copy): 
365         _copy() was always returning NULL...
366
367 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
368
369         * libs/gst/dataprotocol/dataprotocol.c:
370         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
371         (gst_dp_packet_from_event):
372           factor out CRC code
373
374 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
375
376         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
377           make sure we unset caps
378
379 2006-06-02  Michael Smith  <msmith@fluendo.com>
380
381         * libs/gst/check/gstcheck.c: (gst_check_init),
382         (gst_check_chain_func):
383         * libs/gst/check/gstcheck.h:
384           Add a cond/mutex to the check support lib, signal this whenever we
385           add to the buffers list. This will allow tests to not busy-wait on
386           the buffer-list.
387
388 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
389
390         * libs/gst/dataprotocol/dataprotocol.c:
391         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
392         (gst_dp_packet_from_event):
393           factor out some common header init code
394
395 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
396
397         * docs/libs/gstreamer-libs-sections.txt:
398         * docs/libs/tmpl/gstdataprotocol.sgml:
399         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
400         * libs/gst/dataprotocol/dataprotocol.h:
401           API: make gst_dp_crc() public
402
403 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
404
405         * plugins/indexers/gstindexers.c: (plugin_init):
406         conditionally register fileindexer (fixes #343598)
407
408 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
409
410         * gst/gsttagsetter.h:
411         Can't cast ifaces to a class
412
413         * libs/gst/net/gstnetclientclock.h:
414         * libs/gst/net/gstnettimeprovider.h:
415         * plugins/elements/gstfakesink.h:
416         * plugins/elements/gstfakesrc.h:
417         * plugins/elements/gstfdsink.h:
418         * plugins/elements/gstfdsrc.h:
419         * plugins/elements/gstfilesink.h:
420         * plugins/elements/gstfilesrc.h:
421         * plugins/elements/gstidentity.h:
422         * plugins/elements/gstqueue.h:
423         * plugins/elements/gsttee.h:
424         * plugins/indexers/gstfileindex.c:
425         * plugins/indexers/gstmemindex.c:
426         * tests/old/examples/plugins/example.h:
427         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
428
429 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
430
431         * libs/gst/dataprotocol/dataprotocol.c:
432         (gst_dp_header_from_buffer):
433           make sure we zero the whole ABI-compatible area
434
435 2006-06-01  Wim Taymans  <wim@fluendo.com>
436
437         Patch by: Alessandro Decina <alessandro at nnva dot org>
438
439         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
440         Make sure the EOS flag is cleared from pads after a flush
441         or stop. Fixes #343538.
442
443         * tests/check/libs/collectpads.c: (GST_START_TEST),
444         (gst_collect_pads_suite):
445         Added test for collectpads reusage after EOS.
446
447 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
448
449         * gst/gst.c:
450          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
451         * win32/common/libgstbase.def:
452          export gst_collect_pads_set_flushing
453         * win32/common/libgstreamer.def:
454          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
455          gst_value_fraction_multiply
456         * win32/vs6/gst_inspect.dsp:
457          add a link to intl.lib
458
459 2006-05-30  Wim Taymans  <wim@fluendo.com>
460
461         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
462         (gst_collect_pads_chain):
463         Handle the case where a pad is removed from the collection
464         that could cause the other pads to become collectable.
465
466 2006-05-30  Wim Taymans  <wim@fluendo.com>
467
468         * gst/gstelement.c:
469         Clarify the use of _release_request_pad() and
470         _get_request_pad() a bit better.
471
472         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
473         (gst_adapter_take_buffer):
474         Fix some doc and comment typos.
475
476 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
477
478         * docs/gst/gstreamer-sections.txt:
479         * docs/libs/gstreamer-libs-sections.txt:
480           add declared symbols
481
482 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
483
484         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
485         Add debug that can be enabled using a #define at the top of the file,
486         for dumping stats about how late/early we were when waking up from
487         waiting on the clock.
488
489 2006-05-30  Wim Taymans  <wim@fluendo.com>
490
491         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
492         When rebuilding the pad list, don't leak the previous list.
493
494 2006-05-30  Wim Taymans  <wim@fluendo.com>
495
496         Patch by: Lutz Mueller <lutz at topfrose dot de>
497
498         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
499         (gst_base_src_get_query_types), (gst_base_src_update_length):
500         Publish supported query types.
501         Update last_stop field in get_range mode so the position
502         query works. Fixes #342321.
503
504 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
505
506         * docs/gst/gstreamer-sections.txt:
507         * gst/gsttaglist.c: (_gst_tag_initialize):
508         * gst/gsttaglist.h:
509           API: add GST_TAG_PREVIEW_IMAGE (#343341).
510
511 2006-05-30  Wim Taymans  <wim@fluendo.com>
512
513         Patch by: Alessandro Decina <alessandro at nnva dot org>
514
515         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
516         Unlock mutex when removing an unknown pad.
517         Fixes #343334.
518
519         * tests/check/Makefile.am:
520         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
521         (push_event), (setup), (teardown), (GST_START_TEST),
522         (gst_collect_pads_suite), (main):
523         Added collecpads check, disabled for now as check crashes for
524         some reason.
525
526 2006-05-29  Wim Taymans  <wim@fluendo.com>
527
528         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
529         Don't leak pads lists.
530
531 2006-05-29  Wim Taymans  <wim@fluendo.com>
532
533         * docs/libs/gstreamer-libs-sections.txt:
534         * libs/gst/base/gstcollectpads.c:
535         (gst_collect_pads_set_flushing_unlocked),
536         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
537         (gst_collect_pads_stop):
538         * libs/gst/base/gstcollectpads.h:
539         API: gst_collect_pads_set_flushing()
540         Added api to set the pads to flushing, useful for seeking
541         code in elements using collectpads.
542         Clear segment when receiving a flush.
543
544 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
545
546         * gst/gst.c: (add_path_func), (init_post):
547           Don't scan registry paths passed via --gst-plugin-path immediately
548           (will crash, because absolutely nothing is set up and no types are
549           registered etc.); do this later in init_post(). Fixes #343057.
550
551 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
552
553         * gst/gst.c: (init_post):
554           if we have fork, fork while reading/rebuilding the registry
555           so the parent doesn't take the hit of having all plugins loaded
556           in memory.  Fixes #342777.
557         * configure.ac:
558           Check if we have fork()
559         * win32/common/config.h.in:
560           no fork() on win32
561
562 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
563
564         * plugins/elements/gstelements.c:
565         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
566         (gst_file_src_init), (gst_file_src_set_property),
567         (gst_file_src_get_property), (gst_file_src_start):
568         * plugins/elements/gstfilesrc.h:
569           API: GstFileSrc::use-mmap
570
571         Add a use-mmap property to enable easier testing of all code paths.
572         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
573         in the absence of gnomevfssrc. (Closes #340501)
574
575 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
576
577         * tools/gst-inspect.c:
578         Add missing include, removes warning of ngettext not being defined on
579         some arches.
580
581 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
582
583         * gst/gstvalue.c: (gst_value_deserialize_fraction):
584         Handle NULL input and output pointers silently as a failed conversion,
585         rather than g_warnings.
586
587 2006-05-25  Wim Taymans  <wim@fluendo.com>
588
589         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
590         Initialize variable before using. Fixes #342820.
591
592 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
593
594         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
595           Fix off-by-one bug that would only allow peeks of N-1 bytes
596           from the start even if the buffer to typefind on contains
597           in fact N bytes of data (makes vorbis typefinding from a
598           vorbis identification header buffer work).
599
600         * tests/check/Makefile.am:
601         * tests/check/libs/.cvsignore:
602         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
603         (gst_typefindhelper_suite), (main), (foobar_typefind),
604         (plugin_init):
605           Add very basic unit test for gst_type_find_helper_for_buffer()
606           that checks for the problem fixed above.
607
608 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
609
610         * tools/gst-inspect.c: (print_interfaces),
611         (print_element_properties_info), (print_element_list), (main):
612           add more translatable strings
613
614 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
615
616         Patch by: Julien Moutte  <julien at moutte net>
617
618         * docs/gst/gstreamer-sections.txt:
619           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
620           
621         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
622         (gst_fake_sink_preroll):
623         * plugins/elements/gstfakesink.h:
624           API: Add new GstFakeSink::preroll-handoff signal (#337100).
625
626 2006-05-23  Wim Taymans  <wim@fluendo.com>
627
628         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
629         * gst/gstpad.h:
630         Added _CUSTOM error and success GstFlowReturn that can be
631         used be elements internally. 
632         Added macro to check for SUCCESS flowreturns.
633         API: GST_FLOW_CUSTOM_SUCCESS
634         API: GST_FLOW_CUSTOM_ERROR
635         API: GST_FLOW_IS_SUCCESS
636
637         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
638         Added check for GstFlowReturn sanity.
639
640 2006-05-23  Wim Taymans  <wim@fluendo.com>
641
642         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
643
644         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
645         (gst_collect_pads_event):
646         clear/reset segment info in FLUSH_STOP.
647         Fixes #336929.
648
649 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
650
651         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
652         (gst_collect_pads_check_collected):
653         Flush queued buffer on _stop(), fixes playing again (#342454)
654
655 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
656
657         * tests/check/gst/gststructure.c: (GST_START_TEST),
658         (gst_structure_suite):
659           add a test for a complete structure
660
661 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
662
663         * docs/faq/developing.xml:
664         * docs/faq/faq.xml:
665         * docs/faq/troubleshooting.xml:
666         * docs/faq/using.xml:
667           Some minor FAQ updates that won't change the fact that
668           our FAQ is badly structured, full of information hardly
669           anyone new to GStreamer needs to know and lacking lots
670           of information people constantly ask for.
671           
672 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
673
674         * gst/gstpad.c: (gst_pad_set_caps):
675           Short-circuit gst_pad_set_caps if setting the existing
676           caps pointer again, and avoid printing debug and 
677           reffing/unreffing the caps.
678
679         * plugins/elements/gstqueue.c: (gst_queue_push_one):
680           There's actually no need to set the caps before pushing -
681           the acceptcaps method will handle it anyway.
682
683 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
684
685         * docs/gst/gstreamer-sections.txt:
686         * win32/common/libgstreamer.def:
687         * gst/gstutils.c: (gst_element_seek_simple):
688         * gst/gstutils.h:
689           API: add gst_element_seek_simple() (#342238).
690
691 2006-05-18  Edward Hervey  <edward@fluendo.com>
692
693         * gst/gsttypefind.c: (gst_type_find_get_type):
694         * gst/gsttypefind.h:
695         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
696         registered for GstTypeFind pointers. This allows wrapping the structure
697         in bindings (i.e. gst-python).
698
699 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
700
701         * gst/gsttagsetter.c:
702           Docs additions and fixes (see #339918).
703
704 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
705
706         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
707         The caps intersection algorithm can produce multiple copies of the
708         caps. Until that is fixed, we need to simplify the result to be
709         sure whether the allowed caps are fixed or not.
710
711         * plugins/elements/gstqueue.c: (gst_queue_init),
712         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
713         (gst_queue_push_one):
714         Proxied buffer alloc should not set the caps on the source pad.
715         When pushing buffers, we always accept the caps change that triggers.
716         This prevents negotiation errors caused by caps changing mid-stream 
717         and then being refused on our source pad (because upstream is now
718         refusing those caps).
719
720 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
721
722         * tests/examples/helloworld/helloworld.c: (main):
723           Must plug audioconvert and audioresample between decoder
724           and audio sink.
725
726 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
727
728         * gst/gstregistryxml.c: (read_string), (load_pad_template),
729         (load_feature), (load_plugin):
730         Allow empty strings for some of the plugin fields so we don't 
731         drop valid plugin entries that were written out correctly
732         (Fixes #341479)
733
734 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
735         
736         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
737           Use g_remove and g_rename instead of remove and rename that don't 
738           handle utf8 characters. rename was failing for users who had specific
739           characters in their name then the registry was built at each 
740           gstreamer init.
741         * win32/vs6/gst_inspect.dsp:
742         * win32/vs6/gst_launch.dsp:
743         * win32/vs6/libgstbase.dsp:
744         * win32/vs6/libgstcoreelements.dsp:
745         * win32/vs6/libgstreamer.dsp:
746           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
747           build of libgstreamer and clean unused libraries in projects link 
748           settings.
749
750 2006-05-17  Edward Hervey  <edward@fluendo.com>
751
752         * plugins/elements/gstqueue.c: (gst_queue_push_one):
753         The queue is not responsible for pushing an EOS when receiving a fatal
754         flow error. It's up to the real element driving the pipeline to do that.
755
756 2006-05-16  Edward Hervey  <edward@fluendo.com>
757
758         * plugins/elements/gstqueue.c: (gst_queue_push_one):
759         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
760         buffer returned a fatal error. It should just send an EOS and stop
761         its task.
762         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
763         when pushing buffers on the queue and will be able to handle the event.
764
765 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
766
767         * docs/manual/basics-bins.xml:
768         * docs/manual/basics-init.xml:
769           Fix typos and minor errors in sample code (#341856).
770
771 2006-05-16  Wim Taymans  <wim@fluendo.com>
772
773         * docs/design/part-qos.txt:
774         Fix indexes in formulas to make more sense.
775
776 2006-05-15  Wim Taymans  <wim@fluendo.com>
777
778         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
779         Don't report POSITION based on clock time if sync is
780         disabled in a sink.
781
782 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
783
784         * gst/gstobject.h:
785           Add cast to make compiler happy - refcount variable was a gint
786           in GstObject but is a guint in GObject and g_atomic_int_get()
787           wants a gint *.
788
789 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
790
791         * gst/parse/Makefile.am:
792           chain commands using &&, which also makes parallel make work
793
794 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
795
796         * docs/gst/gstreamer-sections.txt:
797         * gst/gstevent.c:
798         * gst/gstevent.h:
799         * gst/gstmessage.h:
800           Minor docs fixes.
801
802 === release 0.10.6 ===
803
804 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
805
806         * configure.ac:
807           releasing 0.10.6, "Take the cannoli"
808
809 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
810
811         * tools/gst-launch.c: (print_tag):
812           Fix use of uninitialized variable in the hypothetical
813           case that some broken plugin creates a GST_TAG_IMAGE
814           tag containing a NULL buffer (#341667).
815
816 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
817
818         * tools/gst-launch.c: (print_tag):
819           Print something more intelligible for image tags when
820           using the -t switch (#341556).
821
822 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
823
824         * Makefile.am:
825           updates for win32
826         * configure.ac:
827           define GST_MAJORMINOR so we have it available in win32/common/config.h
828           Possibly remove it from our Makefile.am files later
829         * win32/common/config.h:
830         * win32/common/config.h.in:
831           added GST_MAJORMINOR
832         * win32/common/gstenumtypes.c: (register_gst_resource_error):
833         * win32/common/gstversion.h:
834           updated
835
836 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
837
838         * win32/MANIFEST:
839           Update win32 files listing.
840         * win32/common/gstversion.h:
841           Add GST_MAJORMINOR definition.
842         * win32/common/libgstreamer.def:
843           Add new exported functions.
844           
845 2006-05-12  Michael Smith  <msmith@fluendo.com>
846
847         * gst/gstplugin.c: (gst_plugin_load_file):
848           If an so file has no plugin entry point, unload the module.
849
850 2006-05-11  Wim Taymans  <wim@fluendo.com>
851
852         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
853         (gst_queue_set_property):
854         Don't forget to signal the _chain or _loop function 
855         when the queue size or thresholds change since that might
856         cause them to make progres again.
857
858 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
859
860         * gst/gstclock.c: (gst_clock_class_init):
861         * gst/gstindex.c: (gst_index_class_init):
862         * gst/gstobject.c: (gst_object_class_init):
863         * gst/gstpad.c: (gst_pad_class_init):
864         * gst/gstpipeline.c: (gst_pipeline_class_init):
865         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
866         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
867         * libs/gst/base/gstbasetransform.c:
868         (gst_base_transform_class_init):
869         * libs/gst/net/gstnetclientclock.c:
870         (gst_net_client_clock_class_init):
871         * libs/gst/net/gstnettimeprovider.c:
872         (gst_net_time_provider_class_init):
873         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
874         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
875         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
876         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
877         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
878         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
879         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
880         * plugins/elements/gstidentity.c: (gst_identity_class_init):
881         * plugins/elements/gsttee.c: (gst_tee_class_init):
882         * tests/old/examples/plugins/example.c: (gst_example_class_init):
883         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
884           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
885
886 2006-05-11  Wim Taymans  <wim@fluendo.com>
887
888         * gst/gstbuffer.c: (_gst_buffer_initialize):
889         Register subbufer along with the buffer type so that
890         it does not accidentally gets registered from N
891         different streaming threads in a non threadsafe way.
892
893 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
894
895         * gst/gstbuffer.h:
896         * gst/gstevent.h:
897         * gst/gstmessage.h:
898           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
899           gst_event_ref() and gst_message_ref() functions again
900           (ugly hack, please do fix if there's a better way besides
901           overrides.txt, which doesn't seem to work).
902
903 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
904
905         * libs/gst/check/gstcheck.h:
906           add an assert for setting state to avoid lots of repetitive code
907           in the future
908
909 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
910
911         * gst/gstvalue.c: (gst_value_serialize_flags):
912           fix a leak if no flags are set
913         * tests/check/gst/gstvalue.c: (GST_START_TEST):
914           fix leak in tests
915
916 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
917
918         * docs/manual/basics-pads.xml:
919           Expand a bit on caps and filtered links and update
920           examples that were still using the no longer existing
921           gst_pad_link_filtered() (#338206).
922
923 2006-05-10  Wim Taymans  <wim@fluendo.com>
924
925         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
926         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
927         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
928         (gst_collect_pads_stop):
929         * libs/gst/base/gstcollectpads.h:
930         No need to call _stop in _finalize.
931         Iterate the main pad list in _finalize.
932         Added some more debug.
933         Free lists and data in the right order.
934         Also free data whem doing _remove_pad when stopped for
935         backward compatibility protect ::started with PAD_LOCK as
936         well.
937
938 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
939
940         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
941         (gst_structure_parse_value):
942           add some comments
943           rename a method so that it actually says what it does better
944
945 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
946
947         * gst/gstevent.c: (_gst_event_initialize):
948         * gst/gstformat.c: (_gst_format_initialize):
949           make sure some essential types used by events are registered
950           as part of gst_init()
951         * gst/gstvalue.c: (gst_value_serialize_flags):
952           if no flags are set, serialize them to a value that represents NONE
953           so that deserializing them works
954         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
955           add tests for serialization and deserialization of flags
956
957 2006-05-10  Wim Taymans  <wim@fluendo.com>
958
959         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
960         (gst_collect_pads_collect_range), (gst_collect_pads_available),
961         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
962         (gst_collect_pads_event), (gst_collect_pads_chain):
963         Update docs.
964         Better debug info.
965         Catch and return errors from the collect function
966         Refuse data on eos pads.
967
968 2006-05-10  Edward Hervey  <edward@fluendo.com>
969
970         * gst/gstinterface.h:
971         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
972         GInterface type checking.
973         They were previously using non-defined macros.
974
975 2006-05-09  Wim Taymans  <wim@fluendo.com>
976
977         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
978         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
979         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
980         (gst_collect_pads_start), (gst_collect_pads_stop),
981         (gst_collect_pads_peek), (gst_collect_pads_pop),
982         (gst_collect_pads_available), (gst_collect_pads_read),
983         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
984         (gst_collect_pads_is_collected), (gst_collect_pads_event),
985         (gst_collect_pads_chain):
986         * libs/gst/base/gstcollectpads.h:
987         Clean up the mess that is collectpads, add comments and
988         FIXMEs where needed.
989         Maintain a separate pad list so we can add pads while
990         collecting the other ones. For this we need a new separate 
991         lock (see comics).
992         Fix memory leak in finalize.
993         Refactor some weird code to set/unset pad flushing flags, mark
994         with comments.
995         Don't crash in _available, _read, _flush when we're EOS.
996
997         * tests/check/libs/.cvsignore:
998         Ignore adapter check binary.
999
1000 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1001
1002         * gst/gstindex.c: (gst_index_resolver_get_type):
1003         * plugins/elements/gstfakesink.c:
1004         (gst_fake_sink_state_error_get_type):
1005         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
1006         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
1007         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
1008           Const-ify GEnumValue arrays.
1009
1010 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1011
1012         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
1013           Add test case for flags + gst_buffer_make_metadata_writable().
1014
1015 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1016
1017         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
1018           gst_buffer_make_metadata_writable() should maintain the
1019           buffer flags (those that make sense at least) (see #340859).
1020
1021 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1022
1023         * tools/gst-inspect.c:
1024         * tools/gst-launch.c:
1025         * tools/gst-typefind.c:
1026         * tools/gst-xmlinspect.c:
1027         * tools/tools.h:
1028           Fix up includes: need to include stdlib.h in tools.h for exit().
1029
1030 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
1031
1032         * gst/gsttaglist.c: (_gst_tag_initialize):
1033         * gst/gsttaglist.h:
1034           API: add GST_TAG_IMAGE tag (#340721).
1035
1036 2006-05-08  Wim Taymans  <wim@fluendo.com>
1037
1038         * gst/gstquery.c:
1039         Added some docs for the segment query.
1040
1041 2006-05-08  Wim Taymans  <wim@fluendo.com>
1042
1043         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1044         (gst_base_src_loop), (gst_base_src_change_state):
1045         Always push non-flushing serialized events in the streaming 
1046         thread.
1047
1048 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
1049
1050         * gst/gsterror.c: (_gst_stream_errors_init):
1051           Add a missing error string.
1052
1053 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
1054
1055         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
1056         Add applied_rate to the debug
1057
1058         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
1059         Copy applied_rate into the outgoing NEWSEGMENT event
1060
1061 2006-05-08  Wim Taymans  <wim@fluendo.com>
1062
1063         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
1064
1065         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
1066         (gst_base_sink_change_state):
1067         call ::unlock before taking the PREROLL_LOCK so we can safely
1068         handle elements that lock in ::render.
1069         Fixes #340174.
1070
1071 2006-05-08  Edward Hervey  <edward@fluendo.com>
1072
1073         * autogen.sh: (CONFIGURE_DEF_OPT): 
1074         Darwin's libtoolize is in fact called glibtoolize.
1075         Adding glibtoolize to the list of accepted names for libtoolize.
1076
1077 2006-05-08  Wim Taymans  <wim@fluendo.com>
1078
1079         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
1080         Unify error handling, don't post an error message
1081         when a push() returns EOS but perform our normal EOS
1082         handling code. Fixes #340772.
1083
1084 2006-05-08  Wim Taymans  <wim@fluendo.com>
1085
1086         * docs/design/part-overview.txt:
1087         Make upsteam/downstream concepts more clear.
1088         Give an example of serialized/non-serialized events.
1089
1090         * docs/design/part-events.txt:
1091         * docs/design/part-streams.txt:
1092         Mention applied_rate.
1093
1094         * docs/design/part-trickmodes.txt:
1095         Mention applied rate, flesh out some more use cases.
1096
1097         * gst/gstevent.c: (gst_event_new_new_segment),
1098         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
1099         (gst_event_parse_new_segment_full), (gst_event_new_tag),
1100         (gst_event_parse_tag), (gst_event_new_buffer_size),
1101         (gst_event_parse_buffer_size), (gst_event_new_qos),
1102         (gst_event_parse_qos), (gst_event_parse_seek),
1103         (gst_event_new_navigation):
1104         * gst/gstevent.h:
1105         Add applied_rate field to NEWSEGMENT event.
1106         API: gst_event_new_new_segment_full()
1107         API: gst_event_parse_new_segment_full()
1108
1109         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
1110         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
1111         (gst_segment_to_stream_time), (gst_segment_to_running_time):
1112         * gst/gstsegment.h:
1113         Add applied_rate to GstSegment structure.
1114         Make calculation of stream_time and running_time more correct
1115         wrt rate/applied_rate.
1116         Add some more docs.
1117         API: GstSegment::applied_rate field
1118         API: gst_segment_set_newsegment_full();
1119
1120         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
1121         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
1122         * libs/gst/base/gstbasetransform.c:
1123         (gst_base_transform_sink_eventfunc),
1124         (gst_base_transform_handle_buffer):
1125         Parse and use applied_rate in the GstSegment field.
1126
1127         * tests/check/gst/gstevent.c: (GST_START_TEST):
1128         Add check for applied_rate field.
1129
1130         * tests/check/gst/gstsegment.c: (GST_START_TEST),
1131         (gstsegments_suite):
1132         Add more checks for various GstSegment operations.
1133
1134 2006-05-08  Wim Taymans  <wim@fluendo.com>
1135
1136         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1137         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
1138         (gst_base_sink_get_position), (gst_base_sink_change_state):
1139         Store the sync time of the buffer end position separatly in a
1140         new variable eos_rtime so we can properly sync the EOS event.
1141         Fixes #340697.
1142         Fix the docs for gst_base_sink_set_qos_enabled().
1143         Don't set segment start to invalid value when we receive a 
1144         non TIME newsegment.
1145         get closer to handling position reporting for negative rates 
1146         correctly.
1147
1148 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
1149
1150         * gst/gstcaps.c:
1151         Docs about how to print caps for debug purposes.
1152
1153         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
1154         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
1155
1156 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
1157
1158         * gst/gstelement.c:
1159           use full enum names and preprend a '%' in docs strings to make recent 
1160           gtk-doc turn that into a link
1161
1162 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1163
1164         * docs/manual/basics-bins.xml:
1165         * docs/manual/basics-bus.xml:
1166         * docs/manual/basics-pads.xml:
1167           Some typo fixes, some additions, some clarifications. 
1168
1169 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1170
1171         * tools/gst-inspect.c: (main):
1172         * tools/gst-launch.c: (main):
1173         * tools/gst-run.c: (main):
1174         * tools/gst-typefind.c: (main):
1175         * tools/gst-xmlinspect.c: (main):
1176           Use the string passed to g_option_context_new() for
1177           what it's intended for - the program name is already
1178           printed elsewhere.
1179
1180 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1181
1182         * tools/Makefile.am:
1183         * tools/gst-inspect.c: (main):
1184         * tools/gst-launch.c: (main):
1185         * tools/gst-xmlinspect.c: (main):
1186         * tools/tools.h:
1187           Add back --version command line option (#340460).
1188
1189         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
1190           Add --version option and use GOption for argument parsing; refactor a
1191           bit; accept directories as arguments and recurse into them; lastly,
1192           print a decent error message when things go wrong.
1193
1194 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1195
1196         * docs/manual/basics-bins.xml:
1197         Don't mention GstThread (#340611)
1198         * docs/manual/basics-elements.xml:
1199         Update link to GObject tutorial (#340607)
1200         
1201 2006-05-05  Wim Taymans  <wim@fluendo.com>
1202
1203         * gst/gstbuffer.h:
1204         * gst/gstminiobject.c:
1205         Add note about refcounting and miniobject/buffer writeability
1206         to docs. Fixes #340604
1207
1208         * gst/gstelementfactory.h:
1209         Added some explanation about @klass.
1210
1211 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1212
1213         * docs/manual/intro-motivation.xml:
1214         * docs/manual/manual.xml:
1215         Avoid CORBA & Bonobo references (#340598)
1216
1217 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1218
1219         * docs/manual/basics-bus.xml:
1220         * docs/manual/basics-pads.xml:
1221         Fix up some inaccuracies and omissions (#340609)
1222         
1223 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
1224
1225         * gst/gstghostpad.c:
1226           Small typo in docs (#340625)
1227
1228 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1229
1230         * gst/parse/Makefile.am:
1231           Make 'make -j' proof (see #340698).
1232
1233 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
1234
1235         * configure.ac:
1236           Require GLib-2.8 here as well.
1237
1238 2006-05-05  Wim Taymans  <wim@fluendo.com>
1239
1240         * gst/glib-compat.c:
1241         * gst/gst.c: (init_pre):
1242         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
1243         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
1244         (gst_object_dispatch_properties_changed):
1245         * gst/gstobject.h:
1246         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
1247         * gst/gststructure.c: (gst_structure_set_valist):
1248         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
1249         Remove pre glib2.8 compatibility, fixes #340508
1250
1251 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
1252
1253         * gst/gsttaglist.h:
1254           Mention type of tags in doc blurbs.
1255
1256 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
1257
1258         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1259         (gst_pad_configure_src), (gst_pad_push):
1260         Restore acceptcaps checking behaviour now that good plugins have
1261         been released.
1262
1263 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
1264
1265         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
1266
1267         * gst/gst.c:
1268         * gst/gstbus.c:
1269         * gst/gstclock.c:
1270         * gst/gstevent.c:
1271         * gst/gstformat.c:
1272         * gst/gstmessage.c:
1273         * gst/gstparse.c:
1274         * gst/gstquery.c:
1275         * gst/gstutils.c:
1276         * gst/parse/Makefile.am:
1277         * libs/gst/base/gstadapter.c:
1278         * libs/gst/base/gstbasesrc.c:
1279         * libs/gst/base/gstpushsrc.c:
1280         * libs/gst/base/gsttypefindhelper.c:
1281         * plugins/elements/gstfakesrc.c:
1282         * plugins/elements/gstidentity.c:
1283           Make sure gstprivate.h and/or config.h are
1284           always included first, otherwise some of our
1285           defines (like _FILE_OFFSET_BITS) might be
1286           redefined in the system headers. Fixes build
1287           on opensolaris (#340016).
1288
1289 2006-05-04  Wim Taymans  <wim@fluendo.com>
1290
1291         * docs/libs/gstreamer-libs-sections.txt:
1292         API: addition: gst_adapter_take_buffer()
1293         
1294         * libs/gst/base/gstadapter.c: (gst_adapter_push),
1295         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
1296         (gst_adapter_available_fast):
1297         * libs/gst/base/gstadapter.h:
1298         Prepare for optimizing the hell out of this hugely inefficient
1299         piece of code. 
1300         Added gst_adapter_take_buffer() so we can at least start thinking
1301         about subbuffering and merging.
1302         Added some comments.
1303
1304         * tests/check/Makefile.am:
1305         * tests/check/libs/adapter.c: (GST_START_TEST),
1306         (gst_adapter_suite), (main):
1307         Added GstAdapter check.
1308
1309 2006-05-04  Wim Taymans  <wim@fluendo.com>
1310
1311         * docs/design/part-overview.txt:
1312         Fix some typos, add blurb about buffer flags.
1313
1314 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
1315
1316         * docs/libs/gstreamer-libs-sections.txt:
1317           make sure GstBaseTransformClass shows up in the docs
1318         * libs/gst/base/gstbasetransform.c:
1319         * libs/gst/base/gstbasetransform.h:
1320           move docs so gtk-doc picks it up now
1321
1322 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
1323
1324         * docs/libs/gstreamer-libs-sections.txt:
1325           add missing symbols to docs
1326
1327 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
1328
1329         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1330           back out the newsegment handling change, see #340060 for ongoing
1331           discussion
1332
1333 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
1334
1335         * tools/gst-run.c: (get_candidates), (main):
1336           Fix wrong g_file_test() usage (see glib docs for why it doesn't
1337           work); fix typo in error message. Fixes #340079.
1338
1339 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1340
1341         * common/Makefile.am:
1342         * docs/Makefile.am:
1343         * docs/faq/Makefile.am:
1344         * docs/gst/Makefile.am:
1345         * docs/libs/Makefile.am:
1346         * docs/manual/Makefile.am:
1347         * docs/plugins/Makefile.am:
1348         * docs/pwg/Makefile.am:
1349         * docs/slides/Makefile.am:
1350         * docs/upload.mak:
1351         * common/upload.mak:
1352           move upload.mak to common
1353
1354 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
1355
1356         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1357           add more asserts on refcounts
1358           do more cleanup at end of tests
1359           fix test leaks showing in FC5
1360
1361 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
1362
1363         * plugins/elements/gsttypefindelement.c:
1364         (gst_type_find_element_handle_event):
1365         reverted wrong change and reflowed code to avoid others falling into
1366         this trap
1367
1368 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1369
1370         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
1371           fix changelog entry about last collectpads change,
1372           add notes about proper fix
1373
1374 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1375
1376         * gst/gst.c:
1377         * gst/gstregistry.c: (gst_registry_scan_path_level),
1378         (gst_registry_scan_path):
1379         * gst/gstregistry.h:
1380           only write out registry if it has changed, fixes #338339
1381
1382 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1383
1384         * gst/gstbin.c:
1385         * gst/gstpipeline.c:
1386         * plugins/elements/gstcapsfilter.c:
1387         * plugins/elements/gstfakesink.c:
1388         * plugins/elements/gstfakesrc.c:
1389         * plugins/elements/gstfdsink.c:
1390         * plugins/elements/gstfdsrc.c:
1391         * plugins/elements/gstfilesink.c:
1392         * plugins/elements/gstfilesrc.c:
1393         * plugins/elements/gstidentity.c:
1394         * plugins/elements/gstqueue.c:
1395         * plugins/elements/gsttee.c:
1396         * plugins/elements/gsttypefindelement.c:
1397         (gst_type_find_element_handle_event):
1398           make GstElementDetails const
1399
1400 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1401
1402         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
1403         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
1404         (gst_collect_pads_is_collected), (gst_collect_pads_event):
1405           more detailed debug and formatting cleanup,
1406           forward newsegments to src-pad (so that e.g. adder not eats them)
1407
1408 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1409
1410         * gst/gstutils.c: (gst_element_link_pads):
1411           cleanup double code
1412
1413 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
1414
1415         * libs/gst/controller/gstcontroller.c:
1416         (gst_controller_sync_values):
1417           some little tuning
1418         * tests/check/libs/controller.c: (GST_START_TEST),
1419         (gst_controller_suite):
1420           a new test for live value handling
1421
1422 2006-04-28  Wim Taymans  <wim@fluendo.com>
1423
1424         * gst/gstutils.c: (push_and_ref):
1425         Added some more docs.
1426         Fix refcount issue whith gst_element_found_tags() helper 
1427         function. Fixes #338335
1428
1429         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
1430         Added testsuite for gst_element_found_tags().
1431
1432 2006-04-28  Michael Smith  <msmith@fluendo.com>
1433
1434         * gst/gstvalue.c: (gst_value_serialize_flags):
1435           Avoid NULL dereference when trying to serialize flags containing
1436           invalid values.
1437
1438 2006-04-28  Michael Smith  <msmith@fluendo.com>
1439
1440         * plugins/elements/gsttypefindelement.c:
1441         (gst_type_find_element_handle_event):
1442           If we get EOS before any data is accumulated, don't use
1443           uninitialised local variables.
1444
1445 2006-04-28  Michael Smith  <msmith@fluendo.com>
1446
1447         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
1448         (gst_dp_event_from_packet):
1449           Fixes in reading/writing events over GDP (not currently used?) - 
1450           dereferencing NULL events for unknown/invalid event types, memory
1451           leak, and change g_warning to GST_WARNING.
1452
1453 2006-04-28  Wim Taymans  <wim@fluendo.com>
1454
1455         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
1456         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1457         (gst_base_sink_get_position), (gst_base_sink_change_state):
1458         When frame dropping is enabled, we should not ignore frames
1459         without a duration.
1460         Update some documentation.
1461
1462 2006-04-28  Wim Taymans  <wim@fluendo.com>
1463
1464         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
1465         (gst_base_src_send_event), (gst_base_src_change_state):
1466         Documentation updates.
1467
1468 2006-04-28  Wim Taymans  <wim@fluendo.com>
1469
1470         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
1471         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
1472         handle EAGAIN, EINTR and short writes correctly. Also clean
1473         up some error cases, avoid a deadlock on bad file descriptors and
1474         use GST_DEBUG_OBJECT.
1475         Fixes #339843
1476
1477 2006-04-28  Wim Taymans  <wim@fluendo.com>
1478
1479         * gst/gstvalue.c: (gst_value_serialize_buffer),
1480         (gst_value_deserialize_buffer):
1481         Don't try to serialize a GValue with a NULL buffer. 
1482         Fixes #339821.
1483
1484         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
1485         Added check for serialisation of NULL buffers.
1486
1487 2006-04-28  Wim Taymans  <wim@fluendo.com>
1488
1489         * gst/gstminiobject.c: (gst_value_take_mini_object):
1490         Taking a NULL miniobject is valid, fix the case where
1491         we try to unref the NULL miniobject.
1492
1493 2006-04-28  Wim Taymans  <wim@fluendo.com>
1494
1495         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
1496
1497         * gst/gstbin.c: (gst_bin_handle_message_func):
1498         Update docs.
1499         Don't leak bin refcount when a state recalc is
1500         in progress and we delay another one #339808.
1501
1502 2006-04-28  Wim Taymans  <wim@fluendo.com>
1503
1504         * docs/design/part-TODO.txt:
1505         Mention QoS as an ongoing work item.
1506
1507         * docs/design/part-buffering.txt:
1508         New doc about buffering that needs to be fleshed out
1509         at some point.
1510
1511         * docs/design/part-qos.txt:
1512         More QoS policy for decoders/demuxers/transforms
1513
1514         * docs/design/part-trickmodes.txt:
1515         Small update.
1516
1517 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
1518
1519         * configure.ac:
1520           back to HEAD
1521
1522 === release 0.10.5 ===
1523
1524 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
1525
1526         * configure.ac:
1527           releasing 0.10.5, "Fogo"
1528
1529 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
1530
1531         patch by: Wim Taymans
1532
1533         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
1534         (gst_pad_configure_src), (gst_pad_push):
1535         * gst/gstpipeline.c: (gst_pipeline_init):
1536           Fix internal data flow errors.  Fixes #338711.
1537
1538 2006-04-12  Wim Taymans  <wim@fluendo.com>
1539
1540         * tests/check/gst/gstelement.c: (GST_START_TEST):
1541         Don't leak the factory.
1542
1543 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
1544
1545         * configure.ac:
1546         * win32/common/config.h:
1547           prerelease
1548
1549 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1550
1551         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1552         (gst_controller_unset_all):
1553           Free allocated GstTimedValues when freeing list nodes.
1554           Should fix leaks 'make check-valgrind' complains about.
1555
1556         * win32/common/libgstcontroller.def:
1557           Add gst_controller_unset_all.
1558
1559 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
1560
1561         * docs/libs/gstreamer-libs-sections.txt:
1562         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
1563         (gst_controller_unset_all):
1564         * libs/gst/controller/gstcontroller.h:
1565         API: Added new method gst_controller_unset_all()
1566         fixed gst_controller_unset()
1567         * tests/check/libs/controller.c: (GST_START_TEST),
1568         (gst_controller_suite):
1569         Added two testcases for new and fixed method
1570
1571 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
1572
1573         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
1574           MSG_DONTWAIT is not defined on Cygwin, so work
1575           around that (fixes #317048).
1576           
1577 2006-04-11  Wim Taymans  <wim@fluendo.com>
1578
1579         * gst/gstelementfactory.c: (gst_element_register),
1580         (gst_element_factory_create), (gst_element_factory_make):
1581         Some cleanups.
1582         Fixed a FIXME.
1583         Updated docs (Fixes #131079)
1584
1585         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
1586         Small cleanups.
1587
1588         * tests/check/gst/gstelement.c: (GST_START_TEST),
1589         (gst_element_suite):
1590         Added testcase for elementfactory class field.
1591
1592 2006-04-10  Wim Taymans  <wim@fluendo.com>
1593
1594         * gst/gstsegment.c:
1595         Added some more docs.
1596
1597         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
1598         (gst_base_sink_reset_qos):
1599         Calculate more accurate rate values.
1600
1601 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
1602
1603         * gst/gst_private.h:
1604           add a new #ifdef to use __declspec(dllimport) only for
1605           other modules and not for gstreamer core
1606         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
1607           use gst_guint64_to_gdouble for conversion
1608         * win32/common/libgstreamer.def:
1609           add new exported functions
1610         * win32/vs6/gst_inspect.dsp:
1611         * win32/vs6/gst_launch.dsp:
1612         * win32/vs6/libgstbase.dsp:
1613         * win32/vs6/libgstcontroller.dsp:
1614         * win32/vs6/libgstcoreelements.dsp:
1615         * win32/vs6/libgstdataprotocol.dsp:
1616         * win32/vs6/libgstnet.dsp:
1617           update project files
1618
1619 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
1620
1621         * gst/gstbuffer.c: (gst_subbuffer_class_init):
1622         * gst/gstclock.c: (gst_clock_class_init):
1623         * gst/gstelement.c: (gst_element_class_init):
1624         * gst/gstindex.c: (gst_index_class_init):
1625         * gst/gstindexfactory.c: (gst_index_factory_class_init):
1626         * gst/gstobject.c: (gst_object_class_init),
1627         (gst_signal_object_class_init):
1628         * gst/gstpad.c: (gst_pad_class_init):
1629         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
1630         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
1631         * gst/gstregistry.c: (gst_registry_class_init):
1632         * gst/gstsystemclock.c: (gst_system_clock_class_init):
1633         * gst/gsttask.c: (gst_task_class_init):
1634         * gst/gstxml.c: (gst_xml_class_init):
1635         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1636         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
1637         (gst_base_src_loop):
1638         * libs/gst/controller/gstcontroller.c:/
1639         (_gst_controller_class_init):
1640         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1641         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1642         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
1643         * tests/old/examples/plugins/example.c: (gst_example_class_init):
1644         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
1645         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
1646
1647 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
1648
1649         * gst/gstpad.c: (gst_pad_link):
1650           Must set peer pads before calling the link function, otherwise
1651           a task started from a link function might get a flow-not-linked
1652           result when trying to push because the other thread where the
1653           linking happens hasn't had a chance to set the peers yet. This
1654           might happen for example when a queue gets linked to a downstream
1655           element, as queue starts a streaming task when its source pad
1656           gets linked. Happens in real life when playing back flac/musepack
1657           files in playbin (#332390).
1658           
1659 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
1660
1661         * gst/gstindex.h:
1662         * gst/gstxml.h:
1663         * libs/gst/base/gstadapter.h:
1664         * libs/gst/base/gstbasesink.h:
1665         * libs/gst/base/gstbasesrc.h:
1666         * libs/gst/base/gstbasetransform.h:
1667         * libs/gst/base/gstcollectpads.h:
1668         * libs/gst/base/gstpushsrc.h:
1669         Fix broken GObject macros
1670
1671 2006-04-07  Wim Taymans  <wim@fluendo.com>
1672
1673         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1674         Initialize start and stop times, thanks valgrind.
1675
1676 2006-04-07  Wim Taymans  <wim@fluendo.com>
1677
1678         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
1679         Be a bit nicer to badly behaving upstream elements that expect
1680         us to deal with non TIME segments and timestamps (such as fakesrc
1681         in the testsuite).
1682
1683 2006-04-07  Wim Taymans  <wim@fluendo.com>
1684
1685         * gst/gstbus.c:
1686         Small documentation clarification about the signal watch.
1687
1688         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
1689         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1690         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1691         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
1692         (gst_base_sink_get_position_last),
1693         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
1694         Convert and store timestamps in stream time and running time, the
1695         raw timestamps are not usefull, also document this better.
1696         Use different window sizes for good and bad QoS observations so
1697         we react to badness a little quicker.
1698         Keep track of the amount of rendered and dropped buffers.
1699         Send QoS timestamps in running time.
1700
1701         * libs/gst/base/gstbasetransform.c:
1702         (gst_base_transform_sink_eventfunc),
1703         (gst_base_transform_handle_buffer):
1704         Compare QoS timestamps against running time.
1705
1706 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
1707
1708         * gst/gstpad.c:
1709           Typo fixes in docs.
1710
1711 2006-04-06  Michael Smith  <msmith@fluendo.com>
1712
1713         * gst/gstpad.c: (gst_pad_set_property):
1714           Use g_value_get_object() instead of g_value_dup_gst_object(),
1715           to avoid double-reffing the pad template (which we then sink,
1716           so this worked previously if (and only if) the pad template
1717           was floating.
1718
1719         * gst/gstpadtemplate.c: (gst_pad_template_init),
1720         (gst_pad_template_pad_created):
1721           Never return floating references to pad templates, create
1722           them as initially-sunken.
1723
1724           Document an extra function (and make this stop sinking our
1725           pad template, since that is now guaranteed to do nothing,
1726           since we created it sunken).
1727
1728         * gst/gstghostpad.c:
1729           Fix docs typo.
1730
1731 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
1732
1733         * gst/gstinfo.c: (__gst_in_valgrind):
1734           Add some newlines.
1735
1736         * plugins/elements/gsttypefindelement.c:
1737         (gst_type_find_element_chain):
1738           Don't leak buffer caps.
1739
1740 2006-04-06  Michael Smith  <msmith@fluendo.com>
1741
1742         * gst/parse/grammar.y:
1743           Fix a leak in parse-launch for any source-or-sink named element 
1744           references used.
1745
1746         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
1747           Unref the pipeline if it exists after we've failed parsing.
1748
1749 2006-04-05  Michael Smith  <msmith@fluendo.com>
1750
1751         * gst/gstpipeline.c: (gst_pipeline_init):
1752           When we create a pipeline bus, initially create it in flushing mode.
1753           Fixes leaks in at least one test, and makes a new pipeline work the
1754           same as one that has gone to READY and then back to NULL.
1755
1756         * gst/gstelement.c:
1757           Typo fix in docs.
1758
1759 2006-04-05  Michael Smith  <msmith@fluendo.com>
1760
1761         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
1762           Unref a pad we reffed.
1763         * tests/check/gst/gstutils.c: (GST_START_TEST):
1764           Unref bins
1765
1766 2006-04-05  Michael Smith  <msmith@fluendo.com>
1767
1768         * gst/gstquery.c: (gst_query_set_formats),
1769         (gst_query_set_formatsv):
1770           Fix leaking GValues in queries, as shown by valgrind/testsuite.
1771
1772 2006-04-05  Michael Smith  <msmith@fluendo.com>
1773
1774         * tests/check/generic/sinks.c: (GST_START_TEST):
1775           Fix a variety of memleaks in sinks check, which are only sometimes 
1776           shown by running the tests under valgrind (weird?).
1777
1778 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
1779
1780         * docs/version.entities.in:
1781           Fix the substituted entity name after thomas' changes on the
1782           weekend.
1783
1784 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
1785
1786         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
1787         VALGRIND_PRINTF
1788         
1789 2006-04-05  Andy Wingo  <wingo@pobox.com>
1790
1791         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
1792
1793         * libs/gst/base/gstbasetransform.c
1794         (gst_base_transform_sink_eventfunc): When resetting our segment on
1795         FLUSH_STOP, also update the flag saying we haven't seen a
1796         newsegment.
1797
1798 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
1799
1800         Patch by: Paolo Borelli  <pborelli at katamail dot com>
1801
1802         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
1803         (gst_plugin_check_license):
1804           minor clean-ups: G_DEFINE_TYPE already takes care of the
1805           parent_class stuff, no need to do it twice. Mark array of
1806           license strings as constant. (#337103)
1807           
1808 2006-04-04  Michael Smith  <msmith@fluendo.com>
1809
1810         * tools/gst-inspect.c: (print_element_list):
1811           Free the right plugin list; fixes a memory leak.
1812
1813 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
1814
1815         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
1816
1817         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
1818           Don't error out on empty buffers (#336945).
1819           
1820 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
1821
1822         * docs/libs/gstreamer-libs-sections.txt:
1823         * gst/gsttaglist.c:
1824         * libs/gst/base/gstbasesink.c:
1825         * libs/gst/base/gstbasesink.h:
1826         * libs/gst/base/gstbasesrc.c:
1827         * libs/gst/base/gstbasesrc.h:
1828           Documentation updates. Make BaseSink and BaseSrc docs contain the
1829           class structure so that people can actually see the prototypes for
1830           virtual functions they're supposed to be overriding.
1831
1832 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
1833
1834         * plugins/elements/gsttypefindelement.c:
1835         (gst_type_find_element_chain):
1836           More debug info; when skipping typefinding, send cached
1837           events in all cases.
1838
1839 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
1840
1841         * configure.ac:
1842           use new AS_VERSION and AS_NANO macros
1843         * gst/gst-i18n-lib.h:
1844         * gst/gst.c:
1845         * gst/gsterror.c:
1846         * gst/gstversion.h.in:
1847         * win32/common/config.h:
1848         * win32/common/config.h.in:
1849           update accordingly
1850
1851 2006-03-31  Michael Smith  <msmith@fluendo.com>
1852
1853         * plugins/elements/gsttypefindelement.c:
1854         (gst_type_find_element_chain):
1855           Do not typefind content if the buffers already have caps.
1856           Neccesary for icydemux (#333657), and the right thing to do anyway.
1857
1858 2006-03-30  Wim Taymans  <wim@fluendo.com>
1859
1860         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1861         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
1862         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
1863         (gst_base_sink_record_qos_observation),
1864         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1865         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1866         (gst_base_sink_change_state):
1867         More QoS measurements as described in the design doc.
1868         Get rid of ringbuffer with observations, running average is
1869         more simple and equally good.
1870         Calculates valid proportion now.
1871         Added beginning of flood measurement.
1872
1873 2006-03-29  Wim Taymans  <wim@fluendo.com>
1874
1875         * docs/design/part-qos.txt:
1876         * gst/gstclock.c:
1877         Small documentation updates and additions.
1878
1879 2006-03-29  Wim Taymans  <wim@fluendo.com>
1880
1881         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1882         (gst_base_src_send_event), (gst_base_src_loop),
1883         (gst_base_src_change_state):
1884         Perform the EOS logic when we reach the segment stop position.
1885         Fix compilation on gcc4.1
1886
1887 2006-03-29  Wim Taymans  <wim@fluendo.com>
1888
1889         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
1890
1891         * plugins/elements/gstqueue.c: (gst_queue_init),
1892         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
1893         (gst_queue_set_property):
1894         * plugins/elements/gstqueue.h:
1895         In queue, when EOS is received, if minimum threshold > max_size -
1896         current_level, there is chance that queue blocks forever in conditional
1897         item del wait. This is because the queue is not emptied completely due
1898         to minimum threshold.  Here is another approach. Instead of setting
1899         cur_levels to max in EOS, just zero all minimum threshold levels. This
1900         should make sure that queue gives out all data. When going to READY
1901         (stop) state, just reset the original minimum threshold levels.
1902         Fixes #336336.
1903
1904 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
1905
1906         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
1907         (gst_type_find_element_handle_event),
1908         (gst_type_find_element_send_cached_events),
1909         (gst_type_find_element_change_state):
1910         * plugins/elements/gsttypefindelement.h:
1911           When typefinding is done in push mode, we should cache
1912           events we receive during typefinding instead of just
1913           dropping them (e.g. newsegment, custom events from
1914           dvdreadsrc etc.) and then send them out once we've
1915           determined the type of the stream (and decodebin
1916           has had a chance to plug in a decoder/demuxer).
1917           
1918 2006-03-27  Wim Taymans  <wim@fluendo.com>
1919
1920         * docs/design/part-qos.txt:
1921         First QoS ideas.
1922
1923 2006-03-27  Wim Taymans  <wim@fluendo.com>
1924
1925         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
1926
1927         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
1928         (gst_base_src_send_event), (gst_base_src_change_state):
1929         Handle element seek correctly when we are streaming.
1930         Fixes #326998.
1931
1932 2006-03-24  Michael Smith  <msmith@fluendo.com>
1933
1934         * docs/faq/gst-uninstalled:
1935           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
1936           allow you to correctly run intalled applications built against old 
1937           core, using plugins that require updated core (e.g. running
1938           installed totem against a full uninstalled gstreamer stack)
1939
1940 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
1941
1942         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
1943         more debug details
1944
1945 2006-03-24  Wim Taymans  <wim@fluendo.com>
1946
1947         * docs/gst/gstreamer-sections.txt:
1948         Rearrange the order of the methods so that related methods
1949         are grouped together in sections.
1950
1951 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
1952
1953         * gst/gstelement.c:
1954           Little clarification in the docs
1955
1956 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
1957
1958         * docs/README:
1959         formatting fix
1960         * plugins/elements/gstidentity.c:
1961         * plugins/elements/gstqueue.c:
1962         * plugins/elements/gsttee.c:
1963         * plugins/elements/gsttypefindelement.c:
1964         GST_ELEMENT_DETAILS formatting
1965
1966 2006-03-24  Wim Taymans  <wim@fluendo.com>
1967
1968         * libs/gst/base/gstbasesink.h:
1969         Only add fields, not insert or we break ABI.
1970
1971 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
1972
1973         * win32/common/libgstbase.def:
1974         * win32/common/libgstreamer.def:
1975           Update, add recently added functions.
1976
1977 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
1978
1979         * docs/gst/gstreamer-sections.txt:
1980         * gst/gstutils.c: (gst_pad_query_peer_position),
1981         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
1982         * gst/gstutils.h:
1983           API: add some new utility functions:
1984            - gst_pad_query_peer_position()
1985            - gst_pad_query_peer_duration()
1986            - gst_pad_query_peer_convert()
1987           
1988 2006-03-23  Wim Taymans  <wim@fluendo.com>
1989
1990         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
1991         (gst_base_sink_init), (gst_base_sink_finalize),
1992         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
1993         (gst_base_sink_set_property), (gst_base_sink_get_property),
1994         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
1995         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
1996         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
1997         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
1998         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
1999         (gst_base_sink_preroll_object), (gst_base_sink_event),
2000         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
2001         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
2002         (gst_base_sink_query), (gst_base_sink_change_state):
2003         Decouple max-lateness and the fact that QoS messages are generated
2004         with a new property (qos).
2005         added API: GstBaseSink::async_play()
2006         Add vmethod so subclasses can be notified of ASYNC playing
2007         state changes.
2008         Collect timestamp start and stop to report better current
2009         position in EOS/PLAYING/PAUSED/READY/NULL.
2010         Refactor QoS/frame dropping and other measurements.
2011         API: GstBaseSrc::qos
2012         Fixes #326311
2013
2014         * libs/gst/base/gstbasesink.h:
2015         Added Private struct.
2016         API: gst_base_sink_set_qos_enabled()
2017         API: gst_base_sink_is_qos_enabled()
2018
2019 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
2020
2021         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
2022           If compiling against GLib-2.8 or newer, try to read the
2023           registry file using GMappedFile first before falling back
2024           to fopen() + fread() (#332151).
2025
2026 2006-03-22  Wim Taymans  <wim@fluendo.com>
2027
2028         * gst/gstinfo.c: (gst_debug_set_active),
2029         (gst_debug_category_set_threshold):
2030         Disable debugging unless explicitly activated.
2031         Fixes #335480.
2032
2033 2006-03-22  Wim Taymans  <wim@fluendo.com>
2034
2035         * gst/gstelement.c: (gst_element_set_locked_state),
2036         (gst_element_dispose):
2037         Cleanup the error case.
2038
2039         * gst/gstobject.c: (gst_object_dispose):
2040         print a critical when some object was disposed with
2041         a parent, also revive the object since it might
2042         crash the parent.
2043
2044 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
2045
2046         * tools/gst-launch.1.in:
2047           Fix another typo.
2048
2049 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2050
2051         * configure.ac:
2052         * tests/check/Makefile.am:
2053           disable some tests when we don't have a registry
2054         * tests/check/gst/gstutils.c: (gst_utils_suite):
2055           don't build the part that needs parsing
2056
2057 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
2058
2059         * gst/Makefile.am
2060         * tests/examples/Makefile.am:
2061           fix --disable-parse build
2062
2063 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2064
2065         * tools/gst-feedback.1.in:
2066           Fix typo: s/feeback/feedback/ (#133494).
2067
2068 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2069
2070         * tools/Makefile.am:
2071         * tools/gst-launch.1.in:
2072           Add FILES section and correct entry about GST_REGISTRY_PATH
2073           environment variable (#133495; #133494).
2074
2075 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2076
2077         * tools/Makefile.am:
2078         * tools/gst-md5sum.1.in:
2079         * tools/gst-md5sum.c:
2080           Remove gst-md5sum and man page (the md5sink element
2081           required was removed ages ago)
2082
2083 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2084
2085         * gst/gststructure.c: (gst_structure_id_set_value):
2086           Make sure that string fields in structures/taglists
2087           contain valid UTF-8 - we don't want to pass rubbish to
2088           applications because of a buggy plugin (cp. #334167).
2089
2090 2006-03-21  Edward Hervey  <edward@fluendo.com>
2091
2092         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
2093         (gst_bin_handle_message_func):
2094         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
2095         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
2096         (gst_element_set_bus_func):
2097         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
2098         * gst/gstminiobject.c: (gst_value_set_mini_object),
2099         (gst_value_take_mini_object):
2100         * gst/gstpad.c: (gst_pad_set_pad_template):
2101         * gst/gstpipeline.c: (gst_pipeline_dispose),
2102         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
2103         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
2104         (gst_collect_pads_chain):
2105         * libs/gst/net/gstnettimeprovider.c:
2106         (gst_net_time_provider_set_property):
2107         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
2108         It's in fact all issues with gst_*object_replace().
2109
2110 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
2111
2112         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
2113         
2114         * pkgconfig/gstreamer-check-uninstalled.pc.in:
2115         * pkgconfig/gstreamer-check.pc.in:
2116           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
2117
2118 2006-03-21  Edward Hervey  <edward@fluendo.com>
2119
2120         * gst/gstbuffer.h:
2121         * gst/gstevent.h:
2122         * gst/gstmessage.h:
2123         gst_[buffer|event|message]_ref() macros are replaced by a static
2124         inline functions because gcc-4.1 will about if the return value
2125         isn't used.
2126         * tests/check/gst/gstevent.c: (event_probe):
2127         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
2128
2129 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
2130
2131         * gst/gstutils.h:
2132         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
2133         the type' case. (Closes: #335195 for now). In the future, when we
2134         depend on GLib 2.10, we could also intern the type name using
2135         g_intern_static_string()
2136
2137 2006-03-20  Wim Taymans  <wim@fluendo.com>
2138
2139         * gst/gstbin.c: (gst_bin_handle_message_func),
2140         (bin_query_max_init), (bin_query_position_fold),
2141         (bin_query_position_done), (gst_bin_query):
2142         Position query should also take max of all streams.
2143
2144 2006-03-20  Wim Taymans  <wim@fluendo.com>
2145
2146         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
2147         (gst_fake_src_finalize):
2148         Fix leaks in fakesrc.
2149
2150         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
2151         Fix leaks in the testcase.
2152
2153 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
2154
2155         * gst/gst_private.h:
2156           add win32 specific import decoration(__declspec(dllimport)) 
2157           for all extern GstDebugCategory * variables
2158         * win32/common/libgstbase.def:
2159         * win32/common/libgstcontroller.def:
2160         * win32/common/libgstreamer.def:
2161           Add some exports, remove empty lines
2162         * win32/common/libgstdataprotocol.def:
2163         * win32/common/libgstdataprotocol.dsp:
2164         * win32/common/libgstnet.def:
2165         * win32/common/libgstnet.dsp:
2166           new project files and exportation files added
2167         
2168 2006-03-19  Wim Taymans  <wim@fluendo.com>
2169
2170         * tests/check/libs/basesrc.c: (eos_event_counter):
2171         Use proper return value for probe.
2172
2173 2006-03-17  Wim Taymans  <wim@fluendo.com>
2174
2175         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2176         (gst_pad_push):
2177         Don't leak buffers, caps and pads on negotiation errors.
2178
2179 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
2180
2181         * docs/faq/cvs.xml:
2182         * docs/faq/dependencies.xml:
2183         * docs/faq/developing.xml:
2184         * docs/faq/faq.xml:
2185         * docs/faq/general.xml:
2186         * docs/faq/getting.xml:
2187         * docs/faq/legal.xml:
2188         * docs/faq/troubleshooting.xml:
2189         * docs/faq/using.xml:
2190         Faq review and update.
2191
2192 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
2193
2194         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
2195         (gst_pad_push):
2196         Don't pound the cpu to pieces by checking get_caps when accept_caps
2197         is called with the same caps as the pad already has.
2198         Use GST_DEBUG_OBJECT when outputting caps change information.
2199
2200 2006-03-15  Wim Taymans  <wim@fluendo.com>
2201
2202         * gst/gstclock.c: (gst_clock_class_init):
2203         Fix docs.
2204
2205 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
2206
2207         * gst/gstbuffer.h:
2208         Documentation fix.
2209
2210         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
2211         (gst_pad_accept_caps), (gst_pad_configure_sink),
2212         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
2213         Make the default acceptcaps behaviour be to check the requested 
2214         caps against the gst_pad_get_caps output. 
2215
2216         Ensure that gst_pad_accept_caps is used to check caps when a pad
2217         doesn't have a setcaps function, so that pads automatically refuse 
2218         caps that they don't allow in their pad template. (Fixes #332986)
2219
2220         When a buffer with attached caps is pushed, ensure that the source 
2221         pad receives those caps even if the element didn't call
2222         gst_pad_set_caps first.
2223
2224 2006-03-15  Wim Taymans  <wim@fluendo.com>
2225
2226         * libs/gst/base/gstadapter.c:
2227         Add some docs.
2228
2229 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
2230
2231         * win32/common/libgstbase.def:
2232         * win32/common/libgstcontroller.def:
2233         * win32/common/libgstreamer.def:
2234           Add a whole bunch of missing functions (#334434).
2235
2236 2006-03-14  Wim Taymans  <wim@fluendo.com>
2237
2238         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
2239         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
2240         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
2241         Better debug info when we receive a segment event.
2242         Reorganize a bit so we can pass the get_times() results around.
2243         Use the segment format when calculating the running time.
2244         Don't do QoS is sync is disabled or we have no clock or the
2245         element does not want us to sync to the clock.
2246         Don't drop buffers if QoS is disabled for now.
2247
2248 2006-03-14  Wim Taymans  <wim@fluendo.com>
2249
2250         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
2251         Marked the stats property as unimplemented so people don't get
2252         wild ideas.
2253         Add debug message when regression goes wrong.
2254         Added some more docs.
2255
2256 2006-03-14  Wim Taymans  <wim@fluendo.com>
2257
2258         * gst/gstsegment.c: (gst_segment_to_stream_time):
2259         Return correct return type in case of errors.
2260
2261 2006-03-14  Wim Taymans  <wim@fluendo.com>
2262
2263         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
2264           Don't segfault on invalid formats.
2265
2266 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
2267
2268         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
2269           Can't use gst_segment_to_running_time() when the segment
2270           is not in GST_TIME_FORMAT (like with filesink, for example).
2271           Stops flac encoding pipelines from spewing critical warnings
2272           at EOS (#331248).
2273           
2274 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
2275
2276         * gst/gstpipeline.c: (gst_pipeline_class_init):
2277           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
2278
2279         * plugins/elements/gsttypefindelement.c:
2280         (gst_type_find_element_handle_event):
2281           Don't try to typefind empty streams.
2282
2283 2006-03-14  Wim Taymans  <wim@fluendo.com>
2284
2285         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
2286         (gst_base_sink_do_qos):
2287         Separate QoS calculation.
2288         Only drop buffers when lateness is bigger than the 
2289         duration of the buffer.
2290
2291 2006-03-13  Wim Taymans  <wim@fluendo.com>
2292
2293         * gst/gstpipeline.c: (gst_pipeline_set_property),
2294         (gst_pipeline_get_property), (do_pipeline_seek),
2295         (gst_pipeline_change_state), (gst_pipeline_set_delay),
2296         (gst_pipeline_get_delay):
2297         Don't deadlock when reading properties.
2298
2299 2006-03-13  Wim Taymans  <wim@fluendo.com>
2300
2301         * libs/gst/base/gstbasetransform.c:
2302         (gst_base_transform_class_init), (gst_base_transform_init),
2303         (gst_base_transform_sink_event),
2304         (gst_base_transform_sink_eventfunc),
2305         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
2306         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
2307         (gst_base_transform_set_property),
2308         (gst_base_transform_get_property),
2309         (gst_base_transform_change_state), (gst_base_transform_update_qos),
2310         (gst_base_transform_set_qos_enabled),
2311         (gst_base_transform_is_qos_enabled):
2312         * libs/gst/base/gstbasetransform.h:
2313         Make basetransform virtual method for src events too.
2314         Handle QOS in basetransform.
2315         API: gst_base_transform_update_qos()
2316         API: gst_base_transform_set_qos_enabled()
2317         API: gst_base_transform_is_qos_enabled()
2318
2319 2006-03-13  Wim Taymans  <wim@fluendo.com>
2320
2321         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
2322         (gst_base_sink_do_sync):
2323         Small cleanups.
2324         Use QOS debug category.
2325
2326 2006-03-13  Wim Taymans  <wim@fluendo.com>
2327
2328         * plugins/elements/gstqueue.c:
2329         Very small doc update.
2330
2331 2006-03-13  Wim Taymans  <wim@fluendo.com>
2332
2333         * gst/gst_private.h:
2334         * gst/gstinfo.c: (_gst_debug_init):
2335         Added QOS debug category
2336
2337 2006-03-13  Wim Taymans  <wim@fluendo.com>
2338
2339         * docs/gst/gstreamer-sections.txt:
2340         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
2341         * gst/gstbin.h:
2342         * gst/gstbus.c: (gst_bus_class_init):
2343         * gst/gstbus.h:
2344         * gst/gstclock.c:
2345         * gst/gstelement.c: (gst_element_set_locked_state):
2346         * gst/gstsegment.c:
2347         Documentation updates.
2348
2349         * gst/gstpipeline.c: (gst_pipeline_get_type),
2350         (gst_pipeline_class_init), (gst_pipeline_init),
2351         (gst_pipeline_dispose), (gst_pipeline_set_property),
2352         (gst_pipeline_get_property), (do_pipeline_seek),
2353         (gst_pipeline_send_event), (gst_pipeline_change_state),
2354         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
2355         (gst_pipeline_get_delay):
2356         * gst/gstpipeline.h:
2357         Added methods for setting the delay.
2358         API: gst_pipeline_set_delay()
2359         API: gst_pipeline_get_delay()
2360         Add pipeline debug category
2361         Various cleanups.
2362         Updated docs.
2363         Don't reset stream time when seek failed.
2364
2365 2006-03-13  Wim Taymans  <wim@fluendo.com>
2366
2367         * docs/design/draft-klass.txt:
2368         * docs/design/part-clocks.txt:
2369         * docs/design/part-events.txt:
2370         * docs/design/part-gstbin.txt:
2371         * docs/design/part-gstpipeline.txt:
2372         * docs/design/part-messages.txt:
2373         * docs/design/part-negotiation.txt:
2374         * docs/design/part-overview.txt:
2375         * docs/design/part-preroll.txt:
2376         * docs/design/part-seeking.txt:
2377         * docs/design/part-states.txt:
2378         * docs/design/part-streams.txt:
2379         Documentation updates.
2380
2381 2006-03-12  Julien MOUTTE  <julien@moutte.net>
2382
2383         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
2384         us to leak strings...
2385
2386 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
2387
2388         * libs/gst/net/gstnettimeprovider.c:
2389           fix docs
2390         * win32/common/config.h:
2391           update
2392
2393 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
2394
2395         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
2396
2397         * configure.ac:
2398           Don't check for libgnomeui (leftover from old examples
2399           that aren't built or disted any longer) (#334303).
2400           
2401 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
2402
2403         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
2404         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
2405           Emit RESOURCE_NO_SPACE_LEFT error here as well when
2406           there's no space left on the device.
2407
2408 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
2409
2410         * gst/gstclock.h:
2411           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
2412           to cast the input to GstClockTime before comparing with
2413           another GstClockTime value.
2414
2415 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
2416
2417         * configure.ac:
2418           back to trunk
2419
2420 === release 0.10.4 ===
2421
2422 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
2423
2424         * configure.ac:
2425           releasing 0.10.4, "Light"
2426
2427 2006-03-10  Michael Smith  <msmith@fluendo.com>
2428
2429         * libs/gst/dataprotocol/dataprotocol.c:
2430           Fix docs for dataprocotol to not get the return types completely
2431           wrong for a few functions.
2432
2433 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
2434
2435         * docs/gst/gstreamer-sections.txt:
2436         * gst/gstpipeline.c: (gst_pipeline_class_init),
2437         (gst_pipeline_init), (gst_pipeline_set_property),
2438         (gst_pipeline_get_property), (gst_pipeline_change_state),
2439         (gst_pipeline_set_auto_flush_bus),
2440         (gst_pipeline_get_auto_flush_bus):
2441         * gst/gstpipeline.h:
2442           Add new API: gst_pipeline_set_auto_flush_bus() and
2443           gst_pipeline_get_auto_flush_bus() to disable automatic
2444           flushing of the pipeline's GstBus when going from READY
2445           to NULL state (#332045).
2446
2447 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
2448
2449         * docs/gst/gstreamer-sections.txt:
2450         * gst/gsturi.c: (gst_uri_has_protocol):
2451         * gst/gsturi.h:
2452            Add new API: gst_uri_has_protocol() (#333779).
2453
2454 2006-03-09  Wim Taymans  <wim@fluendo.com>
2455
2456         * gst/gstclock.c: (gst_clock_entry_new),
2457         (gst_clock_id_compare_func), (gst_clock_id_wait),
2458         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
2459         (gst_clock_init), (gst_clock_get_internal_time),
2460         (gst_clock_set_master), (do_linear_regression),
2461         (gst_clock_add_observation), (gst_clock_set_property):
2462         * gst/gstclock.h:
2463         Review docs.
2464         Small cleanups.
2465         Fix a possible segfault when the window-size is made smaller.
2466         Calculate jitter before performing the clock wait. Ideally
2467         the clock implementation should calculate jitter but we need
2468         API breakage for that.
2469
2470         * gst/gstsystemclock.c: (gst_system_clock_init):
2471         Docs review.
2472         
2473         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2474         Remove leftover else
2475
2476         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
2477         (gst_systemclock_suite):
2478         Added check to test GST_CLOCK_DIFF.
2479
2480 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
2481
2482         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
2483         (gst_type_find_helper_get_range):
2484           If we are provided with the size, we should implement
2485           GstTypeFind::get_length, so that typefind functions who
2486           want to can actually peek at the middle of a file.
2487
2488 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
2489
2490         * docs/manual/advanced-dataaccess.xml:
2491           Add some very very basic error checking.
2492
2493         * docs/pwg/appendix-checklist.xml:
2494           Some updates to the list of things to check when writing an element.
2495
2496 2006-03-08  Wim Taymans  <wim@fluendo.com>
2497
2498         * docs/design/part-element-transform.txt:
2499         Added some docs about the design of tranform elements.
2500
2501         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2502         (gst_base_src_loop), (gst_base_src_change_state):
2503         Mark buffers with the DISCONT flag.
2504
2505 2006-03-08  Michael Smith  <msmith@fluendo.com>
2506
2507         * gst/gstregistry.h:
2508         * gst/gstregistryxml.c: (gst_registry_save),
2509         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
2510         (gst_registry_xml_save_pad_template),
2511         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
2512         (gst_registry_xml_write_cache):
2513           Rewrite registry-saving to avoid race conditions and check for
2514           failed writes.
2515
2516 2006-03-08  Wim Taymans  <wim@fluendo.com>
2517
2518         * libs/gst/base/gstbasetransform.c:
2519         (gst_base_transform_transform_caps),
2520         (gst_base_transform_transform_size),
2521         (gst_base_transform_prepare_output_buffer),
2522         (gst_base_transform_get_unit_size),
2523         (gst_base_transform_buffer_alloc),
2524         (gst_base_transform_handle_buffer),
2525         (gst_base_transform_change_state):
2526         Cleanups, separate normal flow from errors, add sensible
2527         DEBUG lines.
2528         Don't try to renegotiate when allocating an output buffer.
2529         Also copy DISCONT buffer flag when copying a buffer.
2530         Reset the transform after we finish streaming, not during.
2531
2532 2006-03-08  Wim Taymans  <wim@fluendo.com>
2533
2534         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
2535         Use last buffer timestamp in qos message.
2536
2537 2006-03-07  Wim Taymans  <wim@fluendo.com>
2538
2539         Patch by: Christophe Fergeau
2540
2541         * docs/pwg/advanced-tagging.xml:
2542         * docs/pwg/building-pads.xml:
2543           fixes #333416
2544
2545 2006-03-07  Wim Taymans  <wim@fluendo.com>
2546
2547         * docs/libs/gstreamer-libs-sections.txt:
2548         Added basesink new methods.
2549
2550         * gst/gstevent.c:
2551         * gst/gstevent.h:
2552         Docs updates. Flesh out the QoS docs.
2553
2554         * libs/gst/base/gstadapter.c:
2555         Small doc clarification about ownership and flushing.
2556
2557         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
2558         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
2559         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
2560         (gst_base_sink_get_property), (gst_base_sink_do_sync):
2561         * libs/gst/base/gstbasesink.h:
2562         API additions: 
2563         Added new methods to allow subclass to control max-lateness 
2564         and sync.
2565         Generate very basic QoS events based on last sync observation.
2566         Updated docs, fix typo, added some QoS blurb.
2567
2568         * libs/gst/base/gstbasesrc.c:
2569         Remove obsolete _get_state() calls from docs.
2570
2571 2006-03-07  Wim Taymans  <wim@fluendo.com>
2572
2573         * docs/libs/gstreamer-libs-sections.txt:
2574         * libs/gst/base/gstbasetransform.h:
2575         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
2576         Fix docs for GstBaseSrc.
2577
2578 2006-03-07  Wim Taymans  <wim@fluendo.com>
2579
2580         * docs/gst/gstreamer-sections.txt:
2581         * gst/gstbuffer.h:
2582         * gst/gstvalue.c:
2583         * libs/gst/base/gstbasetransform.h:
2584         Small documentation fixes.
2585
2586 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2587
2588         * gst/gstvalue.c:
2589           Document thread-unsafety of gst_value_register_foo_func()
2590           when used at the same time as gst_value_foo() (#322628).
2591
2592 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
2593
2594         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
2595         (gst_push_src_check_get_range):
2596           Push sources don't support pull mode by default.
2597
2598 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
2599
2600         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2601         (gst_base_src_init), (gst_base_src_pad_check_get_range),
2602         (gst_base_src_default_check_get_range):
2603         * libs/gst/base/gstbasesrc.h:
2604           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
2605           provide default implementation, and rename
2606           gst_base_src_check_get_range() to
2607           gst_base_src_pad_check_get_range() for clarity.
2608
2609 2006-03-06  Wim Taymans  <wim@fluendo.com>
2610
2611         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2612         Make property overridable.
2613
2614 2006-03-06  Wim Taymans  <wim@fluendo.com>
2615
2616         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
2617         (gst_base_sink_init), (gst_base_sink_set_property),
2618         (gst_base_sink_get_property), (gst_base_sink_do_sync):
2619         * libs/gst/base/gstbasesink.h:
2620         API addition: Make max-lateness a property.
2621
2622 2006-03-06  Wim Taymans  <wim@fluendo.com>
2623
2624         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
2625         (gst_base_sink_do_sync), (gst_base_sink_render_object):
2626         Don't ever draw a frame that is >10ms late.
2627
2628 2006-03-06  Michael Smith  <msmith@fluendo.com>
2629
2630         * gst/gstmessage.c: (_gst_message_copy):
2631           When copying a message, set the parent_refcount of the enclosed
2632           structure to point at the copy, not the original message.
2633
2634 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
2635
2636         Patch by: Christophe Fergeau
2637
2638         * gst/gstutils.h:
2639           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
2640           usable in c++ code (#333417)
2641
2642 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
2643
2644         * gst/gstclock.h:
2645           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
2646
2647 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
2648
2649         * libs/gst/base/gstbasetransform.c:
2650         (gst_base_transform_transform_caps):
2651           Make sure caps are writable before passing them to
2652           gst_caps_append().
2653
2654 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
2655
2656         * gst/gsterror.h:
2657           Fix some minor docs errors.
2658
2659 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
2660
2661           Patch by: Ross Burton <ross at burtonini dot com>
2662
2663         * gst/gsterror.c: (_gst_resource_errors_init):
2664         * gst/gsterror.h:
2665           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
2666
2667 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
2668
2669         * gst/gst.c:
2670         Add a check and output a g_warning when GStreamer is built
2671         against GLib 2.6 but running against 2.8 or higher, and vice 
2672         versa. (Closes: #323542)
2673
2674 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
2675
2676         * gst/parse/parse.l:
2677           Commit patch for parse_launch syntax from #331255. Removes 
2678           support for quoted strings and mimetypes when writing filtered 
2679           caps. See the bug report for more details - I'm pretty sure this
2680           obscure feature is not in use by _anyone_ anywhere.
2681
2682           With this simple change, the size of the gstreamer.so here 
2683           drops from 2193KB to 1565KB.
2684
2685 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2686
2687         * plugins/elements/gsttypefindelement.h:
2688         * plugins/elements/gsttypefindelement.c:
2689         (gst_type_find_element_src_event), (start_typefinding),
2690         (stop_typefinding), (gst_type_find_element_handle_event),
2691         (gst_type_find_element_chain),
2692         (gst_type_find_element_chain_do_typefinding):
2693           Use gst_type_find_helper_for_buffer() for chain-based
2694           typefinding.
2695
2696 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2697
2698         * plugins/elements/gsttypefindelement.c:
2699         (gst_type_find_element_class_init),
2700         (gst_type_find_element_set_property),
2701         (gst_type_find_element_get_property):
2702           Deprecate "maximum" property (not only was it only taken into
2703           account for typefinding in push-mode anyway, it also was never
2704           actually possible to set it in the first place because the
2705           property was registered with the numeric property ID for the
2706           "minimum" property). Register "maximum" property correctly,
2707           for the sake of future copy'n'pasters. Remove some cruft
2708           from property get/set functions.
2709
2710 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
2711
2712         * plugins/elements/gsttypefindelement.c:
2713         (gst_type_find_element_activate):
2714           Use gst_type_find_helper_get_range() here, so we
2715           can honour the "minimum" property and also emit
2716           the signal with the correct probability of the found caps.
2717
2718 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
2719
2720         * docs/libs/gstreamer-libs-sections.txt:
2721         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
2722         (helper_find_suggest), (gst_type_find_helper_get_range),
2723         (gst_type_find_helper):
2724         * libs/gst/base/gsttypefindhelper.h:
2725           New API: gst_type_find_helper_get_range() (#333042).
2726
2727 2006-03-02  Michael Smith  <msmith@fluendo.com>
2728
2729         * gst/gstregistryxml.c: (load_feature):
2730           Asserting on a failure to read part of the registry is Not Cool.
2731           Just log a warning and return NULL (which is already handled)
2732
2733 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
2734
2735         * win32/common/libgstbase.def:
2736           added export of gst_type_find_helper_for_buffer
2737         * win32/common/libgstbase.def:
2738           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
2739           gst_ghost_pad_get_target
2740
2741 2006-02-28  Wim Taymans  <wim@fluendo.com>
2742
2743         * docs/design/draft-klass.txt:
2744         We use Filter now.
2745         Added Connector to mark elements that are only used to
2746         allow pipeline connections.
2747         Moved Debug to extra feature since most of them are 
2748         functionally something else.
2749
2750 2006-02-28  Wim Taymans  <wim@fluendo.com>
2751
2752         * docs/design/draft-klass.txt:
2753         Some updates and clarifications.
2754
2755 2006-02-28  Wim Taymans  <wim@fluendo.com>
2756
2757         * docs/design/draft-klass.txt:
2758         Proposal for klass field values.
2759
2760         * docs/design/part-streams.txt:
2761         Start of a doc describing stream anatomy.
2762
2763 2006-02-28  Wim Taymans  <wim@fluendo.com>
2764
2765         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
2766         Help the compiler a bit with type registration.
2767         Use existing forward cod path instead of duplicating it when 
2768         handling a message.
2769         
2770         * gst/gstbus.c: (gst_bus_get_type):
2771         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
2772         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
2773         * gst/gstclock.c: (gst_clock_get_type):
2774         * gst/gstelement.c: (gst_element_get_type),
2775         * gst/gstelementfactory.c: (gst_element_factory_get_type):
2776         * gst/gstindexfactory.c: (gst_index_factory_get_type):
2777         * gst/gstminiobject.c: (gst_mini_object_get_type):
2778         * gst/gstpad.c: (gst_pad_get_type):
2779         * gst/gstsegment.c: (gst_segment_get_type):
2780         * gst/gststructure.c: (gst_structure_get_type):
2781         * gst/gstsystemclock.c: (gst_system_clock_get_type):
2782         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
2783         * gst/gstvalue.c:
2784         Help compiler with type registration.
2785
2786         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
2787         Small doc update.
2788
2789 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
2790
2791         * plugins/elements/gsttypefindelement.c:
2792         (gst_type_find_element_handle_event):
2793           When we get an EOS event and have not found a type yet
2794           (most likely because we had not yet accumulated
2795           TYPE_FIND_MIN_SIZE of data yet), try to determine the
2796           type given the data we have so far. Fixes typefinding
2797           for very short streams again, most notably quicktime
2798           redirections as used on Apple's trailer site (#331701).
2799
2800 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
2801
2802         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
2803         (gst_type_find_helper):
2804           Try typefinding factories with the highest rank first.
2805
2806 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
2807
2808         * docs/libs/gstreamer-libs-docs.sgml:
2809         * docs/libs/gstreamer-libs-sections.txt:
2810         * libs/gst/base/gsttypefindhelper.c:
2811           Add section for typefind helper and add documentation
2812           for the old and the new function.
2813
2814 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
2815
2816         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
2817         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
2818         (gst_type_find_helper_for_buffer):
2819         * libs/gst/base/gsttypefindhelper.h:
2820           New API: gst_type_find_helper_for_buffer() (#332723).
2821           
2822 2006-02-27  Michael Smith  <msmith@fluendo.com>
2823
2824         Patch by: Loïc Minier
2825
2826         * configure.ac:
2827         * docs/Makefile.am:
2828         * docs/slides/Makefile.am:
2829           prevent CVS directories getting disted.
2830
2831 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
2832
2833         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
2834           Use the REFCOUNTING category for caps refcounting.
2835           
2836 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
2837
2838         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
2839           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
2840
2841 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
2842
2843         * plugins/elements/gsttypefindelement.c:
2844         (gst_type_find_element_activate):
2845           Use gst_pad_check_pull_range() before _activate_pull()
2846           to avoid unnecessary open/close (see #331690).
2847
2848 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
2849
2850         * gst/gstutils.c:
2851           Docs enhancement: make it crystal clear what the
2852           gst_pad_add_*_probe() callbacks should look like.
2853
2854 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
2855
2856         * libs/gst/base/gstbasesrc.c:
2857           Document how applications can stop recording from
2858           live sources (see #330996).
2859
2860 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2861
2862         * tests/check/Makefile.am:
2863         * tests/check/libs/basesrc.c: (eos_event_counter),
2864         (basesrc_eos_events_pull), (basesrc_eos_events_push),
2865         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
2866         (gst_basesrc_suite), (main):
2867           ... and add some tests for the base source EOS stuff.
2868
2869 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2870
2871         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
2872           Test case originally showed the problem fixed below,
2873           but was then amended. Add checks back at the place
2874           where they used to be.
2875
2876 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2877
2878         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
2879         (gst_base_src_init), (gst_base_src_loop),
2880         (gst_base_src_activate_push), (gst_base_src_activate_pull),
2881         (gst_base_src_change_state):
2882         * libs/gst/base/gstbasesrc.h:
2883           Don't unconditionally send EOS when going from PAUSED to
2884           READY state, esp. make sure we don't send two EOS events
2885           in some cases (e.g. one when reaching EOS and one when
2886           going from PAUSED to READY). Also, we don't want to send
2887           EOS events when operating in pull mode. However, we do
2888           want to send an EOS event when shutting down a live
2889           source explicitly, for example (fixes #330996).
2890           
2891 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2892
2893         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
2894           Update src->read_position after a seek when not using mmap.
2895           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
2896
2897 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
2898
2899         * gst/Makefile.am:
2900         * gst/gstparse.h:
2901         * gst/gstutils.c:
2902         * gst/gstutils.h:
2903         Make things work with --disable-parse as they do with 
2904         --disable-load-save - the symbols involved disappear, but the
2905         header is still installed and GST_DISABLE_PARSE is included via
2906         gstconfig.h
2907
2908 2006-02-20  Julien MOUTTE  <julien@moutte.net>
2909
2910         * libs/gst/base/gstbasetransform.c:
2911         (gst_base_transform_change_state): Fix a stupid bug. I was 
2912         sure I compiled that.
2913
2914 2006-02-20  Julien MOUTTE  <julien@moutte.net>
2915
2916         * gst/gstpad.c: (gst_pad_set_blocked_async):
2917         * gst/gstutils.c: (gst_pad_add_data_probe),
2918         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
2919         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
2920         (gst_pad_remove_buffer_probe): Make those function act on the
2921         ghostpad target when it's a ghostpad. (Closes #331727)
2922
2923 2006-02-20  Julien MOUTTE  <julien@moutte.net>
2924
2925         * libs/gst/base/gstbasetransform.c:
2926         (gst_base_transform_change_state): Make basetransform reusable.
2927         (Closes #331898)
2928
2929 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
2930
2931         * docs/random/release:
2932         Move the current documentation of how to do a release to the top
2933         of the file.
2934
2935         * gst/gstbin.c: (gst_bin_class_init),
2936         (gst_bin_handle_message_func):
2937         Allow multiple state-recalculation threads. (Closes #328873)
2938
2939 2006-02-19  Julien MOUTTE  <julien@moutte.net>
2940
2941         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
2942         * gst/gstpad.c: (gst_pad_set_event_function),
2943         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2944         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
2945         2 strings. You can't use the STR_NULL macro on that.
2946
2947 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
2948
2949         * gst/gstpad.c: (gst_pad_set_event_function),
2950         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
2951         (gst_pad_set_getcaps_function)
2952         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
2953           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
2954           So now, we can use --gst-debug-level=5 on Windows
2955         * win32/common/libgstcontroller.def:
2956           Added export of gst_controller_init
2957         * win32/vs6/libgstcontroller.dsp:
2958           Fixed Release post build configuration
2959
2960 2006-02-17  Wim Taymans  <wim@fluendo.com>
2961
2962         * tests/check/gst/gstquery.c: (GST_START_TEST):
2963         Added another check.
2964
2965 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
2966
2967         * plugins/elements/gsttypefindelement.c: (find_peek):
2968           We can do peeks at non-zero offsets, as long as they
2969           fall within the buffer we have.
2970
2971 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
2972
2973         * tests/check/Makefile.am:
2974         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
2975         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
2976         (parse_suite), (main):
2977           Add testsuite for parse launch syntax
2978
2979 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
2980
2981         * plugins/elements/gsttypefindelement.c:
2982         (gst_type_find_element_chain):
2983           When typefinding is unsuccessful in the chain function, don't
2984           error out immediately. Only error out with NO_CAPS_FOUND if
2985           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
2986           otherwise simply wait for more data so we can try typefinding
2987           again with more data later. Also, don't attempt to typefind
2988           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
2989           this should improve typefinding from network sources where the
2990           size of the first buffer can be somewhat random.
2991
2992 2006-02-14  Wim Taymans  <wim@fluendo.com>
2993
2994         * docs/gst/gstreamer-sections.txt:
2995         * gst/gstpadtemplate.c:
2996         * gst/gstpadtemplate.h:
2997         Fix padtemplate docs, fixes #328805.
2998
2999 2006-02-14  Wim Taymans  <wim@fluendo.com>
3000
3001         * tools/gst-launch.c: (main):
3002         NO_PREROLL is not an ERROR so don't send confusing messages
3003         to the user.
3004
3005 2006-02-14  Wim Taymans  <wim@fluendo.com>
3006
3007         Patch by: Torsten Schoenfeld
3008
3009         * gst/gstregistry.c: (gst_registry_get_default),
3010         (_gst_registry_cleanup):
3011         Protect default registry with lock and ref/sink it.
3012         Fixes #324818
3013
3014 2006-02-14  Wim Taymans  <wim@fluendo.com>
3015
3016         * gst/gstbuffer.c:
3017         * gst/gstquery.c: (gst_query_list_add_format),
3018         (gst_query_set_formatsv), (gst_query_parse_formats_length),
3019         (gst_query_parse_formats_nth):
3020         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3021         Docs fixes.
3022
3023 2006-02-14  Wim Taymans  <wim@fluendo.com>
3024
3025         * docs/gst/gstreamer-sections.txt:
3026         Reworked query docs.
3027
3028         * gst/gstquery.c: (gst_query_new_formats),
3029         (gst_query_list_add_format), (gst_query_set_formats),
3030         (gst_query_set_formatsv), (gst_query_parse_formats_length),
3031         (gst_query_parse_formats_nth):
3032         * gst/gstquery.h:
3033         Flesh out formats query, added some new methods.
3034         Fix part of #324398.
3035
3036         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
3037         Added query creation tests.
3038
3039 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
3040
3041         * gst/gstpad.c: (fixate_value):
3042         Add a default fixation for fraction lists.
3043
3044 2006-02-13  Wim Taymans  <wim@fluendo.com>
3045
3046         * gst/gsttask.c: (gst_task_init), (gst_task_func),
3047         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
3048         (gst_task_join):
3049         * gst/gsttask.h:
3050         Detect and warn for obvious deadlocks. fixes #320340
3051         Fix error case where lock was not released.
3052
3053         * tests/check/Makefile.am:
3054         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
3055         (task_func), (gst_element_suite), (main):
3056         Add task check.
3057
3058 2006-02-13  Wim Taymans  <wim@fluendo.com>
3059
3060         * docs/gst/gstreamer-sections.txt:
3061         * gst/gstbus.c:
3062         Add new functions to docs.
3063
3064 2006-02-13  Wim Taymans  <wim@fluendo.com>
3065
3066         * docs/design/part-TODO.txt:
3067         Updated TODO list, basesrc supports seeking to non-bytes
3068         formats.
3069
3070         * docs/design/part-element-sink.txt:
3071         Update docs.
3072
3073         * gst/gstbin.c: (bin_replace_message),
3074         (gst_bin_handle_message_func):
3075         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
3076         * gst/gstevent.c: (gst_event_finalize):
3077         * gst/gstpad.c: (gst_pad_event_default_dispatch),
3078         (gst_pad_send_event):
3079         Use shiny new _TYPE_NAME macros.
3080
3081         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3082         Move debug statement up.
3083
3084         * gst/gstelement.c: (gst_element_set_locked_state):
3085         Add some debugging.
3086
3087 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
3088
3089         * docs/gst/gstreamer-sections.txt:
3090         * gst/gstmessage.h:
3091         * gst/gstquery.h:
3092           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
3093           macros (#330906). Also, document the already existing
3094           GST_QUERY_TYPE macro.
3095
3096 2006-02-13  Wim Taymans  <wim@fluendo.com>
3097
3098         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
3099         (event_probe), (GST_START_TEST):
3100         Only events up to the pipeline EOS are counted, there are
3101         some more when going to NULL currently which we don't care
3102         about for now.
3103
3104 2006-02-13  Wim Taymans  <wim@fluendo.com>
3105
3106         * gst/gstpad.c: (gst_pad_send_event):
3107         Correctly check flushing and emit probes. fixes #330125
3108
3109 2006-02-10  Andy Wingo  <wingo@pobox.com>
3110
3111         * gst/gstbus.c (gst_bus_class_init): Declare our private data
3112         structure.
3113         (gst_bus_init): Cache the location of the private data in the
3114         instance structure.
3115         (gst_bus_enable_sync_message_emission) 
3116         (gst_bus_disable_sync_message_emission): Implement new public
3117         functions.
3118         (gst_bus_post): Emit the sync-message signal if the user asked for
3119         it. Fixes #330684.
3120
3121         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
3122         location of the bus-private structure.
3123         (gst_bus_enable_sync_message_emission)
3124         (gst_bus_disable_sync_message_emission): API addition
3125
3126 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
3127
3128         Patch by: Vincent Torri
3129
3130         * docs/pwg/building-boiler.xml:
3131         PWG patch from #326800
3132
3133 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
3134
3135         * configure.ac:
3136         * docs/Makefile.am:
3137         * docs/design/Makefile.am:
3138           Dist design docs.
3139
3140 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
3141
3142         * configure.ac:
3143           back to CVS
3144
3145 === release 0.10.3 ===
3146
3147 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
3148
3149         * configure.ac:
3150           releasing 0.10.3, "Like a virgin"
3151
3152 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
3153
3154         * configure.ac:
3155           2nd prerelease of 0.10.3
3156           Bump libtool versioning.
3157
3158 2006-02-07  Andy Wingo  <wingo@pobox.com>
3159
3160         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
3161         update last_stop if we're in TIME format and the timestamp is
3162         valid.
3163
3164         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
3165         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
3166         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
3167         If we get a new newsegment with a different format, adapt
3168         accordingly.
3169
3170         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
3171         of 0. Not a problem, really.
3172
3173         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
3174         warn if sync=true.
3175
3176 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
3177
3178         * configure.ac:
3179           Prelease of 0.10.3
3180
3181 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
3182
3183         * win32/vs7:
3184           project files updated to the default vs7 configuration
3185         * win32/common/libgstbase.def:
3186         * win32/common/libgstreamer.def:
3187           added new symbols,
3188           removed empty lines,
3189           sorted all exported symbols alphabetically
3190         * win32/common/dirent.c:
3191         * win32/common/dirent.h:
3192         * win32/common/gchar.h:
3193           use windows line end.
3194           
3195 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
3196
3197         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
3198           Send EOS event when stopping.
3199
3200 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
3201
3202         * docs/README:
3203           Tell folks what to do if the plugin-foobar.xml file
3204           hasn't been generated for a newly-added plugin.
3205
3206 2006-02-05  Julien MOUTTE  <julien@moutte.net>
3207
3208         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
3209         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
3210         (gst_collect_pads_start), (gst_collect_pads_stop),
3211         (gst_collect_pads_event): Collectpads now holds a reference
3212         to the GstPad that was added. Indeed we don't want to look
3213         at pads that might just go away with no warning...
3214
3215 2006-02-05  Julien MOUTTE  <julien@moutte.net>
3216
3217         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
3218         (gst_collect_pads_start), (gst_collect_pads_stop),
3219         (gst_collect_pads_event), (gst_collect_pads_chain):
3220         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
3221         Mark Nauwelaerts's patch on bug #328491.
3222
3223 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
3224
3225         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
3226         (gst_utils_suite):
3227           Add some simple tests for gst_parse_bin_from_description() and
3228           gst_bin_find_unconnected_pad() (#329069).
3229
3230 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
3231
3232         * tools/gst-launch.c: (event_loop), (main):
3233           Catch errors during preroll (#320084).
3234
3235 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
3236
3237         * plugins/elements/gsttypefindelement.c:
3238         (gst_type_find_element_activate):
3239           Post TYPE_NOT_FOUND error message when typefinding
3240           is unsuccessful in the activate function as well.
3241
3242 2006-02-02  Wim Taymans  <wim@fluendo.com>
3243
3244         * docs/design/part-element-sink.txt:
3245         Updated doc.
3246
3247 2006-02-02  Wim Taymans  <wim@fluendo.com>
3248
3249         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
3250         (gst_base_sink_render_object),
3251         (gst_base_sink_queue_object_unlocked):
3252         Only keep track of prerollable items when we are 
3253         prerolling.
3254         Before rendering after preroll, always check if we
3255         have queued items.
3256         Added some more debugging.
3257
3258 2006-02-02  Wim Taymans  <wim@fluendo.com>
3259
3260         * gst/gstelement.c: (gst_element_continue_state),
3261         (gst_element_set_state_func), (gst_element_change_state):
3262         Fixed #326576, been running this for quite some time with
3263         no regressions at all.
3264
3265 2006-02-02  Wim Taymans  <wim@fluendo.com>
3266
3267         * common/gst.supp:
3268         Added more suppressions
3269
3270 2006-02-02  Wim Taymans  <wim@fluendo.com>
3271
3272         * docs/design/part-element-sink.txt:
3273         Updated document.
3274
3275         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3276         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
3277         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
3278         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
3279         (gst_base_sink_do_sync), (gst_base_sink_render_object),
3280         (gst_base_sink_preroll_object),
3281         (gst_base_sink_queue_object_unlocked),
3282         (gst_base_sink_queue_object), (gst_base_sink_event),
3283         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
3284         (gst_base_sink_loop), (gst_base_sink_activate_pull),
3285         (gst_base_sink_get_position), (gst_base_sink_change_state):
3286         * libs/gst/base/gstbasesink.h:
3287         Totally refactored matching the design doc.
3288         Use two segments, one to clip incomming buffers and another to
3289         perform sync.
3290         Handle queueing correctly, bypass the queue when playing.
3291         Make EOS cancelable.
3292         Handle errors correctly when operating in pull based mode.
3293
3294         * tests/check/elements/fakesink.c: (GST_START_TEST),
3295         (fakesink_suite):
3296         Added new check for sinks.
3297
3298 2006-02-02  Wim Taymans  <wim@fluendo.com>
3299
3300         * gst/gstsegment.c: (gst_segment_clip):
3301         No reason to refuse to clip when start == -1
3302
3303 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
3304
3305         * docs/README:
3306         * docs/manual/intro-basics.xml:
3307         * docs/manual/intro-preface.xml:
3308         * docs/manual/manual.xml:
3309         * docs/pwg/advanced-dparams.xml:
3310         * docs/pwg/intro-basics.xml:
3311         * docs/pwg/intro-preface.xml:
3312         * docs/pwg/pwg.xml:
3313           describe dparams (controller) for plugins
3314           unify docs a little more
3315
3316 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
3317
3318         * docs/gst/gstreamer-sections.txt:
3319         * gst/gstutils.c: (element_find_unconnected_pad),
3320         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
3321         * gst/gstutils.h:
3322           Add new API: gst_parse_bin_from_description() and
3323           gst_bin_find_unconnected_pad() (#329069).
3324
3325 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
3326
3327         * docs/manual/README:
3328           uncover a nasty detail of the docs build
3329
3330 2006-01-31  Wim Taymans  <wim@fluendo.com>
3331
3332         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
3333         Don't cache duration messages if we're not going to use or
3334         free them.
3335
3336 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
3337
3338         * docs/manual/advanced-dparams.xml:
3339         * docs/pwg/advanced-dparams.xml:
3340           more dparam docs
3341         * gst/gstindex.c:
3342           fix docs
3343         * libs/gst/controller/lib.c: (gst_controller_init):
3344           init just once
3345
3346 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
3347
3348         * gst/gstelement.c: (gst_element_message_full):
3349           also show file/line/func if no additional debug was given
3350
3351 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
3352         
3353         * win32/vs7/grammar.vcproj:
3354           activate copy of autogenerated files for Release mode
3355
3356 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
3357         
3358         * win32/common/libgstreamer.def:
3359           export gst_value_compare
3360
3361 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
3362
3363         * plugins/elements/Makefile.am:
3364         * plugins/elements/gstelements.c:
3365         * plugins/elements/gstfdsink.c: (_do_init),
3366         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
3367         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
3368         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
3369         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
3370         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
3371         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
3372         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
3373         * plugins/elements/gstfdsink.h:
3374         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
3375
3376 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
3377
3378         * docs/manual/advanced-dparams.xml:
3379           describe controller
3380         * docs/manual/advanced-position.xml:
3381         * docs/manual/basics-init.xml:
3382         * docs/manual/manual.xml:
3383         * docs/manual/titlepage.xml:
3384         * docs/pwg/pwg.xml:
3385         * docs/pwg/titlepage.xml:
3386           cleanup xml (more to come)
3387         * libs/gst/controller/gstcontroller.c:
3388           fix typo
3389
3390 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
3391         
3392         * win32/vs6/grammar.dsp:
3393           add autogen of gstmarshal.c,h for Release mode
3394                 
3395 2006-01-30  Wim Taymans  <wim@fluendo.com>
3396
3397         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
3398         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
3399         (gst_base_sink_handle_object), (gst_base_sink_event),
3400         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
3401         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
3402         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
3403         (gst_base_sink_deactivate), (gst_base_sink_activate),
3404         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
3405         (gst_base_sink_query), (gst_base_sink_change_state):
3406         Basesink cleanups, remove some old code.
3407         Handle the case where a subclass can preroll in the render
3408         method (mostly audiosinks).
3409         Handle more events.
3410         Remove some locks around variables that are now protected
3411         with the PREROLL_LOCK (clock_id, flushing, ..).
3412         Optimize position query some more, do correct locking.
3413         Remove old code to push queue in state change, this is not
3414         needed anymore since preroll blocks on all prerollable items 
3415         now.
3416         Almost implemented as described in design doc.
3417
3418 2006-01-30  Wim Taymans  <wim@fluendo.com>
3419
3420         * tests/check/gst/gstbin.c: (GST_START_TEST):
3421         Wait for refcount to settle down before checking.
3422
3423 2006-01-30  Wim Taymans  <wim@fluendo.com>
3424
3425         * docs/design/part-element-sink.txt:
3426         Pseudo code overview of desired sink behaviour regarding
3427         preroll.
3428
3429 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
3430         * win32/vs6/grammar.dsp:
3431           fix some bugs in Release mode for autogenerated files
3432                 
3433 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
3434         * win32/common/libgstbase.def:
3435         * win32/common/libgstreamer.def:
3436           export some new symbols: gst_base_src_set_format,
3437           gst_iterator_next, gst_structure_set_valist
3438
3439 2006-01-29  Julien MOUTTE  <julien@moutte.net>
3440
3441         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
3442         Set pad functions unconditionally. Fixes #329105.
3443
3444 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
3445         * win32/vs8:
3446           add vs8 project files created by Sergey Scobich
3447
3448 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
3449
3450         * gst/gstutils.c: (gst_element_unlink_pads):
3451         Don't leak pad references.
3452
3453         * tests/check/elements/fakesink.c: (GST_START_TEST):
3454         * tests/check/generic/sinks.c: (GST_START_TEST):
3455         * tests/check/generic/states.c: (GST_START_TEST):
3456         * tests/check/gst/gstbin.c: (GST_START_TEST):
3457         * tests/check/gst/gstcaps.c: (GST_START_TEST):
3458         * tests/check/gst/gstelement.c: (GST_START_TEST):
3459         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
3460         * tests/check/gst/gstiterator.c: (GST_START_TEST):
3461         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3462         Fix a bunch of leaks. Make generic/sinks.c
3463         use a bit less cpu by slowing the buffer rate
3464         between fakesrc and fakesink.
3465         
3466 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
3467         * gst/gstcaps.c:
3468         * gst/gstelement.c: (gst_element_send_event):
3469         * gst/gstevent.c:
3470         * gst/gstinfo.c:
3471         * gst/gstiterator.c:
3472         * gst/gstiterator.h:
3473         * gst/gstpad.c: (gst_pad_send_event):
3474         * gst/gststructure.c:
3475         * gst/gsturi.c:
3476         * gst/gstutils.c:
3477         * gst/gstvalue.c:
3478         * libs/gst/base/gstadapter.c:
3479           doc fixes, to link to function, just write gst_cool_function(), don't
3480           prefix with '#'
3481
3482 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
3483
3484         * plugins/elements/gsttee.c: (gst_tee_do_push),
3485         (gst_tee_handle_buffer):
3486         Always prefer an actual return value from a src
3487         pad in place of NOT_LINKED. This means we return
3488         WRONG_STATE when all src pads are WRONG_STATE
3489         instead of NOT_LINKED.
3490
3491         Lock when replacing the last message to prevent
3492         racing with the get_property method.
3493
3494         Add debug output
3495
3496 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
3497
3498         * tests/check/Makefile.am:
3499         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
3500         (main):
3501         Add a very simple check that should have caught the memleak I fixed
3502         last night (if not for the slice allocator hiding it)
3503
3504 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
3505
3506         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
3507         (gst_bin_remove_func), (gst_bin_handle_message_func),
3508         (bin_query_duration_fold), (bin_query_generic_fold):
3509         Clean up references to the clock provider when disposed or when
3510         handling a clock-lost message from it.
3511
3512         Unref sinks when performing a query via gst_iterator_fold, as the
3513         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
3514
3515         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
3516         (gst_clock_set_master):
3517         Drop our reference to the master clock, if any, when we are disposed.
3518
3519         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
3520         Chain up in dispose. 
3521
3522 2006-01-26  Wim Taymans  <wim@fluendo.com>
3523
3524         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
3525         Add some debugging.
3526
3527 2006-01-26  Julien MOUTTE  <julien@moutte.net>
3528
3529         * plugins/elements/gsttee.c: (gst_tee_do_push),
3530         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
3531         handles pad being NOT_LINKED or in WRONG_STATE.
3532
3533 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
3534
3535         * win32/MANIFEST:
3536           more updating
3537
3538 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
3539
3540         * win32/MANIFEST:
3541           remove obsolete entry
3542
3543 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
3544
3545         * docs/gst/gstreamer-sections.txt:
3546         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
3547         (gst_bin_iterate_sources), (gst_bin_send_event):
3548         * gst/gstbin.h:
3549         * gst/gstelement.c: (gst_element_send_event):
3550         * gst/gstevent.c:
3551         * gst/gstpad.c: (gst_pad_send_event):
3552           added code for downstream events, reviewed docs in gstevent.c
3553
3554 2006-01-25  Julien MOUTTE  <julien@moutte.net>
3555
3556         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
3557         We only query position using the clock in the playing state.
3558         Query peer in the other cases.
3559         * win32/common/config.h: Updates.
3560
3561 2006-01-24  Wim Taymans  <wim@fluendo.com>
3562
3563         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
3564         A clock entry that is scheduled for the exact time of the
3565         clock is still in time.
3566
3567         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3568         (gst_base_sink_do_sync):
3569         Add some more debug info.
3570
3571 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
3572
3573         * win32/vs7:
3574           Add new vs7 project files and solution.
3575
3576 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
3577
3578         * win32/vs7:
3579           all files removed as they were out-dated.
3580
3581 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3582
3583         * docs/random/release:
3584           update notes
3585         * gst/gstbin.c: (gst_bin_init):
3586         * gst/gstbus.c: (gst_bus_new):
3587         * gst/gstbus.h:
3588         * gst/gstpipeline.c: (gst_pipeline_init):
3589           use gst_bus_new(), improve logging, fix docs
3590         * win32/common/config.h:
3591           update for cvs build
3592
3593 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
3594
3595         * autogen.sh:
3596           up required version of automake to 1.7
3597
3598 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
3599
3600         * win32/common/libgstreamer.def:
3601           export gst_buffer_is_metadata_writable
3602
3603 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
3604
3605         * docs/gst/gstreamer-sections.txt:
3606         * gst/gstevent.h:
3607           Add gst_event_replace() (#327001)
3608
3609 2006-01-20  Wim Taymans  <wim@fluendo.com>
3610
3611         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
3612         Make it actually compile too..
3613
3614 2006-01-20  Wim Taymans  <wim@fluendo.com>
3615
3616         * gst/gstcaps.c:
3617         Clarify behaviour of _is_equal() when passing NULL parameters.
3618
3619         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
3620         (gst_pad_set_caps):
3621         Cleanups. Don't unref NULL caps.
3622         When setting the same caps, protect caps of the pad with
3623         proper lock.
3624         Use full functionality of _is_equal() when comparing caps.
3625
3626 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
3627
3628         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
3629         Don't loop infinitely if there are no buffers to present. Partially
3630         fixes #327197, but collectpads is just broken for reusing elements
3631         to do multiple encodes atm.
3632
3633 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
3634
3635         * tools/gst-inspect.c: (print_element_features):
3636         * tools/gst-xmlinspect.c: (main):
3637         URL_HANDLER is not a plugin feature we can search for in
3638         the registry.
3639
3640 2006-01-19  Edward Hervey  <edward@fluendo.com>
3641
3642         * gst/gstelement.c: (gst_element_pads_activate): 
3643         When activating, do src pads first, then sink pads.
3644         When de-activating, do sink pads first, then src pads.
3645
3646 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3647
3648         * docs/gst/gstreamer-sections.txt:
3649         Add gst_index_add_associationv to the docs
3650
3651 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3652
3653         * gst/gstevent.c:
3654           Fix docs typo
3655
3656         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
3657         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
3658           Do some refactoring. Doesn't actually change functionality,
3659           but makes landing the DRAIN event easier later.
3660
3661 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
3662
3663         * docs/pwg/advanced-scheduling.xml:
3664           Update from 0.9.x to 0.10 API and make example a bit
3665           clearer.
3666
3667 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3668
3669         * docs/gst/gstreamer-sections.txt:
3670         Add gst_buffer_(is|make)_metadata_writable methods.
3671
3672 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
3673
3674         * docs/design/part-sparsestreams.txt:
3675         Update sparse streams doc, hopefully for greater clarity
3676
3677 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
3678
3679         * docs/design/part-events.txt:
3680         Remove mention of FILLER events.
3681         Add DRAIN event.
3682
3683         * docs/design/part-sparsestreams.txt:
3684         Write some things about using NEWSEGMENT to keep sparse streams
3685         flowing.
3686
3687 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
3688
3689         * gst/gstbin.c: (gst_bin_dispose):
3690           Guard gst_object_unref call against a NULL object (dispose
3691           can theoretically be called multiple times).
3692           
3693 2006-01-18  Wim Taymans  <wim@fluendo.com>
3694
3695         * gst/gstbin.c: (gst_bin_element_set_state):
3696         * gst/gstclock.c: (gst_clock_id_wait):
3697         Added some more debug info.
3698
3699         * libs/gst/base/gstadapter.c:
3700         Added more docs.
3701
3702         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3703         (gst_base_sink_do_sync), (gst_base_sink_chain):
3704         Added some comments.
3705
3706 2006-01-18  Wim Taymans  <wim@fluendo.com>
3707
3708         * tests/check/Makefile.am:
3709         * tests/check/elements/fakesink.c: (chain_async_buffer),
3710         (chain_async), (chain_async_return), (GST_START_TEST),
3711         (fakesink_suite), (main):
3712         Added fakesink test that checks prerolling and clipping
3713         behaviour.
3714
3715         * tests/check/gst/gstutils.c: (GST_START_TEST):
3716         Make check run faster so that buildbots don't timeout.
3717
3718 2006-01-18  Wim Taymans  <wim@fluendo.com>
3719
3720         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
3721         (gst_base_sink_do_sync):
3722         Some cleanups.
3723         When the sink finishes blocking on the preroll buffer, it can
3724         immediatly render it instead of rendering when the next buffer
3725         arrives.
3726
3727 2006-01-18  Wim Taymans  <wim@fluendo.com>
3728
3729         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
3730         (gst_base_sink_get_property), (gst_base_sink_do_sync),
3731         (gst_base_sink_chain):
3732         Small cleanups.
3733         GST_ELEMENT_CLOCK and sync are protected with LOCK.
3734         Don't store _last_stop if the buffer is dropped.
3735
3736 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
3737
3738         * plugins/elements/gsttypefindelement.c:
3739         (gst_type_find_element_class_init):
3740           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
3741           object method handler that sets the caps on the pad and we want
3742           that to happen before we emit the signal (fixes e.g. feeding a
3743           plain text file to decodebin).
3744
3745 2006-01-18  Christian Schaller  <Christian@fluendo.com>
3746
3747         * gst/gstplugin.c: Add MPL and Proprietary as license options
3748
3749 2006-01-18  Andy Wingo  <wingo@pobox.com>
3750
3751         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
3752         symbol was exported before, it appears this was just an oversight.
3753         Fixes #168703.
3754         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
3755
3756         * gst/gstindex.c (gst_index_add_associationv): Changed int in
3757         prototype to gint. OK since this prototype was not in the header.
3758
3759 2006-01-17  Andy Wingo  <wingo@pobox.com>
3760
3761         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
3762         registry while we remove plugins.
3763
3764         * tools/gst-inspect.c (print_element_info): Don't unref the
3765         factory arg, that should be the responsibility of whatever code
3766         received the ref. Fixes a double-free when called from
3767         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
3768         (main): Unref the factory if we have one.
3769         (print_element_list): No change -- relies on the
3770         plugin_feature_list_free to free the list of features.
3771
3772 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
3773
3774         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
3775         (gst_buffer_make_metadata_writable):
3776         * gst/gstbuffer.h:
3777         * libs/gst/base/gstbasetransform.c:
3778         (gst_base_transform_prepare_output_buf):
3779         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3780         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3781           Replace gst_buffer_(make|is)_metadata_writable patch now
3782           that the release is out.
3783
3784 2006-01-17  Andy Wingo  <wingo@pobox.com>
3785
3786         * gst/gstregistry.c: Reflow design comment. Update so as to speak
3787         in the present tense without reference to versions.
3788
3789         * gst/gstregistry.c (gst_registry_add_plugin)
3790         (gst_registry_remove_plugin, gst_registry_remove_feature)
3791         (gst_registry_find_feature, gst_registry_get_feature_list)
3792         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
3793         (gst_registry_lookup, gst_registry_scan_path)
3794         (_gst_registry_remove_cache_plugins)
3795         (gst_registry_get_feature_list_by_plugin): Add argument
3796         validation.
3797
3798 === release 0.10.2 ===
3799
3800 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
3801
3802         * configure.ac:
3803           releasing 0.10.2, "If man is five"
3804
3805 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
3806
3807         * gst/gstbuffer.c:
3808         * gst/gstbuffer.h:
3809         * libs/gst/base/gstbasetransform.c:
3810         (gst_base_transform_prepare_output_buf):
3811         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3812         * tests/check/gst/gstbuffer.c: (gst_test_suite):
3813           Back out patch until after the release.
3814
3815 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
3816
3817         * gst/gstminiobject.c:
3818           Spelling fix in docs.
3819         * ChangeLog - remove conflict indicator
3820
3821 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
3822
3823         Reviewed By: Andy Wingo
3824
3825         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
3826         (gst_buffer_make_metadata_writable):
3827         * gst/gstbuffer.h:
3828           Add gst_buffer_(is|make)_metadata_writable as analogues of
3829           gst_buffer_(is|make)_writable.
3830
3831         * libs/gst/base/gstbasetransform.c:
3832         (gst_base_transform_prepare_output_buf):
3833         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
3834           Use name gst_buffer_(is|make)_metadata_writable functions.
3835
3836         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
3837           Test gst_buffer_(is|make)_metadata_writable
3838         
3839           (Closes: #324162)
3840
3841 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
3842
3843         * docs/manual/Makefile.am:
3844           don't do parallel make
3845         * configure.ac:
3846           AC_SUBST HOST_CPU
3847         * win32/common/config.h.in:
3848           add generations for HOST_CPU and GST_MAJORMINOR
3849         * win32/common/config.h:
3850           commit generated result
3851
3852 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
3853
3854         * docs/manual/appendix-integration.xml:
3855           Update GNOME integration section to use gst_init_get_option_group()
3856           instead of the old popt stuff (#322911). Also, GNOME applications
3857           should  now use gconf*sink and gconf*src instead of the old gconf
3858           helper lib we had.
3859
3860 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
3861
3862
3863         * docs/gst/gstreamer-docs.sgml:
3864         * docs/gst/gstreamer-sections.txt:
3865         * docs/libs/gstreamer-libs-sections.txt:
3866           add new API entries to the docs
3867         * libs/gst/controller/Makefile.am:
3868         * libs/gst/controller/gstcontroller.c:
3869         * libs/gst/controller/gstcontroller.h:
3870         * libs/gst/controller/gstcontrollerprivate.h:
3871         * libs/gst/controller/gsthelper.c:
3872         * libs/gst/controller/gstinterpolation.c:
3873           move private structs to private header
3874         * po/README:
3875           gstreamer-0.7 -> gstreamer-0.10
3876         * tests/check/libs/struct_i386.h:
3877           remove private structs
3878
3879 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3880
3881         * plugins/indexers/Makefile.am:
3882           Fixes as part of #317048
3883
3884 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
3885
3886         * plugins/indexers/Makefile.am:
3887           fix #316086 - compilation when mmap is missing
3888
3889 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
3890
3891         * libs/gst/base/gstbasesink.c:
3892           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
3893           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
3894         * win32/common/config.h:
3895           added some defines GST_MAJORMINOR and HOST_CPU
3896         * win32/common/libgstbase.def:
3897         * win32/common/libgstreamer.def:
3898           added some exported functions.
3899
3900 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
3901
3902         * libs/gst/controller/gstcontroller.c:
3903         (gst_controlled_property_set_interpolation_mode),
3904         (gst_controlled_property_new):
3905         * libs/gst/controller/gstcontroller.h:
3906         * libs/gst/controller/gstinterpolation.c:
3907         (interpolate_none_get_string_value_array):
3908           make G_TYPE_STRING controlable
3909
3910 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
3911
3912         * tools/README:
3913         * tools/gst-feedback.1.in:
3914         * tools/gst-inspect.1.in:
3915         * tools/gst-launch.1.in:
3916         * tools/gst-md5sum.1.in:
3917         * tools/gst-typefind.1.in:
3918         * tools/gst-xmlinspect.1.in:
3919         * tools/gst-xmllaunch.1.in:
3920           cleanup man-pages, remove reference to gst-register, document env-vars
3921
3922 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
3923
3924         * gst/gstbuffer.c: (gst_buffer_span):
3925           gst_buffer_span should copy the timestamp of the first buffer
3926           if they were both originally overlapping subbuffers of the 
3927           same parent, using the same logic as the 'slow copy' case.
3928
3929 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
3930
3931         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
3932           Need to awaken ALL the pads when we pop a buffer, otherwise
3933           collectpads only works when there is 2 input streams.
3934
3935 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
3936
3937         * docs/random/ensonic/media-device-daemon.txt:
3938           more ideas (dbus)
3939         * gst/gstbuffer.c:
3940           fix doc example, add clarification
3941         * tools/gst-launch.1.in:
3942           add initial info about GST_PLUGIN_PATH, needs more work
3943
3944 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
3945
3946         * docs/manual/basics-bins.xml:
3947         * docs/manual/basics-elements.xml:
3948         * docs/manual/intro-basics.xml:
3949           Some more minor docs additions and updates.
3950
3951 2006-01-11  Wim Taymans  <wim@fluendo.com>
3952
3953         * docs/manual/basics-bins.xml:
3954         * docs/manual/basics-elements.xml:
3955         Some small fixes as pointed out by Ser-ver on IRC.
3956
3957 2006-01-10  Edward Hervey  <edward@fluendo.com>
3958
3959         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
3960         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
3961         the single-segment mode.
3962
3963 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
3964
3965         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
3966
3967         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
3968         (gst_base_src_perform_seek), (gst_base_src_send_event),
3969         (gst_base_src_set_property), (gst_base_src_get_property),
3970         (gst_base_src_loop), (gst_base_src_start),
3971         (gst_base_src_activate_push):
3972         * libs/gst/base/gstbasesrc.h:
3973           Name (private) union; makes Sun's Forte compiler happy (#324900).
3974
3975 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
3976
3977         * README:
3978           gst-register is gone.
3979
3980 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
3981
3982         * gst/gstvalue.c: (_gst_value_initialize):
3983           make the G_TYPE_DATE instantiation work if debug is disabled
3984
3985 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
3986
3987         * gst/gstmessage.c: (gst_message_parse_tag),
3988         (gst_message_parse_error), (gst_message_parse_warning):
3989           Don't crash when return location for error/warning debug
3990           string is NULL; add fact that return locations can be
3991           NULL to docs where appropriate.
3992
3993 2006-01-05  Wim Taymans  <wim@fluendo.com>
3994
3995         * gst/gstplugin.c: (gst_plugin_load_file):
3996         Replace strdup by g_strdup.
3997
3998 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
3999
4000         * docs/pwg/advanced-types.xml:
4001           fix doc borkage
4002
4003 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4004
4005         submitted by: Abel Cheung
4006
4007         * po/LINGUAS:
4008         * po/zh_TW.po:
4009           Added Chinese (traditional) translation
4010
4011 2006-01-04  Wim Taymans  <wim@fluendo.com>
4012
4013         * docs/manual/basics-pads.xml:
4014         * docs/plugins/Makefile.am:
4015         * docs/plugins/gstreamer-plugins-docs.sgml:
4016         * docs/plugins/gstreamer-plugins-sections.txt:
4017         * docs/pwg/advanced-clock.xml:
4018         * docs/pwg/advanced-scheduling.xml:
4019         * docs/pwg/advanced-types.xml:
4020         * plugins/elements/gstfdsink.c:
4021         * plugins/elements/gstfdsrc.c:
4022         * plugins/elements/gstfdsrc.h:
4023         * plugins/elements/gstidentity.c: (gst_identity_class_init):
4024         * plugins/elements/gstidentity.h:
4025         * plugins/elements/gstqueue.h:
4026         * plugins/elements/gsttee.c:
4027         * plugins/elements/gsttee.h:
4028         * plugins/elements/gsttypefindelement.c:
4029         (gst_type_find_element_class_init):
4030         * plugins/elements/gsttypefindelement.h:
4031         Small updates to various docs.
4032         Added core plugins to docs.
4033
4034 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4035
4036         * common/gst.supp:
4037           add a suppression for liboil's uninitialized variable
4038
4039 2006-01-02  James Livingston  <jrl at ids dot org dot au>
4040
4041         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
4042
4043         * gst/gstutils.h:
4044           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
4045           macro, so that gcc doesn't complain if the -Wmissing-prototypes
4046           compiler switch is being used (#325429).
4047
4048 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
4049
4050         * gst/gstbin.c: (gst_bin_query):
4051           Disable duration query caching in bins until it gets
4052           fixed (see #324807).
4053
4054 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
4055
4056         * tools/gst-inspect.c: (print_element_properties_info):
4057           Handle properties of POINTER and BOXED type.
4058
4059 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
4060
4061         * gst/gst.c: (init_post):
4062           Init tags stuff and some other things before loading
4063           any static plugins (there may be other static plugins
4064           than just the GStreamer ones, and they may want to
4065           register their own tags or formats or whatever, and
4066           preferably without segfaulting).
4067
4068         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4069           Print at least a warning in the debug logs if we drop a
4070           query just because we don't know how to adjust the value
4071           in the particular format.
4072
4073 2005-12-24  David Schleef  <ds@schleef.org>
4074
4075         * tools/gstreamer-completion:
4076           Replacement for gst-complete written in sh and sed.  Only
4077           completes names of features, but that's 90% of what I want
4078           it for.  Properties are not available in registry.xml.  (Maybe
4079           they should be...)
4080
4081 === release 0.10.1 ===
4082
4083 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
4084
4085         * configure.ac:
4086           releasing 0.10.1, "Nollaig chridheil"
4087
4088 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
4089
4090         * docs/faq/cvs.xml:
4091           Add missing quote, should be make ERROR_CFLAGS="".
4092
4093 2005-12-20  Wim Taymans  <wim@fluendo.com>
4094
4095         * docs/design/part-trickmodes.txt:
4096         More documentation on trickmodes.
4097
4098 2005-12-20  Edward Hervey  <edward@fluendo.com>
4099
4100         * gst/gstcaps.c: (gst_static_caps_get_type):
4101         * gst/gstcaps.h:
4102           API addition: GST_TYPE_STATIC_CAPS
4103         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
4104         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
4105         * gst/gstpadtemplate.h:
4106           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
4107         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
4108         bindings.
4109
4110 2005-12-18  Wim Taymans  <wim@fluendo.com>
4111
4112         * libs/gst/base/gstadapter.c:
4113         * libs/gst/base/gstadapter.h:
4114         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4115         (gst_base_sink_get_position):
4116         * libs/gst/base/gstbasesink.h:
4117         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4118         (gst_base_src_default_query), (gst_base_src_default_do_seek),
4119         (gst_base_src_do_seek), (gst_base_src_perform_seek),
4120         (gst_base_src_send_event), (gst_base_src_update_length),
4121         (gst_base_src_get_range), (gst_base_src_loop),
4122         (gst_base_src_start):
4123         * libs/gst/base/gstbasesrc.h:
4124         * libs/gst/base/gstbasetransform.h:
4125         * libs/gst/base/gstcollectpads.h:
4126         * libs/gst/base/gstpushsrc.c:
4127         * libs/gst/base/gstpushsrc.h:
4128         * libs/gst/dataprotocol/dataprotocol.c:
4129         * libs/gst/dataprotocol/dataprotocol.h:
4130         * libs/gst/net/gstnetclientclock.h:
4131         * libs/gst/net/gstnettimeprovider.h:
4132         Documentation updates.
4133
4134 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
4135
4136         * docs/manual/basics-helloworld.xml:
4137           Remove superfluous closing bracket in helloworld example.
4138
4139 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
4140
4141         * tools/gst-launch.1.in:
4142           Update gst-launch man page; add a section with useful
4143           environment variables. Fixes #323882.
4144
4145 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
4146
4147         * gst/gst.c:
4148         * gst/gst_private.h:
4149           change some char* into char[]
4150
4151 2005-12-16  Wim Taymans  <wim@fluendo.com>
4152
4153         * gst/gstregistryxml.c: (load_feature):
4154         Cleanups.
4155         Don't use g_object_unref on GstObjects so that we avoid
4156         leaks on unsafe glibs.
4157
4158 2005-12-16  Wim Taymans  <wim@fluendo.com>
4159
4160         * gst/gstbin.c: (gst_bin_recalc_state):
4161         Small doc updates.
4162
4163 2005-12-16  Wim Taymans  <wim@fluendo.com>
4164
4165         * common/check.mak:
4166         Added make forever target for check.
4167
4168 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
4169
4170         * gst/gst.c: (init_post):
4171           make the registry cache file HOST_CPU-dependent
4172
4173 2005-12-16  Andy Wingo  <wingo@pobox.com>
4174
4175         * plugins/elements/gstbufferstore.c
4176         (gst_buffer_store_cleared_func): Pay attention to g_list_append
4177         return value.
4178
4179         * tests/check/gst/gstobject.c
4180         (test_fake_object_name_threaded_unique): Pay attention to
4181         g_list_sort return value.
4182
4183 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
4184
4185         * tools/gst-feedback-m.m:
4186           Update for 0.9/0.10 (fixes #323870).
4187
4188 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
4189
4190         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
4191           Fix lcopy for mini objects, the mini object needs to be ref'ed.
4192           
4193         * tests/check/gst/gstminiobject.c: (my_foo_init),
4194         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
4195         (test_value_collection), (gst_mini_object_suite):
4196           Add test to ensure refcounts end up as expected when passing
4197           GstMiniObjects through g_object_get() and g_object_set().
4198
4199 2005-12-14  Julien MOUTTE  <julien@moutte.net>
4200
4201         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
4202         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
4203         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
4204         of collectpads. This version removes a lot of races without
4205         touching API/ABI. Yay !
4206
4207 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
4208
4209         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
4210           Don't allow activation of a srcpad in pull_range if it has no
4211           getrange function.
4212           Change some debug statements to be a little clearer
4213
4214         * plugins/elements/gsttypefindelement.c:
4215         (gst_type_find_handle_src_query):
4216           Check that we have a peer before executing queries thereupon.
4217
4218         * tests/examples/metadata/read-metadata.c: (message_loop):
4219           Use gst_bus_pop instead of gst_bus_poll when we just want it to
4220           immediately return us any available message with 0 timeout.
4221
4222 2005-12-12  Michael Smith  <msmith@fluendo.com>
4223
4224         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
4225           Don't unref factories after calling them.
4226         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
4227         * plugins/elements/gsttypefindelement.c:
4228         (gst_type_find_element_chain):
4229           Free lists of factories after using them. Fixing typefinding memory
4230           leaks.
4231
4232 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4233
4234         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
4235         (gst_plugin_feature_load):
4236           more meaningful debug output
4237         * configure.ac:
4238         * tests/Makefile.am:
4239         * tests/old/examples/Makefile.am:
4240           make make distcheck happy again
4241
4242 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
4243
4244         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
4245           Catch the special case where we are operating chain-based,
4246           but the downstream peer pad has no chain function. Emit a
4247           custom error message in this case instead of letting the
4248           core generate one implying that this is some sort of core
4249           bug. It's not, it just means that whatever got plugged
4250           into the pipeline downstream when we announced the type
4251           can only operate pull-based, while our source can only
4252           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
4253           Error string has not been marked for translation yet, as
4254           it probably needs some more work first.
4255
4256         (gst_type_find_element_get_best_possibility):
4257           Add helper function to find the best of all available
4258           found possibilities that qualify given the min. threshold.
4259
4260         (gst_type_find_element_handle_event):
4261           Fix the case where we get an EOS while still in TYPEFIND
4262           mode (we want to chose the best of all possible types,
4263           not just the first type that happens to be in our unsorted
4264           list of possible types).
4265
4266         (gst_type_find_element_chain):
4267           Make sure we return GST_FLOW_ERROR when we errored out
4268           in stop_typefinding(); also, don't just find the best of
4269           all found type entries and then use the last examined
4270           type entry, but actually use the best entry.
4271
4272 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
4273
4274         * tests/examples/typefind/typefind.c: (type_found):
4275         * tests/examples/xml/runxml.c: (xml_loaded):
4276           More gcc4 fixes and a mem leak fix.
4277
4278 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4279
4280         * tests/examples/xml/createxml.c: (object_saved):
4281           gcc 4 fixes
4282
4283 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4284
4285         * tests/Makefile.am:
4286           enable the examples even more
4287
4288 2005-12-12  Andy Wingo  <wingo@pobox.com>
4289
4290         * libs/gst/net/gstnettimeprovider.c
4291         (gst_net_time_provider_class_init, gst_net_time_provider_init)
4292         (gst_net_time_provider_set_property)
4293         (gst_net_time_provider_get_property):
4294         API addition: Export "active" as a GObject property.
4295         (gst_net_time_provider_thread): Only respond to time queries if
4296         the time provider is active.
4297
4298         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
4299         NetTimeProvider, preserving binary compat.
4300
4301 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4302
4303         * tests/examples/controller/audio-example.c: (main):
4304         * tests/examples/launch/Makefile.am:
4305           convert comments again
4306
4307 2005-12-12  Wim Taymans  <wim@fluendo.com>
4308
4309         * libs/gst/base/gstpushsrc.c:
4310         Fix typo.
4311
4312 2005-12-12  Wim Taymans  <wim@fluendo.com>
4313
4314         * docs/libs/gstreamer-libs-sections.txt:
4315         Added new symbol to docs.
4316
4317         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4318         (gst_base_src_init), (gst_base_src_set_format),
4319         (gst_base_src_default_query), (gst_base_src_query),
4320         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
4321         (gst_base_src_perform_seek), (gst_base_src_send_event),
4322         (gst_base_src_default_event), (gst_base_src_event_handler),
4323         (gst_base_src_set_property), (gst_base_src_get_property),
4324         (gst_base_src_wait), (gst_base_src_do_sync),
4325         (gst_base_src_update_length), (gst_base_src_get_range),
4326         (gst_base_src_check_get_range), (gst_base_src_loop),
4327         (gst_base_src_default_negotiate), (gst_base_src_start),
4328         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4329         (gst_base_src_change_state):
4330         * libs/gst/base/gstbasesrc.h:
4331         Implement seeking to other formats than _BYTES.
4332         Implement more seeking methods correctly.
4333         Doc updates.
4334         Added query vmethod.
4335         Added do_seek vmethod to make life easier for subclasses
4336         when seeking.
4337         API addition: gst_base_src_set_format()
4338
4339 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4340
4341         * tests/examples/Makefile.am:
4342           added that too
4343
4344 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
4345
4346         * configure.ac:
4347         * docs/random/ensonic/media-device-daemon.txt:
4348         * tests/examples/controller/.cvsignore:
4349         * tests/examples/controller/Makefile.am:
4350         * tests/examples/controller/audio-example.c: (main):
4351         * tests/examples/helloworld/.cvsignore:
4352         * tests/examples/helloworld/Makefile.am:
4353         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
4354         * tests/examples/launch/.cvsignore:
4355         * tests/examples/launch/Makefile.am:
4356         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
4357         * tests/examples/metadata/.cvsignore:
4358         * tests/examples/metadata/Makefile.am:
4359         * tests/examples/metadata/read-metadata.c: (message_loop),
4360         (make_pipeline), (print_tag), (main):
4361         * tests/examples/queue/.cvsignore:
4362         * tests/examples/queue/Makefile.am:
4363         * tests/examples/queue/queue.c: (event_loop), (main):
4364         * tests/examples/typefind/.cvsignore:
4365         * tests/examples/typefind/Makefile.am:
4366         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
4367         (main):
4368         * tests/examples/xml/.cvsignore:
4369         * tests/examples/xml/Makefile.am:
4370         * tests/examples/xml/createxml.c: (object_saved), (main):
4371         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
4372         * tests/old/examples/Makefile.am:
4373         * tests/old/examples/TODO:
4374         * tests/old/examples/controller/.cvsignore:
4375         * tests/old/examples/controller/Makefile.am:
4376         * tests/old/examples/controller/audio-example.c:
4377         * tests/old/examples/helloworld/.cvsignore:
4378         * tests/old/examples/helloworld/Makefile.am:
4379         * tests/old/examples/helloworld/helloworld.c:
4380         * tests/old/examples/launch/.cvsignore:
4381         * tests/old/examples/launch/Makefile.am:
4382         * tests/old/examples/launch/mp3parselaunch.c:
4383         * tests/old/examples/launch/mp3play:
4384         * tests/old/examples/manual/Makefile.am:
4385         * tests/old/examples/metadata/Makefile.am:
4386         * tests/old/examples/metadata/read-metadata.c:
4387         * tests/old/examples/queue/.cvsignore:
4388         * tests/old/examples/queue/Makefile.am:
4389         * tests/old/examples/queue/queue.c:
4390         * tests/old/examples/typefind/.cvsignore:
4391         * tests/old/examples/typefind/Makefile.am:
4392         * tests/old/examples/typefind/typefind.c:
4393         * tests/old/examples/xml/.cvsignore:
4394         * tests/old/examples/xml/Makefile.am:
4395         * tests/old/examples/xml/createxml.c:
4396         * tests/old/examples/xml/runxml.c:
4397           applied some simple fixing to some examples
4398           re-enabled the working examples
4399
4400 2005-12-12  Wim Taymans  <wim@fluendo.com>
4401
4402         * gst/gstsegment.c: (gst_segment_init),
4403         (gst_segment_set_last_stop), (gst_segment_set_seek),
4404         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
4405         (gst_segment_to_running_time):
4406         Added more documentation.
4407         Make sure the last_pos value is updated properly.
4408         Make sure to_stream_time and to_running_time don't
4409         operate on wrong values.
4410
4411         * tests/check/gst/gstsegment.c: (GST_START_TEST):
4412         Update check.
4413
4414 2005-12-12  Michael Smith  <msmith@fluendo.com>
4415
4416         * plugins/elements/gsttypefindelement.c: (free_entry),
4417         (gst_type_find_element_chain):
4418           Now that we're not leaking factories, make sure we keep references
4419           to them while we need them.
4420
4421 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4422
4423         * tests/check/gst/struct_i386.h:
4424           ifdef out the XML structs
4425
4426 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
4427
4428         * gst/gstvalue.c: (gst_value_transform_double_fraction):
4429           floor is not needed, F is always positive; this obviates the
4430           need for adding -lm when building without libxml
4431
4432 2005-12-12  Wim Taymans  <wim@fluendo.com>
4433
4434         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4435         Take current playback rate into account when reporting
4436         the position.
4437
4438 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4439
4440         * docs/manual/mime-world.fig:
4441           Let's try this again, this time with a file that is
4442           actually in XFig format.
4443
4444 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4445
4446         * docs/manual/mime-world.fig:
4447           Add audioconvert element to diagram so that it
4448           matches the text and the code (fixes #319526).
4449
4450 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4451
4452         * docs/pwg/building-chainfn.xml:
4453         * docs/pwg/building-pads.xml:
4454         * docs/pwg/building-state.xml:
4455         * docs/pwg/other-source.xml:
4456           Update state change stuff for 0.10 (fixes #322969).
4457
4458 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4459
4460         * docs/manual/advanced-dataaccess.xml:
4461         * docs/manual/appendix-checklist.xml:
4462         * docs/manual/appendix-programs.xml:
4463         * docs/manual/basics-pads.xml:
4464         * docs/manual/highlevel-components.xml:
4465         * docs/manual/manual.xml:
4466           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
4467           add converters in front of pipelines; remove curly
4468           brackets for threads stuff, they no longer exist; use
4469           GST_TYPE_FRACTION for framerates; update some pieces of
4470           code to 0.10, but there's plenty more to do.
4471
4472         * docs/manual/appendix-porting.xml:
4473           Expand on asynchroneous state changes; s/0.9/0.10/;
4474           mention disappearance of gst_init_get_popt_table()
4475           (fixes #322916).
4476
4477 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
4478
4479         * docs/faq/using.xml:
4480           Spider no longer exists, and neither does gst-launch-ext.
4481           Update examples to use decodebin and playbin and put
4482           converters in front of sinks (fixes #323726).
4483
4484 2005-12-09  Michael Smith  <msmith@fluendo.com>
4485
4486         * plugins/elements/gsttypefindelement.c: (find_peek),
4487         (gst_type_find_element_chain):
4488           Fix leaking element factories in typefinding.
4489           Fix problem where we forgot about a probable type on non-seekable
4490           files, and thus later mis-typefound it.
4491
4492 2005-12-09  Michael Smith  <msmith@fluendo.com>
4493
4494         * common/m4/gst-makecontext.m4:
4495         * common/m4/gst-mcsc.m4:
4496         * configure.ac:
4497         * win32/common/config.h:
4498         * win32/common/config.h.in:
4499           Remove makecontext stuff; not used in 0.10 and causes problems on
4500           HPUX according to bug #322441
4501
4502 2005-12-07  Wim Taymans  <wim@fluendo.com>
4503
4504         * tests/check/Makefile.am:
4505         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
4506         (main):
4507         * tests/check/libs/struct_i386.h:
4508         Added ABI check for libs
4509
4510 2005-12-07  Wim Taymans  <wim@fluendo.com>
4511
4512         * tests/check/Makefile.am:
4513         And add the struct_i386.h to dist.
4514
4515 2005-12-07  Wim Taymans  <wim@fluendo.com>
4516
4517         * tests/check/Makefile.am:
4518         * tests/check/gst/.cvsignore:
4519         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
4520         (main):
4521         * tests/check/gst/struct_i386.h:
4522         Added check for ABI compatibility.
4523
4524 2005-12-07  Wim Taymans  <wim@fluendo.com>
4525
4526         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4527         (gst_fake_src_get_times), (gst_fake_src_create):
4528         Fix broken sync option, fixes #323259
4529
4530 2005-12-07  Wim Taymans  <wim@fluendo.com>
4531
4532         * gst/gstbuffer.c:
4533         Small docs update.
4534
4535         * gst/gstcaps.c: (gst_caps_is_equal):
4536         Don't assert on NULL <--> X. Fixes #323260
4537
4538         * gst/gstminiobject.c: (gst_mini_object_replace):
4539         If we're doing atomic operations, we might just as well use
4540         the proper way to get an atomic pointer.
4541
4542         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
4543         Clean up debugging.
4544
4545 2005-12-07  Michael Smith  <msmith@fluendo.com>
4546
4547         * gst/parse/grammar.y:
4548           Remove handling of { } for threads.
4549
4550 2005-12-06  David Schleef  <ds@schleef.org>
4551
4552         * libs/gst/base/gstbasetransform.c: speling fix.
4553
4554 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
4555
4556         * docs/libs/tmpl/gstdataprotocol.sgml:
4557         * docs/random/omega/testing/gstobject.c:
4558         * gst/gst.c:
4559         * gst/gstclock.c:
4560         * gst/gstelement.c:
4561         * gst/gstelementfactory.c:
4562         * gst/gsterror.c:
4563         * gst/gstevent.c:
4564         * gst/gstghostpad.c:
4565         * gst/gstinfo.c:
4566         * gst/gstpadtemplate.c:
4567         * gst/gstregistryxml.c:
4568         * gst/gsttaglist.c:
4569         * gst/gsttagsetter.c:
4570         * gst/gsttypefind.c:
4571         * gst/gstvalue.c:
4572         * libs/gst/base/gstbasesrc.c:
4573         * libs/gst/net/gstnetclientclock.c:
4574         * libs/gst/net/gstnettimeprovider.c:
4575         * plugins/elements/gstfakesrc.c:
4576         * plugins/elements/gstfdsrc.c:
4577         * plugins/elements/gstfilesrc.c:
4578         * plugins/elements/gstidentity.c:
4579         * plugins/elements/gstqueue.c:
4580         * plugins/elements/gsttypefindelement.c:
4581         * plugins/indexers/gstfileindex.c:
4582         * plugins/indexers/gstmemindex.c:
4583         * tests/check/gst/gsttag.c:
4584         * tests/old/examples/cutter/cutter.c:
4585         * tests/old/examples/mixer/mixer.c:
4586         * tests/old/examples/xml/runxml.c: (main):
4587         * tests/old/testsuite/caps/normalisation.c:
4588         * tests/old/testsuite/debug/global.c:
4589         * tests/old/testsuite/parse/parse1.c:
4590         * tools/gst-xmlinspect.c:
4591         * win32/common/dirent.c:
4592           expand tabs
4593
4594 === release 0.10.0 ===
4595
4596 2005-12-05   <thomas (at) apestaart (dot) org>
4597
4598         * configure.ac:
4599           releasing 0.10.0, "Maroilles"
4600
4601 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4602
4603         submitted by: Funda Wang <fundawang@linux.net.cn>
4604
4605         * po/LINGUAS:
4606         * po/zh_CN.po:
4607           added Chinese (Traditional) translation
4608
4609 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4610
4611         * docs/gst/gstreamer-sections.txt:
4612         * docs/libs/tmpl/gstdataprotocol.sgml:
4613         * docs/random/thomasvs/TODO:
4614         * gst/gstutils.c:
4615         * gst/gstutils.h:
4616           fix docs
4617
4618 2005-12-05  Andy Wingo  <wingo@pobox.com>
4619
4620         patch by: Wim Taymans <wim@fluendo.com>
4621
4622         * libs/gst/base/gstbasetransform.c
4623         (gst_base_transform_prepare_output_buf)
4624         (gst_base_transform_buffer_alloc):
4625         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
4626         alloc_buffer_and_set_caps.
4627
4628         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
4629         set_caps on the source pad.
4630         (gst_pad_alloc_buffer_and_set_caps): New function, does what
4631         alloc_buffer used to do. Fixes #322874.
4632
4633         * docs/gst/gstreamer-sections.txt: 
4634         * docs/design/part-negotiation.txt: 
4635         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
4636         changes.
4637
4638 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
4639
4640         patch by: Sebastien Moutte
4641
4642         * win32/MANIFEST:
4643         * win32/common/config.h.in:
4644         * win32/vs6/libgstcontroller.dsp:
4645           win32 build fixes
4646
4647 2005-12-05  Wim Taymans  <wim@fluendo.com>
4648
4649         * gst/gstcaps.c: (gst_caps_is_equal):
4650         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4651         (gst_fake_src_create):
4652         Back out previous code changes, leave doc updates, file bugs 
4653         instead. 
4654
4655 2005-12-05  Wim Taymans  <wim@fluendo.com>
4656
4657         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
4658         (gst_fake_src_get_times), (gst_fake_src_create):
4659         * plugins/elements/gstfakesrc.h:
4660         Fix broken sync code.
4661
4662 2005-12-05  Wim Taymans  <wim@fluendo.com>
4663
4664         * gst/gstcaps.c: (gst_caps_is_equal):
4665         Comparing NULL against !NULL yields different caps, not a
4666         failure.
4667
4668 2005-12-05  Wim Taymans  <wim@fluendo.com>
4669
4670         * gst/gstpipeline.c:
4671         Fix small typo in docs.
4672
4673 2005-12-05  Andy Wingo  <wingo@pobox.com>
4674
4675         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
4676
4677         * gst/gst.c (init_post): remove hard-coded 0.9 location for
4678         registries/plugins with a MAJORMINOR one.
4679         (plugin_desc): Rename library from gstcoreleements to
4680         staticelements. Fixes #323222.
4681
4682 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
4683
4684         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
4685           Change debug category to 'collectpads' from 'collect_pads'
4686           (fixes #323250).
4687
4688 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
4689
4690         patch by: Sebastien Moutte
4691
4692         * libs/gst/controller/gstinterpolation.c:
4693           use convert function for uint64/double
4694         * win32/vs6/libgstcontroller.dsp:
4695           link to GLib
4696
4697 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
4698
4699         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
4700         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
4701         * gst/gstutils.h:
4702         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
4703           add tests that seem to show that the guint64/gdouble conversions
4704           are correct.
4705
4706 2005-12-02  Wim Taymans  <wim@fluendo.com>
4707
4708         * gst/gstregistry.c: (gst_registry_add_path):
4709         * gst/gstregistry.h:
4710         * gst/gstregistryxml.c:
4711         Fix docs again.
4712
4713 2005-12-02  Wim Taymans  <wim@fluendo.com>
4714
4715         * gst/gstutils.c: (gst_util_uint64_scale_int64),
4716         (gst_util_uint64_scale_int):
4717         Small cleanup.
4718
4719         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
4720         Add debug log line.
4721
4722         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
4723         Add FIXME.
4724
4725 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4726
4727         * win32/MANIFEST:
4728         * win32/common/config.h:
4729         * win32/vs6/gstreamer.dsw:
4730         * win32/vs6/libgstcoreelements.dsp:
4731         * win32/vs6/libgstelements.dsp:
4732           renamed core elements plugin
4733
4734 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
4735
4736         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
4737         (get_candidates):
4738           do piece-wise major/minor comparison so 0.9 < 0.10
4739           also allow .exe extensions for tools
4740
4741 2005-12-02  Michael Smith  <msmith@fluendo.com>
4742
4743         * gst/gst.c:
4744           Escape a % to make gtkdoc happier; bug 322958.
4745
4746 === release 0.9.7 ===
4747
4748 2005-12-01   <thomas (at) apestaart (dot) org>
4749
4750         * configure.ac:
4751           releasing 0.9.7, "My Dog Has No Nose"
4752
4753 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4754
4755         * common/gst-xmlinspect.py:
4756         * configure.ac:
4757         * docs/libs/tmpl/gstdataprotocol.sgml:
4758         * docs/random/release:
4759         * po/af.po:
4760         * po/az.po:
4761         * po/bg.po:
4762         * po/ca.po:
4763         * po/cs.po:
4764         * po/de.po:
4765         * po/en_GB.po:
4766         * po/fr.po:
4767         * po/it.po:
4768         * po/nb.po:
4769         * po/nl.po:
4770         * po/ru.po:
4771         * po/sq.po:
4772         * po/sr.po:
4773         * po/sv.po:
4774         * po/tr.po:
4775         * po/uk.po:
4776         * po/vi.po:
4777         * win32/common/config.h:
4778         * win32/common/config.h.in:
4779         * win32/vs6/gst_inspect.dsp:
4780         * win32/vs6/gst_launch.dsp:
4781         * win32/vs6/libgstbase.dsp:
4782         * win32/vs6/libgstelements.dsp:
4783         * win32/vs6/libgstreamer.dsp:
4784         * win32/vs7/GStreamer.vcproj:
4785         * win32/vs7/gst-inspect.vcproj:
4786         * win32/vs7/gst-launch.vcproj:
4787         * win32/vs7/libgstbase.vcproj:
4788           bump GST_MAJORMINOR to 0.10
4789           reset libtool version
4790
4791 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4792
4793         * po/LINGUAS:
4794         * po/bg.po:
4795           Added Bulgarian translation by (Alexander Shopov)
4796
4797 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4798
4799         * tests/check/gst/gstplugin.c:
4800           fix test
4801
4802 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4803
4804         * common/gst-xmlinspect.py:
4805         * common/gtk-doc-plugins.mak:
4806         * configure.ac:
4807         * docs/Makefile.am:
4808         * docs/gst/Makefile.am:
4809         * docs/gst/gstreamer-docs.sgml:
4810         * docs/gst/gstreamer-sections.txt:
4811         * docs/gst/gstreamer.types:
4812         * docs/gst/gstreamer.types.in:
4813         * docs/plugins/Makefile.am:
4814         * docs/plugins/gstreamer-plugins-docs.sgml:
4815         * docs/plugins/gstreamer-plugins-sections.txt:
4816         * docs/plugins/gstreamer-plugins.types:
4817         * docs/plugins/inspect.stamp:
4818         * docs/plugins/inspect/plugin-coreelements.xml:
4819         * docs/plugins/inspect/plugin-coreindexers.xml:
4820         * docs/plugins/scanobj-build.stamp:
4821         * gstreamer.spec.in:
4822         * plugins/elements/Makefile.am:
4823         * plugins/elements/gstelements.c:
4824         * plugins/elements/gstfakesink.c:
4825         * plugins/elements/gstfakesrc.c:
4826         * plugins/elements/gstfilesink.c:
4827         * plugins/elements/gstfilesrc.c:
4828         * plugins/elements/gstqueue.c:
4829         * plugins/indexers/Makefile.am:
4830         * plugins/indexers/gstindexers.c:
4831           document core plugins in a separate document just like all the
4832           others
4833           rename these plugins to something starting with core
4834
4835 2005-12-01  Andy Wingo  <wingo@pobox.com>
4836
4837         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
4838         padding here before, but it missed the commit.
4839
4840 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4841
4842         * libs/gst/controller/gstinterpolation.c:
4843           whitespace prices have crashed, we should feel free to use some now
4844           use gst_guint64_to_gdouble
4845
4846 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4847
4848         * libs/gst/controller/gstcontroller.c:
4849         * libs/gst/controller/gsthelper.c:
4850         * libs/gst/controller/gstinterpolation.c:
4851         * libs/gst/controller/lib.c:
4852           wrap config.h include
4853
4854 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4855
4856         * docs/gst/gstreamer-sections.txt:
4857           update docs
4858
4859 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
4860
4861         * plugins/elements/gstelements.c:
4862         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
4863         (gst_fd_sink__class_init), (gst_fd_sink__init),
4864         (gst_fd_sink__chain), (gst_fd_sink__set_property),
4865         (gst_fd_sink__get_property):
4866         * plugins/elements/gstfdsink.h:
4867         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
4868         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
4869         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
4870         (gst_fd_src_unlock), (gst_fd_src_set_property),
4871         (gst_fd_src_get_property), (gst_fd_src_create),
4872         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
4873         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
4874         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
4875         (gst_fd_src_uri_handler_init):
4876         * plugins/elements/gstfdsrc.h:
4877         * plugins/elements/gstqueue.c: (gst_queue_get_type):
4878           more anal cleanup
4879
4880 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
4881
4882         * docs/gst/Makefile.am:
4883         * docs/gst/gstreamer.types.in:
4884         * gst/Makefile.am:
4885           fix the docs build
4886
4887 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4888
4889         * configure.ac:
4890         * gst/Makefile.am:
4891         * gst/gst.c:
4892         * gst/gstplugin.h:
4893         * gst/gstregistry.h:
4894         * tests/benchmarks/complexity.c:
4895         * tests/benchmarks/mass-elements.c:
4896         * tests/check/Makefile.am:
4897         * tools/Makefile.am:
4898         * tools/gst-inspect.c:
4899         * tools/gst-xmlinspect.c:
4900           various fixes to make
4901           --disable-nls --disable-registry --disable-loadsave
4902           --disable-parse --disable-gst-debug
4903           work and get the core .so down to 360444 bytes after stripping
4904
4905 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4906
4907         * Makefile.am:
4908         * configure.ac:
4909           descend into tests
4910         * docs/random/thomasvs/TODO:
4911         * tests/Makefile.am:
4912         * tests/README:
4913           add a README
4914
4915 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4916
4917         * win32/GStreamer.vcproj:
4918         * win32/MANIFEST:
4919         * win32/Makefile:
4920         * win32/Makefile.inspect:
4921         * win32/Makefile.launch:
4922         * win32/Makefile.register:
4923         * win32/README.txt:
4924         * win32/gst-inspect.vcproj:
4925         * win32/gst-launch.vcproj:
4926         * win32/gst-register.vcproj:
4927         * win32/gstelements.vcproj:
4928         * win32/gstgetbits.def:
4929         * win32/gstgetbits.vcproj:
4930         * win32/gstreamer-dbg.def:
4931         * win32/gstreamer.def:
4932         * win32/libgstbase.def:
4933         * win32/libgstbase.vcproj:
4934         * win32/link_oldruntime.c:
4935         * win32/mman.c:
4936         * win32/mman.h:
4937         * win32/mman.inl:
4938         * win32/msvc71.sln:
4939           move even more stuff, win32/ is nice and clean now
4940
4941 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4942
4943         * libs/gst/control/.cvsignore:
4944         * win32/MANIFEST:
4945         * win32/config.h:
4946         * win32/dirent.c:
4947         * win32/dirent.h:
4948         * win32/gstbytestream.def:
4949         * win32/gstbytestream.vcproj:
4950         * win32/gstconfig.h:
4951         * win32/gstenumtypes.c:
4952         * win32/gstenumtypes.h:
4953         * win32/gstoptimalscheduler.vcproj:
4954         * win32/gstversion.h:
4955         * win32/gtchar.h:
4956         * win32/testsuite/bins.vcproj:
4957         * win32/testsuite/bytestream.vcproj:
4958         * win32/testsuite/caps.vcproj:
4959         * win32/testsuite/cleanup.vcproj:
4960         * win32/testsuite/clock.vcproj:
4961         * win32/testsuite/debug.vcproj:
4962         * win32/testsuite/dlopen.vcproj:
4963         * win32/testsuite/dynparams.vcproj:
4964         * win32/testsuite/elements.vcproj:
4965         * win32/testsuite/ghostpads.vcproj:
4966         * win32/testsuite/indexers.vcproj:
4967         * win32/testsuite/negotiation.vcproj:
4968         * win32/testsuite/parse.vcproj:
4969         * win32/testsuite/plugin.vcproj:
4970         * win32/testsuite/refcounting.vcproj:
4971         * win32/testsuite/schedulers.vcproj:
4972         * win32/testsuite/states.vcproj:
4973         * win32/testsuite/tags.vcproj:
4974         * win32/testsuite/threads.vcproj:
4975           remove old win32 stuff that isn't maintained and should be
4976           reorganized
4977
4978 2005-11-30  Andy Wingo  <wingo@pobox.com>
4979
4980         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
4981         loading the gst.interfaces python module bork.
4982
4983         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
4984         available since GLib 2.2. Fixes #318031.
4985
4986 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
4987
4988         * Makefile.am:
4989         * check/.cvsignore:
4990         * check/Makefile.am:
4991         * check/elements/.cvsignore:
4992         * check/elements/fakesrc.c:
4993         * check/elements/fdsrc.c:
4994         * check/elements/identity.c:
4995         * check/generic/.cvsignore:
4996         * check/generic/states.c:
4997         * check/gst-libs/.cvsignore:
4998         * check/gst-libs/controller.c:
4999         * check/gst-libs/gdp.c:
5000         * check/gst/.cvsignore:
5001         * check/gst/capslist.h:
5002         * check/gst/gst.c:
5003         * check/gst/gstbin.c:
5004         * check/gst/gstbuffer.c:
5005         * check/gst/gstbus.c:
5006         * check/gst/gstcaps.c:
5007         * check/gst/gstelement.c:
5008         * check/gst/gstevent.c:
5009         * check/gst/gstghostpad.c:
5010         * check/gst/gstiterator.c:
5011         * check/gst/gstmessage.c:
5012         * check/gst/gstminiobject.c:
5013         * check/gst/gstobject.c:
5014         * check/gst/gstpad.c:
5015         * check/gst/gstpipeline.c:
5016         * check/gst/gstplugin.c:
5017         * check/gst/gstsegment.c:
5018         * check/gst/gststructure.c:
5019         * check/gst/gstsystemclock.c:
5020         * check/gst/gsttag.c:
5021         * check/gst/gstutils.c:
5022         * check/gst/gstvalue.c:
5023         * check/net/.cvsignore:
5024         * check/net/gstnetclientclock.c:
5025         * check/net/gstnettimeprovider.c:
5026         * check/pipelines/.cvsignore:
5027         * check/pipelines/cleanup.c:
5028         * check/pipelines/simple_launch_lines.c:
5029         * check/pipelines/stress.c:
5030         * check/states/.cvsignore:
5031         * check/states/sinks.c:
5032         * configure.ac:
5033         * examples/Makefile.am:
5034         * examples/appreader/.cvsignore:
5035         * examples/appreader/Makefile.am:
5036         * examples/appreader/appreader.c:
5037         * examples/controller/.cvsignore:
5038         * examples/controller/Makefile.am:
5039         * examples/controller/audio-example.c:
5040         * examples/cutter/.cvsignore:
5041         * examples/cutter/Makefile.am:
5042         * examples/cutter/cutter.c:
5043         * examples/cutter/cutter.h:
5044         * examples/events/Makefile.am:
5045         * examples/events/seek.c:
5046         * examples/helloworld/.cvsignore:
5047         * examples/helloworld/Makefile.am:
5048         * examples/helloworld/helloworld.c:
5049         * examples/helloworld2/.cvsignore:
5050         * examples/helloworld2/Makefile.am:
5051         * examples/helloworld2/helloworld2.c:
5052         * examples/launch/.cvsignore:
5053         * examples/launch/Makefile.am:
5054         * examples/launch/mp3parselaunch.c:
5055         * examples/launch/mp3play:
5056         * examples/manual/.cvsignore:
5057         * examples/manual/Makefile.am:
5058         * examples/manual/extract.pl:
5059         * examples/metadata/Makefile.am:
5060         * examples/metadata/read-metadata.c:
5061         * examples/mixer/.cvsignore:
5062         * examples/mixer/Makefile.am:
5063         * examples/mixer/mixer.c:
5064         * examples/mixer/mixer.h:
5065         * examples/pingpong/.cvsignore:
5066         * examples/pingpong/Makefile.am:
5067         * examples/pingpong/pingpong.c:
5068         * examples/plugins/.cvsignore:
5069         * examples/plugins/Makefile.am:
5070         * examples/plugins/example.c:
5071         * examples/plugins/example.h:
5072         * examples/pwg/.cvsignore:
5073         * examples/pwg/Makefile.am:
5074         * examples/pwg/extract.pl:
5075         * examples/queue/.cvsignore:
5076         * examples/queue/Makefile.am:
5077         * examples/queue/queue.c:
5078         * examples/queue2/.cvsignore:
5079         * examples/queue2/Makefile.am:
5080         * examples/queue2/queue2.c:
5081         * examples/queue3/.cvsignore:
5082         * examples/queue3/Makefile.am:
5083         * examples/queue3/queue3.c:
5084         * examples/queue4/.cvsignore:
5085         * examples/queue4/Makefile.am:
5086         * examples/queue4/queue4.c:
5087         * examples/retag/.cvsignore:
5088         * examples/retag/Makefile.am:
5089         * examples/retag/retag.c:
5090         * examples/retag/transcode.c:
5091         * examples/thread/.cvsignore:
5092         * examples/thread/Makefile.am:
5093         * examples/thread/thread.c:
5094         * examples/typefind/.cvsignore:
5095         * examples/typefind/Makefile.am:
5096         * examples/typefind/typefind.c:
5097         * examples/xml/.cvsignore:
5098         * examples/xml/Makefile.am:
5099         * examples/xml/createxml.c:
5100         * examples/xml/runxml.c:
5101         * tests/Makefile.am:
5102         * tests/check/Makefile.am:
5103         * testsuite/.cvsignore:
5104         * testsuite/Makefile.am:
5105         * testsuite/Rules:
5106         * testsuite/caps/.cvsignore:
5107         * testsuite/caps/Makefile.am:
5108         * testsuite/caps/app_fixate.c:
5109         * testsuite/caps/audioscale.c:
5110         * testsuite/caps/caps.c:
5111         * testsuite/caps/caps.h:
5112         * testsuite/caps/caps_strings:
5113         * testsuite/caps/compatibility.c:
5114         * testsuite/caps/deserialize.c:
5115         * testsuite/caps/enumcaps.c:
5116         * testsuite/caps/eratosthenes.c:
5117         * testsuite/caps/filtercaps.c:
5118         * testsuite/caps/fixed.c:
5119         * testsuite/caps/fraction-convert.c:
5120         * testsuite/caps/fraction-multiply-and-zero.c:
5121         * testsuite/caps/intersect2.c:
5122         * testsuite/caps/intersection.c:
5123         * testsuite/caps/normalisation.c:
5124         * testsuite/caps/random.c:
5125         * testsuite/caps/renegotiate.c:
5126         * testsuite/caps/sets.c:
5127         * testsuite/caps/simplify.c:
5128         * testsuite/caps/string-conversions.c:
5129         * testsuite/caps/structure.c:
5130         * testsuite/caps/subtract.c:
5131         * testsuite/caps/union.c:
5132         * testsuite/debug/.cvsignore:
5133         * testsuite/debug/Makefile.am:
5134         * testsuite/debug/category.c:
5135         * testsuite/debug/commandline.c:
5136         * testsuite/debug/global.c:
5137         * testsuite/debug/output.c:
5138         * testsuite/debug/printf_extension.c:
5139         * testsuite/dlopen/.cvsignore:
5140         * testsuite/dlopen/Makefile.am:
5141         * testsuite/dlopen/dlopen_gst.c:
5142         * testsuite/dlopen/loadgst.c:
5143         * testsuite/elements/.cvsignore:
5144         * testsuite/elements/Makefile.am:
5145         * testsuite/elements/gst-inspect-check.in:
5146         * testsuite/elements/struct_i386.h:
5147         * testsuite/elements/struct_size.c:
5148         * testsuite/indexers/.cvsignore:
5149         * testsuite/indexers/Makefile.am:
5150         * testsuite/indexers/cache1.c:
5151         * testsuite/indexers/indexdump.c:
5152         * testsuite/parse/.cvsignore:
5153         * testsuite/parse/Makefile.am:
5154         * testsuite/parse/parse1.c:
5155         * testsuite/parse/parse2.c:
5156         * testsuite/plugin/.cvsignore:
5157         * testsuite/plugin/Makefile.am:
5158         * testsuite/plugin/README:
5159         * testsuite/plugin/dynamic.c:
5160         * testsuite/plugin/linked.c:
5161         * testsuite/plugin/loading.c:
5162         * testsuite/plugin/registry.c:
5163         * testsuite/plugin/static.c:
5164         * testsuite/plugin/static2.c:
5165         * testsuite/plugin/testplugin.c:
5166         * testsuite/plugin/testplugin2.c:
5167         * testsuite/plugin/testplugin2_s.c:
5168         * testsuite/plugin/testplugin_s.c:
5169         * testsuite/refcounting/.cvsignore:
5170         * testsuite/refcounting/Makefile.am:
5171         * testsuite/refcounting/bin.c:
5172         * testsuite/refcounting/element.c:
5173         * testsuite/refcounting/element_pad.c:
5174         * testsuite/refcounting/mainloop.c:
5175         * testsuite/refcounting/mem.c:
5176         * testsuite/refcounting/mem.h:
5177         * testsuite/refcounting/object.c:
5178         * testsuite/refcounting/pad.c:
5179         * testsuite/refcounting/sched.c:
5180         * testsuite/refcounting/thread.c:
5181         * testsuite/states/.cvsignore:
5182         * testsuite/states/Makefile.am:
5183         * testsuite/states/bin.c:
5184         * testsuite/states/locked.c:
5185         * testsuite/states/parent.c:
5186         * testsuite/threads/.cvsignore:
5187         * testsuite/threads/159566.c:
5188         * testsuite/threads/159852.c:
5189         * testsuite/threads/Makefile.am:
5190         * testsuite/threads/queue.c:
5191         * testsuite/threads/signals.c:
5192         * testsuite/threads/staticrec.c:
5193         * testsuite/threads/thread.c:
5194         * testsuite/threads/threadb.c:
5195         * testsuite/threads/threadc.c:
5196         * testsuite/threads/threadd.c:
5197         * testsuite/threads/threade.c:
5198         * testsuite/threads/threadf.c:
5199         * testsuite/threads/threadg.c:
5200         * testsuite/threads/threadh.c:
5201         * testsuite/threads/threadi.c:
5202           move all of these under tests
5203
5204 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5205
5206         * configure.ac:
5207         * tests/Makefile.am:
5208           fix distcheck
5209
5210 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5211
5212         * docs/gst/gstreamer-sections.txt:
5213         * tests/sched/.cvsignore:
5214         * tests/sched/Makefile.am:
5215         * tests/sched/cases/(fs-fs).xml:
5216         * tests/sched/cases/(fs-i-fs).xml:
5217         * tests/sched/cases/(fs-i-i-fs).xml:
5218         * tests/sched/cases/(fs-i-q[i-fs]).xml:
5219         * tests/sched/dynamic-pipeline.c:
5220         * tests/sched/interrupt1.c:
5221         * tests/sched/interrupt2.c:
5222         * tests/sched/interrupt3.c:
5223         * tests/sched/runtestcases:
5224         * tests/sched/runxml.c:
5225         * tests/sched/sched-stress.c:
5226         * tests/sched/sort.c:
5227         * tests/sched/testcases:
5228         * tests/sched/testcases1.tc:
5229         * tests/seeking/.cvsignore:
5230         * tests/seeking/Makefile.am:
5231         * tests/seeking/seeking1.c:
5232         * tests/threadstate/.cvsignore:
5233         * tests/threadstate/Makefile.am:
5234         * tests/threadstate/test1.c:
5235         * tests/threadstate/test2.c:
5236         * tests/threadstate/threadstate1.c:
5237         * tests/threadstate/threadstate2.c:
5238         * tests/threadstate/threadstate3.c:
5239         * tests/threadstate/threadstate4.c:
5240         * tests/threadstate/threadstate5.c:
5241           remove obsolete tests
5242         * configure.ac:
5243         * tests/bench-complexity.scm:
5244         * tests/bench-mass_elements.scm:
5245         * tests/complexity.c:
5246         * tests/complexity.gnuplot:
5247         * tests/instantiate/.cvsignore:
5248         * tests/instantiate/Makefile.am:
5249         * tests/instantiate/caps.c:
5250         * tests/mass_elements.c:
5251         * tests/network-clock-utils.scm:
5252         * tests/network-clock.scm:
5253         * tests/plot-data:
5254         First pass at cleaning up tests/ dir before moving the rest
5255         Combined with CVS surgery
5256
5257 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5258
5259         * po/POTFILES.in:
5260           queue has moved, update
5261
5262 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5263
5264         * docs/gst/gstreamer-sections.txt:
5265           remove double entries from the docs
5266         * gst/gst_private.h:
5267         * gst/gstinfo.c: (_gst_debug_init):
5268           remove the THREAD debug category
5269         * gst/Makefile.am:
5270         * gst/gstqueue.c:
5271         * gst/gstqueue.h:
5272         * docs/gst/gstreamer.types:
5273         * plugins/elements/gstqueue.c: (gst_queue_get_type),
5274         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
5275           completely move queue and fix up debugging categories
5276
5277 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5278
5279         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5280           make initialization portable, using LL is not
5281
5282 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5283
5284         * win32/common/gstconfig.h:
5285           add large padding
5286
5287 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5288
5289         * win32/common/libgstreamer.def:
5290           rename symbols; sort base section
5291
5292 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5293
5294         * gst/gstclock.c: (do_linear_regression):
5295           remove crack non-portable handrolled DEBUG macro
5296
5297 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5298
5299         * docs/random/release:
5300           update notes
5301         * win32/common/gstenumtypes.c: (register_gst_object_flags),
5302         (gst_object_flags_get_type), (register_gst_bin_flags),
5303         (gst_bin_flags_get_type), (register_gst_buffer_flag),
5304         (gst_buffer_flag_get_type), (register_gst_bus_flags),
5305         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
5306         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
5307         (gst_caps_flags_get_type), (register_gst_clock_return),
5308         (gst_clock_return_get_type), (register_gst_clock_entry_type),
5309         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
5310         (gst_clock_flags_get_type), (register_gst_state),
5311         (gst_state_get_type), (register_gst_state_change_return),
5312         (gst_state_change_return_get_type), (register_gst_state_change),
5313         (gst_state_change_get_type), (register_gst_element_flags),
5314         (gst_element_flags_get_type), (register_gst_core_error),
5315         (gst_core_error_get_type), (register_gst_library_error),
5316         (gst_library_error_get_type), (register_gst_resource_error),
5317         (gst_resource_error_get_type), (register_gst_stream_error),
5318         (gst_stream_error_get_type), (register_gst_event_type_flags),
5319         (gst_event_type_flags_get_type), (register_gst_event_type),
5320         (gst_event_type_get_type), (register_gst_seek_type),
5321         (gst_seek_type_get_type), (register_gst_seek_flags),
5322         (gst_seek_flags_get_type), (register_gst_format),
5323         (gst_format_get_type), (register_gst_index_certainty),
5324         (gst_index_certainty_get_type), (register_gst_index_entry_type),
5325         (gst_index_entry_type_get_type),
5326         (register_gst_index_lookup_method),
5327         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
5328         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
5329         (gst_index_resolver_method_get_type), (register_gst_index_flags),
5330         (gst_index_flags_get_type), (register_gst_debug_level),
5331         (gst_debug_level_get_type), (register_gst_debug_color_flags),
5332         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
5333         (gst_iterator_result_get_type), (register_gst_iterator_item),
5334         (gst_iterator_item_get_type), (register_gst_message_type),
5335         (gst_message_type_get_type), (register_gst_mini_object_flags),
5336         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
5337         (gst_pad_link_return_get_type), (register_gst_flow_return),
5338         (gst_flow_return_get_type), (register_gst_activate_mode),
5339         (gst_activate_mode_get_type), (register_gst_pad_direction),
5340         (gst_pad_direction_get_type), (register_gst_pad_flags),
5341         (gst_pad_flags_get_type), (register_gst_pad_presence),
5342         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
5343         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
5344         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
5345         (gst_plugin_error_get_type), (register_gst_plugin_flags),
5346         (gst_plugin_flags_get_type), (register_gst_rank),
5347         (gst_rank_get_type), (register_gst_query_type),
5348         (gst_query_type_get_type), (register_gst_tag_merge_mode),
5349         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
5350         (gst_tag_flag_get_type), (register_gst_task_state),
5351         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
5352         (gst_alloc_trace_flags_get_type),
5353         (register_gst_type_find_probability),
5354         (gst_type_find_probability_get_type), (register_gst_uri_type),
5355         (gst_uri_type_get_type), (register_gst_parse_error),
5356         (gst_parse_error_get_type):
5357         * win32/common/gstenumtypes.h:
5358         * win32/common/gstversion.h:
5359           update visual studio generated files
5360
5361 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5362
5363         * win32/vs6/libgstbase.dsp:
5364         * win32/vs6/libgstelements.dsp:
5365           update project files for new locations
5366
5367 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
5368
5369         * Makefile.am:
5370           remove some files
5371         * README:
5372           reinstate and update
5373         * DEVEL:
5374         * REQUIREMENTS:
5375           removed
5376         * LICENSE:
5377         * docs/random/LICENSE:
5378           moved to random
5379
5380 2005-11-30  Edward Hervey  <edward@fluendo.com>
5381
5382         * gst/gsttypefind.c: (gst_type_find_register):
5383         * gst/gsttypefind.h:
5384         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
5385         (gst_type_find_factory_dispose):
5386         * gst/gsttypefindfactory.h:
5387         Fix memory leak in GstTypeFindFactory.
5388
5389 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5390
5391         * gst/gst.c:
5392         * plugins/elements/Makefile.am:
5393         * plugins/elements/gstelements.c:
5394         * plugins/elements/gstqueue.c:
5395           move queue from core to the elements plugin
5396
5397 2005-11-29  Andy Wingo  <wingo@pobox.com>
5398
5399         * libs/gst/base/gstbasetransform.h: 
5400         * libs/gst/base/gstbasesrc.h: 
5401         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
5402
5403         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
5404         of pointers by which to pad very extensible base classes (like the
5405         ones in libs/gst/base).
5406
5407 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5408
5409         * docs/gst/gstreamer-docs.sgml:
5410         * docs/gst/gstreamer-sections.txt:
5411         * docs/libs/gstreamer-libs-docs.sgml:
5412         * docs/libs/gstreamer-libs-sections.txt:
5413           moving documentation from core to lib
5414
5415 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5416
5417         * check/Makefile.am:
5418         * configure.ac:
5419         * docs/gst/Makefile.am:
5420         * gst/Makefile.am:
5421         * gst/base/.cvsignore:
5422         * gst/base/Makefile.am:
5423         * gst/base/README:
5424         * gst/base/gstadapter.c:
5425         * gst/base/gstadapter.h:
5426         * gst/base/gstbasesink.c:
5427         * gst/base/gstbasesink.h:
5428         * gst/base/gstbasesrc.c:
5429         * gst/base/gstbasesrc.h:
5430         * gst/base/gstbasetransform.c:
5431         * gst/base/gstbasetransform.h:
5432         * gst/base/gstcollectpads.c:
5433         * gst/base/gstcollectpads.h:
5434         * gst/base/gstpushsrc.c:
5435         * gst/base/gstpushsrc.h:
5436         * gst/base/gsttypefindhelper.c:
5437         * gst/base/gsttypefindhelper.h:
5438         * gst/check/Makefile.am:
5439         * gst/check/gstcheck.c:
5440         * gst/check/gstcheck.h:
5441         * gst/net/Makefile.am:
5442         * gst/net/gstnet.h:
5443         * gst/net/gstnetclientclock.c:
5444         * gst/net/gstnetclientclock.h:
5445         * gst/net/gstnettimepacket.c:
5446         * gst/net/gstnettimepacket.h:
5447         * gst/net/gstnettimeprovider.c:
5448         * gst/net/gstnettimeprovider.h:
5449         * libs/gst/Makefile.am:
5450         * libs/gst/base/Makefile.am:
5451         * libs/gst/base/gstbasetransform.c:
5452         * libs/gst/check/Makefile.am:
5453         * plugins/elements/Makefile.am:
5454         * po/POTFILES.in:
5455           CVS surgery + support to move base, check, and net out of gst
5456           and into libs/gst
5457
5458 2005-11-29  Andy Wingo  <wingo@pobox.com>
5459
5460         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
5461
5462         * gst/gststructure.h (struct _GstStructure): Only one pointer of
5463         padding.
5464
5465         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
5466
5467         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
5468
5469         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
5470
5471         * gst/gstobject.h: (struct _GstObject): Only one pointer of
5472         padding; reduces object size by about 30%. We don't expect
5473         anything else to go into gstobject.
5474
5475         * gst/gstminiobject.h (struct _GstMiniObject)
5476         (struct _GstMiniObjectClass): Only one pointer of padding; the
5477         payload is only a pointer and two ints anyway. For the class there
5478         are only two methods as well.
5479         
5480         * gst/gstelement.h (struct _GstElementClass): Removed
5481         the state_changed signal callback, it is not used.
5482
5483 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5484
5485         * docs/gst/gstreamer.types:
5486           fix includes, though they are a little dinky
5487
5488 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5489
5490         * check/Makefile.am:
5491           look in the right place for elements, a lot more chance of
5492           success
5493         * gst/Makefile.am:
5494           remove indexers and elements subdirs
5495         * plugins/Makefile.am:
5496           make indexers conditional
5497
5498 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
5499
5500         * Makefile.am:
5501         * configure.ac:
5502         * plugins/elements/Makefile.am:
5503         * plugins/elements/gstcapsfilter.c:
5504         * plugins/elements/gstfilesink.c:
5505         * plugins/elements/gstfilesrc.c:
5506         * plugins/elements/gstidentity.c:
5507         * plugins/indexers/Makefile.am:
5508           do CVS surgery and related build fixery to move elements
5509           and indexers in a new gstreamer/plugins directory, out of the
5510           gst/ directory
5511
5512 2005-11-29  Andy Wingo  <wingo@pobox.com>
5513
5514         * check/Makefile.am:
5515         * pkgconfig/gstreamer-net-uninstalled.pc.in:
5516         * pkgconfig/gstreamer-net.pc.in:
5517         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
5518         #322257.
5519
5520 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5521
5522         * tools/Makefile.am:
5523         * tools/gst-complete.1.in:
5524         * tools/gst-complete.c:
5525         * tools/gst-compprep.1.in:
5526         * tools/gst-compprep.c:
5527           removing -compprep and -complete
5528
5529 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
5530
5531         * gst/gstevent.c: (gst_event_new_new_segment),
5532         (gst_event_parse_new_segment):
5533         * gst/gstevent.h:
5534           fix #320529 - clean up new_segment API and structure.
5535           Let's hope everyone was using the methods, and not the structure.
5536
5537 2005-11-29  Edward Hervey  <edward@fluendo.com>
5538
5539         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
5540         (gst_base_sink_event), (gst_base_sink_do_sync),
5541         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
5542         Properly handle non GST_FORMAT_TIME segment
5543         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
5544         Properly handle non GST_FORMAT_TIME segment
5545         * gst/gstsegment.c:
5546         This function is valid if the accumulator is 0 and the format
5547         is different from the requested format.
5548         
5549 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5550
5551         * docs/gst/gstreamer-sections.txt:
5552         Add gst_query_new_seeking and gst_query_parse_seeking to the
5553         docs.
5554
5555 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
5556
5557         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
5558           Treat a pad alloc with new caps the same as if we were not
5559           negotiated, in order to allow a changing upstream output
5560           to produce a new format of data.
5561
5562 2005-11-29  Edward Hervey  <edward@fluendo.com>
5563
5564         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
5565         (gst_base_transform_event), (gst_base_transform_eventfunc):
5566         The event virtual method is now properly implemented, with a default
5567         handler
5568         Sub classes should call the parent_class event method. They should
5569         return FALSE if they had a problem handling the given event, or don't
5570         want GstBaseTransform to send that even downstream
5571         * gst/elements/gstidentity.c: (gst_identity_class_init),
5572         (gst_identity_init), (gst_identity_event),
5573         (gst_identity_transform_ip), (gst_identity_set_property),
5574         (gst_identity_get_property):
5575         * gst/elements/gstidentity.h:
5576         Added the single-segment boolean property.
5577         If set to TRUE, it will output a single segment of data, starting from
5578         0, will eat up all incoming newsegment, and modify the timestamp of the
5579         buffers accordingly
5580
5581 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
5582
5583         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
5584           Don't ref NULL target pad (#322751). Improve docs.
5585
5586 2005-11-29  Michael Smith  <msmith@fluendo.com>
5587
5588         * gst/gstregistryxml.c: (load_plugin):
5589           Don't crash if we failed to load a feature from a plugin. 
5590
5591 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5592
5593         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
5594         (GST_START_TEST):
5595           use more check API and less GLib API
5596
5597 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5598
5599         * Makefile.am:
5600           don't run checks if we don't have check
5601         * common/check.mak:
5602           remove the registry when running make torture
5603         * docs/gst/gstreamer-sections.txt:
5604           remove second multiply
5605         * gst/gstqueue.c: (gst_queue_loop):
5606           fix a compile warning when disabling debug
5607
5608 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
5609
5610         * gst/gstinfo.h:
5611         Hey! Let's print the pad name if the pointer != NULL instead
5612         of when it == NULL :-)
5613
5614 2005-11-28  Wim Taymans  <wim@fluendo.com>
5615
5616         * check/gst/gstutils.c: (GST_START_TEST):
5617         Updated check, add some scaling accuracy checking code.
5618
5619         * gst/gstutils.c: (gst_util_div128_64),
5620         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
5621         (gst_util_uint64_scale_int):
5622         Fix 6 times faster division code. Optimize for common 
5623         1/1 and less common X/1 cases.
5624
5625 2005-11-28  Wim Taymans  <wim@fluendo.com>
5626
5627         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5628         More checks.
5629
5630         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
5631         (do_linear_regression), (gst_clock_add_observation):
5632         Cleanups.
5633         Release lock when the clock cannot be slaved.
5634         Catch the case where the regression returned an invalid denominator.
5635
5636         * gst/gstutils.c: (gst_util_div128_64_iterate),
5637         (gst_util_div128_64), (gst_util_uint64_scale_int64),
5638         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5639         Add protentially more performant non-iterative 128/64 divide function
5640         that unfortunatly does not work yet.
5641         Shortcut the trivial 0/X = 0 case.
5642         Remove the warnings on overflow.
5643
5644 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5645
5646         * gst/gstplugin.c: (gst_plugin_register_func):
5647           everything causing a plugin not to load should be at least a WARNING
5648
5649 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
5650
5651         * docs/random/ensonic/dparams.txt:
5652           some TODOs for the next dev cycle
5653         * libs/gst/controller/gstcontroller.c:
5654         (gst_controlled_property_set_interpolation_mode),
5655         (gst_controlled_property_new):
5656         * libs/gst/controller/gstcontroller.h:
5657           use base type to assign acccessor functions
5658
5659 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
5660
5661         * check/Makefile.am:
5662         Oops, that should have been top_srcdir
5663
5664 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
5665
5666         * check/Makefile.am:
5667         * check/elements/fdsrc.c: (GST_START_TEST):
5668         Use a cmdline define to specify the location of a file to use for
5669         testing, to avoid breaking distcheck.
5670
5671 2005-11-28  Andy Wingo  <wingo@pobox.com>
5672
5673         * gst/gstpad.c (fixate_value): Use array functions for arrays.
5674
5675 2005-11-28  Edward Hervey  <edward@fluendo.com>
5676
5677         * tools/gst-launch.c: (main):
5678         Clarify the output strings, makes it easier to translate.
5679         Fixes #322626
5680
5681 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
5682
5683         * gst/Makefile.am:
5684           don't try and build net if we don't even have <sys/socket.h>
5685
5686 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
5687
5688         * check/Makefile.am:
5689         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
5690         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
5691           Add tests for fdsrc seekability
5692
5693         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
5694         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
5695         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
5696         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
5697         * gst/elements/gstfdsrc.h:
5698           fdsrc should not be a 'live' source.
5699           Implement seeking on seekable fd's.
5700
5701         * gst/gstquery.c: (gst_query_new_seeking),
5702         (gst_query_parse_seeking):
5703         * gst/gstquery.h:
5704           Implement SEEKING query functions: 
5705             *_new_seeking and *_parse_seeking
5706
5707 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
5708
5709         * gst/gstelement.c: (gst_element_dispose):
5710           don't loop forever
5711
5712         * gst/gstiterator.c:
5713         * gst/gststructure.c:
5714           doc fixes
5715
5716         * libs/gst/controller/gstcontroller.c:
5717         (gst_controlled_property_set_interpolation_mode):
5718         * libs/gst/controller/gstcontroller.h:
5719         * libs/gst/controller/gstinterpolation.c:
5720         (interpolate_none_get_enum_value_array):
5721           support controlling enums
5722
5723 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
5724
5725         * gst/gstvalue.c:
5726           Improve documentation for gst_value_union().
5727
5728         * gst/gstvalue.h:
5729           Change return value for union, intersect and subtract functions
5730           from gint to gboolean.
5731
5732 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
5733
5734         * gst/gstvalue.c: (gst_value_serialize_any_list),
5735         (gst_value_transform_any_list_string),
5736         (gst_value_deserialize_list), (gst_value_deserialize_array),
5737         (gst_value_set_int_range), (gst_value_deserialize_int_range),
5738         (gst_value_set_double_range), (gst_value_deserialize_double_range),
5739         (gst_value_set_fraction_range_full),
5740         (gst_value_deserialize_fraction_range),
5741         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
5742         (gst_value_deserialize_boolean),
5743         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
5744         (gst_value_serialize_float), (gst_value_deserialize_float),
5745         (gst_string_wrap), (gst_value_deserialize_string),
5746         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
5747         (gst_value_union_int_range_int_range),
5748         (gst_value_intersect_int_range_int_range),
5749         (gst_value_intersect_double_range_double_range),
5750         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
5751         (gst_value_subtract_int_range_int_range),
5752         (gst_value_subtract_double_double_range),
5753         (gst_value_subtract_double_range_double_range),
5754         (gst_value_deserialize_fraction):
5755         * gst/gstvalue.h:
5756           Use gint, gdouble and gchar in our API instead of int, double and
5757           char (and make usage in gstvalue.c more consistent).
5758
5759 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5760
5761         * check/Makefile.am:
5762         * libs/gst/controller/Makefile.am:
5763         * libs/gst/dataprotocol/Makefile.am:
5764           fix up Makefile.am and remove GST_ENABLE_NEW
5765
5766 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5767
5768         * configure.ac:
5769         * gst/Makefile.am:
5770         * gst/base/Makefile.am:
5771         * gst/check/Makefile.am:
5772         * gst/elements/Makefile.am:
5773         * gst/net/Makefile.am:
5774           update LDFLAGS use some more
5775
5776 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
5777
5778         * common/m4/gst-doc.m4:
5779           Fixes #312589
5780
5781 2005-11-26  Edward Hervey  <edward@fluendo.com>
5782
5783         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
5784         This shouldn't issue a g_warning since it returns NULL if it
5785         couldn't find the plugin, and all functions using this behave
5786         properly on a NULL return. Switching to a GST_WARNING.
5787
5788 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
5789
5790         * gst/gstbin.c: (gst_bin_handle_message_func):
5791         Don't leak clock messages.
5792
5793 2005-11-25  Wim Taymans  <wim@fluendo.com>
5794
5795         * gst/gstutils.c: (gst_util_uint64_scale_int64),
5796         (gst_util_uint64_scale_int):
5797         Optimisations, remove unneeded vars.
5798
5799 2005-11-25  Wim Taymans  <wim@fluendo.com>
5800
5801         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5802         Added more checks for the high precision uint64 cases.
5803
5804         * gst/gstutils.c: (gst_util_uint64_scale_int64),
5805         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
5806         Implement high precision (guint64 * guint64) / guint64.
5807
5808 2005-11-24  Wim Taymans  <wim@fluendo.com>
5809
5810         * gst/base/gstbasesrc.c: (gst_base_src_query):
5811         Fix wrong percentage query.
5812
5813         * gst/gstutils.c: (gst_util_uint64_scale),
5814         (gst_util_uint64_scale_int):
5815         Add some more common cases that can be handled 
5816         efficiently to _scale.
5817
5818 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5819
5820         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
5821         (gst_mini_object_suite):
5822           don't use check calls from threads; check probably isn't
5823           threadsafe and using a lock to make it threadsafe would
5824           defeat the purpose of this check
5825         * gst/check/gstcheck.c:
5826         * gst/check/gstcheck.h:
5827           use GST_DEBUG some more
5828
5829 2005-11-24  Wim Taymans  <wim@fluendo.com>
5830
5831         * gst/gstutils.c: (gst_util_uint64_scale),
5832         (gst_util_uint64_scale_int):
5833         Chain trivial case to _scale_int.
5834
5835 2005-11-24  Wim Taymans  <wim@fluendo.com>
5836
5837         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
5838         Added test for scaling.
5839
5840         * gst/gstclock.h:
5841         Small doc fix.
5842
5843         * gst/gstutils.c: (gst_util_uint64_scale_int):
5844         Implemented high precision scaling code.
5845
5846 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
5847
5848         * gst/gstinfo.h:
5849           do not crash on pad==NULL
5850
5851 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5852
5853         Patch by: Stefan Kost
5854
5855         * common/gtk-doc.mak:
5856         * docs/gst/Makefile.am:
5857         * docs/libs/Makefile.am:
5858           Fix distcheck issues for the libraries docs build
5859           Closes #319599.
5860
5861 2005-11-24  Michael Smith <msmith@fluendo.com>
5862
5863         * docs/manual/basics-helloworld.xml:
5864           Fix bug #315027: memory leak in example code in docs.
5865
5866 2005-11-24  Michael Smith <msmith@fluendo.com>
5867
5868         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
5869           Unlock the PREROLL_LOCK in a failure case.
5870
5871 2005-11-24  Wim Taymans  <wim@fluendo.com>
5872
5873         * docs/gst/gstreamer-sections.txt:
5874         * gst/base/gstadapter.h:
5875         * gst/base/gstbasesink.h:
5876         * gst/base/gstbasesrc.h:
5877         * gst/base/gstbasetransform.h:
5878         * gst/base/gstpushsrc.h:
5879         * gst/elements/gstfakesink.h:
5880         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
5881         * gst/elements/gstfakesrc.h:
5882         * gst/elements/gstfilesink.h:
5883         * gst/elements/gstfilesrc.h:
5884         * gst/gst.c:
5885         * gst/gstbin.c:
5886         * gst/gstbuffer.c: (_gst_buffer_copy):
5887         * gst/gstbus.h:
5888         * gst/gstcaps.c:
5889         * gst/gstchildproxy.c:
5890         * gst/gstclock.c:
5891         * gst/gstelement.c:
5892         * gst/gstelementfactory.c:
5893         * gst/gstelementfactory.h:
5894         * gst/gstevent.c:
5895         * gst/gstghostpad.h:
5896         * gst/gstindex.h:
5897         * gst/gstinterface.h:
5898         * gst/gstminiobject.c:
5899         * gst/gstminiobject.h:
5900         * gst/gstpad.c:
5901         * gst/gstpad.h:
5902         * gst/gstpadtemplate.h:
5903         * gst/gstpipeline.h:
5904         * gst/gstpluginfeature.h:
5905         * gst/gstquery.h:
5906         * gst/gstqueue.h:
5907         * gst/gsttaglist.c:
5908         * gst/gsttaglist.h:
5909         * gst/gsttagsetter.c:
5910         * gst/gsttagsetter.h:
5911         * gst/gsttrace.c:
5912         * gst/gsttrace.h:
5913         * gst/gsttypefind.h:
5914         * gst/gsturi.h:
5915         * gst/gstvalue.c:
5916         * gst/net/gstnetclientclock.c:
5917         * gst/net/gstnetclientclock.h:
5918         * gst/net/gstnettimepacket.c:
5919         * gst/net/gstnettimeprovider.c:
5920         * gst/net/gstnettimeprovider.h:
5921         Doc fixes.
5922
5923 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5924
5925         * configure.ac: back to HEAD
5926
5927 === release 0.9.6 ===
5928
5929 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
5930
5931         * configure.ac:
5932           releasing 0.9.6, "Always On Time"
5933
5934 2005-11-23  Wim Taymans  <wim@fluendo.com>
5935
5936         * docs/gst/gstreamer-sections.txt:
5937         * gst/glib-compat.c:
5938         * gst/gsttagsetter.c:
5939         * gst/gstvalue.c:
5940         * gst/net/gstnetclientclock.c:
5941         * gst/net/gstnettimepacket.h:
5942         Doc updates.
5943
5944 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5945
5946         * docs/faq/using.xml:
5947         * docs/libs/tmpl/gstcontrol.sgml:
5948         * docs/manual/advanced-dparams.xml:
5949         * docs/manual/appendix-checklist.xml:
5950         * docs/manual/basics-elements.xml:
5951         * docs/pwg/other-source.xml:
5952         * docs/random/moving-plugins:
5953         * gst/gstpad.c:
5954         * tools/gst-launch.1.in:
5955           remove mentions of sinesrc
5956
5957 2005-11-23  Michael Smith <msmith@fluendo.com>
5958
5959         * docs/gst/gstreamer-sections.txt:
5960           Update for new API and API changes.
5961         * gst/gstobject.h:
5962           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
5963         * gst/gstvalue.c:
5964           Documentation typo fix.
5965         * gst/net/gstnettimepacket.c:
5966           Documentation fixes for arguments.
5967
5968 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
5969
5970         * gst/gststructure.c: (gst_structure_get_fraction),
5971         (gst_structure_parse_value),
5972         (gst_structure_fixate_field_nearest_fraction):
5973         * gst/gststructure.h:
5974         * gst/gstutils.c: (gst_util_uint64_scale_int):
5975         * gst/gstutils.h:
5976         * scripts/update-funcnames:
5977         API Changes. 
5978         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
5979         Make gst_structure_fixate_field_nearest_fraction take a numerator
5980         and denominator argument instead of a GValue
5981         add gst_structure_get_fraction helper function.
5982
5983 2005-11-23  Wim Taymans  <wim@fluendo.com>
5984
5985         * docs/design/part-TODO.txt:
5986         Update TODO.
5987
5988         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
5989         * gst/net/gstnetclientclock.h:
5990         Use parent fields for timeout and window_size.
5991
5992 2005-11-23  Andy Wingo  <wingo@pobox.com>
5993
5994         * check/net/gstnetclientclock.c (test_functioning): Adjust to
5995         rate_num/rate_denom change.
5996
5997         * gst/net/gstnetclientclock.c
5998         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
5999         OBJECT_LOCK. Don't call add_observation with the lock.
6000
6001         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
6002         fraction.
6003         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
6004         rate fraction.
6005         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
6006         deal with rate as a fraction whose numerator and denominator are
6007         GstClockTime values.
6008         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
6009         master; the other fields are protected by the SLAVE_LOCK.
6010         (do_linear_regression): Note that this must be called with the
6011         SLAVE_LOCK.
6012         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
6013         OBJECT_LOCK. Call set_calibration instead of touching the
6014         variables directly.
6015         (gst_clock_set_property, gst_clock_get_property): Protect
6016         master/slave parameters with the SLAVE_LOCK.
6017
6018         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
6019         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
6020         note that all of the instance variables that add_observation and
6021         the set_master functions use are protected by that lock and not
6022         the OBJECT_LOCK.
6023         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
6024
6025         * gst/gstclock.c (gst_clock_add_observation): No longer requires
6026         the caller to take the object lock.
6027
6028 2005-11-23  Wim Taymans  <wim@fluendo.com>
6029
6030         * gst/gsterror.c: (_gst_core_errors_init):
6031         * gst/gsterror.h:
6032         Add error for clock stuff.
6033
6034         * gst/gstpipeline.c: (gst_pipeline_change_state),
6035         (gst_pipeline_set_clock):
6036         Post clock error when clock cannot be used in a pipeline.
6037
6038 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
6039
6040         * docs/gst/gstreamer-sections.txt:
6041           make two symbols from gstinfo private for the docs
6042         * gst/base/gstcollectpads.h:
6043         * gst/gstutils.c:
6044           fix doc typos, update docs
6045
6046 2005-11-22  Wim Taymans  <wim@fluendo.com>
6047
6048         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
6049         (gst_base_sink_wait), (gst_base_sink_do_sync),
6050         (gst_base_sink_handle_event):
6051         * gst/base/gstbasesink.h:
6052         No need to store the clock, the parent element class already
6053         has it.
6054
6055         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
6056         Updates for clock_set returning a gboolean
6057
6058         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
6059         (gst_clock_id_wait_async), (gst_clock_class_init),
6060         (gst_clock_init), (gst_clock_finalize),
6061         (gst_clock_get_internal_time), (gst_clock_get_time),
6062         (gst_clock_slave_callback), (gst_clock_set_master),
6063         (gst_clock_get_master), (do_linear_regression),
6064         (gst_clock_add_observation), (gst_clock_set_property),
6065         (gst_clock_get_property):
6066         * gst/gstclock.h:
6067         Implement master/slave. When setting a clock as a slave, a
6068         periodic timeout is scheduled to sample master and slave times.
6069         Then the slave clock is recalibrated to match offset and rate
6070         of the master clock.
6071         Update logging a bit.
6072         Add flag so that a clock can state that is cannot be slaved to
6073         another clock.
6074
6075         * gst/gstelement.c: (gst_element_set_clock):
6076         * gst/gstelement.h:
6077         The set clock returns a gboolean for when an element cannot
6078         deal with the selected clock in the pipeline. 
6079
6080         * gst/gstpipeline.c: (gst_pipeline_change_state),
6081         (gst_pipeline_set_clock):
6082         * gst/gstpipeline.h:
6083         Handle the case where the selected clock cannot be set on
6084         the pipeline.
6085
6086         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
6087         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
6088         (gst_net_client_clock_set_property),
6089         (gst_net_client_clock_get_property),
6090         (gst_net_client_clock_observe_times):
6091         * gst/net/gstnetclientclock.h:
6092         Use regression code in GstClock parent, remove duplicated
6093         functionality.
6094
6095 2005-11-22  Michael Smith <msmith@fluendo.com>
6096
6097         * gst/gstutils.c: (gst_util_clock_time_scale):
6098         * gst/gstutils.h:
6099         * docs/gst/gstreamer-sections.txt:
6100           Rename method to have extra underscore.
6101
6102 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
6103
6104         * gst/elements/Makefile.am:
6105         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
6106         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
6107         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
6108         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
6109         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
6110         * gst/elements/gstfakesrc.h:
6111         * gst/gstqueue.c: (queue_leaky_get_type):
6112           correctly fix GEnumValues so that nick is the short lowercase
6113           dashed tag
6114         * tools/gst-inspect.c: (print_element_properties_info):
6115           also show the nick, since it's useful to use from parse_launch
6116           syntax
6117           Fixes #322139
6118
6119 2005-11-22  Michael Smith <msmith@fluendo.com>
6120
6121         * gst/gstutils.c: (gst_util_clocktime_scale):
6122         * gst/gstutils.h:
6123         * docs/gst/gstreamer-sections.txt:
6124           Add util method for scaling a clocktime by a fraction. Useful 
6125           implementation is left as an exercise for the reader.
6126
6127 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6128
6129         * gst/gstvalue.c: (gst_value_collect_fraction_range):
6130         If needed, allocate storage in the destination value during
6131         collection.
6132
6133 2005-11-22  Edward Hervey  <edward@fluendo.com>
6134
6135         * docs/gst/gstreamer-sections.txt:
6136         * gst/Makefile.am:
6137         * gst/gst.h:
6138         * gst/gsturitype.c:
6139         * gst/gsturitype.h:
6140         * gst/gstutils.c: (gst_util_set_object_arg):
6141         * tools/gst-compprep.c: (main):
6142         * tools/gst-inspect.c: (print_element_properties_info):
6143         Removed GstURI, closes bug #321061
6144
6145 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6146
6147         * check/gst/gststructure.c: (GST_START_TEST):
6148         * gst/gststructure.c: (gst_structure_parse_value):
6149           Oops, broke automatic string type parsing.
6150           Add a test to catch it in future.
6151
6152 2005-11-22  Andy Wingo  <wingo@pobox.com>
6153
6154         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
6155         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
6156         Actually rename the function implementations. Grr.
6157
6158 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6159
6160         * check/gst/capslist.h:
6161           Comment test cases
6162         * check/gst/gststructure.c: (GST_START_TEST),
6163         (gst_structure_suite):
6164           Test automatic value type detection in gst_structure_from_string.
6165         * gst/gststructure.c: (gst_structure_parse_value):
6166           Add fraction as a type we try and guess automatically in
6167           caps/structure strings.
6168
6169 2005-11-22  Andy Wingo  <wingo@pobox.com>
6170
6171         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
6172
6173         * gst/gsttagsetter.h:
6174         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
6175         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
6176         (gst_tag_setter_add_tag_valist)
6177         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
6178         _add_values, _add_valist, and _add_valist_values. Since this is an
6179         interface the function suffixes should be more explicit so
6180         language binding don't end up with element.add_valist ->
6181         gst_tag_setter_add_valist, for example. Fixes #322069.
6182
6183 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6184
6185         * check/gst/gstcaps.c: (GST_START_TEST):
6186           Extend caps string tests to check that a caps to string
6187           conversion is reversible and produces the same caps.
6188
6189         * gst/gststructure.c: (gst_structure_value_get_generic_type):
6190           Output "fraction" as the generic type fraction range, so caps
6191           serialisation and deserialisation works.
6192         * check/gst/capslist.h:
6193         * gst/gstvalue.c: (gst_value_deserialize_fraction):
6194           Support 'MIN' and 'MAX' for deserialising fractions.
6195
6196 2005-11-22  Andy Wingo  <wingo@pobox.com>
6197
6198         * gst/gstevent.h (gst_event_new_new_segment)
6199         (gst_event_parse_new_segment, gst_event_new_buffer_size)
6200         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
6201         Renamed from *_newsegment, *_buffersize, *_notarget.
6202
6203         * scripts/update-funcnames: New script, performs the changes
6204         listed above.
6205
6206 2005-11-22  Wim Taymans  <wim@fluendo.com>
6207
6208         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
6209         Make sure the GstFlowReturn is returned.
6210
6211         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
6212         (gst_bus_add_signal_watch):
6213         * gst/gstbus.h:
6214         add gst_bus_add_signal_watch_full.
6215
6216         * gst/gstplugin.c: (gst_plugin_load_file):
6217         Small style cleanup.
6218
6219 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6220
6221         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
6222           Block the fakesrc srcpad when we send an event, to avoid
6223           contention on the stream_lock causing random test failures.
6224
6225 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6226
6227         * check/gst/gstvalue.c: (GST_START_TEST):
6228         * gst/gstvalue.c: (gst_value_fraction_subtract):
6229           Fix subtraction.
6230
6231 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
6232
6233         * gst/gst.h:
6234           include "gstchildproxy.h"
6235         * gst/gstchildproxy.h:
6236         * libs/gst/controller/gstcontroller.h:
6237           use G_GNUC_NULL_TERMINATED
6238
6239 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
6240
6241         * check/gst/capslist.h:
6242         * check/gst/gstcaps.c: (GST_START_TEST):
6243         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6244         * gst/gststructure.c: (gst_structure_parse_range),
6245         (gst_structure_fixate_field_nearest_fraction):
6246         * gst/gststructure.h:
6247         * gst/gstvalue.c: (gst_value_init_fraction_range),
6248         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
6249         (gst_value_collect_fraction_range),
6250         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
6251         (gst_value_set_fraction_range_full),
6252         (gst_value_get_fraction_range_min),
6253         (gst_value_get_fraction_range_max),
6254         (gst_value_serialize_fraction_range),
6255         (gst_value_transform_fraction_range_string),
6256         (gst_value_compare_fraction_range),
6257         (gst_value_deserialize_fraction_range),
6258         (gst_value_intersect_fraction_fraction_range),
6259         (gst_value_intersect_fraction_range_fraction_range),
6260         (gst_value_subtract_fraction_fraction_range),
6261         (gst_value_subtract_fraction_range_fraction),
6262         (gst_value_subtract_fraction_range_fraction_range),
6263         (gst_value_collect_fraction), (gst_value_fraction_multiply),
6264         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
6265         (gst_value_transform_string_fraction), (_gst_value_initialize):
6266         * gst/gstvalue.h:
6267           Implement fraction ranges and extend GstFraction to support
6268           arithmetic subtraction, as well as deserialization from integer
6269           strings such as "100"
6270           Add a testsuite as for int and double range set operations
6271
6272 2005-11-21  Andy Wingo  <wingo@pobox.com>
6273
6274         * gst/gsttaglist.h: 
6275         * gst/gstcaps.h: 
6276         * gst/gststructure.h: Add glib-compat.h.
6277
6278 2005-11-21  Wim Taymans  <wim@fluendo.com>
6279
6280         * gst/gstbin.c: (gst_bin_change_state_func):
6281         Fix for #321595
6282
6283 2005-11-21  Wim Taymans  <wim@fluendo.com>
6284
6285         * gst/gstsegment.h:
6286         And add a nice define too.
6287
6288 2005-11-21  Wim Taymans  <wim@fluendo.com>
6289
6290         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
6291         (gst_segment_new), (gst_segment_free), (gst_segment_init),
6292         (gst_segment_set_duration), (gst_segment_set_last_stop),
6293         (gst_segment_set_seek), (gst_segment_set_newsegment),
6294         (gst_segment_to_stream_time), (gst_segment_to_running_time),
6295         (gst_segment_clip):
6296         * gst/gstsegment.h:
6297         Make binding friendly.
6298
6299 2005-11-21  Andy Wingo  <wingo@pobox.com>
6300
6301         * gst/gsttagsetter.h: 
6302         * gst/gsttaglist.h: 
6303         * gst/gststructure.h: 
6304         * gst/gstcaps.h: 
6305         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
6306         #319940.
6307
6308         * gst/gsterror.c (_gst_core_errors_init):
6309         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
6310         category.
6311
6312         * gst/Makefile.am (gst_headers): Add glib-compat.h.
6313         (noinst_HEADERS): noinst the -private.
6314
6315 2005-11-21  Michael Smith <msmith@fluendo.com>
6316
6317         * gst/gstplugin.h:
6318         * gst/gstregistry.h:
6319           Remove unimplemented declarations for which we can see no sensible
6320           use.
6321
6322 2005-11-21  Andy Wingo  <wingo@pobox.com>
6323
6324         * gst/gst.h: Include glib-compat.h.
6325
6326         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
6327
6328         * gst/glib-compat.c: Include the public and the private header.
6329
6330         * gst/glib-compat-private.h: Copied here from glib-compat.h.
6331
6332         * gst/gstvalue.c: 
6333         * gst/gstpad.c: 
6334         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
6335
6336         * check/gst/gstevent.c (create_custom_events): Check that
6337         FLUSH_STOP is serialized.
6338
6339         * check/elements/identity.c (event_func): 
6340         * check/elements/fakesrc.c (event_func): No stream lock, the core
6341         takes it.
6342
6343         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
6344         stream lock taking, yay.
6345
6346         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
6347         ensure that core takes the stream lock.
6348
6349         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
6350         lock name change.
6351
6352         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
6353         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
6354         it already. For the flush start we do take it though so we get the
6355         right preroll state change messages.
6356
6357         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
6358         the stream lock here, the core does it for us.
6359
6360         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
6361         GST_STREAM_GET_LOCK.
6362         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
6363         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
6364         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
6365         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
6366         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
6367         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
6368
6369         * gst/gstpad.c: Update for stream lock name change.
6370
6371         * gst/base/gstbasesink.c: Update for preroll lock name change.
6372
6373 2005-11-21  Wim Taymans  <wim@fluendo.com>
6374
6375         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
6376         (gst_clock_get_master):
6377         * gst/gstclock.h:
6378         * gst/gstsystemclock.c: (gst_system_clock_init):
6379         Convert Clock flags to object flags.
6380         Added methods to manage master/slave clocks.
6381
6382 2005-11-21  Wim Taymans  <wim@fluendo.com>
6383
6384         * check/gst/gstsegment.c: (GST_START_TEST):
6385         * docs/design/part-TODO.txt:
6386         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
6387         (gst_base_sink_event), (gst_base_sink_do_sync),
6388         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
6389         (gst_base_sink_query), (gst_base_sink_change_state):
6390         * gst/base/gstbasesink.h:
6391         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
6392         (gst_base_src_default_newsegment),
6393         (gst_base_src_configure_segment), (gst_base_src_do_seek),
6394         (gst_base_src_get_range), (gst_base_src_loop),
6395         (gst_base_src_change_state):
6396         * gst/base/gstbasesrc.h:
6397         * gst/base/gstbasetransform.c:
6398         (gst_base_transform_prepare_output_buf),
6399         (gst_base_transform_event), (gst_base_transform_change_state):
6400         * gst/base/gstbasetransform.h:
6401         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
6402         (gst_collect_pads_event):
6403         * gst/base/gstcollectpads.h:
6404         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
6405         (gst_fake_src_create):
6406         * gst/elements/gstfakesrc.h:
6407         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
6408         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6409         (gst_segment_set_last_stop), (gst_segment_set_seek),
6410         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
6411         (gst_segment_to_running_time), (gst_segment_clip):
6412         * gst/gstsegment.h:
6413         More segment updates, replace code in plugins with segment
6414         helper functions.
6415
6416 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
6417
6418         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
6419         Don't ignore sscanf results
6420
6421 2005-11-21  Andy Wingo  <wingo@pobox.com>
6422
6423         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
6424
6425         * *.h:
6426         * *.c: Ran scripts/update-macros. Oh yes.
6427
6428         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
6429         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
6430         GST_GET_LOCK, etc.
6431
6432         * scripts/update-macros: New script. Run it on your files to
6433         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
6434         well.
6435
6436 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
6437
6438         * docs/gst/Makefile.am:
6439         * docs/gst/gstreamer-docs.sgml:
6440         * docs/gst/gstreamer-sections.txt:
6441         * docs/gst/gstreamer.types:
6442         * gst/gstinfo.h:
6443           more docs fixes, add new api to the docs
6444
6445 2005-11-21  Andy Wingo  <wingo@pobox.com>
6446
6447         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
6448         state_broadcast call.
6449
6450         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
6451
6452 2005-11-21  Julien MOUTTE  <julien@moutte.net>
6453
6454         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
6455         function calls for arrays.
6456
6457 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
6458
6459         * docs/random/ensonic/media-device-daemon.txt:
6460           wild idea, can this be done?
6461         * docs/gst/gstreamer-sections.txt:
6462         * gst/gsterror.h:
6463         * gst/gstfilter.c:
6464         * gst/gstfilter.h:
6465         * gst/gstplugin.h:
6466         * gst/gstpluginfeature.c:
6467         * gst/gsttrace.c:
6468         * gst/gstvalue.c:
6469         * gst/gstvalue.h:
6470           doc fixes and additions
6471
6472 2005-11-21  Andy Wingo  <wingo@pobox.com>
6473
6474         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
6475         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
6476         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
6477         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
6478         private to the basesrc implementation.
6479
6480         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
6481         behalf of event function if necessary. It should no longer be
6482         necessary to take the stream lock in pad's event functions. Fixes
6483         #320299.
6484
6485 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
6486         * docs/gst/gstreamer-sections.txt:
6487         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
6488         (gst_structure_fixate_field_nearest_double),
6489         (gst_structure_fixate_field_boolean):
6490         * gst/gststructure.h:
6491         * win32/common/libgstreamer.def:
6492         * win32/gstreamer.def:
6493
6494         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
6495         (#322027)
6496
6497 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
6498
6499         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
6500         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
6501         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
6502         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
6503         (gst_fdsrc_uri_handler_init):
6504         * gst/elements/gstfdsrc.h:
6505           Port fd:// URI handler from 0.8 to fdsrc
6506
6507 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6508
6509         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
6510         (gst_value_serialize_fourcc):
6511         * gst/gstvalue.h:
6512           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
6513           consistent with our other format defines (#320324).
6514
6515 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6516
6517         * gst/gstvalue.c: (gst_value_is_fixed):
6518           Revert previous commit. Value lists are by definition
6519           not fixed, as they are a list of possible values.
6520
6521 2005-11-21  Andy Wingo  <wingo@pobox.com>
6522
6523         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
6524         during the stable series if we need it. Fixes #319178.
6525
6526         * gst/gstevent.c (gst_event_new_filler): Removed.
6527
6528         * check/gst/gstevent.c: Update comment about filler events.
6529
6530 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6531
6532         * gst/gstvalue.c: (gst_value_is_fixed):
6533           Should handle both value arrays and value lists.
6534
6535 2005-11-21  Andy Wingo  <wingo@pobox.com>
6536
6537         patch by: Alessandro Dessina <alessandro nnva org>
6538
6539         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
6540         functions to access arrays. Fixes #321962.
6541
6542 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6543
6544         * docs/gst/gstreamer.types:
6545           gst_collectpads_get_type => gst_collect_pads_get_type.
6546           
6547         * gst/base/gstbasetransform.c:
6548           Remove unused SIGNAL_HANDOFF enum.
6549
6550 2005-11-21  Andy Wingo  <wingo@pobox.com>
6551
6552         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
6553         the event type (upstream, downstream, serialized). Renamed
6554         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
6555         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
6556         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
6557
6558         * gst/gstevent.c: Update for new CUSTOM event names.
6559
6560         * check/gst/gstevent.c: Update check for new CUSTOM event names.
6561
6562         * gst/gstevent.h:
6563         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
6564         bug #319392.
6565
6566 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6567
6568         * docs/gst/gstreamer-sections.txt:
6569         * win32/common/libgstbase.def:
6570         * win32/libgstbase.def:
6571         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
6572         (gst_collect_pads_class_init), (gst_collect_pads_init),
6573         (gst_collect_pads_finalize), (gst_collect_pads_new),
6574         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
6575         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
6576         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
6577         (gst_collect_pads_start), (gst_collect_pads_stop),
6578         (gst_collect_pads_peek), (gst_collect_pads_pop),
6579         (gst_collect_pads_available), (gst_collect_pads_read),
6580         (gst_collect_pads_flush), (gst_collect_pads_event),
6581         (gst_collect_pads_chain):
6582         * gst/base/gstcollectpads.h:
6583           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
6584           unimplemented functions as unimplemented. Add padding to
6585           GstCollectData. (#320766, #320423)
6586
6587 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
6588
6589         * gst/gstmessage.c:
6590           Improve docs for DURATION message (usage of duration parameter)
6591           (#320113)
6592
6593 2005-11-20  Wim Taymans  <wim@fluendo.com>
6594
6595         * check/Makefile.am:
6596         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
6597         (main):
6598         * gst/Makefile.am:
6599         * gst/gst.h:
6600         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
6601         (gst_segment_set_seek), (gst_segment_set_newsegment),
6602         (gst_segment_to_stream_time), (gst_segment_to_running_time),
6603         (gst_segment_clip):
6604         * gst/gstsegment.h:
6605         Added segment helper structure and methods. Not fully implemented
6606         yet.
6607         Added segment check.
6608
6609 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
6610
6611         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
6612           Add a deserialisation test for fractions
6613         * examples/metadata/read-metadata.c: (message_loop),
6614         (make_pipeline), (main):
6615           Fix up metadata reading sample.
6616         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
6617           Debug format fix
6618         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
6619           Don't try and fixate empty caps
6620         * gst/gst_private.h:
6621           Wrap in G_BEGIN_DECLS/G_END_DECLS
6622         * gst/gstvalue.c: (gst_value_collect_fraction),
6623         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
6624         (gst_value_transform_string_fraction),
6625         (gst_value_compare_fraction):
6626           Add some extra guards to ensure that we don't end up 
6627           with an invalid denominator of 0 in a gstfraction and
6628           that fractions always get reduced.
6629
6630 2005-11-20  Wim Taymans  <wim@fluendo.com>
6631
6632         * docs/gst/gstreamer-sections.txt:
6633         * gst/gstbuffer.h:
6634         * gst/gstelement.c:
6635         * gst/gstformat.c:
6636         * gst/gstformat.h:
6637         * gst/gstindex.h:
6638         * gst/gstquery.c:
6639         * gst/gstquery.h:
6640         * gst/gstvalue.c:
6641         Doc fixes.
6642
6643 2005-11-20  Wim Taymans  <wim@fluendo.com>
6644
6645         * docs/design/part-TODO.txt:
6646         * gst/gstcaps.h:
6647         Make a proper enum of the flag.
6648
6649 2005-11-19  Wim Taymans  <wim@fluendo.com>
6650
6651         * docs/design/part-TODO.txt:
6652         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
6653         (gst_format_to_quark), (gst_format_register):
6654         * gst/gstformat.h:
6655         * gst/gstquery.c: (_gst_query_initialize),
6656         (gst_query_type_get_name), (gst_query_type_to_quark),
6657         (gst_query_type_register):
6658         * gst/gstquery.h:
6659         Add type to quark and type to string conversions.
6660
6661 2005-11-19  Andy Wingo  <wingo@pobox.com>
6662
6663         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
6664         #320097.
6665
6666 2005-11-19  Wim Taymans  <wim@fluendo.com>
6667
6668         * docs/design/part-TODO.txt:
6669         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
6670         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
6671         (gst_bin_handle_message_func):
6672         * gst/gstbin.h:
6673         Make message handling overridable.
6674
6675 2005-11-19  Andy Wingo  <wingo@pobox.com>
6676
6677         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
6678
6679         * gst/gstclock.h:
6680         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
6681         be a GstClockTime.
6682         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
6683         is a GstClockTime. Fixes #321710.
6684
6685         * gst/gstclock.h (GstClock): Remove offset property. Add
6686         internal_calibration and external_calibration. Fix padding. Pad
6687         also by GstClockTime so we don't run into problems.
6688
6689         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
6690         (gst_clock_get_rate_offset): Remove.
6691         (gst_clock_set_time_adjust): Remove. Fixes #321712.
6692
6693         * gst/gstutils.h:
6694         * gst/gstutils.c (g_static_rec_cond_wait)
6695         (g_static_rec_cond_timed_wait): Removed, no longer needed.
6696
6697         * gst/gstbin.c: Remove terrible continue_state prototype.
6698
6699         * gst/gstelement.h (gst_element_continue_state): Make public.
6700
6701         * gst/gstelement.h:
6702         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
6703         by continue_state. Fixes #319389.
6704
6705         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
6706         Really fixes #168438. However I don't see anywhere where the
6707         filter function is called... stupid GStreamer...
6708         
6709         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
6710         don't have a dispose function, so it won't get called when the
6711         object is unreffed, but oh well!
6712
6713         * gst/gstindex.c (gst_index_set_filter_full): New API function,
6714         allows a destroy function to be set so user_data can be freed.
6715         Fixes #168438.
6716         (gst_index_set_filter): Call gst_index_set_filter_full.
6717
6718         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
6719
6720         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
6721         string should produce an error, given the lack of a way to
6722         represent NULL strings. Fixes #165650.
6723         
6724         * gst/gstvalue.h: 
6725         * gst/gstvalue.c (gst_value_array_append_value) 
6726         (gst_value_array_prepend_value, gst_value_array_get_size) 
6727         (gst_value_array_get_value): New API, copied from
6728         gst_value_list_*, only operates on arrays.
6729         (gst_value_list_append_value, gst_value_list_prepend_value) 
6730         (gst_value_list_concat, gst_value_list_get_size) 
6731         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
6732
6733         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
6734         init_list, because it works on both.
6735         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
6736         (gst_value_copy_list_or_array): Renamed from copy_list.
6737         (gst_value_free_list_or_array): Renamed from free_list.
6738         (gst_value_collect_list_or_array): Renamed from collect_list.
6739         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
6740         (gst_value_list_or_array_peek_pointer): Renamed from
6741         list_peek_pointer.
6742         (_gst_value_array_value_table, _gst_value_list_value_table):
6743         Update value table functions.
6744         (gst_value_compare_list_or_array): Renamed from compare_list.
6745
6746         * gsttaglist.h: Whoops, foreach function returns void. Also fix
6747         some constness.
6748
6749         * gst/gsttaglist.c:
6750         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
6751         GstTagList*. Fixes #143472.
6752
6753         * gst/gststructure.h: Clarify what the foreach/map functions can
6754         or can't do to their arguments.
6755
6756 2005-11-18  Wim Taymans  <wim@fluendo.com>
6757
6758         * gst/gstclock.c: (gst_clock_set_calibration),
6759         (gst_clock_get_calibration):
6760         Doc and API fixes.
6761         Calibration can be set with internal time equal to current
6762         internal time too.
6763
6764 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
6765
6766         * gst/gsterror.c:
6767         * gst/gsterror.h:
6768           document
6769
6770 2005-11-18  Andy Wingo  <wingo@pobox.com>
6771
6772         * configure.ac: 
6773         * pkgconfig/gstreamer-net.pc.in:
6774         * pkgconfig/gstreamer-net-uninstalled.pc.in:
6775         * pkgconfig/Makefile.am: Add net pkgconfig files.
6776
6777 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
6778
6779         * gst/gstcaps.c:
6780         * gst/gstghostpad.c:
6781         * gst/gsttrace.c:
6782         * gst/gstvalue.c:
6783         * gst/gstvalue.h:
6784           docs fixes
6785
6786 2005-11-18  Andy Wingo  <wingo@pobox.com>
6787
6788         * gst/net/gstnetclientclock.c: Turn off debugging.
6789
6790         * check/net/gstnetclientclock.c (test_functioning): Assert that the
6791         times connverge somewhat. Can't make a real test.
6792
6793         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
6794         integer arithmetic. Return the minimum of the domain, which can be
6795         set as "internal" for gst_clock_set_calibration.
6796         (gst_net_client_clock_observe_times): Call _set_calibration.
6797         (gst_net_client_clock_new): Call _set_calibration instead of
6798         rate_offset.
6799
6800         * check/net/gstnetclientclock.c (test_functioning): Use the right
6801         adjustment api.
6802
6803         * gst/gstclock.h:
6804         * gst/gstclock.c (gst_clock_get_calibration) 
6805         (gst_clock_set_calibration): New functions, obsolete the ones I
6806         added yesterday. Doh. Precision issues mean we have to extrapolate
6807         from a point in the more recent past than 1970.
6808         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
6809         obsolete.
6810         (gst_clock_adjust_unlocked): Use the right calibration data.
6811
6812 2005-11-18  Edward Hervey  <edward@fluendo.com>
6813
6814         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
6815         Also reset the ->current_* values in READY->PAUSED
6816
6817 2005-11-18  Andy Wingo  <wingo@pobox.com>
6818
6819         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
6820         Whoops, check the right fd. Also add some debugging.
6821         (gst_net_client_clock_observe_times): Adjust for int64 offset.
6822         (do_linear_regression): Add a crapload of debugging. Subtract off
6823         the minimum values from the input series to discard unneeded bits.
6824         Use only int arithmetic. There is still double arithmetic when
6825         calculating the intercept that needs fixing. Return boolean to
6826         indicate success; FALSE would mean the domain or range is too
6827         great. Still needs fixes.
6828
6829 2005-11-18  Wim Taymans  <wim@fluendo.com>
6830
6831         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
6832         For the current position in stream time, we need to subtract
6833         accumulated time.
6834         
6835         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
6836         Release lock before calling the callback function of async
6837         entries.
6838
6839 2005-11-18  Andy Wingo  <wingo@pobox.com>
6840
6841         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
6842         Port goes all the way to MAXUINT16.
6843
6844         * gst/net/gstnettimeprovider.c: Make the port range the same as
6845         for the kernel: 0 assigns, otherwise ports are less than
6846         MAXUINT16.
6847
6848         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
6849         port change.
6850
6851         * check/net/gstnetclientclock.c (test_functioning): Add the start
6852         of another test. 
6853
6854 2005-11-18  Wim Taymans  <wim@fluendo.com>
6855
6856         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
6857         (gst_bin_remove_func), (bin_bus_handler):
6858         * gst/gstbin.h:
6859         Removing a clock provider from a bin, triggers a clock lost message
6860         so that a new clock will be selected.
6861         Adding a clock to a bin triggers a clock provider message.
6862         Make sure we reselect a clock when we received a clock lost message.
6863         Keep a reference to the element that provided the clock.
6864
6865 2005-11-18  Andy Wingo  <wingo@pobox.com>
6866
6867         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
6868         the clock initially so it produces values around the base time.
6869         (gst_net_client_clock_class_init): Typo fix.
6870         (gst_net_client_clock_thread): Add note on when the socket gets
6871         closed.
6872
6873 2005-11-17  Wim Taymans  <wim@fluendo.com>
6874
6875         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
6876         Free remote and local time arrays.
6877
6878 2005-11-17  Wim Taymans  <wim@fluendo.com>
6879
6880         * gst/net/gstnetclientclock.c: (do_linear_regression),
6881         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
6882         Fix compilation, uninitialized vars and a forgotten continue.
6883
6884 2005-11-17  Andy Wingo  <wingo@pobox.com>
6885
6886         * check/Makefile.am (check_PROGRAMS): 
6887         * check/net/gstnetclientclock.c: Add a most minimal test for the
6888         net client clock. More to come later.
6889
6890         * gst/net/gstnet.h: 
6891         * gst/net/Makefile.am: Add netclientclock.
6892
6893         * gst/net/gstnetclientclock.h:
6894         * gst/net/gstnetclientclock.c: New files, implement an untested
6895         GstClock that takes its time from a network time provider.
6896         Implements the algorithm in network-clock.scm.
6897
6898         * tests/network-clock.scm (*window-size*): Rename from
6899         *queue-length*.
6900         * tests/network-clock.scm (network-time): 
6901         * tests/network-clock-utils.scm (q-push): Update callers.
6902
6903 2005-11-17  Wim Taymans  <wim@fluendo.com>
6904
6905         * gst/gstbin.c: (gst_bin_provide_clock_func),
6906         (gst_bin_sort_iterator_new):
6907         And unref the child too..
6908
6909 2005-11-17  Wim Taymans  <wim@fluendo.com>
6910
6911         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
6912         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
6913         Refactor the sort iterator so it can be used while holding the
6914         LOCK too.
6915         Make clock selection select a clock closest to the source.
6916
6917 2005-11-17  Michael Smith <msmith@fluendo.com>
6918
6919         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
6920         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
6921         * gst/gstclock.h:
6922           Anonymous structs are a gcc (and some other compilers) extension, so
6923           don't use them. Since this is only for ABI-compatibility, and our
6924           API/ABI freeze is over in a few days, this whole thing will only
6925           last a few days, so don't bother trying to think up a meaningful
6926           name for the struct.
6927
6928 2005-11-17  Andy Wingo  <wingo@pobox.com>
6929
6930         * gst/gstclock.h (GstClock): Add rate and offset properties,
6931         preserving ABI stability. Add rate/offset accessors. Will file bug
6932         for the freeze break.
6933
6934         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
6935         and offset, trying to keep precision and avoiding
6936         underflow/overflow.
6937         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
6938         functions. Make gst_clock_set_time_adjust obsolete.
6939         (gst_clock_set_time_adjust): Note that this function is obsolete.
6940         Will file bug soon.
6941
6942         * gst/base/gstbasetransform.h: Make the ABI-stability hack
6943         greppable by using GST_PADDING-1+1.
6944
6945 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
6946
6947         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
6948
6949         * gst/gstmessage.c: (gst_message_parse_clock_lost):
6950           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
6951
6952         * gst/gstpadtemplate.h:
6953         * gst/gstpluginfeature.h:
6954           Don't use c++ style comments in headers (#321638).
6955
6956 2005-11-16  Andy Wingo  <wingo@pobox.com>
6957
6958         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
6959         buffer.
6960
6961         * check/net/gstnettimeprovider.c: Check to see that the time
6962         provider actually provides times. Works, yo!
6963
6964 2005-11-16  Wim Taymans  <wim@fluendo.com>
6965
6966         * check/Makefile.am:
6967         Enable more tests.
6968
6969         * check/elements/fakesrc.c: (GST_START_TEST):
6970         Set element to NULL before disposing it.
6971
6972 2005-11-16  Andy Wingo  <wingo@pobox.com>
6973
6974         * gst/net/Makefile.am:
6975         * gst/net/gstnet.h:
6976         * gst/net/gstnettimeprovider.c: 
6977         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
6978         provider, include it from gstnet.h, and add it to the build.
6979
6980         * gst/net/gstnettimepacket.h: 
6981         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
6982         sending and receiving.
6983
6984 2005-11-16  Wim Taymans  <wim@fluendo.com>
6985
6986         * check/Makefile.am:
6987         Enable valgrind check.
6988
6989         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
6990         (gst_fake_src_alloc_buffer):
6991         Fix memleak.
6992
6993 2005-11-16  Wim Taymans  <wim@fluendo.com>
6994
6995         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
6996         Call parent finalize too.
6997
6998 2005-11-16  Wim Taymans  <wim@fluendo.com>
6999
7000         * check/Makefile.am:
7001         Enable valgrind check that should work fine now.
7002
7003         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7004         * gst/gstqueue.c: (gst_queue_init):
7005         Fix memleaks in pad allocation.
7006
7007 2005-11-16  Andy Wingo  <wingo@pobox.com>
7008
7009         * gst/net/Makefile.am:
7010         * gst/net/gstnet.h: New part of core to hold network elements and
7011         objects. Put in core because it exposes API that applications want
7012         to use. The library is named libgstnet-tempname right now because
7013         of the existing libgstnet in gst-plugins-base. Solution is
7014         probably to rename the one in plugins-base; will file a bug for
7015         the freeze break.
7016
7017         * gst/net/gstnettimeprovider.c: 
7018         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
7019         get_time call over the network.
7020
7021         * configure.ac: 
7022         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
7023
7024         * check/Makefile.am:
7025         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
7026         get additions shortly.
7027
7028 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7029
7030         * gst/gstpad.c: (gst_pad_new_from_static_template):
7031         * gst/gstpad.h:
7032           add gst_pad_new_from_static_template functions
7033         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
7034         (gst_check_setup_sink_pad):
7035         * gst/elements/gsttee.c: (gst_tee_init):
7036           and use them
7037
7038 2005-11-16  Wim Taymans  <wim@fluendo.com>
7039
7040         * gst/gstpad.c: (gst_pad_pause_task):
7041         Removed warning, it's not really an error either.
7042
7043 2005-11-16  Wim Taymans  <wim@fluendo.com>
7044
7045         * gst/base/gstbasetransform.c:
7046         (gst_base_transform_prepare_output_buf),
7047         (gst_base_transform_event):
7048         Check if the caps are NULL, this can happen if the element
7049         is shutting down and the pad caps are set to NULL.
7050
7051 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7052
7053         * gst/elements/gsttee.c: (gst_tee_init):
7054           fix pad template leak in tee
7055
7056 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7057
7058         * gst/glib-compat.c: (g_value_dup_gst_object):
7059         * gst/glib-compat.h:
7060         * gst/gstpad.c: (gst_pad_set_property):
7061           use gst_object_ref when setting the pad template; this will
7062           trigger the pad template leaks on GLib 2.6 and the slaves
7063
7064 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7065
7066         * gst/glib-compat.c: (gst_flags_get_first_value):
7067         * gst/glib-compat.h:
7068         * gst/gstregistryxml.c:
7069           remove functions copied from GLib 2.6
7070
7071 2005-11-16  Michael Smith <msmith@fluendo.com>
7072
7073         * gst/Makefile.am:
7074           Don't link against VALGRIND_LIBS. That was always the wrong thing to
7075           do, but only breaks with newer valgrind versions. We're not a
7076           valgrind tool, we have no link-time dependencies on libcoregrind.
7077
7078 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7079
7080         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
7081           some debug changes
7082         * gst/gstmessage.h:
7083           typo fixes
7084
7085 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
7086
7087         * gst/base/gstbasesrc.c: (gst_base_src_init):
7088         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7089         * gst/gstqueue.c: (gst_queue_init):
7090         * gst/gstregistryxml.c: (load_feature):
7091           Revert all these unrefs, they don't even pass make check !
7092
7093 2005-11-15  Johan Dahlin  <johan@gnome.org>
7094
7095         * gst/base/gstbasesrc.c: (gst_base_src_init):
7096         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7097         * gst/gstqueue.c: (gst_queue_init): 
7098         Free pad templates, fixes a couple of leaks.
7099
7100 2005-11-15  Daniel Fischer  <dan at f3c dot com>
7101
7102         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
7103
7104         * gst/gstpad.c: (gst_pad_get_property):
7105           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
7106           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
7107           (#321452)
7108
7109 2005-11-15  Wim Taymans  <wim@fluendo.com>
7110
7111         * gst/gstevent.c:
7112         Small doc update.
7113
7114 2005-11-15  Andy Wingo  <wingo@pobox.com>
7115
7116         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
7117
7118         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
7119         using GST_CLOCK_TIME_NONE to disable base time management.
7120         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
7121         time if it was NONE before.
7122         (gst_pipeline_change_state): Only munge the base time if
7123         stream_time != GST_CLOCK_TIME_NONE.
7124
7125         * check/gst/gstpipeline.c (test_base_time): Punt around the
7126         problem of the probe not being called, because that's not the
7127         issue I'm looking at. Add a check that setting stream_time to NONE
7128         disables base time management.
7129         
7130 2005-11-15  Wim Taymans  <wim@fluendo.com>
7131
7132         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
7133         segment_stop == -1 at startup.
7134
7135         * gst/base/gstbasetransform.c: (gst_base_transform_event),
7136         (gst_base_transform_change_state):
7137         Init segment values at start.
7138
7139 2005-11-15  Wim Taymans  <wim@fluendo.com>
7140
7141         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
7142         0 segment values are 0 in any format.
7143
7144         * gst/base/gstbasetransform.c: (gst_base_transform_event):
7145         * gst/base/gstbasetransform.h:
7146         Parse newsegment correctly in basetransform
7147
7148         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
7149         Sync to clock using updated segment values.
7150
7151 2005-11-15  Andy Wingo  <wingo@pobox.com>
7152
7153         * check/gst/gstpipeline.c (test_base_time): Add check that the
7154         base time and stream time are reset correctly.
7155
7156 2005-11-15  Wim Taymans  <wim@fluendo.com>
7157
7158         * docs/design/part-TODO.txt:
7159         Some more TODO items.
7160
7161 2005-11-15  Andy Wingo  <wingo@pobox.com>
7162
7163         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
7164         error if the user selected "no clock" as the clocking method.
7165
7166         * check/gst/gstpipeline.c (test_base_time): New test for buffer
7167         timestamps with live capture.
7168
7169         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
7170         is 0 but we are a live source, timestamp the buffers using the
7171         element's clock.
7172
7173 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
7174
7175         * docs/gst/gstreamer-sections.txt:
7176         * gst/gsterror.c:
7177         * gst/gstghostpad.c:
7178         * gst/gstobject.h:
7179         * gst/gstxml.c:
7180           more section docs
7181
7182 2005-11-14  Wim Taymans  <wim@fluendo.com>
7183
7184         * common/gst.supp:
7185           add suppressions from Wim's Debian machine
7186
7187 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7188
7189         * common/gst.supp:
7190           add suppressions from Andy's AMD64 Ubuntu machine
7191
7192 2005-11-14  Andy Wingo  <wingo@pobox.com>
7193
7194         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
7195         STATE_LOCK not necessary. Fixes #311489.
7196
7197         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
7198         #305291.
7199
7200         * gst/gstindex.c (gst_index_add_object): Note in the docs that
7201         this function is not implemented.
7202
7203 2005-11-14  Julien MOUTTE  <julien@moutte.net>
7204
7205         * gst/base/gstbasetransform.c:
7206         (gst_base_transform_prepare_output_buf):
7207         Ref the source pad caps while we need them.
7208         Fixes (#321386)
7209
7210 2005-11-11  Wim Taymans  <wim@fluendo.com>
7211
7212         * docs/gst/gstreamer-sections.txt:
7213         Added some docs for GstCollectData.
7214
7215         * gst/base/gstadapter.c:
7216         Some small code example fix.
7217
7218         * gst/base/gstcollectpads.c:
7219         * gst/base/gstcollectpads.h:
7220         Document some more.
7221
7222 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
7223
7224         * configure.ac: back to HEAD
7225
7226 === release 0.9.5 ===
7227
7228 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
7229
7230         * configure.ac:
7231           releasing 0.9.5, "Bike Lunch Day"
7232
7233 2005-11-11  Wim Taymans  <wim@fluendo.com>
7234
7235         * gst/gstbuffer.c: (_gst_buffer_copy):
7236         Copy more flags.
7237
7238         * gst/gstcaps.c: (gst_caps_is_equal):
7239         Fix some docs.
7240         Make _is_equal fast in the trivial cases.
7241
7242         * gst/gstminiobject.c:
7243         * gst/gstminiobject.h:
7244         More docs. Spifify .h file.
7245
7246         * gst/gstutils.c:
7247         Small doc update.
7248
7249 2005-11-11  Wim Taymans  <wim@fluendo.com>
7250
7251         * gst/base/gstbasetransform.c:
7252         (gst_base_transform_prepare_output_buf),
7253         (gst_base_transform_handle_buffer):
7254         Small cleanups.
7255         If we're processing a buffer and need to allocate an output
7256         buffer, we cannot accept a format change. If we did get a 
7257         format change, we have to alloc a buffer ourselves of the 
7258         right size.
7259
7260 2005-11-11  Wim Taymans  <wim@fluendo.com>
7261
7262         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
7263         While checking the flag for reentrancy in the gstcaps function
7264         is nice to detect recursive invocations, it also makes it 
7265         impossible to call getcaps from multiple threads, which must be
7266         possible. So, checking for recursive calls has to go.
7267
7268 2005-11-11  Michael Smith <msmith@fluendo.com>
7269
7270         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7271           Don't sync on buffers that fall partially outside our current
7272           segment. Prevents an assertion failure/abort playing some files.
7273
7274 2005-11-10  Andy Wingo  <wingo@pobox.com>
7275
7276         * check/gst/gstbin.c (test_message_state_changed_children): Style
7277         fix..
7278
7279         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
7280         gst_bus_poll with the signal watch. Ensures that poll and a signal
7281         watch see the same messages.
7282
7283         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
7284         a poll and a watch at the same time get the same messages.
7285
7286 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7287
7288         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
7289         * gst/gstcaps.c: (gst_caps_intersect):
7290           Don't call gst_caps_do_simplify - it doesn't respect order of caps
7291           and it's not needed.
7292
7293 2005-11-10  Wim Taymans  <wim@fluendo.com>
7294
7295         * docs/design/part-TODO.txt:
7296         Updated todo.
7297
7298 2005-11-10  Wim Taymans  <wim@fluendo.com>
7299
7300         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
7301         * gst/base/gstbasesrc.c: (gst_base_src_wait),
7302         (gst_base_src_do_sync), (gst_base_src_get_range):
7303         Implement clock sync in base class.
7304
7305 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
7306
7307         patch by: Tim-Philipp Müller <tim at centricular dot net>
7308
7309         * gst/gststructure.c: (gst_structure_parse_field),
7310         (gst_structure_from_string):
7311           Forward-port a 0.8 patch to handle escaped spaces in structure string,
7312           so that gst_parse_launch() can deal with spaces in filtered link
7313           caps (fixes #164479)
7314         * check/gst/capslist.h:
7315         * check/gst/gststructure.c: (GST_START_TEST):
7316           add unit tests for this change
7317
7318 2005-11-10  Wim Taymans  <wim@fluendo.com>
7319
7320         * docs/gst/gstreamer-sections.txt:
7321         * gst/gstelement.c:
7322         * gst/gstelement.h:
7323         Fix docs, move some STATE macros to private.
7324
7325 2005-11-10  Wim Taymans  <wim@fluendo.com>
7326
7327         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
7328         Added check for bug #317341
7329
7330         * gst/gstbuffer.c:
7331         * gst/gstbuffer.h:
7332         Some more spiffifying.
7333
7334         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
7335         Call peer linkfunction if we are a source pad. Totally fixes
7336         #317341
7337
7338         * gst/gstpad.c:
7339         Update docs, source pads should call the peer linkfunction
7340         so they can atomically perform the pad link.
7341
7342 2005-11-09  Wim Taymans  <wim@fluendo.com>
7343
7344         * gst/gstbuffer.c:
7345         * gst/gstbuffer.h:
7346         Uber-spiffy-spiffify some more.
7347
7348 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
7349
7350         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
7351         * gst/elements/gstfilesink.c: (gst_file_sink_init):
7352         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
7353         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
7354         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
7355         * gst/gstpad.c: (gst_pad_init):
7356           Use GST_DEBUG_FUNCPTR() more extensively.
7357
7358 2005-11-09  Wim Taymans  <wim@fluendo.com>
7359
7360         * gst/gstobject.c: (gst_object_class_init):
7361         * gst/gstobject.h:
7362         Documentation fixes.
7363
7364 2005-11-09  Edward Hervey  <edward@fluendo.com>
7365
7366         * gst/gsttypefindfactory.c:
7367         Fix docs.
7368         
7369 2005-11-09  Edward Hervey  <edward@fluendo.com>
7370
7371         * gst/base/gsttypefindhelper.c:
7372         * gst/gsttypefind.c:
7373         * gst/gsttypefind.h:
7374         Fix docs.
7375
7376 2005-11-09  Wim Taymans  <wim@fluendo.com>
7377
7378         * gst/gstiterator.c:
7379         Fix revision data.
7380
7381         * gst/gsttask.c:
7382         * gst/gsttask.h:
7383         Fix docs.
7384
7385 2005-11-09  Wim Taymans  <wim@fluendo.com>
7386
7387         * gst/gstevent.h:
7388         * gst/gsturi.h:
7389         Fix docs.
7390
7391 2005-11-09  Wim Taymans  <wim@fluendo.com>
7392
7393         * docs/gst/gstreamer-sections.txt:
7394         Moved the message async delivery private lock and cond
7395         to the private section.
7396
7397         * gst/gstmessage.c:
7398         * gst/gstmessage.h:
7399         Fixed docs.
7400
7401 2005-11-09  Edward Hervey  <edward@fluendo.com>
7402
7403         * docs/gst/gstreamer-sections.txt:
7404         * gst/gsturi.c:
7405         * gst/gsturi.h:
7406         Document GstURIHandler
7407
7408 2005-11-09  Wim Taymans  <wim@fluendo.com>
7409
7410         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
7411         (gst_iterator_find_custom):
7412         * gst/gstiterator.h:
7413         Fix iterator docs.
7414
7415 2005-11-09  Wim Taymans  <wim@fluendo.com>
7416
7417         * gst/gstbin.h:
7418         Document another field.
7419
7420         * gst/gststructure.c:
7421         * gst/gststructure.h:
7422         Document.
7423
7424 2005-11-09  Wim Taymans  <wim@fluendo.com>
7425
7426         * gst/gstbin.h:
7427         Documented structs.
7428
7429 2005-11-09  Wim Taymans  <wim@fluendo.com>
7430
7431         * docs/gst/gstreamer-sections.txt:
7432         Added some new macros.
7433
7434         * gst/gstclock.c:
7435         * gst/gstclock.h:
7436         * gst/gstobject.h:
7437         Docs updates.
7438
7439 2005-11-09  Wim Taymans  <wim@fluendo.com>
7440
7441         * docs/design/part-TODO.txt:
7442         Some more items for the TODO
7443
7444         * gst/gstcaps.c:
7445         * gst/gstcaps.h:
7446         Document GstCaps.
7447
7448 2005-11-09  Andy Wingo  <wingo@pobox.com>
7449
7450         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
7451         to work on something else now tho...
7452
7453         * gst/base/gstadapter.c: More adapter docs.
7454
7455         * gst/elements/gstfilesink.c (gst_file_sink_start) 
7456         (gst_file_sink_stop): New functions, replace the state change
7457         handler.
7458         (gst_file_sink_class_init): Hook up the start and stop functions.
7459         (gst_file_sink_base_init): Don't set the state change handler any
7460         more. It was a bit ugly too, being set from here...
7461         (gst_file_sink_get_property, gst_file_sink_set_property):
7462         Cleanups...
7463         (gst_file_sink_set_location): More robust check that doesn't call
7464         GST_STATE. Ugggggg.
7465
7466 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
7467
7468         * gst/base/gstbasetransform.c: (gst_base_transform_event):
7469           Hold STREAM_LOCK while pushing newsegment or tag events as well.
7470
7471 2005-11-08  Wim Taymans  <wim@fluendo.com>
7472
7473         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
7474         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
7475         (gst_base_sink_chain), (gst_base_sink_change_state):
7476         * gst/base/gstbasesink.h:
7477         * gst/base/gstbasesrc.h:
7478         * gst/gstelement.h:
7479         * gst/gstevent.h:
7480         Avoid excessive typechecking in macros.
7481
7482         * gst/gstminiobject.c: (gst_mini_object_get_type),
7483         (gst_mini_object_init), (gst_mini_object_new),
7484         (gst_mini_object_free):
7485         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
7486         (gst_object_finalize):
7487         Remove cruft code, optimize alloc_trace.
7488
7489 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
7490
7491         * docs/faq/gst-uninstalled:
7492           fix up PS1 for systems that try to reset it
7493
7494 2005-11-07  Wim Taymans  <wim@fluendo.com>
7495
7496         * gst/base/gstbasesrc.c: (gst_base_src_init),
7497         (gst_base_src_get_range):
7498         Set the segment_end to -1 initially. Fixed typefind.
7499
7500 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
7501
7502         * gst/base/gstadapter.c:
7503           Debug category should be 'adapter', not 'GstAdapter'.
7504           
7505         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
7506         (gst_collectpads_class_init), (gst_collectpads_init),
7507         (gst_collectpads_peek), (gst_collectpads_pop),
7508         (gst_collectpads_event), (gst_collectpads_chain):
7509           Add debug category and some debugging output. Use boilerplate
7510           macros. Remove some extraneous words from docs.
7511
7512 2005-11-05  Andy Wingo  <wingo@pobox.com>
7513
7514         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
7515         macro.
7516
7517 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
7518
7519         * docs/gst/gstreamer-sections.txt:
7520         * gst/gstcaps.h:
7521         * gst/gstinfo.c:
7522         * gst/gstminiobject.h:
7523         * gst/gstobject.h:
7524         * gst/gstutils.h:
7525           more docs added
7526
7527 2005-11-04  Wim Taymans  <wim@fluendo.com>
7528
7529         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7530         Small update to stop at the configured segment_end
7531         position.
7532
7533 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
7534
7535         * gst/gstregistry.c:
7536         * gst/gstregistry.h:
7537           added missing docs
7538
7539 2005-11-04  Edward Hervey  <edward@fluendo.com>
7540
7541         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
7542         Check if we are doing a segment seek and have arrived at the
7543         end of that segment.
7544
7545 2005-11-04  Wim Taymans  <wim@fluendo.com>
7546
7547         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
7548         Don't leak a mutex unlock in case of an error.
7549
7550         * gst/gstbus.h:
7551         Doc fixes.
7552
7553 2005-11-04  Wim Taymans  <wim@fluendo.com>
7554
7555         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
7556         (gst_bus_post):
7557         Get the context to wake up only once.
7558
7559 2005-11-03  Wim Taymans  <wim@fluendo.com>
7560
7561         * check/states/sinks.c: (GST_START_TEST):
7562         Uncomment fixed check.
7563
7564         * docs/design/part-TODO.txt:
7565         Updated TODO.
7566
7567         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7568         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7569         (gst_base_sink_get_position):
7570         If we are going to PLAYING, post the right pending state
7571         when we post the intermediate paused message.
7572
7573         * gst/gstelement.c: (gst_element_continue_state),
7574         (gst_element_set_state_func), (gst_element_change_state):
7575         Don't post state changes that were between the same state
7576         and were not ASYNC.
7577
7578 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
7579
7580         * docs/gst/gstreamer-sections.txt:
7581         * gst/gstcaps.h:
7582         * gst/gstinfo.c:
7583         * gst/gstminiobject.h:
7584         * gst/gstobject.h:
7585         * gst/gstutils.h:
7586           more docs and doc style fixes
7587
7588 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
7589
7590         * docs/gst/gstreamer-sections.txt:
7591         * gst/gstelement.c:
7592         * gst/gstminiobject.c:
7593         doc fixes
7594
7595 2005-11-03  Andy Wingo  <wingo@pobox.com>
7596
7597         * check/states/sinks.c (test_livesrc_sink): Add checks that the
7598         state-changed messages actually have the right order and the right
7599         values.
7600
7601 2005-11-03  Wim Taymans  <wim@fluendo.com>
7602
7603         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
7604         Added some more checks. Specifically the case where NO_PREROLL
7605         elements are in the pipeline.
7606
7607         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7608         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
7609         (gst_base_sink_get_position):
7610         Post READY->PAUSED state change messages too.
7611         Fix bug where VOID was posted as pending state...
7612
7613         * gst/gstbin.c: (gst_bin_recalc_state):
7614         use _element_continue_state() to continue the state change.
7615
7616         * gst/gstelement.c: (gst_element_continue_state),
7617         (gst_element_commit_state), (gst_element_set_state_func),
7618         (gst_element_change_state), (gst_element_change_state_func):
7619         Lots of state change cleanups, assign the STATE_RETURN in
7620         a new continue_state() function that also propagates the
7621         last return value from a state change to the app.
7622         Update some debug statements with proper category.
7623
7624 2005-11-03  Wim Taymans  <wim@fluendo.com>
7625
7626         * docs/design/part-events.txt:
7627         * docs/design/part-gstpipeline.txt:
7628         * docs/design/part-messages.txt:
7629         * docs/design/part-overview.txt:
7630         * docs/design/part-seeking.txt:
7631         * docs/design/part-states.txt:
7632         * docs/design/part-trickmodes.txt:
7633         * docs/manual/advanced-position.xml:
7634         Small docs updates.
7635
7636         * gst/gstobject.h:
7637         People think !! is ugly, this looks better.
7638
7639         * gst/gstpad.c: (gst_pad_set_blocked_async):
7640         Remove !! since it's fixed elsewhere now.
7641
7642 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
7643
7644         * gst/gstminiobject.h:
7645         * gst/gstobject.h:
7646           Add !! to _FLAG_IS_SET macros to make the result boolean.
7647
7648 2005-11-03  Edward Hervey  <edward@fluendo.com>
7649
7650         * gst/gstpad.c: (gst_pad_set_blocked_async):
7651         comparing a flag and a gboolean rarely returns coherent results...
7652         Added two characters (!!) to make that work correctly.
7653         
7654 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
7655
7656         * gst/gstbus.c: (gst_bus_class_init):
7657           Fix some typos.
7658           
7659         * gst/gstqueue.c: (gst_queue_loop):
7660           Don't assume a miniobject that isn't a buffer is an
7661           event (it could be that there is a refcounting
7662           problem somewhere and the pointer is stale and
7663           refers to an already destroyed miniobject).
7664
7665 2005-11-03  Julien MOUTTE  <julien@moutte.net>
7666
7667         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
7668
7669 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
7670
7671         * docs/manual/advanced-position.xml:
7672           Update seek example and explanations to current 0.9 API.
7673
7674         * gst/elements/gsttypefindelement.c:
7675         (gst_type_find_element_activate):
7676           Remove FIXME comment now that the found caps
7677           are unreffed.
7678
7679 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
7680
7681         * gst/gstregistryxml.c: (load_feature):
7682           Add another GST_STR_NULL instance
7683
7684 2005-11-02  Edward Hervey  <edward@fluendo.com>
7685
7686         * gst/gstpad.c: (handle_pad_block):
7687         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
7688         
7689 2005-11-02  Wim Taymans  <wim@fluendo.com>
7690
7691         * gst/gstbin.c:
7692         Fix typo in docs.
7693
7694         * gst/gstelement.c: (gst_element_commit_state):
7695         Remove unused value.
7696
7697         * gst/gstiterator.c:
7698         Mention that the returned element is reffed in the docs.
7699
7700 2005-11-02  Wim Taymans  <wim@fluendo.com>
7701
7702         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
7703         (gst_pad_push), (gst_pad_push_event):
7704         Unlock blocked pads when they are flushed.
7705
7706 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7707
7708         * docs/README:
7709         * docs/gst/gstreamer-sections.txt:
7710         * gst/gstbin.c:
7711           doc updates
7712         * gst/gstregistry.c: (gst_registry_scan_path_level):
7713           fix for a nasty little missed situation where an installed plug-in
7714           which was in the cache did not get overridden by an uninstalled one
7715           which was earlier in the plugin path because the newly created plugin
7716           for the uninstalled one (not in the registry) didn't get its
7717           ->registered set to TRUE
7718
7719 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7720
7721         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
7722         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
7723         (gst_collectpads_is_active), (gst_collectpads_collect),
7724         (gst_collectpads_collect_range), (gst_collectpads_start),
7725         (gst_collectpads_stop), (gst_collectpads_peek),
7726         (gst_collectpads_pop), (gst_collectpads_available),
7727         (gst_collectpads_read), (gst_collectpads_flush):
7728           Guard public API with assertions.
7729         
7730         * gst/gstpad.c:
7731           Fix docs for gst_pad_set_link_function().
7732
7733 2005-11-02  Johan Dahlin  <johan@gnome.org>
7734
7735         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
7736         Unref found_caps after we used it.
7737
7738 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
7739
7740         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
7741           Don't try to ref NULL.
7742
7743 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7744
7745         * win32/common/config.h.in:
7746           provide a GST_FUNCTION that just gives a string for now
7747
7748 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
7749
7750         * win32/common/gstenumtypes.c: (register_gst_object_flags),
7751         (gst_object_flags_get_type), (register_gst_bin_flags),
7752         (gst_bin_flags_get_type), (register_gst_buffer_flag),
7753         (gst_buffer_flag_get_type), (register_gst_bus_flags),
7754         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
7755         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
7756         (gst_clock_return_get_type), (register_gst_clock_entry_type),
7757         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
7758         (gst_clock_flags_get_type), (register_gst_state),
7759         (gst_state_get_type), (register_gst_state_change_return),
7760         (gst_state_change_return_get_type), (register_gst_state_change),
7761         (gst_state_change_get_type), (register_gst_element_flags),
7762         (gst_element_flags_get_type), (register_gst_core_error),
7763         (gst_core_error_get_type), (register_gst_library_error),
7764         (gst_library_error_get_type), (register_gst_resource_error),
7765         (gst_resource_error_get_type), (register_gst_stream_error),
7766         (gst_stream_error_get_type), (register_gst_event_type),
7767         (gst_event_type_get_type), (register_gst_seek_type),
7768         (gst_seek_type_get_type), (register_gst_seek_flags),
7769         (gst_seek_flags_get_type), (register_gst_format),
7770         (gst_format_get_type), (register_gst_index_certainty),
7771         (gst_index_certainty_get_type), (register_gst_index_entry_type),
7772         (gst_index_entry_type_get_type),
7773         (register_gst_index_lookup_method),
7774         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
7775         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
7776         (gst_index_resolver_method_get_type), (register_gst_index_flags),
7777         (gst_index_flags_get_type), (register_gst_debug_level),
7778         (gst_debug_level_get_type), (register_gst_debug_color_flags),
7779         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
7780         (gst_iterator_result_get_type), (register_gst_iterator_item),
7781         (gst_iterator_item_get_type), (register_gst_message_type),
7782         (gst_message_type_get_type), (register_gst_mini_object_flags),
7783         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
7784         (gst_pad_link_return_get_type), (register_gst_flow_return),
7785         (gst_flow_return_get_type), (register_gst_activate_mode),
7786         (gst_activate_mode_get_type), (register_gst_pad_direction),
7787         (gst_pad_direction_get_type), (register_gst_pad_flags),
7788         (gst_pad_flags_get_type), (register_gst_pad_presence),
7789         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
7790         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
7791         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
7792         (gst_plugin_error_get_type), (register_gst_plugin_flags),
7793         (gst_plugin_flags_get_type), (register_gst_rank),
7794         (gst_rank_get_type), (register_gst_query_type),
7795         (gst_query_type_get_type), (register_gst_tag_merge_mode),
7796         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
7797         (gst_tag_flag_get_type), (register_gst_task_state),
7798         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
7799         (gst_alloc_trace_flags_get_type),
7800         (register_gst_type_find_probability),
7801         (gst_type_find_probability_get_type), (register_gst_uri_type),
7802         (gst_uri_type_get_type), (register_gst_parse_error),
7803         (gst_parse_error_get_type):
7804         * win32/common/gstversion.h:
7805           update win32 copies
7806
7807 2005-11-01  Luca Ognibene  <luogni@tin.it>
7808
7809         * gst/gst.c:
7810           fix docs. popt is dead, long live GOption.
7811
7812 2005-10-31  Wim Taymans  <wim@fluendo.com>
7813
7814         * gst/gstbuffer.h:
7815         Small doc fix.
7816
7817 2005-10-31  Andy Wingo  <wingo@pobox.com>
7818
7819         * Boo!
7820
7821         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
7822
7823         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
7824         need to serialize property notifications on GLib 2.8. GLib 2.6 has
7825         the possibility of deadlocks here if code calling notify() or
7826         set() has a lock that can be taken in another notify handler (ABBA
7827         with class lock and e.g. python GIL state lock).
7828
7829 2005-10-28  Julien MOUTTE  <julien@moutte.net>
7830
7831         * gst/gstbus.c: Doc updates.
7832
7833 2005-10-28  Wim Taymans  <wim@fluendo.com>
7834
7835         * docs/design/part-TODO.txt:
7836         * gst/gstiterator.c:
7837         * gst/gstsystemclock.c:
7838         * gst/gstsystemclock.h:
7839         Doc updates.
7840
7841 2005-10-28  Edward Hervey  <edward@fluendo.com>
7842
7843         * docs/gst/gstreamer-docs.sgml:
7844         * docs/gst/gstreamer-sections.txt:
7845         the GstURIType documentation page is private, it only defines GstURIType
7846         which should be defined in the GstURIHandler page
7847         
7848 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7849
7850         * gst/gstbin.c: (gst_bin_class_init):
7851         * gst/gstbin.h:
7852         * gst/gstutils.c:
7853         Documentation updates.
7854
7855 2005-10-28  Wim Taymans  <wim@fluendo.com>
7856
7857         * docs/gst/gstreamer-sections.txt:
7858         * gst/gstclock.c:
7859         * gst/gstclock.h:
7860         Documented the clocks.
7861
7862 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
7863
7864         * docs/gst/gstreamer-sections.txt:
7865           move some macros to private sections
7866         * gst/gstminiobject.c:
7867         * gst/gstminiobject.h:
7868           add descriptions provided by ds and some more
7869         * gst/gstpad.h:
7870           mark macro as to be removed
7871
7872 2005-10-28  Wim Taymans  <wim@fluendo.com>
7873
7874         * docs/design/part-TODO.txt:
7875         Add an item to TODO.
7876
7877         * gst/gstiterator.c: (gst_iterator_fold),
7878         (gst_iterator_find_custom):
7879         * gst/gstiterator.h:
7880         Add iterator docs.
7881
7882 2005-10-28  Wim Taymans  <wim@fluendo.com>
7883
7884         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
7885         (gst_base_transform_init):
7886         Don't leak class.
7887
7888         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
7889         An EOS event marks the queue as completely filled.
7890
7891 2005-10-27  Wim Taymans  <wim@fluendo.com>
7892
7893         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7894         (gst_base_sink_do_sync), (gst_base_sink_get_position):
7895         Some more debugging.
7896
7897         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
7898         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
7899         (gst_base_transform_event), (gst_base_transform_getrange),
7900         (gst_base_transform_chain):
7901         * gst/base/gstbasetransform.h:
7902         Fix debugging,
7903         Protect transform and concurrent buffer alloc with a new lock.
7904         Try not to break ABI/API.
7905
7906 2005-10-27  Wim Taymans  <wim@fluendo.com>
7907
7908         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
7909         (gst_base_src_init), (gst_base_src_query),
7910         (gst_base_src_default_newsegment),
7911         (gst_base_src_configure_segment), (gst_base_src_do_seek),
7912         (gst_base_src_send_event), (gst_base_src_event_handler),
7913         (gst_base_src_pad_get_range), (gst_base_src_loop),
7914         (gst_base_src_unlock), (gst_base_src_default_negotiate),
7915         (gst_base_src_start), (gst_base_src_deactivate),
7916         (gst_base_src_activate_push), (gst_base_src_change_state):
7917         Move some stuff around and cleanup things.
7918
7919 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
7920
7921         * gst/base/gstbasesrc.c: (gst_base_src_query):
7922           Add missing break statements.
7923
7924 2005-10-27  Wim Taymans  <wim@fluendo.com>
7925
7926         * check/gst/gstbin.c: (GST_START_TEST):
7927         An extra refcount is taken in basesrc.
7928
7929         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
7930         (gst_base_src_get_range), (gst_base_src_pad_get_range),
7931         (gst_base_src_loop):
7932         Small cleanups, check for flushing after being unlocked from the 
7933         LIVE_LOCK. take refcounts correctly (not yet everywhere).
7934         Don't send out EOS when going to READY.
7935
7936 2005-10-27  Wim Taymans  <wim@fluendo.com>
7937
7938         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
7939         (gst_base_sink_get_position):
7940         Some more debug.
7941
7942         * gst/gstbin.c: (message_check), (bin_replace_message),
7943         (bin_remove_messages), (is_eos), (gst_bin_add_func),
7944         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7945         (bin_query_duration_init), (bin_query_duration_fold),
7946         (bin_query_duration_done), (bin_query_generic_fold),
7947         (gst_bin_query):
7948         * tools/gst-launch.c: (main):
7949         Remove old option.
7950
7951 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
7952
7953         * examples/controller/audio-example.c: (main):
7954         * examples/queue/queue.c: (event_loop):
7955         * gst/base/gstbasetransform.h:
7956         * gst/gstelement.c: (gst_element_send_event):
7957         * gst/gstevent.h:
7958         * gst/gstpad.c: (gst_pad_send_event):
7959           fixing examples
7960           fixing docs typos
7961           changing log priority in error situations
7962
7963 2005-10-25  Wim Taymans  <wim@fluendo.com>
7964
7965         * gst/gstbin.c: (message_check), (bin_replace_message),
7966         (bin_remove_messages), (is_eos), (gst_bin_add_func),
7967         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7968         (bin_query_duration_init), (bin_query_duration_fold),
7969         (bin_query_duration_done), (bin_query_generic_fold),
7970         (gst_bin_query):
7971         Some doc and debug updates.
7972         Cache previously requested query DURATION for speed. invalidate
7973         cached duration if element posts a DURATION message.
7974
7975 2005-10-25  Wim Taymans  <wim@fluendo.com>
7976
7977         * docs/design/part-TODO.txt:
7978         Update TODO.
7979
7980         * gst/gstbin.c: (message_check), (bin_replace_message),
7981         (bin_remove_messages), (is_eos), (gst_bin_add_func),
7982         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
7983         (bin_query_duration_init), (bin_query_duration_fold),
7984         (bin_query_duration_done), (bin_query_generic_fold),
7985         (gst_bin_query):
7986         Handle SEGMENT_START/DONE messages correctly.
7987         More evolved query algorithm that handles duration queries
7988         correctly.
7989
7990         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
7991         (gst_element_get_state_func), (gst_element_abort_state),
7992         (gst_element_commit_state), (gst_element_lost_state):
7993         Some more debugging.
7994
7995         * gst/gstmessage.h:
7996         Added doc.
7997
7998 2005-10-25  Wim Taymans  <wim@fluendo.com>
7999
8000         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
8001         Don't use invalid stream_time.
8002
8003         * gst/gstevent.c: (gst_event_new_newsegment):
8004         stream_time in newsegment cannot be undefined.
8005
8006 2005-10-24  Wim Taymans  <wim@fluendo.com>
8007
8008         * gst/gstbus.c:
8009         Doc fix.
8010
8011         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
8012         (gst_queue_loop):
8013         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
8014
8015 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
8016
8017         * docs/libs/tmpl/gstdparam.sgml:
8018         * docs/libs/tmpl/gstdplinint.sgml:
8019         * docs/libs/tmpl/gstdpman.sgml:
8020         * docs/libs/tmpl/gstdpsmooth.sgml:
8021         * docs/libs/tmpl/gstunitconvert.sgml:
8022           these are obsolete
8023
8024 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
8025
8026         * configure.ac:
8027           back to HEAD
8028
8029 === release 0.9.4 ===
8030
8031 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8032
8033         * configure.ac:
8034           releasing 0.9.4, "Tyrannosaurus Rex"
8035
8036 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
8037
8038         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8039         (gst_file_sink_get_current_offset):
8040           Use fseeko() and ftello() if available. When falling back on
8041           lseek() to get the current offset, fflush() first to make sure
8042           everything is up-to-date and we get the right offset.
8043
8044 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
8045
8046         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8047         * gst/base/gstbasesrc.c: (gst_base_src_loop):
8048         * gst/gsterror.c: (_gst_stream_errors_init):
8049         * gst/gsterror.h:
8050         * gst/gstqueue.c: (gst_queue_loop):
8051         * po/POTFILES.in:
8052           remove prematurely added error category and clean up the instances
8053
8054 2005-10-21  Wim Taymans  <wim@fluendo.com>
8055
8056         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8057         (gst_base_sink_get_position), (gst_base_sink_query),
8058         (gst_base_sink_change_state):
8059         Simply set the right flag when going to playing, that's all
8060         we need to do instead of calling a function inside the object
8061         lock (that could take the lock as well and deadlock)
8062
8063 2005-10-21  Wim Taymans  <wim@fluendo.com>
8064
8065         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
8066         (gst_base_src_loop):
8067         Don't warn, the peer element knows what to do best when
8068         the seek failed, it might try something else.
8069
8070 2005-10-21  Wim Taymans  <wim@fluendo.com>
8071
8072         * gst/base/gstbasesrc.c: (gst_base_src_init),
8073         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
8074         Fix seeking.
8075
8076 2005-10-21  Wim Taymans  <wim@fluendo.com>
8077
8078         * docs/design/part-segments.txt:
8079         More docs.
8080
8081         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
8082         Correctly set caps, even on the subbufer.
8083
8084 2005-10-21  Wim Taymans  <wim@fluendo.com>
8085
8086         * docs/gst/gstreamer-docs.sgml:
8087         * docs/gst/gstreamer-sections.txt:
8088         * gst/gstelement.h:
8089         * gst/gstevent.c:
8090         * gst/gstevent.h:
8091         * gst/gstmessage.h:
8092         * gst/gstpad.h:
8093         * gst/gstparse.h:
8094         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
8095         * gst/gsttask.h:
8096         * gst/gstutils.c:
8097         * gst/gstutils.h:
8098         And 2% more doc coverage.
8099
8100 2005-10-21  Andy Wingo  <wingo@pobox.com>
8101
8102         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
8103         position reporting.
8104
8105 2005-10-20  Wim Taymans  <wim@fluendo.com>
8106
8107         * gst/gsterror.c: (gst_error_get_message):
8108         * gst/gstparse.h:
8109         * gst/gstquery.h:
8110         * gst/gststructure.c:
8111         * gst/gsttrace.c:
8112         * gst/gstutils.c:
8113         More docs.
8114
8115 2005-10-20  Wim Taymans  <wim@fluendo.com>
8116
8117         * gst/gstbuffer.h:
8118         * gst/gstpad.c:
8119         * gst/gstparse.c:
8120         Another 1% more coverage.
8121
8122 2005-10-20  Wim Taymans  <wim@fluendo.com>
8123
8124         * docs/gst/gstreamer-sections.txt:
8125         * gst/gstelement.c: (gst_element_get_state_func),
8126         (gst_element_abort_state), (gst_element_commit_state),
8127         (gst_element_lost_state):
8128         * gst/gstevent.h:
8129         * gst/gstquery.c: (gst_query_set_position),
8130         (gst_query_parse_position), (gst_query_set_duration),
8131         (gst_query_parse_duration), (gst_query_new_convert):
8132         * gst/gstutils.c:
8133         Yay! 1% more docs coverage.
8134
8135 2005-10-20  Wim Taymans  <wim@fluendo.com>
8136
8137         * gst/gstpad.h:
8138         * gst/gstquery.c: (gst_query_set_position),
8139         (gst_query_parse_position), (gst_query_set_duration),
8140         (gst_query_parse_duration), (gst_query_new_convert):
8141         * gst/gstquery.h:
8142         * gst/gstutils.c: (gst_element_query_convert):
8143         * gst/gstutils.h:
8144         Docs and consistency fixes.
8145
8146 2005-10-20  Wim Taymans  <wim@fluendo.com>
8147
8148         * gst/gsttask.c:
8149         * gst/gsttask.h:
8150         More docs.
8151
8152 2005-10-20  Wim Taymans  <wim@fluendo.com>
8153
8154         * gst/gstbin.c: (message_check), (bin_replace_message),
8155         (bin_remove_messages), (is_eos), (gst_bin_add_func),
8156         (update_degree), (gst_bin_sort_iterator_next),
8157         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
8158         Reworked the message handling a bit, cache the messages instead of
8159         only the senders. alows us to do more in the future.
8160
8161 2005-10-20  Wim Taymans  <wim@fluendo.com>
8162
8163         * docs/design/part-TODO.txt:
8164         Update TODO
8165
8166         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8167         (gst_base_sink_query):
8168         Don't use clock time to report position when in EOS.
8169
8170 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
8171
8172         * tools/gst-inspect.c: (print_interfaces),
8173         (print_element_properties_info), (print_element_info):
8174           Fix interface output with gst-inspect -a; don't print
8175           newlines after double/float properties.
8176
8177 2005-10-20  Wim Taymans  <wim@fluendo.com>
8178
8179         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
8180         (gst_base_sink_query):
8181         Speed up current position calculation.
8182
8183         * gst/base/gstbasesrc.c: (gst_base_src_query),
8184         (gst_base_src_default_newsegment):
8185         Correctly set stream position in newsegment.
8186
8187         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
8188         (update_degree), (gst_bin_sort_iterator_next),
8189         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
8190         * gst/gstmessage.c: (gst_message_new_custom):
8191         Clean up debugging info
8192
8193         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
8194         (gst_queue_loop), (gst_queue_handle_src_query):
8195         Pause task faster.
8196
8197 2005-10-19  Wim Taymans  <wim@fluendo.com>
8198
8199         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8200         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8201         Fix query handling again.
8202
8203 2005-10-19  Wim Taymans  <wim@fluendo.com>
8204
8205         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8206         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
8207         * gst/base/gstbasesrc.c: (gst_base_src_query):
8208         * gst/elements/gstfilesink.c: (gst_file_sink_query):
8209         * gst/elements/gsttypefindelement.c:
8210         (gst_type_find_handle_src_query), (find_element_get_length),
8211         (gst_type_find_element_activate):
8212         API change fix.
8213
8214         * gst/gstquery.c: (gst_query_new_position),
8215         (gst_query_set_position), (gst_query_parse_position),
8216         (gst_query_new_duration), (gst_query_set_duration),
8217         (gst_query_parse_duration), (gst_query_set_segment),
8218         (gst_query_parse_segment):
8219         * gst/gstquery.h:
8220         Bundling query position/duration is not a good idea since duration
8221         does not change much and we don't want to recalculate it for every
8222         position query, so they are separated again..
8223         Base value in segment query is not needed.
8224
8225         * gst/gstqueue.c: (gst_queue_handle_src_query):
8226         * gst/gstutils.c: (gst_element_query_position),
8227         (gst_element_query_duration), (gst_pad_query_position),
8228         (gst_pad_query_duration):
8229         * gst/gstutils.h:
8230         Updates for query API change.
8231         Added some docs here and there.
8232
8233 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
8234
8235         * check/gst/gstbin.c: (GST_START_TEST):
8236         * check/gst/gstghostpad.c: (GST_START_TEST):
8237         * check/pipelines/cleanup.c: (GST_START_TEST):
8238           wait on thread to die so we can check refcount correctly
8239
8240 2005-10-18  Wim Taymans  <wim@fluendo.com>
8241
8242         * check/pipelines/stress.c: (GST_START_TEST):
8243         Make check a little more time consuming.
8244
8245 2005-10-18  Wim Taymans  <wim@fluendo.com>
8246
8247         * check/Makefile.am:
8248         * check/pipelines/stress.c: (GST_START_TEST),
8249         (simple_launch_lines_suite), (main):
8250         Small state change torture test.
8251
8252         * docs/design/part-states.txt:
8253         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
8254         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
8255         (gst_base_sink_change_state):
8256         Never take state lock from streaming thread, clean up ugly
8257         hacks. Unfortunatly core does not yet support nice ways to
8258         async commit state.
8259         
8260         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
8261         (bin_bus_handler):
8262         Start state recalc if a STATE_DIRTY message is posted, but only
8263         on the toplevel bin.
8264
8265         * gst/gstelement.c: (gst_element_sync_state_with_parent),
8266         (gst_element_get_state_func), (gst_element_abort_state),
8267         (gst_element_commit_state), (gst_element_lost_state),
8268         (gst_element_set_state_func), (gst_element_change_state):
8269         * gst/gstelement.h:
8270         State variables are now protected with the LOCK, the state
8271         lock is only used to serialize _set_state().
8272
8273 2005-10-18  Wim Taymans  <wim@fluendo.com>
8274
8275         * check/gst/gstbin.c: (GST_START_TEST):
8276         * check/gst/gstmessage.c: (GST_START_TEST):
8277         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8278         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
8279         (bin_bus_handler):
8280         * gst/gstelement.c: (gst_element_abort_state),
8281         (gst_element_commit_state), (gst_element_lost_state):
8282         * gst/gstmessage.c: (gst_message_new_state_changed),
8283         (gst_message_new_state_dirty), (gst_message_new_segment_start),
8284         (gst_message_new_segment_done), (gst_message_new_duration),
8285         (gst_message_parse_state_changed),
8286         (gst_message_parse_segment_start),
8287         (gst_message_parse_segment_done), (gst_message_parse_duration):
8288         * gst/gstmessage.h:
8289         * tools/gst-launch.c: (event_loop):
8290         Seriously, this is better than a previous commit as we only need
8291         to notify the fact that an element changed state in a streaming
8292         thread, marking the state of the parents dirty, hence the 
8293         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
8294         message.
8295
8296 2005-10-18  Wim Taymans  <wim@fluendo.com>
8297
8298         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
8299         (gst_bin_recalc_func):
8300         * gst/gstelement.c: (gst_element_set_clock),
8301         (gst_element_abort_state), (gst_element_lost_state):
8302         Cleanups, prepare for state change fixes.
8303
8304 2005-10-18  Wim Taymans  <wim@fluendo.com>
8305
8306         * gst/gstbin.h:
8307         * gst/gstelement.c: (gst_element_class_init),
8308         (gst_element_set_state), (gst_element_set_state_func):
8309         * gst/gstelement.h:
8310         Pending ABI changes.
8311         GThreadPool in GstBinClass to monitor async state changes.
8312         state_cookie in GstElement to detect concurrent gst/set state.
8313         set_state is now virtual too in case a very complicated element
8314         has to be constructed.
8315
8316 2005-10-18  Wim Taymans  <wim@fluendo.com>
8317
8318         * check/gst/gstbin.c: (GST_START_TEST):
8319         * check/gst/gstmessage.c: (GST_START_TEST):
8320         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
8321         * gst/gstbin.c: (bin_bus_handler):
8322         * gst/gstelement.c: (gst_element_commit_state),
8323         (gst_element_lost_state):
8324         * gst/gstmessage.c: (gst_message_new_state_changed),
8325         (gst_message_new_segment_start), (gst_message_new_segment_done),
8326         (gst_message_new_duration), (gst_message_parse_state_changed),
8327         (gst_message_parse_segment_start),
8328         (gst_message_parse_segment_done), (gst_message_parse_duration):
8329         * gst/gstmessage.h:
8330         * tools/gst-launch.c: (event_loop):
8331         Make messages future proof.
8332         state-change gets a flag if it was a message comming from the
8333         streaming thread.
8334         segment-start/stop can also be specified in other formats.
8335         A message to notify an app that a pipeline changed playback 
8336         duration.
8337         Also fix a GstMessage leak in -launch
8338
8339 2005-10-18  Andy Wingo  <wingo@pobox.com>
8340
8341         * gst/gstelement.c (gst_element_dispose): More helpful message.
8342
8343 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8344
8345         reviewed by: <delete if not using a buddy>
8346
8347         * common/gtk-doc.mak:
8348
8349 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
8350
8351         * gst/gstregistry.c: (gst_registry_scan_path_level):
8352           unref a plug-in we get that was already initialized
8353
8354 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
8355
8356         * docs/gst/gstreamer-sections.txt:
8357         * docs/libs/gstreamer-libs-sections.txt:
8358         * gst/gstelement.h:
8359           add new api entries
8360           hide internal macro
8361
8362 2005-10-17  Andy Wingo  <wingo@pobox.com>
8363
8364         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
8365         cleanup.
8366
8367         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
8368
8369         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
8370
8371         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
8372         (gst_element_get_state_func): Better debug message.
8373         (gst_element_commit_state): s/INFO/DEBUG/.
8374         (gst_element_lost_state, gst_element_change_state): 
8375
8376         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
8377         (gst_message_new_custom): s/INFO/LOG/.
8378
8379 2005-10-17  Michael Smith <msmith@fluendo.com>
8380
8381         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
8382           Check if end time is valid using end time, not start time.
8383
8384 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
8385
8386         * check/gst-libs/controller.c: (GST_START_TEST),
8387         (gst_controller_suite):
8388         * libs/gst/controller/gstcontroller.c:
8389         (gst_controlled_property_set_interpolation_mode):
8390         * libs/gst/controller/gstcontroller.h:
8391         * libs/gst/controller/gstinterpolation.c:
8392         * testsuite/controller/.cvsignore:
8393         * testsuite/controller/Makefile.am:
8394         * testsuite/controller/interpolator.c:
8395           merge controller testsuites
8396           fix broken tests
8397           remove mem-chunk from docs
8398
8399 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8400
8401         * gst/gstmemchunk.c:
8402         * gst/gstmemchunk.h:
8403         * gst/gsttrashstack.c:
8404         * gst/gsttrashstack.h:
8405           out.  get out.  you're fired.  to the Attic !
8406
8407 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
8408
8409         * gst/gstcaps.c: (gst_caps_intersect):
8410           fix signedness issues in a (hopefully) correct way
8411         * gst/gstelement.c: (gst_element_pads_activate):
8412           some debugging
8413         * gst/gstobject.c: (gst_object_set_parent):
8414           some debugging
8415
8416 2005-10-17  Julien MOUTTE  <julien@moutte.net>
8417
8418         * gst/gstvalue.h: Fix prototypes.
8419
8420 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8421
8422         * docs/gst/gstreamer-sections.txt:
8423         * gst/gst.c: (gst_version_string):
8424         * gst/gst.h:
8425         * gst/gstversion.h.in:
8426         * win32/common/libgstreamer.def:
8427           add gst_version_string ()
8428
8429 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8430
8431         * configure.ac:
8432           clean up further
8433         * gst/gst.c: (init_post):
8434         * win32/common/config.h.in:
8435           it's PLUGINDIR now
8436         * gst/gstcaps.c: (gst_caps_intersect):
8437           use gint64, the range could be bigger than a guint
8438
8439 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8440
8441         * gst/gstclock.h:
8442           document potential problem in 2038
8443
8444 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8445
8446         * gst/gstcaps.c: (gst_caps_intersect):
8447           Fix guint j diving under 0
8448
8449 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8450
8451         * configure.ac:
8452         * win32/common/config.h:
8453         * win32/common/config.h.in:
8454           check for process.h, declares getpid() on Windows
8455         * gst/gstinfo.c:
8456           include process.h if we have it
8457         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
8458         * gst/gstmemchunk.h:
8459           fix signedness issues
8460         * win32/common/libgstreamer.def:
8461           fix get_type's
8462
8463 2005-10-16  Julien MOUTTE  <julien@moutte.net>
8464
8465         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
8466         fix. Because of unsigned ints, caps intersection was going nuts and
8467         trying to access structures with G_MAXUINT index. That fixes
8468         videotestsrc ! ffmpegcolorspace ! fakesink
8469         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
8470         consistency.
8471
8472 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8473
8474         * configure.ac:
8475           use the gettext macro
8476         * gst/elements/gstelements.c:
8477         * gst/gst.c:
8478         * gst/indexers/gstindexers.c:
8479           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
8480         * win32/common/config.h:
8481           updated config.h
8482         * win32/common/config.h.in:
8483           add the template to generate config.h
8484         * win32/common/gstenumtypes.c:
8485         * win32/common/gstversion.h:
8486           updated copies
8487
8488 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
8489
8490         * gst/gst.c: (gst_version):
8491         * gst/gstversion.h.in:
8492           add the nano
8493
8494 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
8495
8496         * gst/gstevent.h:
8497           Oops, add missing closing bracket.
8498
8499 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8500
8501         * configure.ac:
8502           use common m4's for argument checking
8503
8504 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
8505
8506         * docs/gst/gstreamer-sections.txt:
8507         * gst/gstevent.h:
8508           Add GST_EVENT_TYPE_NAME() macro.
8509
8510 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8511
8512         * gst/gstinfo.c:
8513         * gst/gstpluginfeature.c:
8514         * gst/gsttask.c:
8515           privatize more symbols
8516
8517 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8518
8519         * configure.ac:
8520           add srcdir, builddir includes to GST_ALL_CFLAGS, since
8521           everything that uses GStreamer API should have the includes
8522
8523 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8524
8525         * docs/gst/gstreamer-sections.txt:
8526         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8527         * gst/gstvalue.h:
8528           give each value a _get_type, removes the DATA exports
8529
8530 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8531
8532         * gst/gst.c:
8533         * gst/gst.h:
8534           remove _gst_registry_auto_load, not used anymore
8535         * gst/gstbin.c: (gst_bin_get_type):
8536         * gst/gstbin.h:
8537         * gst/gstelement.c: (gst_element_get_type):
8538         * gst/gstelement.h:
8539         * gst/gstobject.c: (gst_object_get_type):
8540         * gst/gstobject.h:
8541         * gst/gstpad.c: (gst_pad_get_type):
8542         * gst/gstpad.h:
8543           make _get_type functions similar, fixes data export from library
8544
8545 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8546
8547         * configure.ac:
8548           correctly make conditionals
8549         * gst/elements/Makefile.am:
8550         * gst/elements/gstelements.c:
8551           fix typo causing fdsrc not to build
8552
8553 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8554
8555         * testsuite/Makefile.am:
8556         * testsuite/bytestream/.cvsignore:
8557         * testsuite/bytestream/Makefile.am:
8558         * testsuite/bytestream/filepadsink.c:
8559         * testsuite/bytestream/gstbstest.c:
8560         * testsuite/bytestream/test1.c:
8561         * testsuite/bytestream/testfile1:
8562         * testsuite/caps/normalisation.c:
8563         * testsuite/caps/random.c: (main):
8564         * testsuite/cleanup/.cvsignore:
8565         * testsuite/cleanup/Makefile.am:
8566         * testsuite/cleanup/cleanup1.c:
8567         * testsuite/cleanup/cleanup2.c:
8568         * testsuite/cleanup/cleanup3.c:
8569         * testsuite/cleanup/cleanup4.c:
8570         * testsuite/cleanup/cleanup5.c:
8571         * testsuite/controller/interpolator.c:
8572         * testsuite/debug/printf_extension.c: (main):
8573         * testsuite/elements/tee.c:
8574         * testsuite/negotiation/.cvsignore:
8575         * testsuite/negotiation/Makefile.am:
8576         * testsuite/negotiation/pad_link.c:
8577         * testsuite/pad/Makefile.am:
8578         * testsuite/pad/chainnopull.c:
8579         * testsuite/pad/getnopush.c:
8580         * testsuite/pad/link.c:
8581         * testsuite/refcounting/sched.c: (create_pipeline):
8582         * testsuite/registry/Makefile.am:
8583         * testsuite/registry/gst-print-formats.c:
8584         * testsuite/schedulers/.cvsignore:
8585         * testsuite/schedulers/142183-2.c:
8586         * testsuite/schedulers/142183.c:
8587         * testsuite/schedulers/143777-2.c:
8588         * testsuite/schedulers/143777.c:
8589         * testsuite/schedulers/147713.c:
8590         * testsuite/schedulers/147819.c:
8591         * testsuite/schedulers/147894-2.c:
8592         * testsuite/schedulers/147894.c:
8593         * testsuite/schedulers/Makefile.am:
8594         * testsuite/schedulers/group_link.c:
8595         * testsuite/schedulers/queue_link.c:
8596         * testsuite/schedulers/relink.c:
8597         * testsuite/schedulers/unlink.c:
8598         * testsuite/schedulers/unref.c:
8599         * testsuite/schedulers/useless_iteration.c:
8600         * testsuite/states/bin.c:
8601           clean out/remove some stuff from the testsuite directories
8602
8603 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8604
8605         * configure.ac:
8606           check for some headers
8607         * gst/elements/Makefile.am:
8608         * gst/elements/gstelements.c:
8609           don't compile fdsrc without sys/socket.h
8610         * gst/indexers/Makefile.am:
8611         * gst/indexers/gstindexers.c: (plugin_init):
8612           don't compile fileindex without mmap
8613
8614 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8615
8616         * configure.ac:
8617           reorganize
8618           clean up
8619           document more
8620           remove cruft
8621         * check/Makefile.am:
8622         * docs/gst/Makefile.am:
8623         * examples/helloworld/Makefile.am:
8624         * gst/Makefile.am:
8625         * gst/base/Makefile.am:
8626         * gst/check/Makefile.am:
8627         * gst/elements/Makefile.am:
8628         * gst/indexers/Makefile.am:
8629         * gst/parse/Makefile.am:
8630         * libs/gst/controller/Makefile.am:
8631         * libs/gst/dataprotocol/Makefile.am:
8632         * examples/helloworld/helloworld.c: (event_loop):
8633           compile fixes, though it's not being compiled currently
8634
8635 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
8636
8637         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
8638           Add some simple tests for the new taglist date API.
8639
8640 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
8641
8642         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
8643         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
8644           Beautify 'last-message' output: print 'none' for buffer timestamps
8645           and durations if none is set; improve alignment with next messages.
8646
8647 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
8648
8649         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
8650         * gst/gstpluginfeature.h:
8651         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
8652         * gst/gstregistry.h:
8653         * docs/gst/gstreamer-sections.txt:
8654           Add new API to check plugin feature version requirements.
8655
8656         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
8657           Some basic tests for the above.         
8658
8659 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8660
8661         * gst/gststructure.c: (gst_structure_to_string):
8662           guard against NULL printf - happens when for example
8663           a message structure with GstClock gets serialized
8664
8665 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
8666
8667         * gst/base/gstcollectpads.c: (gst_collectpads_event):
8668           Fix presumable copy'n'pasto.
8669
8670 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8671
8672         * gst/elements/gstfakesrc.h:
8673         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
8674         * gst/elements/gsttypefindelement.c:
8675           fix some signedness
8676         * gst/elements/gstfilesink.c: (gst_file_sink_render):
8677           I wonder if this could actually write +2GB files before
8678
8679 2005-10-13  Andy Wingo  <wingo@pobox.com>
8680
8681         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
8682         Fix Timmeke Waymans bug.
8683         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
8684         string of the proper length to gst_caps_from_string. There's a
8685         potential for, before this fix, that this could cause someone
8686         connecting over the network to cause a segfault if the payload is
8687         not NUL-terminated.
8688
8689 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
8690
8691         * docs/design/draft-push-pull.txt:
8692         * docs/design/part-overview.txt:
8693         * docs/random/TODO-pre-0.9:
8694         * docs/random/old/ChangeLog.gstreamer:
8695         * gst/base/gstpushsrc.c:
8696         * gst/gstclock.c:
8697           fixed typos
8698
8699 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8700
8701         * gst/glib-compat.c: (gst_flags_get_first_value):
8702         * gst/glib-compat.h:
8703         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
8704         (gst_value_compare_double), (gst_value_serialize_flags):
8705           GLib 2.6 g_flags_get_first_value has a bug that triggers an
8706           infinite loop
8707
8708 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8709
8710         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8711         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
8712           fix up debugging
8713         * tools/gst-launch.c: (event_loop):
8714           print out clock nicely
8715
8716 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
8717
8718         * docs/gst/gstreamer-sections.txt:
8719         * gst/gsttaglist.h:
8720         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
8721         (gst_tag_list_get_date_index):
8722           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
8723           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
8724
8725 2005-10-13  Julien MOUTTE  <julien@moutte.net>
8726
8727         * gst/base/gstcollectpads.c: (gst_collectpads_event),
8728         (gst_collectpads_chain):
8729         * gst/base/gstcollectpads.h: Handle newsegment and store informations
8730         in CollectData.
8731
8732 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
8733
8734         * docs/gst/gstreamer-sections.txt:
8735         * gst/gst.c:
8736         * gst/gsterror.h:
8737         * tools/gst-inspect.c: (main):
8738         * tools/gst-launch.c: (main):
8739         * tools/gst-run.c: (main):
8740         * tools/gst-xmlinspect.c: (main):
8741           fix GOption context leaks
8742           doc fixes
8743
8744 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
8745
8746         * gst/gstbus.c:
8747           use HAVE_UNISTD_H
8748         * win32/common/config.h:
8749           update config
8750         * win32/vs6/grammar.dsp:
8751         * win32/vs6/libgstelements.dsp:
8752         * win32/vs6/libgstreamer.dsp:
8753           update vs6 files
8754
8755 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8756
8757         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
8758         * gst/base/gstbasesrc.c: (gst_base_src_query):
8759           fix more guint64<->gdouble conversions
8760
8761 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8762
8763         * Makefile.am:
8764           add win32-update target
8765         * win32/common/gstconfig.h:
8766         * win32/common/gstenumtypes.c:
8767         * win32/common/gstenumtypes.h:
8768         * win32/common/gstversion.h:
8769           add files that visual studio can't generate
8770
8771 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
8772
8773         * Makefile.am:
8774           add a win32-update target
8775         * configure.ac:
8776
8777 2005-10-12  Wim Taymans  <wim@fluendo.com>
8778
8779         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8780         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
8781         * gst/gstelement.c: (gst_element_commit_state),
8782         (gst_element_set_state):
8783         Protect flags with proper lock.
8784         unref provided cached clock in dispose.
8785
8786 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
8787
8788         * gst/gst.c:
8789         * gst/gstminiobject.h:
8790         * gst/gstpad.h:
8791         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
8792           removed unused flags from miniobject
8793           doc fixes
8794
8795 2005-10-12  Wim Taymans  <wim@fluendo.com>
8796
8797         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
8798         (gst_file_sink_event), (gst_file_sink_render):
8799         Flush before seeking.
8800
8801 2005-10-12  Andy Wingo  <wingo@pobox.com>
8802
8803         * gst/gst.c (gst_init_check): Ignore unknown options, as has
8804         always been the case.
8805
8806 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
8807
8808         * check/gst/gstbin.c: (GST_START_TEST):
8809         * docs/gst/gstreamer-sections.txt:
8810         * gst/base/gstbasesink.c: (gst_base_sink_init):
8811         * gst/base/gstbasesrc.c: (gst_base_src_init),
8812         (gst_base_src_get_range), (gst_base_src_check_get_range),
8813         (gst_base_src_start), (gst_base_src_stop):
8814         * gst/base/gstbasesrc.h:
8815         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
8816         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
8817         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
8818         (bin_bus_handler):
8819         * gst/gstbin.h:
8820         * gst/gstbuffer.h:
8821         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
8822         * gst/gstbus.h:
8823         * gst/gstelement.c: (gst_element_is_locked_state),
8824         (gst_element_set_locked_state), (gst_element_commit_state),
8825         (gst_element_set_state):
8826         * gst/gstelement.h:
8827         * gst/gstindex.c: (gst_index_init):
8828         * gst/gstindex.h:
8829         * gst/gstminiobject.h:
8830         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
8831         (gst_object_set_parent):
8832         * gst/gstobject.h:
8833         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
8834         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
8835         * gst/gstpad.h:
8836         * gst/gstpadtemplate.h:
8837         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
8838         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
8839         * gst/gstpipeline.h:
8840         * gst/indexers/gstfileindex.c: (gst_file_index_load),
8841         (gst_file_index_commit):
8842         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
8843         * testsuite/pad/link.c: (gst_test_src_init),
8844         (gst_test_filter_init), (gst_test_sink_init):
8845         * testsuite/states/locked.c: (main):
8846           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
8847           moved bitshift from macro to enum definition
8848
8849 2005-10-12  Wim Taymans  <wim@fluendo.com>
8850
8851         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
8852         * gst/elements/gstfilesink.c: (gst_file_sink_event),
8853         (gst_file_sink_render):
8854         Some more debugging info.
8855
8856 2005-10-12  Wim Taymans  <wim@fluendo.com>
8857
8858         * docs/design/part-states.txt:
8859         * tools/gst-launch.c: (main):
8860         Some doc updates.
8861         Revert non-intentional change.
8862
8863 2005-10-12  Wim Taymans  <wim@fluendo.com>
8864
8865         * check/gst/gstbin.c: (GST_START_TEST):
8866         * check/gst/gstelement.c: (GST_START_TEST):
8867         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
8868         * check/gst/gstghostpad.c: (GST_START_TEST):
8869         * check/gst/gstpipeline.c: (GST_START_TEST):
8870         * check/pipelines/simple_launch_lines.c: (run_pipeline):
8871         * check/states/sinks.c: (GST_START_TEST):
8872         * gst/elements/gsttypefindelement.c: (stop_typefinding):
8873         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8874         (gst_bin_remove_func), (gst_bin_get_state_func),
8875         (gst_bin_recalc_state), (gst_bin_change_state_func),
8876         (bin_bus_handler):
8877         * gst/gstelement.c: (gst_element_get_state_func),
8878         (gst_element_get_state), (gst_element_abort_state),
8879         (gst_element_commit_state), (gst_element_set_state),
8880         (gst_element_change_state), (gst_element_change_state_func):
8881         * gst/gstelement.h:
8882         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
8883         (gst_pipeline_provide_clock_func):
8884         * gst/gstutils.c: (gst_element_link_pads_filtered):
8885         * tools/gst-launch.c: (main):
8886         * tools/gst-typefind.c: (main):
8887         Use GstClockTime in _get_state() instead of GTimeVal.
8888         Remove old code in gstutils.c
8889
8890 2005-10-12  Andy Wingo  <wingo@pobox.com>
8891
8892         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
8893         removed.
8894
8895         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
8896         there is no task. Shouldn't affect any code, as nothing in our
8897         plugins checks this return value.
8898         (gst_pad_stop_task): Also take the stream lock if the pad has no
8899         task. Docs updated.
8900
8901 2005-10-12  Wim Taymans  <wim@fluendo.com>
8902
8903         * gst/gstpad.c: (pre_activate), (post_activate),
8904         (gst_pad_activate_pull), (gst_pad_activate_push):
8905         Cleanup activation code. Reset old state if
8906         activation failed.
8907
8908 2005-10-12  Wim Taymans  <wim@fluendo.com>
8909
8910         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8911         (gst_base_sink_change_state):
8912         No need to prerol after receiving EOS.
8913
8914         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
8915         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
8916         * gst/elements/gstidentity.c: (gst_identity_event):
8917         Print events more verbosely.
8918
8919 2005-10-12  Wim Taymans  <wim@fluendo.com>
8920
8921         * check/Makefile.am:
8922         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
8923         * check/states/sinks2.c:
8924         Moved sinks2 testcode in sinks check.
8925
8926         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
8927         (gst_bin_remove_func), (gst_bin_recalc_state),
8928         (gst_bin_change_state_func), (bin_bus_handler):
8929         Fix potential race condition when _get_state() iterated over an
8930         ASYNC element right before it posted a state completion.
8931
8932         * gst/gstclock.h:
8933         Do proper cast here.
8934
8935         * gst/gstevent.c: (gst_event_new_newsegment),
8936         (gst_event_parse_newsegment):
8937         A playback rate of 0.0 is not allowed.
8938
8939 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8940
8941         * win32/common/config.h:
8942         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
8943         (_trewinddir), (_ttelldir), (_tseekdir):
8944         * win32/common/dirent.h:
8945         * win32/common/gtchar.h:
8946         * win32/common/libgstbase.def:
8947         * win32/common/libgstreamer.def:
8948         * win32/vs6/grammar.dsp:
8949         * win32/vs6/gst_inspect.dsp:
8950         * win32/vs6/gst_launch.dsp:
8951         * win32/vs6/gstreamer.dsw:
8952         * win32/vs6/libgstbase.dsp:
8953         * win32/vs6/libgstelements.dsp:
8954         * win32/vs6/libgstreamer.dsp:
8955           Visual Studio 6 project files, and a new common directory.
8956           Phear.
8957
8958 2005-10-11  Wim Taymans  <wim@fluendo.com>
8959
8960         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8961         (gst_base_sink_do_sync), (gst_base_sink_query),
8962         (gst_base_sink_change_state):
8963         * gst/base/gstbasesink.h:
8964         Correctly parse newsegment info.
8965
8966 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8967
8968         * gst/gst.c: (init_post):
8969           split plugin paths correctly
8970
8971 2005-10-11  Wim Taymans  <wim@fluendo.com>
8972
8973         * check/gst/gstevent.c: (GST_START_TEST):
8974         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
8975         (gst_base_sink_change_state):
8976         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
8977         * gst/base/gstbasetransform.c: (gst_base_transform_event):
8978         * gst/elements/gstfilesink.c: (gst_file_sink_event):
8979         * gst/gstevent.c: (gst_event_new_newsegment),
8980         (gst_event_parse_newsegment):
8981         * gst/gstevent.h:
8982         Added extra flag to newsegment for future API freeze.
8983         Updated check and base elements.
8984
8985 2005-10-11  Julien MOUTTE  <julien@moutte.net>
8986
8987         * gst/base/gstcollectpads.c: (gst_collectpads_init),
8988         (gst_collectpads_add_pad), (gst_collectpads_pop),
8989         (gst_collectpads_event), (gst_collectpads_chain):
8990         * gst/base/gstcollectpads.h: Handle EOS correctly.
8991
8992 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8993
8994         * tools/gst-launch.c: (main):
8995           more null protecting
8996
8997 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
8998
8999         * gst/gst-i18n-lib.h:
9000           check for ENABLE_NLS, not GETTEXT_PACKAGE
9001         * gst/gstregistry.c: (gst_registry_add_plugin),
9002         (gst_registry_scan_path_level),
9003         (_gst_registry_remove_cache_plugins):
9004           protect possibly NULL strings
9005         * gst/parse/types.h:
9006           config.h already included before
9007         * tools/gst-inspect.c: (main):
9008           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
9009           check for ENABLE_NLS, not GETTEXT_PACKAGE
9010         * tools/gst-launch.c: (main):
9011           check for ENABLE_NLS, not GETTEXT_PACKAGE
9012
9013 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9014
9015         * configure.ac:
9016           if we don't have glib, fail before testing 2.8
9017         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
9018           fix a leak, should fix plugins-base testsuite
9019
9020 2005-10-11  Andy Wingo  <wingo@pobox.com>
9021
9022         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
9023         take the mode we're going to as an arg. Go head and set the mode
9024         and flushing flags now, so that if the activate function starts a
9025         thread all the flags will be in the right state.
9026         (post_activate): Renamed also. Just handle making sure streaming
9027         finishes for the deactivation case, and setting the deactivated
9028         mode.
9029         (gst_pad_set_active): Complain loudly if deactivation fails.
9030         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
9031         (gst_pad_activate_push): Adapt to pre/post_activate changes,
9032         remove the terrible hack.
9033
9034 2005-10-11  Wim Taymans  <wim@fluendo.com>
9035
9036         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9037         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
9038         (gst_bin_recalc_state), (gst_bin_change_state_func),
9039         (gst_bin_dispose), (bin_bus_handler):
9040         * gst/gstbin.h:
9041         Prepare to make current EOS message queue more generic.
9042         Fix some typos.
9043
9044         * gst/gstevent.c: (gst_event_new_newsegment),
9045         (gst_event_parse_newsegment):
9046         * gst/gstevent.h:
9047         Rename base to stream_time.
9048
9049         * gst/gstmessage.h:
9050         Fix typo in docs.
9051
9052 2005-10-11  Wim Taymans  <wim@fluendo.com>
9053
9054         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
9055         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
9056         (gst_bin_change_state_func), (bin_bus_handler):
9057         * gst/gstbin.h:
9058         Work on proper clock selection.
9059
9060 2005-10-11  Edward Hervey  <edward@fluendo.com>
9061
9062         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
9063         * libs/gst/controller/gstcontroller.h:
9064         Added GList* version of _remove_properties() in order to be able to wrap
9065         it in bindings.
9066
9067 2005-10-11  Wim Taymans  <wim@fluendo.com>
9068
9069         * docs/design/part-states.txt:
9070         Some more docs.
9071
9072         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
9073         (gst_bin_change_state_func), (bin_bus_handler):
9074         Doc updates. Don't distribute the same clock over and over again.
9075
9076         * gst/gstclock.c:
9077         * gst/gstclock.h:
9078         Doc updates.
9079
9080         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
9081         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
9082         (gst_pad_send_event):
9083         * gst/gstpad.h:
9084         Make probe emission threadsafe again.
9085         Register quarks and move _get_name() from utils.
9086         Doc updates.
9087
9088         * gst/gstpipeline.c: (gst_pipeline_class_init),
9089         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9090         Only redistribute the clock of it changed.
9091
9092         * gst/gstsystemclock.h:
9093         Doc updates. 
9094
9095         * gst/gstutils.c:
9096         * gst/gstutils.h:
9097         Moved the _flow_get_name() to GstPad.
9098
9099 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9100
9101         * check/gst-libs/gdp.c: (GST_START_TEST):
9102         * check/gst/gstcaps.c: (GST_START_TEST):
9103         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
9104         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
9105         (gst_dp_packet_from_caps):
9106           fix more valgrind warnings before turning up the heat
9107
9108 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
9109
9110         * gst/parse/grammar.y:
9111           some cleanup before the hacking
9112
9113 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9114
9115         * gst/base/gstbasesrc.c: (gst_base_src_query):
9116           use conversions
9117         * gst/gstutils.c: (gst_guint64_to_gdouble),
9118         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
9119         * gst/gstutils.h:
9120           externalize, basesrc uses it
9121           obviously the implementation needs testing
9122
9123 2005-10-10  Wim Taymans  <wim@fluendo.com>
9124
9125         * tests/sched/Makefile.am:
9126         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
9127         (make_pipeline3), (make_pipeline4), (print_elem), (main):
9128
9129 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9130
9131         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
9132           apparently converting from guint64 to double is not implemented
9133           on MSVC
9134
9135 2005-10-10  Wim Taymans  <wim@fluendo.com>
9136
9137         * check/Makefile.am:
9138         * check/generic/states.c: (GST_START_TEST):
9139         * check/gst/gstbin.c: (GST_START_TEST):
9140         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
9141         * check/states/sinks.c: (GST_START_TEST):
9142         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
9143         (main):
9144         Check fixes, use API as stated in design docs, remove hacks.
9145
9146         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9147         (gst_base_sink_change_state):
9148         Catch stopping our task while we're shutting down.
9149
9150         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
9151         (gst_bin_remove_func), (gst_bin_get_state_func),
9152         (gst_bin_recalc_state), (gst_bin_change_state_func),
9153         (bin_bus_handler):
9154         * gst/gstbin.h:
9155         * gst/gstelement.c: (gst_element_init),
9156         (gst_element_get_state_func), (gst_element_abort_state),
9157         (gst_element_commit_state), (gst_element_lost_state),
9158         (gst_element_set_state), (gst_element_change_state),
9159         (gst_element_change_state_func):
9160         * gst/gstelement.h:
9161         New state change algorithm (see #318116)
9162
9163         * gst/gstpipeline.c: (gst_pipeline_class_init),
9164         (gst_pipeline_init), (gst_pipeline_set_property),
9165         (gst_pipeline_get_property), (do_pipeline_seek),
9166         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
9167         * gst/gstpipeline.h:
9168         Remove crude state change hacks.
9169
9170         * gst/gstutils.h:
9171         Remove crude hacks.
9172
9173         * tools/gst-launch.c: (main):
9174         Fixes for state change. Needs some more work to fully use the
9175         new stuff.
9176
9177 2005-10-10  Andy Wingo  <wingo@pobox.com>
9178
9179         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
9180
9181         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
9182         this flag, but it's not even in GLib 2.6. Odd. Hack around the
9183         issue.
9184
9185 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
9186
9187         * gst/gstiterator.c: (gst_iterator_new):
9188           Fix my previous commit: GTypes passed to gst_iterator_new()
9189           can be fundamental types.
9190
9191 2005-10-10  Wim Taymans  <wim@fluendo.com>
9192
9193         * gst/gstelement.c: (gst_element_iterate_pad_list),
9194         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
9195         (gst_element_iterate_sink_pads):
9196         Use src/sink pads lists for the respective iterators instead
9197         of filtering.
9198
9199 2005-10-10  Andy Wingo  <wingo@pobox.com>
9200
9201         Merged in popt removal + GOption addition patch from Ronald, bug
9202         #169772.
9203
9204         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
9205         GstElement macros around, remove popt-related symbols, add goption
9206         stuff.
9207
9208         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
9209         
9210         * docs/gst/Makefile.am:
9211         * docs/libs/Makefile.am: No POPT_CFLAGS.
9212         
9213         * examples/manual/Makefile.am:
9214         * docs/manual/basics-init.xml: Doc updates with an example.
9215         
9216         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
9217         (gst_init), (parse_one_option), (parse_goption_arg):
9218         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
9219         bit of hand merging and debugging to get the GOption stuff working
9220         tho.
9221         
9222         * tests/Makefile.am:
9223         * tools/Makefile.am:
9224         * tools/gst-inspect.c: (main):
9225         * tools/gst-launch.c: (main):
9226         * tools/gst-run.c: (main):
9227         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
9228
9229 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
9230
9231         * gst/gstiterator.c: (gst_iterator_new):
9232           Add assertions to make sure passed GType is likely to really
9233           be a GType (as the compiler won't catch it if the size and
9234           GType arguments get mixed up, see #318447).
9235
9236 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
9237
9238         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9239
9240         * gst/gstbin.c: (gst_bin_iterate_sorted):
9241           Pass GType and size arguments to gst_iterator_new() in the right
9242           order (maybe we should make _new() take the GType as first argument
9243           just like _new_list()?) (#318447).
9244           
9245
9246 2005-10-10  Wim Taymans  <wim@fluendo.com>
9247
9248         * gst/gstelement.c: (gst_element_finalize):
9249         And free the GStaticRecMutex too
9250
9251 2005-10-10  Andy Wingo  <wingo@pobox.com>
9252
9253         * gst/gstelement.c (gst_element_init, gst_element_finalize):
9254         Allocate and free the mutex properly.
9255
9256         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
9257         New macros.
9258         (GstElement): The state_lock is now recursive. Rebuild your
9259         plugins, suckers. Old macros adapted.
9260
9261         * docs/gst/gstreamer-sections.txt: Doc updates.
9262
9263         * gst/gstutils.h:
9264         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
9265         (g_static_rec_cond_wait): Ported from state changes patch, while
9266         we wait on bug #317802 to be solved in a well-distributed GLib.
9267
9268         * gst/gstelement.c (gst_element_change_state_func): Renamed from
9269         gst_element_change_state, variable name changes.
9270         (gst_element_change_state): Split out of gst_element_set_state in
9271         preparation for the state change merge. Doesn't pay attention to
9272         the 'transition' argument.
9273         (gst_element_set_state): Updates, hopefully purely cosmetic.
9274         (gst_element_sync_state_with_parent): MT-safety. Ported from the
9275         state change patch.
9276         (gst_element_get_state_func): Renamed from get_state, cosmetic
9277         changes.
9278
9279 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9280
9281         * gst/elements/gstelements.c:
9282         * win32/GStreamer.vcproj:
9283         * win32/config.h:
9284         * win32/dirent.c: (_tseekdir):
9285         * win32/gst-inspect.vcproj:
9286         * win32/gst-launch.vcproj:
9287         * win32/gstconfig.h:
9288         * win32/gstelements.vcproj:
9289         * win32/gstenumtypes.c: (gst_object_flags_get_type):
9290         * win32/gstreamer.def:
9291         * win32/msvc71.sln:
9292           updates for the win32 build (patch from Sebastien Moutte)
9293
9294 2005-10-10  Andy Wingo  <wingo@pobox.com>
9295
9296         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
9297         gst_bin_get_state, cleaned up (but no logic changes).
9298         (bin_element_is_sink): Comment updates.
9299         (sink_iterator_filter): Remove needless cast.
9300         (gst_bin_iterate_sinks): Doc update.
9301         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
9302         cleaned up (but no logic changes).
9303
9304         * check/states/sinks.c (test_src_sink): Cleanups from the state
9305         change patch.
9306         (test_livesrc_sink): Sync on the state.
9307
9308         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
9309         the state change patch.
9310
9311         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
9312         change patch.
9313
9314         * check/gst/gstbin.c: Merge in some style fixes and additional
9315         checks from Wim's state change patch.
9316
9317 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
9318
9319         * gst/base/gsttypefindhelper.c: (helper_find_peek),
9320         (gst_type_find_helper):
9321           Check whether we have the requested data already in our list of
9322           cached buffers before pulling a new buffer; also make the buffer
9323           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
9324
9325 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
9326
9327         * gst/gstcaps.c:
9328         * gst/gstevent.c:
9329           doc updates
9330         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
9331           don't use long long, it's not portable.  Replacing with
9332           gint64 seems to work; let's hope no skeletons fall out of the closet.
9333
9334 2005-10-10  Andy Wingo  <wingo@pobox.com>
9335
9336         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
9337
9338 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
9339
9340         * docs/gst/gstreamer-sections.txt:
9341         * gst/gstevent.c:
9342         * gst/gstevent.h:
9343         * gst/gstinfo.c:
9344         * gst/gstinfo.h:
9345         * gst/gstmessage.c: (gst_message_parse_state_changed):
9346         * gst/gstpad.c:
9347         * gst/gstpad.h:
9348           more docs, fix compilation
9349
9350 2005-10-09  Philippe Khalaf <burger@speedy.org>
9351         * gst/gstmessage.c:
9352           Fixed a few forgotten variables on previous commit
9353
9354 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9355
9356         * gst/base/gsttypefindhelper.c: (helper_find_peek):
9357           Fix evil typefind crasher: getrange() might return a short
9358           buffer at the end of a file, but gst_type_find_peek() must
9359           either return the full data as requested or NULL, but
9360           never a short buffer.
9361
9362 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
9363
9364         * gst/gstmessage.c: (gst_message_new_state_changed),
9365         (gst_message_parse_state_changed):
9366         * gst/gstmessage.h:
9367           don't use "new", it's a C++ keyword
9368
9369 2005-10-08  Wim Taymans  <wim@fluendo.com>
9370
9371         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
9372         * gst/gstelement.c: (gst_element_post_message):
9373         * gst/gstpipeline.c: (gst_pipeline_change_state):
9374         Small docs and debug updates.
9375
9376 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
9377
9378         * docs/gst/gstreamer-sections.txt:
9379         * gst/gstelementfactory.c:
9380         * gst/gstevent.c:
9381         * gst/gsttaglist.c:
9382           more docs
9383
9384 2005-10-08  Wim Taymans  <wim@fluendo.com>
9385
9386         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
9387         (gst_bin_dispose), (bin_bus_handler):
9388         Fix typos, add comments.
9389         Clear EOS list when going to PAUSED from any direction and do it
9390         in a threadsafe way.
9391         Get base time in a threadsafe way too.
9392         Fix confusing debug in the change_state function.
9393         Various other small cleanups.
9394         
9395         * gst/gstelement.c: (gst_element_post_message):
9396         Fix very verbose bus posting code.
9397
9398         * gst/gstpipeline.c: (gst_pipeline_class_init),
9399         (gst_pipeline_set_property), (gst_pipeline_get_property),
9400         (gst_pipeline_change_state):
9401         Small ARG_ -> PROP_ cleanup
9402
9403 2005-10-08  Wim Taymans  <wim@fluendo.com>
9404
9405         * gst/gstbin.c: (is_eos), (bin_bus_handler):
9406         Do a less CPU demanding EOS check because we can.
9407
9408 2005-10-08  Wim Taymans  <wim@fluendo.com>
9409
9410         * libs/gst/dataprotocol/dataprotocol.c:
9411         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
9412         (gst_dp_packet_from_event):
9413         * libs/gst/dataprotocol/dataprotocol.h:
9414         * libs/gst/dataprotocol/dp-private.h:
9415         It's about time we bump the version number.
9416         Since event types don't fit in the guint8 anymore describing
9417         the payload type, make payload type 16 bits wide.
9418
9419 2005-10-08  Wim Taymans  <wim@fluendo.com>
9420
9421         * docs/design/part-TODO.txt:
9422         * docs/design/part-clocks.txt:
9423         * docs/design/part-events.txt:
9424         * docs/design/part-gstbin.txt:
9425         * docs/design/part-gstelement.txt:
9426         * docs/design/part-gstpipeline.txt:
9427         * docs/design/part-live-source.txt:
9428         * docs/design/part-messages.txt:
9429         * docs/design/part-overview.txt:
9430         * docs/design/part-states.txt:
9431         Many doc updates.
9432
9433 2005-10-08  Wim Taymans  <wim@fluendo.com>
9434
9435         * gst/gstevent.c:
9436         * gst/gstevent.h:
9437         Fix event quark registration.
9438         Add some space between events so we can insert them in the
9439         right groups.
9440
9441 2005-10-08  Wim Taymans  <wim@fluendo.com>
9442
9443         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9444         (gst_base_sink_handle_buffer):
9445         Better log message.
9446
9447         * gst/gstbus.h:
9448         * gst/gstelement.h:
9449         More docs.
9450
9451         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
9452         (gst_queue_set_property), (gst_queue_get_property):
9453         * gst/gstqueue.h:
9454         Remove old unused properties.
9455
9456 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
9457         * docs/gst/gstreamer-sections.txt:
9458         * gst/gstmessage.c:
9459         * gst/gstmessage.h:
9460         * gst/gstminiobject.c:
9461         * gst/gstminiobject.h:
9462         * gst/gstobject.h:
9463         * gst/gstpad.h:
9464         * gst/gstutils.h:
9465           lots of new docs and doc fixes
9466
9467 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9468
9469         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
9470         * gst/gstplugin.h:
9471         * gst/gstregistry.c: (gst_registry_lookup_locked),
9472         (gst_registry_scan_path_level):
9473         * gst/gstregistryxml.c: (load_plugin):
9474           Only ever load one plugin for a given plugin basename.
9475           This ensures correct overriding of GST_PLUGIN_PATH over
9476           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
9477           system installed plugins.
9478
9479 2005-10-08  Wim Taymans  <wim@fluendo.com>
9480
9481         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
9482         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
9483         Prepare for doing QOS.
9484
9485 2005-10-08  Wim Taymans  <wim@fluendo.com>
9486
9487         * check/gst/gstbin.c: (GST_START_TEST):
9488         * check/pipelines/cleanup.c: (GST_START_TEST):
9489         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
9490         Allow new clock message too.
9491
9492 2005-10-08  Wim Taymans  <wim@fluendo.com>
9493
9494         * gst/gstmessage.c: (gst_message_new_error),
9495         (gst_message_new_warning), (gst_message_new_tag),
9496         (gst_message_new_state_changed), (gst_message_new_clock_provide),
9497         (gst_message_new_clock_lost), (gst_message_new_new_clock),
9498         (gst_message_new_segment_start), (gst_message_new_segment_done),
9499         (gst_message_parse_state_changed),
9500         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
9501         (gst_message_parse_new_clock):
9502         * gst/gstmessage.h:
9503         Also carry the clock in question.
9504
9505 2005-10-08  Wim Taymans  <wim@fluendo.com>
9506
9507         * gst/gstmessage.c: (gst_message_new_custom),
9508         (gst_message_new_eos), (gst_message_new_error),
9509         (gst_message_new_warning), (gst_message_new_tag),
9510         (gst_message_new_state_changed), (gst_message_new_clock_provide),
9511         (gst_message_new_new_clock), (gst_message_new_segment_start),
9512         (gst_message_new_segment_done), (gst_message_parse_state_changed),
9513         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
9514         * gst/gstmessage.h:
9515         Clean up.
9516         Added clock related messages.
9517
9518         * gst/gstpipeline.c: (gst_pipeline_change_state):
9519         Post message when the clock changed.
9520
9521         * tools/gst-launch.c: (event_loop):
9522         Print new clock.
9523
9524 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9525
9526         * tools/gst-inspect.c: (print_element_properties_info):
9527           Can't pass NULL strings to g_print() on windows.
9528
9529 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9530
9531         * docs/Makefile.am:
9532         * docs/gst/Makefile.am:
9533         * docs/gst/gstreamer-docs.sgml:
9534         * docs/gst/running.xml:
9535         * docs/version.entities.in:
9536           add a chapter on running GStreamer.
9537           document GST_DEBUG and GST_PLUGIN* env vars
9538
9539 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9540
9541         * Makefile.am:
9542           remove include dir
9543         * configure.ac:
9544           remove PLUGINS_BUILDDIR stuff
9545         * gst/gst.c: (init_post):
9546           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
9547         * idiottest.mak:
9548           remove, it was condescending and not needed
9549
9550 2005-10-08  Wim Taymans  <wim@fluendo.com>
9551
9552         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
9553         (gst_base_sink_handle_object), (gst_base_sink_event),
9554         (gst_base_sink_wait), (gst_base_sink_handle_event),
9555         (gst_base_sink_change_state):
9556         * gst/base/gstbasesink.h:
9557         Repost EOS message while going to PLAYING if still EOS.
9558         Make sure that when receiving a FLUSH_START we don't attempt
9559         to sync on the clock anymore.
9560
9561 2005-10-08  Wim Taymans  <wim@fluendo.com>
9562
9563         * tools/gst-launch.c: (event_loop):
9564         Better message printout.
9565
9566 2005-10-08  Wim Taymans  <wim@fluendo.com>
9567
9568         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
9569         (gst_bin_child_proxy_get_children_count):
9570         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
9571         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
9572         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
9573         (gst_child_proxy_set_valist):
9574         * gst/parse/grammar.y:
9575         Make ChildProxy threadsafe and fix mem leaks.
9576
9577 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9578
9579         * gst/gst.c: (init_post):
9580           debug the GST_PLUGIN_ env vars
9581
9582 2005-10-08  Wim Taymans  <wim@fluendo.com>
9583
9584         * check/gst/gstbin.c: (GST_START_TEST):
9585         * check/gst/gstmessage.c: (GST_START_TEST):
9586         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
9587         * gst/gstelement.c: (gst_element_commit_state),
9588         (gst_element_lost_state):
9589         * gst/gstmessage.c: (gst_message_new_state_changed),
9590         (gst_message_parse_state_changed):
9591         * gst/gstmessage.h:
9592         * tools/gst-launch.c: (event_loop):
9593         Added extra field to STATE_CHANGE message with the pending
9594         state, which will be different from the new state soon.
9595
9596 2005-10-08  Wim Taymans  <wim@fluendo.com>
9597
9598         * gst/gstbus.c: (gst_bus_pop):
9599         * gst/gstclock.c:
9600         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
9601         Small cleanups and doc updates.
9602
9603 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
9604
9605         * gst/gst.c: (init_pre):
9606         * gst/gstbin.c: (gst_bin_add_func):
9607           log distributing clocks and base time
9608         * gst/gstregistry.c: (gst_registry_add_plugin),
9609         (gst_registry_scan_path_level), (gst_registry_scan_path):
9610           clean up the debugging output a little
9611         * gst/gstutils.c: (gst_element_state_get_name):
9612           warn about a memleak (I've actually seen this be used, though
9613           it was probably a bug)
9614
9615 2005-10-07  Wim Taymans  <wim@fluendo.com>
9616
9617         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9618         (gst_base_src_init), (gst_base_src_default_newsegment),
9619         (gst_base_src_newsegment), (gst_base_src_do_seek),
9620         (gst_base_src_loop), (gst_base_src_start):
9621         * gst/base/gstbasesrc.h:
9622         Make the newsegment event customizable by subclasses.
9623
9624 2005-10-07  Wim Taymans  <wim@fluendo.com>
9625
9626         * gst/gstevent.c: (gst_event_new_buffersize),
9627         (gst_event_parse_buffersize):
9628         * gst/gstevent.h:
9629         New event for future idea.
9630
9631 2005-10-07  Andy Wingo  <wingo@pobox.com>
9632
9633         * gst/gstelement.c (gst_element_post_message): Doc update.
9634
9635         * docs/gst/gstreamer-sections.txt: Update.
9636
9637         * gst/gstmessage.c (gst_message_new_application): Made into a
9638         function like honest API calls.
9639         (gst_message_new_element): New message type.
9640
9641         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
9642
9643         * check/elements/fakesrc.c (test_no_preroll): New check, checks
9644         that setting a live fakesrc to PAUSED returns NO_PREROLL both
9645         times.
9646
9647         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
9648         NO_PREROLL from gst_element_change_state to fall through.
9649
9650 2005-10-07  Wim Taymans  <wim@fluendo.com>
9651
9652         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
9653         (gst_ghost_pad_do_activate_push):
9654         Activating a ghostpad with no internal pad in push mode
9655         is ok.
9656
9657 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
9658
9659         * gst/gstobject.h:
9660           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
9661           Fixes compilation on Windows.
9662
9663 2005-10-07  Michael Smith <msmith@fluendo.com>
9664
9665         * tools/gst-inspect.c:
9666           Print out feature and plugin count at the end when printing out
9667           all features.
9668
9669 2005-10-04  Michael Smith <msmith@fluendo.com>
9670
9671         * gst/gsterror.c: (_gst_stream_errors_init):
9672           Add another error string used in a few existing plugins.
9673
9674         * gst/gstplugin.c:
9675         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9676         * tools/gst-inspect.c: (print_element_info):
9677           When a feature disappears from a plugin (and the feature exists in
9678           the cached registry file), things went horribly wrong. This isn't a
9679           complete fix, we should actually be removing the 'missing' features
9680           from the features list when we load the actual plugin. That's not
9681           yet implemented. 
9682
9683 2005-10-04  Johan Dahlin  <johan@gnome.org>
9684
9685         * check/gst/gstiterator.c: (GST_START_TEST):
9686         * gst/gstbin.c: (gst_bin_iterate_elements),
9687         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
9688         * gst/gstelement.c: (gst_element_iterate_pads):
9689         * gst/gstformat.c: (gst_format_iterate_definitions):
9690         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
9691         (gst_iterator_new_list), (gst_iterator_filter):
9692         * gst/gstiterator.h:
9693         * gst/gstquery.c: (gst_query_type_iterate_definitions):
9694         Add a GType to GstIterator, update callsites and tests.
9695
9696 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9697
9698         * gst/gstpad.c: (gst_pad_event_default_dispatch):
9699           give events a chance to be handled by event probes when the pad
9700           is not linked
9701
9702 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9703
9704         * gst/gstevent.c: (gst_event_type_get_name),
9705         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
9706         * gst/gstevent.h:
9707           add string representations for event types
9708
9709 2005-10-06  Wim Taymans  <wim@fluendo.com>
9710
9711         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
9712         Don't use NULL pointers.
9713
9714 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9715
9716         * gst/gst_private.h:
9717         * gst/gstbus.c:
9718         * gst/gstelement.c:
9719         * gst/gstinfo.c:
9720         * gst/gstpluginfeature.c:
9721           widen the debug category in output to fit the biggest one we have
9722           add a bus category and use it
9723           play with the colors
9724           fix up some categories
9725
9726 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
9727
9728         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
9729           add push activation of sink ghost pads.
9730           Andye, please verify
9731
9732 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9733
9734         * gst/gstutils.c: (gst_element_link_pads):
9735           fix a bug in the case where neither element has a pad
9736         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
9737           add a test for that case
9738
9739 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
9740
9741         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
9742           emit have-data before checking for peers.  This allows
9743           for probe handlers to connect elements.  This helps autopluggers.
9744         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
9745         (gst_pad_suite):
9746           add six checks, linked/unlinked with no/true/false probe
9747
9748 2005-10-04  Wim Taymans  <wim@fluendo.com>
9749
9750         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
9751         (gst_fake_sink_event), (gst_fake_sink_preroll),
9752         (gst_fake_sink_render), (gst_fake_sink_change_state):
9753         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
9754         (gst_fake_src_get_property), (gst_fake_src_create),
9755         (gst_fake_src_stop):
9756         * gst/elements/gstidentity.c: (gst_identity_stop):
9757         Protect last_message with lock.
9758
9759 2005-10-04  Edward Hervey  <edward@fluendo.com>
9760
9761         * gst/gstformat.h: 
9762         Added precision in the comments for GST_FORMAT_DEFAULT
9763
9764 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
9765
9766         * tools/gst-launch.c: (main):
9767           Don't try to run erroneous pipelines.
9768
9769 2005-10-04  Julien MOUTTE  <julien@moutte.net>
9770
9771         * gst/gstbus.c: We don't need this header.
9772
9773 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9774
9775         * configure.ac:
9776           back to development
9777
9778 === release 0.9.3 ===
9779
9780 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
9781
9782         * README:
9783         * configure.ac:
9784           Releasing 0.9.3, "Unregistered"
9785
9786 2005-10-03  Andy Wingo  <wingo@pobox.com>
9787
9788         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
9789         whereby calling a pad's activatepush() function can start a thread
9790         that starts to push or pull before the pad gets the FLUSHING flag
9791         unset. Hack around it by holding the stream lock until the flag is
9792         set. Need to replace this with a proper solution. Together with
9793         the ghost pad fixes, this fixes mp3 playing/tagreading.
9794
9795         * docs/design/part-gstghostpad.txt: Add a note about activation of
9796         proxy pads outside of ghost pads.
9797
9798         * gst/gstghostpad.c: Implement the ghost pad activation design.
9799
9800 2005-10-02  Andy Wingo  <wingo@pobox.com>
9801
9802         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
9803         It is volatile, after all.
9804
9805         * docs/design/part-gstghostpad.txt: Flesh out activation with
9806         ghost pads.
9807
9808         * gst/base/gstbasesrc.c (gst_base_src_init): Use
9809         GST_DEBUG_FUNCPTR.
9810
9811 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9812
9813         * configure.ac:
9814           Fix (unused) AM_CONDITIONAL tests.
9815
9816 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
9817
9818         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
9819
9820         * gst/gstutils.c: (gst_pad_query_convert):
9821           Add assertion that makes sure src_val is >=0, just like
9822           gst_query_new_convert() has. (#315895)
9823
9824 2005-09-30  Edward Hervey  <edward@fluendo.com>
9825
9826         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
9827         Let's not iterate pads we're not interested in, it avoids getting 
9828         sky-high refcounts on sinkpad.
9829
9830 2005-09-30  Wim Taymans  <wim@fluendo.com>
9831
9832         * gst/gstelement.c: (gst_element_set_state),
9833         (gst_element_change_state):
9834         Small tweak, element in ASYNC remains ASYNC.
9835
9836 2005-09-30  Wim Taymans  <wim@fluendo.com>
9837
9838         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
9839         Only error is an error.
9840
9841         * gst/gstbin.c: (gst_bin_change_state):
9842         Better debugging.
9843
9844         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
9845         Also call pad_block in pad alloc.
9846
9847         * gst/gstutils.c: (gst_flow_get_name):
9848         Better debugging.
9849
9850 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9851
9852         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
9853         (gst_base_src_get_range):
9854           Fix documentation typos. Add some more debug info.
9855
9856 2005-09-29  David Schleef  <ds@schleef.org>
9857
9858         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
9859           more end-user friendly.
9860         * tools/gst-inspect.c: (main): Check if command-line argument is
9861           a file and attempt to load that file as a plugin.
9862
9863 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9864
9865         * check/gst/gstbin.c:
9866         * check/states/sinks.c:
9867           fix tests for the new warning
9868         * check/gst/gstpipeline.c:
9869           add a test for pipeline and bus interaction
9870         * gst/gstelement.c:
9871           elements should be NULL if they get disposed; add a warning if not
9872
9873 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9874
9875         * gst/gstobject.c:
9876           for 2.6 refcounting, make debug log more correct by printing
9877           the actual refcounts at the time of swap (Wim)
9878
9879 2005-09-29  Andy Wingo  <wingo@pobox.com>
9880
9881         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
9882         removes signal watches previously added via
9883         gst_bus_add_signal_watch.
9884         (gst_bus_add_signal_watch): Don't return the source id, just store
9885         it on the bus if there wasn't an id already.
9886
9887         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
9888         add_signal_watch and remove_signal_watch.
9889
9890 2005-09-29  Edward Hervey  <edward@fluendo.com>
9891
9892         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
9893         Better if we actually iterate the list :)
9894
9895 2005-09-29  Wim Taymans  <wim@fluendo.com>
9896
9897         * check/gst/gstbin.c: (GST_START_TEST):
9898         Change for new bus API.
9899
9900         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
9901         (send_messages), (GST_START_TEST), (gstbus_suite):
9902         Change for new bus signal API.
9903
9904         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
9905         (gst_bus_source_prepare), (gst_bus_source_check),
9906         (gst_bus_create_watch), (gst_bus_add_watch_full),
9907         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
9908         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
9909         * gst/gstbus.h:
9910         Remove support for multiple GSources operating on different
9911         message types as it is too complex and unneeded when using
9912         signals.
9913         Added support for receiving signals from the bus.
9914
9915 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
9916
9917         * docs/libs/tmpl/gstdataprotocol.sgml:
9918         * docs/manual/advanced-dataaccess.xml:
9919         * gst/elements/gstcapsfilter.c:
9920         * gst/gstutils.c:
9921           rename filter-caps to caps property
9922
9923 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9924
9925         * gst/gstvalue.c: (gst_value_deserialize_fraction):
9926           More robust fraction string parsing.
9927
9928         * docs/pwg/appendix-porting.xml:
9929           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
9930
9931 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9932
9933         * gst/gstcaps.c: (gst_caps_do_simplify):
9934           Thou shalt not free a structure and then continue using it
9935           in the next loop iteration.
9936
9937         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
9938         (gst_caps_suite):
9939           Add test case for caps simplification.
9940
9941 2005-09-29  Wim Taymans  <wim@fluendo.com>
9942
9943         * check/gst/gstbin.c: (GST_START_TEST):
9944         Oops.
9945
9946 2005-09-29  Wim Taymans  <wim@fluendo.com>
9947
9948         * check/gst/gstbin.c: (GST_START_TEST):
9949         Add bus to bin.
9950
9951         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
9952         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
9953         (find_element), (gst_bin_sort_iterator_next),
9954         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
9955         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
9956         (gst_bin_change_state), (gst_bin_dispose):
9957         A bin does not have a bus, it gets the bus from the parent.
9958
9959         * gst/gstelement.c: (gst_element_requires_clock),
9960         (gst_element_provides_clock), (gst_element_is_indexable),
9961         (gst_element_is_locked_state), (gst_element_change_state),
9962         (gst_element_set_bus_func):
9963         Small cleanups.
9964
9965         * gst/gstpipeline.c: (gst_pipeline_class_init),
9966         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
9967         The pipeline provides a bus.
9968
9969 2005-09-28  Johan Dahlin  <johan@gnome.org>
9970
9971         * gst/gstmessage.c (gst_message_parse_state_changed): Use
9972         gst_structure_get_enum instead of gst_structure_get_int
9973
9974         * gst/gststructure.c (gst_structure_get_enum): Impl.
9975
9976         * gst/gststructure.h (gst_structure_get_enum): Add
9977
9978         * docs/gst/gstreamer-sections.txt: Ditto
9979
9980         * gst/gstmessage.c (gst_message_new_state_changed): Use
9981         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
9982         which does introspection.
9983         Reviewed by Christian Schaller
9984
9985 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
9986
9987         * gst/gstinfo.c: (gst_debug_log_default):
9988           don't do dummy g_strdup()s
9989         * libs/gst/controller/gstcontroller.c:
9990         (on_object_controlled_property_changed),
9991         (gst_controlled_property_new), (gst_controller_new_valist),
9992         (gst_controller_new_list),
9993         (gst_controller_remove_properties_valist), (gst_controller_set),
9994         (gst_controller_get), (gst_controller_sync_values),
9995         (gst_controller_get_value_array), (_gst_controller_class_init),
9996         (gst_controller_get_type):
9997         * libs/gst/controller/gstcontroller.h:
9998         * libs/gst/controller/gstinterpolation.c:
9999         (gst_controlled_property_find_timed_value_node):
10000           convert // to /**/ comments
10001
10002 2005-09-28  Wim Taymans  <wim@fluendo.com>
10003
10004         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
10005         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
10006         (gst_bus_sync_signal_handler):
10007         * gst/gstbus.h:
10008         Added async-message and sync-message signals to the bus.
10009         Added helper BusFunc to emit signals for all posted messages.
10010
10011         * gst/gstmessage.c: (gst_message_type_get_name),
10012         (gst_message_type_to_quark), (gst_message_get_type):
10013         * gst/gstmessage.h:
10014         Register quarks for message names.
10015
10016 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
10017
10018         * docs/libs/gstreamer-libs-sections.txt:
10019         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10020         (gst_controller_new_list):
10021         * libs/gst/controller/gstcontroller.h:
10022           added another constructor for language bindings
10023
10024 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
10025
10026         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
10027           add another check
10028         * gst/gstbus.c:
10029           add some doc
10030         * gst/gstinfo.c: (_gst_debug_init):
10031           slightly more readable color for refcount debugging
10032
10033 2005-09-28  Wim Taymans  <wim@fluendo.com>
10034
10035         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
10036         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
10037         (find_element), (gst_bin_sort_iterator_next),
10038         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10039         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10040         (gst_bin_change_state), (gst_bin_dispose):
10041         Small doc fixes. get_clock -> provide_clock.
10042
10043         * gst/gstelement.c: (gst_element_class_init),
10044         (gst_element_provides_clock), (gst_element_provide_clock),
10045         (gst_element_get_clock), (gst_element_commit_state),
10046         (gst_element_lost_state):
10047         * gst/gstelement.h:
10048         Make get/set_clock() symetric. Add provide_clock vmethod since
10049         that is actually what this function does.
10050
10051         * gst/gstpipeline.c: (gst_pipeline_class_init),
10052         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
10053         (gst_pipeline_get_clock):
10054         get_clock -> provide_clock.
10055
10056 2005-09-28  Andy Wingo  <wingo@pobox.com>
10057
10058         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
10059         lieu of real docs...
10060
10061         * gst/elements/gstfdsrc.c: Cleaned up a bit.
10062
10063 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
10064
10065         * gst/elements/gstcapsfilter.c:
10066         * gst/elements/gstfakesink.c:
10067         * gst/elements/gstfakesrc.c:
10068         * gst/elements/gstfdsink.c:
10069         * gst/elements/gstfdsrc.c:
10070         * gst/elements/gstfilesink.c:
10071         * gst/elements/gstfilesrc.c:
10072         * gst/elements/gstidentity.c:
10073         * gst/elements/gsttee.c:
10074         * gst/elements/gsttypefindelement.c:
10075           Make element details static.
10076
10077 2005-09-28  Wim Taymans  <wim@fluendo.com>
10078
10079         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10080         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10081         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10082         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10083         (gst_bin_change_state), (gst_bin_dispose):
10084         Some documentation updates.
10085         Clean up dispose handlers.
10086
10087         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
10088         * gst/gstpad.c: (gst_pad_dispose):
10089         Clean up dispose handler.
10090
10091         * gst/gstpipeline.c: (gst_pipeline_change_state):
10092         Removed spurious UNLOCK.
10093
10094 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
10095
10096         * docs/gst/gstreamer-sections.txt:
10097         * gst/base/gstbasesrc.h:
10098         * gst/gstelement.h:
10099         * gst/gstevent.h:
10100         * gst/gstobject.h:
10101         * gst/gstpad.h:
10102         * gst/gstpipeline.c:
10103         * gst/gstpipeline.h:
10104         * gst/gstutils.h:
10105         * gst/gstxml.h:
10106           added two new functions to the docs
10107                 documents all undocumented GstXXXFlags
10108                 completed some incomplete docs 
10109
10110 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
10111
10112         * gst/gstbin.c: (gst_bin_dispose):
10113         * gst/gstelement.c: (gst_element_dispose):
10114           remove now useless and leaky resurrection code in dispose
10115         * gst/base/gstbasesrc.c: (gst_base_src_init):
10116         * gst/gstelementfactory.c: (gst_element_factory_create):
10117         * gst/gstobject.c: (gst_object_set_parent):
10118           add some debugging
10119
10120 2005-09-27  Wim Taymans  <wim@fluendo.com>
10121
10122         * docs/design/part-TODO.txt:
10123         Update TODO.
10124
10125         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10126         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10127         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10128         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10129         (gst_bin_change_state):
10130         * gst/gstelement.h:
10131         Remove element variable, we keep element info in the iterator now.
10132
10133 2005-09-27  Andy Wingo  <wingo@pobox.com>
10134
10135         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
10136         values.
10137
10138 2005-09-27  Wim Taymans  <wim@fluendo.com>
10139
10140         * check/gst/gstbin.c: (GST_START_TEST):
10141         Enable check that works now.
10142
10143         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
10144         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
10145         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
10146         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
10147         (gst_bin_change_state):
10148         * gst/gstbin.h:
10149         Redid the state change algorithm using a topological sort algo.
10150         Handles all cases correctly.
10151         Exposed iterator for state change order.
10152
10153         * gst/gstelement.h:
10154         Temp storage for state changes. Need to get rid of this soon.
10155
10156 2005-09-27  Wim Taymans  <wim@fluendo.com>
10157
10158         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
10159         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
10160         (link_fold_func), (gst_pad_proxy_setcaps):
10161         Leak fixes, the fold functions need to unref the passed object and
10162         _get_parent_*() returns ref to parent.
10163
10164 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10165
10166         * check/gst/gstbuffer.c: (test_make_writable):
10167           Plug leak in test case and fix 'make check-valgrind'
10168
10169 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10170
10171         * gst/gstbuffer.c: (gst_subbuffer_init):
10172           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
10173           works correctly in all circumstances (we could have just copied
10174           the parent buffer's readonly flag, but conceptually it seems
10175           cleaner to mark all subbuffers as read-only). (based on patch
10176           by Alessandro Decina, #314710).
10177         
10178         * check/gst/gstbuffer.c: (create_read_only_buffer),
10179         (test_make_writable), (test_subbuffer_make_writable),
10180         (gst_test_suite):
10181           Add some tests for gst_buffer_make_writable().
10182
10183 2005-09-27  Wim Taymans  <wim@fluendo.com>
10184
10185         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
10186         use gst_object_has_ancestor().
10187
10188         * gst/gstobject.c: (gst_object_has_ancestor):
10189         * gst/gstobject.h:
10190         gst_object_has_ancestor() copied from gstbin.c as it is a
10191         usefull function.
10192
10193         * tests/instantiate/create.c: (create_all_elements):
10194         * tests/lat.c: (handoff_src), (handoff_sink):
10195         * tests/sched/runxml.c: (main):
10196         * tests/seeking/seeking1.c: (main):
10197         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
10198         (main):
10199         Fix compilation of some tests.
10200
10201 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
10202
10203         * gst/gsterror.h:
10204           Remove comment. GST_TYPE_G_ERROR is here to stay,
10205           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
10206           (#316961, #300610).
10207
10208 2005-09-26  Wim Taymans  <wim@fluendo.com>
10209
10210         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
10211         Added check that shows error in state change order.
10212
10213 2005-09-26  Wim Taymans  <wim@fluendo.com>
10214
10215         * gst/gstbin.c: (gst_bin_change_state):
10216         Make state change function use 3 queues again, we were
10217         adding elements in the wrong order.
10218
10219         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10220         Some debug info,
10221
10222         * gst/gstpad.c: (gst_pad_dispose):
10223         Added some debug info first.
10224
10225 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
10226
10227         * docs/design/draft-push-pull.txt:
10228         * docs/design/part-events.txt:
10229         * docs/design/part-overview.txt:
10230         * docs/design/part-scheduling.txt:
10231           Replace all _pull_region() with _pull_range()
10232           
10233 2005-09-26  Andy Wingo  <wingo@pobox.com>
10234
10235         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
10236
10237         * check/gst-libs/controller.c: Update for controller api change.
10238
10239         * configure.ac: 
10240         * tests/Makefile.am:
10241         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
10242         over by GLib bug 118439.
10243         
10244         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
10245         routines to a function.
10246
10247         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
10248
10249         * libs/gst/controller/gsthelper.c:
10250         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
10251         (gst_object_sync_values): Renamed from sink_values. Ugh.
10252
10253         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
10254
10255         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
10256         Renamed from controller_key, as it is exported.
10257
10258         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
10259
10260 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
10261
10262         * gst/Makefile.am:
10263         * gst/gst.h:
10264         * gst/gstpad.h:
10265         * gst/gstpadtemplate.h:
10266         * gst/gstquery.c:
10267         * gst/gstquery.h:
10268         * gst/gstqueryutils.c:
10269         * gst/gstqueryutils.h:
10270           remove queryutils headers after moving the two used functions
10271           to gstquery.  also fixes build problem for gstsiddec
10272
10273 2005-09-26  Michael Smith <msmith@fluendo.com>
10274
10275         * tools/gst-launch.1.in:
10276         Correct documentation in manpage of debug syntax
10277
10278 2005-09-26  Wim Taymans  <wim@fluendo.com>
10279
10280         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
10281         (gst_base_src_is_seekable), (gst_base_src_change_state):
10282         Some more debugging info.
10283
10284 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
10285
10286         * docs/gst/gstreamer-sections.txt:
10287         * gst/base/gstbasetransform.h:
10288         * gst/gstindex.h:
10289           added more docs
10290
10291 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
10292
10293         * docs/gst/.cvsignore:
10294         * docs/gst/tmpl/.cvsignore:
10295         * docs/gst/tmpl/gstpipeline.sgml:
10296         * docs/gst/tmpl/gstplugin.sgml:
10297         * gst/gstpipeline.c:
10298         * gst/gstplugin.c:
10299         * gst/gstplugin.h:
10300           inlined the last two docs files
10301           removed the tmpl directory from cvs (no more conflicts here!)
10302
10303 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
10304
10305         * docs/gst/gstreamer-sections.txt:
10306         * docs/gst/tmpl/.cvsignore:
10307         * docs/gst/tmpl/gstpad.sgml:
10308         * docs/gst/tmpl/gstpadtemplate.sgml:
10309         * gst/Makefile.am:
10310         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10311         (gst_pad_finalize), (gst_pad_set_pad_template):
10312         * gst/gstpad.h:
10313         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
10314         (gst_pad_template_class_init), (gst_pad_template_init),
10315         (gst_pad_template_dispose), (name_is_valid),
10316         (gst_static_pad_template_get), (gst_pad_template_new),
10317         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
10318         (gst_pad_template_pad_created):
10319         * gst/gstpadtemplate.h:
10320           inlined two more docs
10321           factored gstpadtemplate out of gstpad
10322
10323 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
10324
10325         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10326         (test_children_state_change_order_semi_sink):
10327           Fix test case: we can't rely on a fixed state change order when
10328           going from READY => PAUSED because the sink might commit its 
10329           new state first when the first buffer created by the source 
10330           reaches the sink before the source has finished its change state.
10331           (Test case still fails at times, see #316856, comment 5 onwards)
10332
10333 2005-09-24  Wim Taymans  <wim@fluendo.com>
10334
10335         * docs/design/part-events.txt:
10336         * docs/design/part-gstbus.txt:
10337         * docs/design/part-gstpipeline.txt:
10338         * docs/design/part-messages.txt:
10339         * docs/design/part-overview.txt:
10340         * docs/design/part-segments.txt:
10341         * gst/gstbin.c:
10342         * gst/gstbuffer.c:
10343         * gst/gstclock.c:
10344         * gst/gstelement.c:
10345         * gst/gstevent.c:
10346         * gst/gstfilter.c:
10347         * gst/gstiterator.c:
10348         Various documentation updates.
10349
10350 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
10351
10352         * gst/gstclock.h:
10353           Well, that's embarassing.  Luckily we weren't using
10354           GST_CLOCK_DIFF anywhere.
10355
10356 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10357
10358         * common/gtk-doc.mak:
10359           don't fail on building XML, FC4 slave shows a bunch of doc
10360           missing bits that I don't get
10361         * gst/gstpad.c:
10362         * gst/gstpipeline.c:
10363         * gst/gststructure.c:
10364           some doc updates
10365
10366 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
10367
10368         * docs/design/part-gstbin.txt:
10369         * docs/design/part-gstbus.txt:
10370         * gst/gstbus.c:
10371           Add blurb about how the bus goes into flushing mode and
10372           drops all messages when its bin goes from READY into NULL 
10373           state.
10374
10375 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10376
10377         * docs/gst/gstreamer-sections.txt:
10378         * gst/gststructure.c: (gst_structure_get_clock_time):
10379         * gst/gststructure.h:
10380           add a method to get a GstClockTime out of a structure
10381
10382 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
10383
10384         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
10385         (test_children_state_change_order_semi_sink), (gst_bin_suite):
10386           Added test to check state change order in bins (can still be made
10387           to fail here under heavy disk load; bails out with 'Push on pad
10388           fakesink:sink0, but it was not activated in push mode').
10389
10390         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
10391           Fix state change order when there is only a semi sink (#316856)
10392
10393         * gst/gstbus.c: (gst_bus_class_init):
10394           Use _class_peek_parent(), not _class_ref(); fix docs to say
10395           'default main context' instead of 'mainloop' where that is
10396           what's meant.
10397
10398         * gst/gstelement.c: (gst_element_commit_state),
10399         (gst_element_set_state):
10400           Fix typos in debug messages
10401
10402 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10403
10404         * docs/README:
10405         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
10406         * gst/gstpluginfeature.c:
10407         * gst/gstutils.c:
10408           various doc updates
10409         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
10410           change an assert into an error until it gets fixed properly
10411
10412 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
10413
10414         * docs/gst/gstreamer-sections.txt:
10415         * docs/gst/tmpl/.cvsignore:
10416         * docs/gst/tmpl/gstelement.sgml:
10417         * docs/gst/tmpl/gstinfo.sgml:
10418         * docs/gst/tmpl/gstobject.sgml:
10419         * gst/gstelement.c:
10420         * gst/gstelement.h:
10421         * gst/gstinfo.c:
10422         * gst/gstinfo.h:
10423         * gst/gstobject.c: (gst_object_class_init):
10424         * gst/gstobject.h:
10425           inlined 3 more biiiig doc files and added some missing docs on the fly
10426
10427 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
10428
10429         * check/gst/.cvsignore:
10430         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
10431         * gst/gstregistryxml.c: (load_plugin),
10432         (gst_registry_xml_save_plugin):
10433           put back source in registry.  add checks for find_plugin.
10434         * testsuite/states/bin.c: (assert_state), (empty_bin),
10435         (test_adding_one_element), (main):
10436         * testsuite/states/locked.c: (main):
10437           some compile/run fixes
10438
10439 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
10440
10441         * check/gst/gstvalue.c: (GST_START_TEST):
10442           fix leaks in the test itself
10443
10444 2005-09-22  Wim Taymans  <wim@fluendo.com>
10445
10446         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10447         (gst_base_sink_send_event), (gst_base_sink_peer_query),
10448         (gst_base_sink_query):
10449         Prepare for more accurate position reporting and query
10450         handling.
10451
10452         * gst/gstelement.c: (gst_element_send_event),
10453         (gst_element_set_state):
10454         Add some comment.
10455
10456 2005-09-22  Wim Taymans  <wim@fluendo.com>
10457
10458         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
10459         (gst_query_parse_segment):
10460         * gst/gstquery.h:
10461         More documentation.
10462         Add segment query for future use.
10463
10464 2005-09-22  Wim Taymans  <wim@fluendo.com>
10465
10466         * gst/gstbin.c: (gst_bin_add_func):
10467         Some more debug info.
10468
10469         * gst/gstelement.c: (gst_element_send_event):
10470         Simplify send_event
10471
10472         * gst/gstelement.h:
10473         Don't know how flags got broken.
10474
10475         * gst/gstquery.h:
10476         Added new query.
10477
10478 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10479
10480         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
10481           Add simplistic test suite for GST_TYPE_DATE serialisation and
10482           deserialisation.
10483
10484 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
10485
10486         * docs/gst/gstreamer-sections.txt:
10487         * gst/gststructure.c: (gst_structure_set_valist),
10488         (gst_structure_get_date):
10489         * gst/gststructure.h:
10490         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
10491         (gst_date_copy), (gst_value_compare_date),
10492         (gst_value_serialize_date), (gst_value_deserialize_date),
10493         (gst_value_transform_date_string),
10494         (gst_value_transform_string_date), (_gst_value_initialize):
10495         * gst/gstvalue.h:
10496           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
10497           bunch of utility functions along with a hack that checks that
10498           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
10499           is required. Part of the grand scheme in #170777.
10500
10501 2005-09-22  Andy Wingo  <wingo@pobox.com>
10502
10503         * gst/gstconfig.h.in: Psych out gtk-doc.
10504
10505         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
10506
10507         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
10508
10509         * tools/gst-inspect.c (print_element_list): Plug some
10510         inconsequential leaks.
10511
10512         * gst/gstregistry.c (gst_registry_get_default): Doc.
10513
10514         * check/gst/gstplugin.c: 
10515         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
10516         * gst/gstelementfactory.c (gst_element_factory_create): 
10517         * gst/gstindexfactory.c (gst_index_factory_create): Update for
10518         refcount changes.
10519
10520         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
10521         (gst_plugin_feature_load): Doc, don't eat refs.
10522
10523         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
10524         (gst_plugin_list_free): Doc.
10525         (gst_plugin_load_file): Doc updates.
10526
10527         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
10528         accessors returning refcounted objects, return a ref.
10529
10530         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
10531         accessor for caps. IDEMPOTENCE. Oh yes.
10532
10533 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
10534
10535         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
10536
10537         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
10538         (_gst_debug_register_funcptr):
10539           Add mutex to serialise access to the hash table with
10540           the function pointer => function name string mapping;
10541           make that hash table static scope (#316809).
10542
10543         * gst/registries/.cvsignore:
10544           Remove left-over file.
10545
10546 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
10547
10548         * docs/pwg/appendix-porting.xml:
10549           And something about newsegment events and caps-on-buffers to
10550           the porting guide (feel free to improve).
10551
10552 2005-09-21  Andy Wingo  <wingo@pobox.com>
10553
10554         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
10555         data and event probes on the same pad.
10556         (test_buffer_probe_once): Test that removing probes from within
10557         the probe functions works.
10558
10559 2005-09-21  Andy Wingo  <wingo@pobox.com>
10560
10561         * check/gst/gstutils.c: New file.
10562         (test_buffer_probe_n_times): A simple buffer probe test. More to
10563         come, foolios.
10564
10565         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
10566         have-data::buffer, not have-data.
10567         (gst_pad_add_event_probe): Likewise for have-data::event.
10568         (gst_pad_add_data_probe): More docs. The part about 'resolving the
10569         peer' isn't quite right yet though.
10570         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
10571         (gst_pad_remove_data_probe): Change to take the guint handler_id
10572         as their arg, not the function+data, which is more glib-like.
10573
10574         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
10575         the signal emission to indicate if the data is a buffer or an
10576         event.
10577         (gst_pad_get_type): Initialize buffer and event quarks.
10578         (gst_pad_class_init): have-data is now a detailed signal, yes it
10579         is.
10580
10581 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
10582
10583         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
10584         * gst/gstutils.c: (gst_util_set_value_from_string),
10585         (gst_util_set_object_arg):
10586           Don't put functional code in g_return_if_fail() or
10587           g_return_val_if_fail() statements, otherwise things will 
10588           break when G_DISABLE_CHECKS is defined during compilation.
10589
10590 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10591
10592         * docs/gst/tmpl/.cvsignore:
10593         * docs/gst/tmpl/gstvalue.sgml:
10594         * gst/gstvalue.c:
10595         * gst/gstvalue.h:
10596           inlied another one and added  some obvious docs
10597
10598 2005-09-21  Wim Taymans  <wim@fluendo.com>
10599
10600         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
10601         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
10602         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
10603         (gst_fdsrc_get_property), (gst_fdsrc_create):
10604         * gst/elements/gstfdsrc.h:
10605         Properly implement fdsrc. Removed signal and timeout,
10606         better implemented somewhere else.
10607
10608 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10609
10610         * docs/gst/tmpl/.cvsignore:
10611         * docs/gst/tmpl/gstimplementsinterface.sgml:
10612         * gst/gstinterface.c:
10613           inlined more docs
10614
10615 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10616
10617         * docs/gst/gstreamer-sections.txt:
10618         * docs/gst/tmpl/.cvsignore:
10619         * docs/gst/tmpl/gstenumtypes.sgml:
10620           remove obsolete doc file
10621
10622 2005-09-21  David Schleef  <ds@schleef.org>
10623
10624         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
10625         little beer, fix a little leak.
10626
10627 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
10628
10629         * docs/gst/gstreamer-docs.sgml:
10630         * docs/gst/gstreamer-sections.txt:
10631         * docs/gst/tmpl/.cvsignore:
10632         * gst/Makefile.am:
10633         * gst/gst.h:
10634         * gst/gstbin.c:
10635         * gst/gstelement.h:
10636         * gst/gstindex.c: (gst_index_class_init):
10637         * gst/gstindex.h:
10638         * gst/gstindexfactory.c: (gst_index_factory_get_type),
10639         (gst_index_factory_class_init), (gst_index_factory_init),
10640         (gst_index_factory_finalize), (gst_index_factory_new),
10641         (gst_index_factory_destroy), (gst_index_factory_find),
10642         (gst_index_factory_create), (gst_index_factory_make):
10643         * gst/gstindexfactory.h:
10644         * gst/gstpluginfeature.c:
10645         * gst/gstpluginfeature.h:
10646         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10647           more docs inlined, splitted gstindex.{c,h}
10648
10649 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10650
10651         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10652           fix a leak
10653
10654 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
10655
10656         * gst/elements/gstfilesink.c: (gst_file_sink_init):
10657           Set sync to FALSE by default.
10658
10659 2005-09-20  Wim Taymans  <wim@fluendo.com>
10660
10661         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10662         (gst_base_sink_init):
10663         Make sync property settable from subclass.
10664
10665         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
10666         (gst_fake_sink_change_state):
10667         Set sync to FALSE by default.
10668
10669 2005-09-20  Wim Taymans  <wim@fluendo.com>
10670
10671         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
10672         * tools/gst-launch.c: (main):
10673         The timeout handler should have lower priority than the source
10674         so we don't timeout before popping a message with 0 timeout.
10675         Dump error messages after failed state change.
10676
10677 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
10678
10679         * tools/gst-inspect.c: (print_element_properties_info):
10680           Fix two typos.
10681
10682 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10683
10684         * check/gst/gstevent.c:
10685         * gst/elements/gstfakesink.c:
10686         * gst/elements/gstfakesink.h:
10687           remove the sync property from fakesink.
10688           has the side effect of setting sync TRUE
10689           for fakesink, which is a change.  Anyone who knows how
10690           to fix this nicely in a GObject-y way, feel free.
10691
10692 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
10693
10694         * docs/gst/gstreamer-docs.sgml:
10695           remove probe refsection
10696
10697 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
10698
10699         * check/Makefile.am:
10700           disable valgrinding the controller test again
10701         * docs/gst/gstreamer-sections.txt:
10702           update for api-changes
10703
10704 2005-09-20  Wim Taymans  <wim@fluendo.com>
10705
10706         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
10707         (gst_base_sink_set_property), (gst_base_sink_get_property),
10708         (gst_base_sink_do_sync):
10709         * gst/base/gstbasesink.h:
10710         Added sync property to basesink to disable clock sync.
10711
10712 2005-09-20  Andy Wingo  <wingo@pobox.com>
10713
10714         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
10715         eating the caller's refcount.
10716
10717         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
10718         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
10719         refcount.
10720
10721         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
10722         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
10723         of GLib 2.8 public, so we can know which refcount to check in
10724         tests.
10725
10726         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
10727         (gst_object_init): Only set the gst refcount if we're going ahead
10728         with the refcount hack.
10729
10730 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
10731
10732         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
10733         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
10734           more leaks plumbed, added more debug-logging
10735         * gst/gstmacros.h:
10736           whitespace fix
10737
10738 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10739
10740         * gst/gstmessage.c:
10741           remove include of gstmemchunk.h
10742
10743 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10744
10745         * gst/gstclock.c: (_gst_clock_id_free):
10746           Commit from the Political Party For More Atomic CVS Commits,
10747           so that people don't waste too much of their day fishing
10748           out obvious leaks out of massive commits.
10749           Oh, and fix a pretty damn obvious leak in the memchunk
10750           removal code.
10751
10752 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
10753
10754         * check/Makefile.am:
10755         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
10756           plug mem-leak, re-add to valgrindable tests
10757
10758 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
10759
10760         * gst/gstplugin.h:
10761           unbreak the build for those who have chronic arthritis
10762           and typing "make check" is just too taxing on the hands
10763
10764 2005-09-20  Andy Wingo  <wingo@pobox.com>
10765
10766         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
10767         really want it out, you should fix plugins at the same time.
10768
10769 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
10770
10771         * configure.ac:
10772         * docs/gst/gstreamer-sections.txt:
10773         * gst/gstobject.c:
10774           added missing symbols to api docs
10775           disable ref-count hack if we have glib >= 2.8
10776
10777 2005-09-19  David Schleef  <ds@schleef.org>
10778
10779         * docs/gst/Makefile.am: Ignore a few more internal headers
10780         * docs/gst/gstreamer-docs.sgml: Remove old sections
10781         * docs/gst/gstreamer-sections.txt: Remove old sections
10782         * docs/gst/tmpl/gstobject.sgml: update
10783         * docs/gst/tmpl/gstplugin.sgml: update
10784         * docs/gst/tmpl/gstpluginfeature.sgml: update
10785         * docs/random/ds/0.9-suggested-changes: update.
10786         * gst/Makefile.am: remove memchunk and trashstack, since they're
10787           not used.
10788         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
10789         * gst/gst.h: don't include some headers
10790         * gst/gstchildproxy.c: add gstmarshal.h
10791         * gst/gstclock.c: Don't use memchunks
10792         * gst/gstminiobject.c: Add some docs
10793         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
10794         * gst/gstobject.h: same
10795         * gst/gstplugin.c: include gstmacros.h
10796         * gst/gstplugin.h: don't include gstmacros.h, since it's private
10797         * gst/gstquery.c: don't use memchunks
10798         * gst/gstregistry.c: rename gst_registry_deinit()
10799         * gst/gstregistry.h: same
10800
10801 2005-09-19  David Schleef  <ds@schleef.org>
10802
10803         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
10804         * docs/libs/gstreamer-libs-sections.txt:
10805         * docs/libs/tmpl/gstgetbits.sgml:
10806         * docs/libs/tmpl/gstputbits.sgml:
10807
10808 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
10809
10810         * win32/gstenumtypes.c:
10811         * win32/gstenumtypes.h:
10812           Update.
10813
10814 2005-09-19  Wim Taymans  <wim@fluendo.com>
10815
10816         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
10817         Automatically PAUSE and RESUME a pipeline when a flushing seek
10818         is performed.
10819
10820 2005-09-19  Andy Wingo  <wingo@pobox.com>
10821
10822         * gst/gstregistry.h: Spacing fixen.
10823
10824 2005-09-19  Wim Taymans  <wim@fluendo.com>
10825
10826         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
10827         Handle state change failure more correctly.
10828
10829 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10830
10831         * check/Makefile.am:
10832         * check/pipelines/cleanup.c: (run_pipeline):
10833         * check/pipelines/simple_launch_lines.c: (run_pipeline),
10834         (GST_START_TEST):
10835           enable cleanup again after fixing the leak
10836         * docs/README:
10837           some more info on docs
10838
10839 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10840
10841         * check/Makefile.am:
10842           re-enable tests now that leaks are plugged
10843         * check/gst/gst.c:
10844         * check/gst/gstbin.c:
10845         * check/gst/gstpipeline.c:
10846           add some more tests while fixing leaks
10847         * common/check.mak:
10848           make sure binaries are uptodate when valgrinding/gdbing
10849         * gst/gst.c:
10850         * gst/gstelementfactory.c:
10851           remove a ref too many, and add a FIXME for when we get
10852           round to disposing of classes
10853         * gst/gstplugin.c:
10854           fix the refcounting when loading a plugin from a file and
10855           the code pretends that the pointer is the same even though
10856           of course it can change
10857         * gst/gstpluginfeature.c:
10858           unref plugins marked cached (a bit confusing as a name)
10859           as the docs state should be done
10860           various doc additions to explain refcounting
10861         * gst/gstregistry.c:
10862         * gst/gstregistryxml.c:
10863           debugging
10864
10865 2005-09-19  Wim Taymans  <wim@fluendo.com>
10866
10867         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
10868         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
10869         (send_messages), (GST_START_TEST), (gstbus_suite):
10870         * check/gst/gstpipeline.c: (GST_START_TEST):
10871         * check/pipelines/cleanup.c: (run_pipeline):
10872         * check/pipelines/simple_launch_lines.c: (run_pipeline),
10873         (GST_START_TEST):
10874         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
10875         (gst_bus_source_check), (gst_bus_source_dispatch),
10876         (gst_bus_create_watch), (gst_bus_add_watch_full),
10877         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
10878         * gst/gstbus.h:
10879         * tools/gst-launch.c: (event_loop):
10880         * tools/gst-md5sum.c: (event_loop):
10881         GstBusHandler -> GstBusFunc, return value has the same meaning as
10882         any other GSource (FALSE == remove source).
10883         _add_watch() and _add_watch_full() now take a MessageType mask to
10884         only handle specific types of messages.
10885         _poll() returns the GstMessage instead of the message type to avoid
10886         race conditions.
10887         _have_pending() takes a MessageType mask now too.
10888         Added testsuite for multiple bus watches.
10889         Fix testsuites and applications for new bus API.
10890
10891 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
10892
10893         * check/Makefile.am:
10894           mark a bunch of the tests as to fix until we fix them
10895
10896 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10897
10898         * common/check.mak:
10899           use GST_PLUGIN settings for valgrind tests as well, so we're
10900           valgrinding the correct thing
10901         * gst/gst.c: (init_post):
10902           plug another leak
10903
10904 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10905
10906         * gst/gst.c: (init_post), (gst_deinit):
10907         * gst/gstelementfactory.c: (gst_element_factory_class_init),
10908         (gst_element_factory_finalize), (gst_element_factory_cleanup):
10909         * gst/gstindex.c: (gst_index_factory_class_init),
10910         (gst_index_factory_finalize):
10911         * gst/gstobject.c: (gst_object_dispose):
10912         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
10913         (gst_plugin_load_file), (gst_plugin_desc_free):
10914         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
10915         (gst_plugin_feature_finalize):
10916         * gst/gstregistry.c: (gst_registry_class_init),
10917         (gst_registry_init), (gst_registry_finalize),
10918         (gst_registry_get_default), (gst_registry_deinit):
10919         * gst/gstregistry.h:
10920         * gst/gstregistryxml.c: (load_feature), (load_plugin):
10921           various cleanups and memleak plugging.  make valgrind is happy now.
10922
10923 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
10924
10925         * common/check.mak:
10926           add a check-valgrind target
10927
10928 2005-09-18  David Schleef  <ds@schleef.org>
10929
10930         * tools/gst-inspect.c: Revert the GOption code.
10931
10932 2005-09-17  David Schleef  <ds@schleef.org>
10933
10934         * check/Makefile.am: Fix environment variables.
10935         * check/gst/gstplugin.c: Fix for API changes.
10936         * tools/gst-inspect.c: Fix for API changes.
10937         * tools/gst-xmlinspect.c: Fix for API changes.
10938         * gst/gstelementfactory.c:
10939         * gst/gstplugin.c:
10940         * gst/gstplugin.h:
10941         * gst/gstpluginfeature.c:
10942         * gst/gstpluginfeature.h:
10943         * gst/gstregistry.c:
10944         * gst/gstregistry.h:
10945         * gst/gstregistryxml.c:
10946         * gst/gsttypefind.c:
10947         * gst/gsttypefindfactory.c:
10948         * gst/indexers/gstfileindex.c:
10949         * gst/indexers/gstmemindex.c:
10950         * gst/schedulers/Makefile.am:
10951           Change registry to keep track of both plugins and features,
10952           removing the feature tracking from plugins themselves.
10953
10954 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10955
10956         * check/Makefile.am:
10957         * tools/gst-register.1.in:
10958           remove gst-register
10959
10960 2005-09-15  David Schleef  <ds@schleef.org>
10961
10962         * check/gst/gstplugin.c:
10963         * gst/gstelementfactory.c:
10964         * gst/gstplugin.c:
10965         * gst/gstpluginfeature.c:
10966         * gst/gstregistry.c:
10967           Getting tired of debugging.  Disabled all the unreffing of
10968           plugins and features, which fixes the segfaults, but of
10969           course leaks like crazy.  At least playbin works.
10970
10971 2005-09-15  David Schleef  <ds@schleef.org>
10972
10973         * check/gst/gstplugin.c: (register_check_elements),
10974         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
10975         More testing
10976         * gst/elements/gsttypefindelement.c: Fix refcounting.
10977         * gst/gsttypefind.c:
10978         * gst/gsttypefindfactory.c:
10979         * gst/gsttypefindfactory.h:
10980
10981 2005-09-15  David Schleef  <ds@schleef.org>
10982
10983         * gst/gstindex.c: get refcounting correct.
10984         * gst/gstregistry.c: Handle the case where a feature/plugin is
10985           not found.
10986
10987 2005-09-15  David Schleef  <ds@schleef.org>
10988
10989         * check/Makefile.am:
10990         * check/gst/gstplugin.c: Add test
10991         * gst/gstplugin.c: Fix problems noticed by testsuite
10992         * gst/gstplugin.h:
10993         * gst/gstregistry.c: 
10994         * gst/gstregistry.h:
10995
10996 2005-09-15  David Schleef  <ds@schleef.org>
10997
10998         * gst/gstplugin.c: Implement semi-decent recounting and locking
10999           in plugins and plugin features.
11000         * gst/gstplugin.h:
11001         * gst/gstpluginfeature.c:
11002         * gst/gstpluginfeature.h:
11003         * gst/gstregistry.c:
11004
11005 2005-09-15  Michael Smith <msmith@fluendo.com>
11006
11007         * gst/gstregistry.c: (gst_registry_get_feature_list):
11008           Implement this. Makes oggdemux work; decodebin still broken.
11009
11010 2005-09-14  David Schleef  <ds@schleef.org>
11011
11012         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
11013           #316076)
11014         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
11015         * gst/check/Makefile.am:
11016         * libs/gst/controller/Makefile.am:
11017         * libs/gst/dataprotocol/Makefile.am:
11018
11019 2005-09-14  David Schleef  <ds@schleef.org>
11020
11021         * configure.ac: Remove getbits library.  Nothing uses it, and
11022           it should be in something like liboil if someone did want
11023           to use it.
11024         * libs/gst/Makefile.am:
11025         * libs/gst/getbits/Makefile.am:
11026         * libs/gst/getbits/gbtest.c:
11027         * libs/gst/getbits/getbits.c:
11028         * libs/gst/getbits/getbits.h:
11029         * libs/gst/getbits/gstgetbits_generic.c:
11030         * libs/gst/getbits/gstgetbits_i386.s:
11031         * libs/gst/getbits/gstgetbits_inl.h:
11032
11033 2005-09-14  David Schleef  <ds@schleef.org>
11034
11035         * gst/Makefile.am: Dist glib-compat.h
11036
11037 2005-09-14  David Schleef  <ds@schleef.org>
11038
11039         * configure.ac: Remove gst/registries, since it's no longer used.
11040         * gst/registries/Makefile.am:
11041         * gst/registries/gstlibxmlregistry.c:
11042         * gst/registries/gstlibxmlregistry.h:
11043         * gst/registries/gstxmlregistry.c:
11044         * gst/registries/gstxmlregistry.h:
11045         * gst/registries/registrytest.c:
11046
11047 2005-09-14  David Schleef  <ds@schleef.org>
11048
11049         * gst/glib-compat.h:
11050         * gst/gstregistryxml.c:
11051           Convergence is near.  Seriously.
11052
11053 2005-09-14  David Schleef  <ds@schleef.org>
11054
11055         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11056         * gst/glib-compat.h:
11057           Attempt #4 to appease the buildbots.
11058
11059 2005-09-14  David Schleef  <ds@schleef.org>
11060
11061         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11062           Attempt #3.
11063
11064 2005-09-14  David Schleef  <ds@schleef.org>
11065
11066         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11067         Attempt #2.
11068
11069 2005-09-14  David Schleef  <ds@schleef.org>
11070
11071         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
11072           the new functions.
11073
11074 2005-09-14  David Schleef  <ds@schleef.org>
11075
11076         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
11077         * gst/glib-compat.h: Add some functions that are in newer versions
11078           of glib than we care to require.
11079         * gst/gstregistryxml.c: Use them.
11080
11081 2005-09-14  David Schleef  <ds@schleef.org>
11082
11083         * po/POTFILES.in: remove gst-register.c
11084
11085 2005-09-14  David Schleef  <ds@schleef.org>
11086
11087         * docs/gst/gstreamer-docs.sgml:
11088         * docs/gst/gstreamer-sections.txt:
11089         * docs/gst/gstreamer.types:
11090         * docs/gst/tmpl/gstelement.sgml:
11091         * docs/gst/tmpl/gstplugin.sgml:
11092         * docs/gst/tmpl/gstpluginfeature.sgml:
11093           Documentation updates for registry changes.
11094
11095 2005-09-14  David Schleef  <ds@schleef.org>
11096
11097         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
11098           because we don't require glib-2.8.
11099
11100 2005-09-14  David Schleef  <ds@schleef.org>
11101
11102         * gst/gstregistryxml.c: Added.  Essentially moved out of the
11103           registries directory.
11104
11105 2005-09-14  David Schleef  <ds@schleef.org>
11106
11107         * check/Makefile.am:
11108         * check/generic/states.c:
11109         * gst/Makefile.am:
11110         * gst/gst.c:
11111         * gst/gst.h:
11112         * gst/gst_private.h:
11113         * gst/gstelementfactory.c:
11114         * gst/gstindex.c:
11115         * gst/gstinfo.c:
11116         * gst/gstplugin.c:
11117         * gst/gstplugin.h:
11118         * gst/gstpluginfeature.c:
11119         * gst/gstpluginfeature.h:
11120         * gst/gstregistry.c:
11121         * gst/gstregistry.h:
11122         * gst/gstregistrypool.c: remove
11123         * gst/gstregistrypool.h: remove
11124         * gst/gsttypefind.c:
11125         * gst/gsttypefindfactory.c:
11126         * gst/gsturi.c:
11127         * tools/Makefile.am:
11128         * tools/gst-compprep.c:
11129         * tools/gst-inspect.c:
11130         * tools/gst-register.c: remove
11131         * tools/gst-xmlinspect.c:
11132           Registry rewrite.  Changes registry from being a file created
11133           by a tool into a simple cache file created automatically by 
11134           libgstreamer.  Removed gst-register (because it's no longer
11135           needed).  Remove registry pools, because we only have one
11136           registry implementation (XML).  Fix up other subsystems as
11137           necessary.
11138
11139 2005-09-13  Michael Smith <msmith@fluendo.com>
11140
11141         * gst/gstconfig.h.in:
11142           Don't Use windows linking attributes for MinGW. Fixes #316157
11143
11144 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11145
11146         * gst/gstutils.c: (set_state_async_thread_func),
11147         (gst_element_set_state_async):
11148           Apparently people think it's better if this function doesn't
11149           try to set the state to whatever state was asked for on the first
11150           call to this function for any object.  Seriously.
11151
11152 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11153
11154         * check/gst/gstpipeline.c: (GST_START_TEST):
11155         * docs/gst/gstreamer-sections.txt:
11156         * gst/gstutils.c: (set_state_async_thread_func),
11157         (gst_element_set_state_async):
11158         * gst/gstutils.h:
11159           add a "gst_element_set_state_async" method that
11160           sets the state and starts a thread to make sure the state
11161           change completes as best as it can
11162
11163 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11164
11165         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
11166           codify design+behaviour in testsuite after discussion
11167
11168 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
11169
11170         * docs/gst/tmpl/gstelement.sgml:
11171         * docs/manual/appendix-quotes.xml:
11172           add a quote
11173         * gst/gstelement.c: (gst_element_set_state):
11174           add some debug
11175
11176 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
11177
11178         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11179         (gst_base_transform_prepare_output_buf),
11180         (gst_base_transform_handle_buffer):
11181         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
11182         (gst_capsfilter_prepare_buf):
11183           Remove the requirement for sub-classes to call the parent
11184           implementation of prepare_output_buffer with a wrapper function.
11185           
11186         * gst/gsttaglist.h:
11187         * gst/gsttagsetter.h:
11188           Fix #define wrapper
11189
11190 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
11191
11192         * docs/gst/gstreamer-sections.txt:
11193           more doc cleanups
11194
11195 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11196
11197         * docs/gst/gstreamer-sections.txt:
11198         * docs/gst/tmpl/gstelement.sgml:
11199         * docs/gst/tmpl/gstplugin.sgml:
11200         * gst/gstminiobject.c:
11201         * gst/gstvalue.h:
11202           docs now stop throwing warnings
11203
11204 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11205
11206         * docs/gst/gstreamer-sections.txt:
11207         * docs/gst/gstreamer.types:
11208         * docs/gst/tmpl/gstpad.sgml:
11209         * docs/gst/tmpl/gsttypes.sgml:
11210         * gst/base/gstadapter.h:
11211         * gst/base/gstbasesink.h:
11212         * gst/base/gstbasesrc.h:
11213         * gst/gstbin.h:
11214         * gst/gstbuffer.h:
11215         * gst/gstbus.h:
11216         * gst/gstcaps.h:
11217         * gst/gstclock.h:
11218         * gst/gstelement.h:
11219         * gst/gstevent.h:
11220         * gst/gstmessage.h:
11221         * gst/gstpad.h:
11222         * gst/gststructure.c:
11223         * gst/registries/gstlibxmlregistry.h:
11224           various documentation fixes
11225
11226 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
11227
11228         * docs/gst/gstreamer-sections.txt:
11229         * docs/gst/tmpl/gstvalue.sgml:
11230           rearrange gstvalue section
11231         * gst/gstutils.c: (gst_element_state_get_name):
11232           NONE -> VOID
11233         * gst/gstvalue.c: (_gst_value_initialize):
11234         * gst/gstvalue.h:
11235           doc updates
11236
11237 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
11238
11239         * check/gst-libs/controller.c:
11240           Header include fix.
11241         * gst/base/gstbasetransform.c:
11242         (gst_base_transform_default_prepare_buf),
11243         (gst_base_transform_handle_buffer):
11244         * gst/base/gstbasetransform.h:
11245           Some more basetransform changes and fixes to enable sub-classes
11246           that modify buffer metadata only.
11247         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
11248         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
11249         (gst_capsfilter_prepare_buf):
11250           If the output pad has fixed allowed caps and input buffers 
11251           don't have any, set the fixed caps on outgoing buffers.
11252
11253 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
11254         * check/elements/identity.c: (GST_START_TEST):
11255           Make the error a little clearer when the test fails because
11256           identity made a copy of the buffer.
11257         * docs/gst/gstreamer-sections.txt:
11258           New symbols in gstbasetransform.h
11259         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
11260         (gst_base_transform_init), (gst_base_transform_transform_size),
11261         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
11262         (gst_base_transform_default_prepare_buf),
11263         (gst_base_transform_get_unit_size),
11264         (gst_base_transform_buffer_alloc),
11265         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
11266         (gst_base_transform_change_state),
11267         (gst_base_transform_set_passthrough),
11268         (gst_base_transform_set_in_place),
11269         (gst_base_transform_is_in_place):
11270         * gst/base/gstbasetransform.h:
11271           Change BaseTransform to separate in_place operate from same_caps
11272           output. in_place implies that the element can perform the transform
11273           on incoming buffers in-place, even if the caps on the output are
11274           different.
11275           Sub-class elements can now implement special buffer allocation
11276           methods for outgoing buffers if they wish to.
11277           Big documentation addition.
11278         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
11279         * gst/elements/gstelements.c:
11280           Changes for basetransform modifications.
11281         * gst/elements/Makefile.am:
11282         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
11283           Compile fix. Extra debug output.
11284
11285 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11286
11287         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
11288         (gst_pad_suite):
11289           add tests for valid pad naming
11290         * gst/check/gstcheck.c: (gst_check_log_message_func),
11291         (gst_check_log_critical_func):
11292           add ASSERT_WARNING
11293           remove printing of code, it is fragile when the code contains
11294           % and the line number is enough info
11295         * gst/check/gstcheck.h:
11296         * gst/gstpad.c: (gst_pad_template_new):
11297           fix memleaks
11298
11299 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11300
11301         * configure.ac:
11302           say what CHECK flags we use
11303         * docs/libs/gstreamer-libs.types:
11304         * libs/gst/controller/Makefile.am:
11305         * libs/gst/controller/gst-controller.c:
11306         * libs/gst/controller/gst-controller.h:
11307         * libs/gst/controller/gst-helper.c:
11308         * libs/gst/controller/gst-interpolation.c:
11309         * libs/gst/controller/gstcontroller.c:
11310         * libs/gst/controller/gsthelper.c:
11311         * libs/gst/controller/gstinterpolation.c:
11312         * tools/gst-inspect.c: (print_plugin_info):
11313           we don't use dashes in header names
11314
11315 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
11316
11317         * check/Makefile.am:
11318         * check/gst/.cvsignore:
11319         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
11320         (gst_pipeline_suite), (main):
11321           adding a test for pipelines and state changes
11322         * gst/gstutils.c: (get_state_func):
11323           add some debugging
11324         * gstreamer.spec.in:
11325           fix up spec file
11326
11327 2005-09-08  Michael Smith <msmith@fluendo.com>
11328
11329         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
11330         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
11331         (gst_file_src_is_seekable), (gst_file_src_get_size),
11332         (gst_file_src_start):
11333         * gst/elements/gstfilesrc.h:
11334           Various fixes for unseekable, unmmapable, and non-normal files, so
11335           that fallback to read() rather than mmap() works.
11336         * gst/gstevent.c: (gst_event_new_newsegment):
11337           Allow newsegment events with segment_start == segment_end, as will
11338           correctly happen if you use filesrc on a zero-size file, for
11339           example.
11340
11341 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
11342
11343         * gst/gstplugin.c: (gst_plugin_load_file):
11344           Call g_module_close when we don't load the module
11345
11346         * gst/registries/gstlibxmlregistry.c:
11347         (gst_xml_registry_get_property):
11348           Port leak fix from 0.8
11349
11350 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
11351
11352         * docs/gst/gstreamer-docs.sgml:
11353         * docs/gst/tmpl/.cvsignore:
11354         * docs/gst/tmpl/gsttrace.sgml:
11355         * docs/gst/tmpl/gsttrashstack.sgml:
11356         * gst/Makefile.am:
11357         * gst/gst.h:
11358         * gst/gstelement.h:
11359         * gst/gstevent.h:
11360         * gst/gstmessage.c:
11361         * gst/gstmessage.h:
11362         * gst/gsttag.c:
11363         * gst/gsttag.h:
11364         * gst/gsttaginterface.c:
11365         * gst/gsttaginterface.h:
11366         * gst/gsttaglist.c:
11367         * gst/gsttaglist.h:
11368         * gst/gsttagsetter.c:
11369         * gst/gsttagsetter.h:
11370         * gst/gsttrace.c:
11371         * gst/gsttrace.h:
11372         * gst/gsttrashstack.c:
11373           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
11374           inlined docs for gsttrace, gsttrashstack
11375
11376 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
11377
11378         * gst/Makefile.am:
11379         * gst/elements/gstbufferstore.h:
11380         * gst/elements/gsttypefindelement.c:
11381         * gst/elements/gsttypefindelement.h:
11382         * gst/gst.h:
11383         * gst/gsttypefind.c:
11384         * gst/gsttypefind.h:
11385         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
11386         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
11387         (gst_type_find_factory_dispose),
11388         (gst_type_find_factory_unload_thyself),
11389         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
11390         (gst_type_find_factory_get_caps),
11391         (gst_type_find_factory_get_extensions),
11392         (gst_type_find_factory_call_function):
11393         * gst/gsttypefindfactory.h:
11394         * gst/registries/gstlibxmlregistry.c:
11395         * gst/registries/gstxmlregistry.c:
11396           splitted gsttypefind into gsttypefind, gsttypefindfactory
11397
11398 2005-09-07  Andy Wingo  <wingo@pobox.com>
11399
11400         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
11401         condition whereby the pad's task function is entered before the
11402         pad_mode variable was set.
11403
11404 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
11405
11406         * gst/gstpad.c: (gst_pad_alloc_buffer):
11407           Catch misbehaving pad_alloc functions that don't
11408           set up caps and do it for them.
11409
11410 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
11411
11412         * check/pipelines/simple_launch_lines.c: (run_pipeline):
11413           test for pipe!=NULL
11414         * docs/gst/tmpl/.cvsignore:
11415         * docs/gst/tmpl/gstmemchunk.sgml:
11416         * docs/gst/tmpl/gstparse.sgml:
11417         * docs/gst/tmpl/gsttaglist.sgml:
11418         * docs/gst/tmpl/gsttagsetter.sgml:
11419         * docs/gst/tmpl/gsttypefind.sgml:
11420         * docs/gst/tmpl/gsttypefindfactory.sgml:
11421         * gst/gstmemchunk.c:
11422         * gst/gstparse.c:
11423         * gst/gsttag.c:
11424         * gst/gsttaginterface.c:
11425         * gst/gsttypefind.c:
11426         * gst/gsttypefind.h:
11427           inlined more docs
11428
11429 === release 0.9.2 ===
11430
11431 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
11432
11433         * NEWS:
11434         * RELEASE:
11435         * configure.ac:
11436           releasing 0.9.2, "South"
11437
11438 2005-09-05  Andy Wingo  <wingo@pobox.com>
11439
11440         * gst/registries/gstxmlregistry.h:
11441         * gst/registries/gstxmlregistry.c: Um... resurrect...
11442         
11443         * gst/registries/gstxmlregistry.h:
11444         * gst/registries/gstxmlregistry.c: and update to newer API.
11445         Incidentally they should be a bit faster now that they don't have
11446         to parse the caps.
11447         
11448 2005-09-05  Andy Wingo  <wingo@pobox.com>
11449
11450         * gst/registries/gstxmlregistry.h:
11451         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
11452         replaced by the libxml registry a while back
11453
11454 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11455
11456         * docs/gst/tmpl/gstplugin.sgml:
11457         * gst/elements/gstelements.c:
11458         * gst/gst.c:
11459         * gst/gstplugin.c: (gst_plugin_register_func),
11460         (gst_plugin_desc_copy), (gst_plugin_desc_free),
11461         (gst_plugin_get_source):
11462         * gst/gstplugin.h:
11463         * gst/registries/gstlibxmlregistry.c: (load_plugin),
11464         (gst_xml_registry_save_plugin):
11465         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
11466         (gst_xml_registry_save_plugin):
11467         * tools/gst-inspect.c: (print_plugin_info):
11468           add a "source" plugin description field, to represent the source
11469           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
11470           will set it to PACKAGE, which is automake's idea of the name of
11471           the source project.
11472
11473 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11474
11475         * Makefile.am:
11476         * autogen.sh:
11477         * configure.ac:
11478         * docs/Makefile.am:
11479         * docs/faq/Makefile.am:
11480         * docs/gst/tmpl/gstelement.sgml:
11481         * docs/gst/tmpl/gsttypes.sgml:
11482         * docs/htmlinstall.mak:
11483         * docs/manual/Makefile.am:
11484         * docs/pwg/Makefile.am:
11485           reorganize doc build a little
11486           split out docbook and gtk-doc stuff
11487           have two separate --enable's and enable them through autogen
11488           but disable by default in configure (to be similar to other
11489           projects)
11490         * gstreamer.spec.in:
11491           clean up docs install
11492         * po/af.po:
11493         * po/az.po:
11494         * po/ca.po:
11495         * po/cs.po:
11496         * po/de.po:
11497         * po/en_GB.po:
11498         * po/fr.po:
11499         * po/it.po:
11500         * po/nb.po:
11501         * po/nl.po:
11502         * po/ru.po:
11503         * po/sq.po:
11504         * po/sr.po:
11505         * po/sv.po:
11506         * po/tr.po:
11507         * po/uk.po:
11508         * po/vi.po:
11509           translation updates
11510
11511 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
11512
11513         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
11514           Add comment.
11515           
11516         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
11517         (gst_fake_sink_change_state):
11518           Make state change function thread-safe.
11519           
11520         * gst/gstpad.c: (gst_pad_alloc_buffer):
11521           Set offset on generic buffer allocated by fallback.
11522
11523 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
11524
11525         * docs/gst/gstreamer-sections.txt:
11526         * docs/gst/tmpl/gstelement.sgml:
11527         * gst/gstpad.c:
11528         * libs/gst/controller/gst-controller.c:
11529         (gst_controlled_property_set_interpolation_mode),
11530         (gst_controlled_property_new),
11531         (gst_controller_find_controlled_property):
11532          run the wingo-magic script against the docs
11533
11534 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
11535
11536         * docs/gst/gstreamer-docs.sgml:
11537         * docs/gst/gstreamer-sections.txt:
11538         * docs/gst/tmpl/.cvsignore:
11539         * docs/gst/tmpl/gstelementdetails.sgml:
11540         * docs/gst/tmpl/gstelementfactory.sgml:
11541         * gst/gst.c:
11542         * gst/gstbus.c:
11543         * gst/gstelementfactory.c:
11544         * gst/gstelementfactory.h:
11545           merged elementdetails docs into elementfactory docs
11546           inlined both
11547
11548 2005-09-02  Andy Wingo  <wingo@pobox.com>
11549
11550         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
11551         consider this enum an enum and not a flags.
11552
11553 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
11554
11555         * docs/gst/gstreamer-docs.sgml:
11556         * docs/gst/tmpl/.cvsignore:
11557         * docs/gst/tmpl/gstghostpad.sgml:
11558         * docs/gst/tmpl/gstiterator.sgml:
11559         * docs/gst/tmpl/gstmacros.sgml:
11560         * docs/gst/tmpl/gstrealpad.sgml:
11561         * docs/gst/tmpl/gstregistry.sgml:
11562         * docs/gst/tmpl/gstregistrypool.sgml:
11563         * docs/gst/tmpl/gststructure.sgml:
11564         * docs/gst/tmpl/gstsystemclock.sgml:
11565         * docs/gst/tmpl/gsttrace.sgml:
11566         * gst/gstghostpad.c:
11567         * gst/gstmacros.h:
11568         * gst/gstmemchunk.c:
11569         * gst/gstmemchunk.h:
11570         * gst/gstqueue.c:
11571         * gst/gstregistry.c:
11572         * gst/gstregistrypool.c:
11573         * gst/gststructure.c:
11574         * gst/gstsystemclock.c:
11575           more docs inlined
11576
11577 2005-09-02  Andy Wingo  <wingo@pobox.com>
11578
11579         * gst/gstelement.h (GstState): Renamed from GstElementState,
11580         changed to be a normal enum instead of flags.
11581         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
11582         munged to be GST_STATE_CHANGE_*.
11583         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
11584         work with the new state representation.
11585         (GstStateChange): New enumeration of possible state transitions.
11586         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
11587         (GstElementClass::change_state): Pass the GstStateChange along as
11588         an argument. Helps language bindings, so they don't have to use
11589         tricky lock-needing macros like GST_STATE_CHANGE ().
11590
11591         * scripts/update-states (file): New script. Run it on a file to
11592         update it for state naming and API changes. Updates files in
11593         place.
11594
11595         * All files updated for the new API.
11596
11597 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11598
11599         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
11600         * gst/gstutils.c: (gst_util_set_value_from_string),
11601         (gst_util_set_object_arg):
11602           fix a bunch of unchecked return values
11603         * tools/gst-complete.c: (main):
11604         * gstreamer.spec.in:
11605           clean up a little
11606
11607 2005-09-01  Wim Taymans  <wim@fluendo.com>
11608
11609         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
11610         (gst_base_sink_event), (gst_base_sink_do_sync),
11611         (gst_base_sink_handle_event):
11612         * gst/base/gstbasesink.h:
11613         Handle newsegments more correctly.
11614
11615         * gst/gstbus.c:
11616         Fix docs.
11617
11618         * gst/gstevent.c: (gst_event_new_newsegment):
11619         A newsegment cannot have a start_time of -1
11620
11621 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
11622
11623         * win32/gstenumtypes.c:
11624         * win32/gstenumtypes.h:
11625           Update
11626
11627 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
11628
11629         * libs/gst/controller/gst-controller.c:
11630         (gst_controlled_property_set_interpolation_mode),
11631         (gst_controlled_property_new):
11632          fixed boolean again
11633
11634 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
11635
11636         * docs/faq/gst-uninstalled:
11637           add -good
11638         * gst/gstevent.c:
11639         * gst/gstevent.h:
11640           remove wrong docs
11641         * gst/gstutils.c: (gst_element_link_filtered):
11642         * gst/gstutils.h:
11643           add gst_element_link_filtered
11644
11645 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
11646
11647         * docs/gst/gstreamer-docs.sgml:
11648         * docs/gst/gstreamer-sections.txt:
11649         * docs/gst/tmpl/.cvsignore:
11650         * docs/gst/tmpl/gsterror.sgml:
11651         * docs/gst/tmpl/gstfilter.sgml:
11652         * docs/gst/tmpl/gsturihandler.sgml:
11653         * docs/gst/tmpl/gsturitype.sgml:
11654         * docs/gst/tmpl/gstutils.sgml:
11655         * docs/gst/tmpl/gstxml.sgml:
11656         * gst/gsterror.c:
11657         * gst/gsterror.h:
11658         * gst/gstfilter.c:
11659         * gst/gsturi.c:
11660         * gst/gsturitype.c:
11661         * gst/gstutils.c:
11662         * gst/gstxml.c:
11663           inlined more docs, fixed double id-ref
11664
11665 2005-08-31  Wim Taymans  <wim@fluendo.com>
11666
11667         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11668         (gst_base_transform_handle_buffer):
11669         Passthrough elements don't need the caps as they don't care.
11670
11671 2005-08-31  Wim Taymans  <wim@fluendo.com>
11672
11673         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
11674         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
11675         Don't leak refcounts on buffers.
11676
11677 2005-08-31  Wim Taymans  <wim@fluendo.com>
11678
11679         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
11680         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
11681         (gst_base_transform_chain), (gst_base_transform_change_state):
11682         * gst/base/gstbasetransform.h:
11683         Handle the case where we are not negotiated more gracefully.
11684
11685 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
11686
11687         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
11688         (gst_file_src_map_region):
11689           Set READONLY flag on mmap'ed buffers, otherwise
11690           gst_buffer_make_writable() won't work properly (#314708).
11691
11692 2005-08-31  Wim Taymans  <wim@fluendo.com>
11693
11694         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
11695         passthrough elements can even do inplace on non writable
11696         buffers (as they don't touch them).
11697
11698 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
11699
11700         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
11701         (gst_test_mono_source_set_property),
11702         (gst_test_mono_source_class_init), (GST_START_TEST),
11703         (gst_controller_suite):
11704           more tests (hehe I have the most)
11705         * gst/gstbus.c:
11706           describe popping messages whenusing mulltiple sources
11707         * libs/gst/controller/gst-controller.c:
11708         (gst_controlled_property_set_interpolation_mode),
11709         (gst_controlled_property_new):
11710         * libs/gst/controller/gst-controller.h:
11711         * libs/gst/controller/gst-interpolation.c:
11712           implement boolean properties
11713
11714 2005-08-31  Wim Taymans  <wim@fluendo.com>
11715
11716         * gst/gstminiobject.c: (gst_mini_object_ref):
11717         Cannot assert that the refcount has to be positive
11718         since a disposed object can be resurrected.
11719
11720 2005-08-31  Wim Taymans  <wim@fluendo.com>
11721
11722         * gst/gstpad.c: (gst_pad_init):
11723         Revert change, need to first fix badly behaving 
11724         apps.
11725
11726 2005-08-30  Wim Taymans  <wim@fluendo.com>
11727
11728         * check/elements/fakesrc.c: (setup_fakesrc):
11729         * check/elements/identity.c: (setup_identity):
11730         Activate pads before using them.
11731
11732 2005-08-30  Wim Taymans  <wim@fluendo.com>
11733
11734         * gst/base/gstadapter.c: (gst_adapter_flush):
11735         Flushing out 0 bytes is ok for this function.
11736
11737         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11738         no newsegment gives a warning and sets the start/stop to 
11739         invalid.
11740
11741         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
11742         (gst_base_transform_set_passthrough):
11743         Some debug info.
11744
11745         * gst/gstminiobject.c: (gst_mini_object_ref):
11746         Check refcount here too.
11747
11748         * gst/gstpad.c: (gst_pad_init):
11749         Pads are initially flushing and refusing data.
11750
11751         * gst/gstutils.c: (gst_element_link_pads_filtered):
11752         When adding a capsfilter element make sure it has the
11753         same state as the parent bin.
11754
11755 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
11756
11757         * docs/gst/tmpl/.cvsignore:
11758         * docs/gst/tmpl/gstformat.sgml:
11759         * docs/gst/tmpl/gstversion.sgml:
11760         * gst/gstbus.h:
11761         * gst/gstformat.c:
11762         * gst/gstformat.h:
11763         * gst/gstversion.h.in:
11764           more docs and two more inlined
11765
11766 2005-08-30  Wim Taymans  <wim@fluendo.com>
11767
11768         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
11769         Don't sync to clock.
11770
11771 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
11772
11773         * docs/gst/gstreamer-sections.txt:
11774           ultral33t func10ns deserve to appear in the docs actually
11775         * docs/gst/tmpl/.cvsignore:
11776         * docs/gst/tmpl/gstcompat.sgml:
11777         * docs/gst/tmpl/gstconfig.sgml:
11778         * gst/check/gstcheck.c:
11779         * gst/gstcompat.h:
11780         * gst/gstconfig.h.in:
11781           inlined more docs
11782
11783 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
11784
11785         * docs/gst/tmpl/.cvsignore:
11786         * docs/gst/tmpl/gstquery.sgml:
11787         * docs/gst/tmpl/gstutils.sgml:
11788         * gst/gstquery.c:
11789         * gst/gstquery.h:
11790           inlined and extended docs
11791
11792 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
11793
11794         * check/gst-libs/controller.c: (GST_START_TEST),
11795         (gst_controller_suite):
11796           more tests
11797         * docs/gst/tmpl/gstutils.sgml:
11798         * docs/libs/gstreamer-libs-sections.txt:
11799         * docs/libs/tmpl/gstdataprotocol.sgml:
11800           include path fixes
11801         * examples/controller/audio-example.c: (main):
11802           controller example works now
11803         * gst/gstclock.h:
11804           doc fixes
11805         * tools/gst-inspect.c: (print_element_properties_info):
11806           show param spec flags
11807
11808 2005-08-29  Andy Wingo  <wingo@pobox.com>
11809
11810         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
11811
11812 2005-08-28  Andy Wingo  <wingo@pobox.com>
11813
11814         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
11815         as having two arguments instead of just one. Allows superclasses
11816         to access information on subclasses -- see the terrible for() loop
11817         in gtype.c:g_type_create_instance for the reason why. All callers
11818         changed.
11819
11820 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
11821
11822         * docs/design/part-messages.txt:
11823           update info
11824         * docs/gst/tmpl/.cvsignore:
11825         * docs/gst/tmpl/gstcaps.sgml:
11826         * docs/gst/tmpl/gstclock.sgml:
11827         * gst/gstbus.c:
11828         * gst/gstcaps.c:
11829         * gst/gstcaps.h:
11830         * gst/gstclock.c:
11831         * gst/gstclock.h:
11832         * gst/gstmessage.c:
11833           added descriptions for bus and message
11834           inline caps and clock docs
11835
11836 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
11837
11838         * gst/gstmessage.c:
11839         * gst/gstmessage.h:
11840           doc fixes
11841
11842 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
11843
11844         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
11845           fix div-by-zero
11846
11847 2005-08-26  Andy Wingo  <wingo@pobox.com>
11848
11849         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
11850         element_set_state's return val.
11851         (test_2_elements): Add test that's been disabled for months.
11852
11853         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
11854         can-activate-pull properties.
11855
11856         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
11857         can-activate-pull properties. Implement is_seekable so fakesrc can
11858         operate in pull mode.
11859
11860         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
11861         properties.
11862         (gst_base_sink_activate, gst_base_sink_activate_pull)
11863         (gst_base_sink_activate_push): Make activation mode choosing work.
11864         Cleanups.
11865         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
11866         is right. Make pull mode work. Post an eos before pausing in pull
11867         mode.
11868         (gst_base_sink_change_state): Pay attention to the core's
11869         change_state() return val.
11870         
11871         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
11872         has-getrange properties. Cleanups.
11873         
11874         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
11875         has_getrange and replace with can_activate_pull and
11876         can_activate_push.
11877
11878         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
11879         locking comments. Remove has_loop, has_chain and replace with
11880         can_activate_pull and can_activate_push.
11881
11882 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
11883
11884         * configure.ac:
11885         * examples/Makefile.am:
11886         * examples/metadata/Makefile.am:
11887         * examples/metadata/read-metadata.c: (message_loop),
11888         (have_pad_handler), (make_pipeline), (print_tag), (main):
11889           Add metadata reading example that loops over a list of filenames,
11890           dumping any tags found.
11891
11892         * gst/gstbus.c: (gst_bus_dispose):
11893         * gst/gstelement.c: (gst_element_dispose):
11894           Release a few potentially-held references in dispose.
11895
11896 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
11897
11898         * docs/gst/tmpl/gstminiobject.sgml:
11899           do *not* add tmpl/*.sgml files to CVS!
11900
11901 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
11902
11903         * libs/gst/bytestream/.cvsignore:
11904         * libs/gst/bytestream/Makefile.am:
11905         * libs/gst/bytestream/adapter.c:
11906         * libs/gst/bytestream/adapter.h:
11907         * libs/gst/bytestream/bytestream.c:
11908         * libs/gst/bytestream/bytestream.h:
11909         * libs/gst/bytestream/filepad.c:
11910         * libs/gst/bytestream/filepad.h:
11911           removing obsolete files
11912
11913 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
11914
11915         * docs/gst/gstreamer-docs.sgml:
11916         * docs/libs/gstreamer-libs-docs.sgml:
11917           disabed additional index entries again, as this makes docs-gen just
11918           slow and they aren't useful yet
11919         * docs/libs/gstreamer-libs-sections.txt:
11920           little -section.txt cleanup for libs
11921
11922 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
11923
11924         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
11925         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
11926           fix up some debugging
11927         (gst_base_transform_get_unit_size),
11928         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
11929         (gst_base_transform_handle_buffer):
11930         * gst/base/gstbasetransform.h:
11931           handle and store timed NEWSEGMENT events so that subclasses that
11932           calculate time by counting samples have a segment_start time they
11933           need to add to their timestamps - see audioresample
11934
11935 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
11936
11937         * gst/gstbin.h:
11938           removed ';' from the end of macro defs
11939         * docs/gst/gstreamer-docs.sgml:
11940         * docs/gst/gstreamer-sections.txt:
11941         * docs/gst/tmpl/.cvsignore:
11942         * gst/gstbus.h:
11943         * gst/gstelement.c: (gst_element_class_init),
11944         (gst_element_set_state), (activate_pads),
11945         (gst_element_save_thyself):
11946         * gst/gstevent.c: (gst_event_new_newsegment):
11947         * gst/gstevent.h:
11948         * gst/gstiterator.c:
11949         * gst/gstiterator.h:
11950         * gst/gstpad.c:
11951         * gst/gstprobe.h:
11952         * gst/gstutils.c: (gst_pad_query_convert):
11953         * gst/gstutils.h:
11954           fixed parameter name mismatches between source, header and docs
11955           added some more docs, resolved the last batch of unused elements in
11956           docs (now someone needs to doc them)
11957
11958 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11959
11960         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
11961         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
11962           don't walk through the plugins backwards.  Where is all this
11963           reversed logic coming from ?
11964
11965 2005-08-25  Wim Taymans  <wim@fluendo.com>
11966
11967         * gst/base/gstbasetransform.c: (gst_base_transform_init),
11968         (gst_base_transform_transform_size),
11969         (gst_base_transform_configure_caps),
11970         (gst_base_transform_get_unit_size),
11971         (gst_base_transform_buffer_alloc),
11972         (gst_base_transform_change_state):
11973         * gst/base/gstbasetransform.h:
11974         Cache caps unit_size.
11975         Make sure we cannot negotiate up and downstream at the
11976         same time.
11977
11978 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11979
11980         * gst/gst.c: (init_pre), (init_post):
11981           register the installed plugin path after the env var
11982         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
11983         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
11984           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
11985           directories, so the tests can prefer uninstalled over installed
11986
11987 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
11988
11989         * gst/base/gstbasetransform.h:
11990           comment
11991         * gst/gstpad.c:
11992           add to docs
11993
11994 2005-08-25  Wim Taymans  <wim@fluendo.com>
11995
11996         * gst/gstbin.c: (bin_bus_handler):
11997         Be a bit more conservative about the posted message.
11998         
11999         * gst/gstbus.c: (gst_bus_post):
12000         Some cleanups, warn wrong return values.
12001
12002 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
12003
12004         * check/gst/gstbin.c: (GST_START_TEST):
12005         * gst/gstbin.c: (bin_bus_handler):
12006         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12007         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12008         (gst_message_new_warning), (gst_message_new_tag),
12009         (gst_message_new_state_changed), (gst_message_new_segment_start),
12010         (gst_message_new_segment_done), (gst_message_new_custom):
12011         * gst/gstmessage.h:
12012         * tools/gst-launch.c: (event_loop):
12013         * tools/gst-md5sum.c: (event_loop):
12014           Revert unpopular change for GST_MESSAGE_SRC to GObject.
12015
12016 2005-08-25  Wim Taymans  <wim@fluendo.com>
12017
12018         * check/generic/states.c: (GST_START_TEST):
12019         Cleanup can be done at the end.
12020
12021         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
12022         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12023         (gst_task_get_state), (gst_task_start), (gst_task_pause):
12024         Oh boy.. Thanks for finding this, Thomas. 
12025
12026 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
12027
12028         * docs/gst/gstreamer.types:
12029           added missing types
12030
12031 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
12032
12033         * docs/gst/gstreamer-docs.sgml:
12034         * docs/gst/gstreamer-sections.txt:
12035         * docs/gst/tmpl/.cvsignore:
12036         * gst/gstbin.c:
12037         * gst/gstiterator.c:
12038         * gst/gstutils.c:
12039         * gst/registries/gstxmlregistry.h:
12040           added missing classes and symbols (123 more to go)
12041           removed removed symbols from section file
12042           fixed many doc-comments
12043
12044 2005-08-24  Wim Taymans  <wim@fluendo.com>
12045
12046         * check/generic/states.c: (GST_START_TEST):
12047         Make sure all tasks are stopped.
12048
12049         * check/gst/gstbin.c: (GST_START_TEST):
12050         Unref after usage for proper valgrinding.
12051
12052         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
12053         Really wait for the task to stop before destroying the
12054         mutex.
12055
12056         * gst/gstqueue.c: (gst_queue_sink_activate_push),
12057         (gst_queue_src_activate_push):
12058         Small cleanups. Don't stop the task when we did not start
12059         it.
12060
12061         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
12062         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
12063         (gst_task_get_state), (gst_task_start), (gst_task_pause),
12064         (gst_task_join):
12065         * gst/gsttask.h:
12066         Protect the stream lock with the object lock.
12067         Disallow setting the stream lock when running.
12068         Add cleanup_all to wait for the threadpool to finish.
12069         Remove code to autoallocate a mutex if none was provided.
12070         Add _join() to wait for a task to stop.
12071         Protect the thread pool with a global lock.
12072
12073 2005-08-24  Wim Taymans  <wim@fluendo.com>
12074
12075         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
12076         (gst_base_sink_get_times), (gst_base_sink_do_sync),
12077         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
12078         * gst/base/gstbasesink.h:
12079         Handle newsegment events correctly.
12080         Drop buffers out of the segment range.
12081
12082 2005-08-22  Andy Wingo  <wingo@pobox.com>
12083
12084         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
12085         macro, implements an interface and gstimplementsinterface for a
12086         new type.
12087
12088 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12089
12090         * check/Makefile.am:
12091         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
12092           add a test that does a bunch of state changes on elements
12093           needs some fixing for valgrind
12094         * check/states/sinks.c: (gst_object_suite):
12095           whitespace
12096         * gst/gstcaps.h:
12097           add prototype for gst_caps_is_equal_fixed
12098         * gst/gstplugin.c:
12099         * gst/gstregistrypool.c:
12100           doc fixes
12101
12102 2005-08-24  Andy Wingo  <wingo@pobox.com>
12103
12104         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
12105         convert a negative value. Doesn't make much sense. Mostly this is
12106         here to force callers to ensure -1 maps to -1.
12107
12108 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
12109
12110         * docs/pwg/advanced-types.xml:
12111           Well done to Michael for catching my deliberate introduction
12112           of this spelling mistake. 
12113         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
12114         * gst/gstelement.h:
12115           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
12116           unlink pads before removing the element from the bin.
12117
12118 2005-08-24  Andy Wingo  <wingo@pobox.com>
12119
12120         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
12121         the same thing as GST_DEBUG=*:4.
12122         (parse_debug_level, parse_debug_category): New helper parsers.
12123
12124 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12125
12126         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12127         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
12128         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
12129         (gst_base_transform_buffer_alloc),
12130         (gst_base_transform_handle_buffer):
12131           use gboolean return values and pointers to size so we can use the
12132           full GST_BUFFER_SIZE range (guint) for buffer sizes
12133           use GstPadDirection for transform_caps
12134         * gst/base/gstbasetransform.h:
12135           rename get_size to get_unit_size since that's what it is
12136         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
12137           use GstPadDirection for transform_caps
12138         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12139         * gst/gstutils.h:
12140           cleanup and debugging
12141
12142 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
12143
12144         * gst/gstelement.c: (gst_element_class_init),
12145         (gst_element_set_state), (activate_pads),
12146         (gst_element_save_thyself):
12147         * tools/gst-compprep.c: (main):
12148         * tools/gst-inspect.c: (print_element_properties_info):
12149         * tools/gst-xmlinspect.c: (print_element_properties):
12150           Fixed long standing mem-leak
12151
12152 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
12153
12154         * check/gst/gstbin.c: (GST_START_TEST):
12155         * gst/gstbin.c: (bin_bus_handler):
12156         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
12157         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
12158         (gst_message_new_warning), (gst_message_new_tag),
12159         (gst_message_new_state_changed), (gst_message_new_segment_start),
12160         (gst_message_new_segment_done), (gst_message_new_custom):
12161         * gst/gstmessage.h:
12162         * tools/gst-launch.c: (event_loop):
12163         * tools/gst-md5sum.c: (event_loop):
12164           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
12165           that applications can sensibly post custom messages with references
12166           to their own objects.
12167
12168 2005-08-24  Andy Wingo  <wingo@pobox.com>
12169
12170         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
12171         already.
12172
12173 2005-08-24  Wim Taymans  <wim@fluendo.com>
12174
12175         * gst/base/gstbasetransform.c: (gst_base_transform_init),
12176         (gst_base_transform_transform_caps),
12177         (gst_base_transform_transform_size),
12178         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
12179         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
12180         (gst_base_transform_handle_buffer):
12181         * gst/base/gstbasetransform.h:
12182         Many fixes and new features added by Thomas. Can now also do
12183         transforms with variable sizes and a custom fixate_caps function.
12184
12185 2005-08-24  Wim Taymans  <wim@fluendo.com>
12186
12187         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12188         Some debugging.
12189
12190         * gst/gstclock.h:
12191         Cast to ClockTime before formatting to time.
12192
12193         * gst/gstutils.h:
12194         Cleanups.
12195
12196 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
12197
12198         * check/gst-libs/controller.c: (GST_START_TEST),
12199         (gst_controller_suite):
12200         * docs/gst/tmpl/gstcaps.sgml:
12201         * docs/gst/tmpl/gstghostpad.sgml:
12202         * docs/gst/tmpl/gstquery.sgml:
12203         * docs/gst/tmpl/gstutils.sgml:
12204         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
12205         (gst_object_sink_values), (gst_object_get_value_arrays),
12206         (gst_object_get_value_array):
12207           gracefully handle helper method calls to objects that are not beeing
12208           controlled, added test case for that          
12209
12210 2005-08-23  Wim Taymans  <wim@fluendo.com>
12211
12212         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
12213         (gst_event_new_newsegment), (gst_event_parse_newsegment),
12214         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
12215         (gst_event_parse_qos), (gst_event_new_seek),
12216         (gst_event_parse_seek):
12217         * gst/gstevent.h:
12218         Some more debugging output and doc cleanups.
12219
12220         * gst/gstqueue.c: (gst_queue_handle_sink_event):
12221         Fix possible deadlock.
12222
12223 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
12224
12225         * docs/gst/gstreamer-docs.sgml:
12226         * docs/gst/gstreamer-sections.txt:
12227         * docs/gst/gstreamer.types:
12228         * docs/gst/tmpl/.cvsignore:
12229         * gst/gstbin.h:
12230         * gst/gstbus.c:
12231         * gst/gstelement.c:
12232         * gst/gstevent.h:
12233           added 100 symbols from gstreamer-unused.txt to the right sections
12234           fixed more broken comments
12235           added GstBus to docs
12236
12237 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
12238
12239         * docs/gst/gstreamer-sections.txt:
12240         * docs/gst/tmpl/.cvsignore:
12241         * docs/gst/tmpl/gstbin.sgml:
12242         * docs/gst/tmpl/gstbuffer.sgml:
12243         * gst/base/gstbasesrc.c:
12244         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
12245         * gst/gstbuffer.c:
12246         * gst/gstbuffer.h:
12247         * tools/gst-launch.1.in:
12248           inlined more doc comments, added missing comments and fixed comments
12249           fixed typos
12250
12251 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
12252
12253         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
12254           some debugging
12255         * gst/gstcaps.h:
12256           whitespace fixes
12257         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
12258           more debugging
12259         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
12260         * gst/gststructure.h:
12261           add a fixate function for booleans; add a FIXME that these func
12262           names should probably be gst_structure_fixate_*
12263
12264 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
12265
12266         * docs/gst/gstreamer-docs.sgml:
12267         * docs/gst/gstreamer-sections.txt:
12268         * gst/Makefile.am:
12269         * gst/gstbin.c: (gst_bin_get_type),
12270         (gst_bin_child_proxy_get_child_by_index),
12271         (gst_bin_child_proxy_get_children_count),
12272         (gst_bin_child_proxy_init):
12273         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
12274         (gst_child_proxy_get_child_by_index),
12275         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
12276         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
12277         (gst_child_proxy_get), (gst_child_proxy_set_property),
12278         (gst_child_proxy_set_valist), (gst_child_proxy_set),
12279         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
12280         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
12281         * gst/gstchildproxy.h:
12282         * gst/parse/grammar.y:
12283         * tools/gst-inspect.c: (print_interfaces),
12284         (print_element_properties_info), (print_element_info):
12285           ported gstchildproxy over from 0.8
12286           ported gst-inspect fixes and enhancements over from 0.8
12287
12288 2005-08-22  Wim Taymans  <wim@fluendo.com>
12289
12290         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
12291         (gst_base_transform_handle_buffer):
12292         Also call the transform function if we have ANY caps.
12293
12294         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
12295         Fix debug info.
12296
12297 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
12298
12299         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
12300           Don't pretend to handle seek events if the source is not seekable
12301
12302 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
12303
12304         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12305           Remove extra parameter to debug output
12306
12307         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12308         (gst_base_src_do_seek), (gst_base_src_activate_push):
12309           Fix seek event handling.
12310
12311         * gst/gstpipeline.c: (gst_pipeline_change_state):
12312         * gst/gstqueue.c: (gst_queue_handle_sink_event),
12313         (gst_queue_src_activate_push):
12314           Don't start the src pad task on FLUSH_STOP if the pad
12315           isn't linked.
12316           Debug changes.
12317
12318 2005-08-22  Wim Taymans  <wim@fluendo.com>
12319
12320         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
12321         Added check for gst_static_caps_get() refcounting.
12322
12323 2005-08-22  Wim Taymans  <wim@fluendo.com>
12324
12325         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
12326         Make _static_caps_get() refcounting sane.
12327         
12328         * gst/gstelement.c: (gst_element_set_state):
12329         Add g_return_val_if_fail() to protect against segfaults.
12330
12331 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
12332
12333         * docs/gst/tmpl/gstevent.sgml:
12334         * gst/gstevent.c:
12335         * gst/gstevent.h:
12336           inlined remaining docs, added missing doc comments
12337
12338 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12339
12340         * check/gst/gstbin.c: (GST_START_TEST):
12341           since we don't know when preroll is done, use refcount range
12342           check for the sink
12343         * gst/check/gstcheck.h:
12344           add macro for checking refcount range
12345
12346 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12347
12348         * check/Makefile.am:
12349           clean up environment for when registry gets built versus
12350           when actual tests are run; valgrind seems to not report
12351           leaks if GST_PLUGIN_PATH is set to some specific values
12352         * check/gst/gstbin.c: (GST_START_TEST):
12353           add more refcounting checks; maybe this exposes a
12354           preroll lock bug ?
12355         * common/check.mak:
12356         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12357         * gst/check/gstcheck.h:
12358         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
12359         (gst_bin_change_state):
12360         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
12361           add/fix debugging/whitespace
12362
12363 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
12364
12365         * check/gst/gstevent.c: (event_probe), (test_event),
12366         (GST_START_TEST):
12367          Er, don't call gst_bin_watch_for_state_change you idiot.
12368
12369 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
12370
12371         * check/Makefile.am:
12372           Use CHECK_CFLAGS and CHECK_LIBS
12373         * check/gst/gstevent.c: (event_probe), (test_event),
12374         (GST_START_TEST):
12375           Don't leak events.
12376         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
12377         (gst_base_src_start), (gst_base_src_stop),
12378         (gst_base_src_activate_push), (gst_base_src_activate_pull),
12379         (gst_base_src_change_state):
12380           Sprinkle gst_base_src_stop liberally around error paths to fix
12381           problems reusing a source after failed state changes.
12382         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12383         (helper_find_suggest), (gst_type_find_helper):
12384           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
12385         * gst/gstevent.h:
12386         * docs/gst/tmpl/gstevent.sgml:
12387           Migrate part of the docs from the SGML file. Wait for ensonic to
12388           tell me how I did it wrong ;)
12389         * tools/gst-typefind.c: (main):
12390           Extra robustness to state changes between files.
12391
12392 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
12393
12394         * check/Makefile.am:
12395           don't valgrind the controller test - it's leaking - Stefan, HELP
12396         * gst/check/gstcheck.c: (gst_check_message_error),
12397         (gst_check_chain_func), (gst_check_setup_element),
12398         (gst_check_teardown_element), (gst_check_setup_src_pad),
12399         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
12400         (gst_check_teardown_sink_pad):
12401         * gst/check/gstcheck.h:
12402           add a bunch of methods to set up elements, and src and sink pads
12403         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
12404         * check/elements/identity.c: (setup_identity), (cleanup_identity),
12405         (GST_START_TEST):
12406           use them
12407         * gst/gstmessage.c:
12408         * gst/gsttag.h:
12409           whitespace/doc fixes
12410
12411 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12412
12413         * gst/gstelement.h:
12414           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
12415           be handled by the application and not always printed as well
12416
12417 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12418
12419         * check/Makefile.am:
12420           set GST_TOOLS_DIR
12421         * gst/check/gstcheck.c: (gst_check_message_error):
12422         * gst/check/gstcheck.h:
12423           add a fail_unless_equals_int
12424           add fail_unless for error messages
12425
12426 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12427
12428         * check/Makefile.am:
12429         * check/gst.supp:
12430         * common/Makefile.am:
12431         * common/check.mak:
12432         * common/gst.supp:
12433           factor out some of the common stuff so we can use it
12434
12435 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12436
12437         * check/Makefile.am:
12438         * check/gst/gstiterator.c: (GST_START_TEST):
12439         * check/gst/gstsystemclock.c: (GST_START_TEST),
12440         (gst_systemclock_suite):
12441         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
12442         * gst/gstclock.c:
12443           valgrind more tests
12444
12445 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
12446
12447         * check/elements/.cvsignore:
12448         * check/elements/gstfakesrc.c:
12449           rename to name of element
12450         * check/elements/identity.c: (chain_func), (event_func),
12451         (setup_identity), (cleanup_identity), (GST_START_TEST),
12452         (identity_suite), (main):
12453           add a test for identity
12454         * check/Makefile.am:
12455         * pkgconfig/Makefile.am:
12456         * pkgconfig/gstreamer-check.pc.in:
12457         * pkgconfig/gstreamer-check-uninstalled.pc.in:
12458         * gst/check:
12459         * gst/Makefile.am:
12460         * configure.ac:
12461           move the check stuff to a library that gets installed
12462         * check/gst-libs/controller.c: (GST_START_TEST):
12463         * check/gst-libs/gdp.c:
12464         * check/gst/gst.c: (GST_START_TEST):
12465         * check/gst/gstbin.c:
12466         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12467         * check/gst/gstbus.c:
12468         * check/gst/gstcaps.c: (GST_START_TEST):
12469         * check/gst/gstelement.c:
12470         * check/gst/gstghostpad.c:
12471         * check/gst/gstiterator.c:
12472         * check/gst/gstmessage.c:
12473         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
12474         * check/gst/gstobject.c:
12475         * check/gst/gstpad.c: (GST_START_TEST):
12476         * check/gst/gststructure.c: (GST_START_TEST):
12477         * check/gst/gstsystemclock.c: (GST_START_TEST),
12478         (gst_systemclock_suite):
12479         * check/gst/gsttag.c: (gst_tag_suite):
12480         * check/gst/gstvalue.c:
12481         * check/pipelines/cleanup.c:
12482         * check/pipelines/simple_launch_lines.c:
12483         * check/states/sinks.c:
12484           change include statement
12485
12486         * docs/gst/gstreamer-sections.txt:
12487         * docs/gst/tmpl/gstpad.sgml:
12488           document more pad stuff
12489         * gst/gstminiobject.c: (gst_mini_object_ref),
12490         (gst_mini_object_unref):
12491           debug refcounting
12492
12493 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
12494
12495         * docs/gst/tmpl/gst.sgml:
12496         * gst/gst.c:
12497           eliminate another tmpl file, fix spelling in the long-description
12498
12499 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12500
12501         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12502         (test_event), (timediff), (gstevents_suite):
12503           Should fix build on 64-bit arch's
12504
12505 2005-08-18  Andy Wingo  <wingo@pobox.com>
12506
12507         Make sure that when a pipeline goes to PLAYING, that data has
12508         actually hit the sink.
12509
12510         * check/states/sinks.c (test_sink): A sink that doesn't get any
12511         data shouldn't return SUCCESS for going to either PLAYING or
12512         PAUSED. Test also the return values on the way back down.
12513
12514         * gst/gstelement.c (gst_element_set_state): When changing the
12515         state of an element currently changing state asynchronously, go to
12516         lost-state after commiting the pending state. Makes future calls
12517         to get_state continue to return ASYNC.
12518
12519         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
12520         ASYNC when going to PLAYING if we still don't have preroll, as can
12521         happen with live sources.
12522
12523 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12524
12525         * docs/pwg/advanced-types.xml:
12526           Hack long paragraph into 2 chunks as a workaround for buggy
12527           jadetex version in sid and breezy that loops infinitely and
12528           eats all RAM.
12529
12530 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12531
12532         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12533         (test_event), (timediff), (gstevents_suite):
12534           Provide more error margin in clock measurements to allow for 
12535           g_get_current_time inaccuracies.
12536
12537 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12538
12539         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12540         (test_event), (timediff), (gstevents_suite):
12541            Fix error message output so I might be able to tell why the
12542            test works here but fails on the build farm.
12543
12544 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
12545
12546         * check/Makefile.am:
12547         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
12548         (test_event), (timediff), (gstevents_suite), (main):
12549           I wrote a test!
12550
12551         * docs/design/part-seeking.txt:
12552           Spelling correction
12553
12554         * docs/gst/tmpl/gstevent.sgml:
12555         * docs/gst/tmpl/gstfakesrc.sgml:
12556           Docs updates.
12557
12558         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
12559           Treat a buffer-without-newsegment the same as a receiving 
12560           a newsegment not in time format, and disable syncing to the clock
12561           with a warning.
12562
12563         * gst/gstbus.c: (gst_bus_set_sync_handler):
12564           Assert if anyone tries to replace the existing sync_handler for bus, 
12565           as only the owner should be setting it.
12566
12567         * gst/gstevent.h:
12568           Have a fixed set of custom event enums with events identified by
12569           their structure name (as in 0.8), rather than a free-for-all
12570           allowing collisions between enum values from different plugins.
12571
12572         * gst/gstpad.c: (gst_pad_class_init):
12573           Docs change.
12574           
12575         * gst/gstqueue.c: (gst_queue_handle_sink_event):
12576           Handle out-of-band downstream events from the sending thread.
12577
12578 2005-08-17  Andy Wingo  <wingo@pobox.com>
12579
12580         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
12581         play-timeout==0 to mean no timeout at all. In that case, don't
12582         bother with a get_state or a warning, just return directly, even
12583         if it's ASYNC.
12584
12585         * gst/base/gstbasetransform.c: Debug changes.
12586
12587         * gst/gstutils.h:
12588         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
12589         ensure bins post state change messages. A bit of a hack but I can't
12590         think of a way to avoid it.
12591
12592         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
12593
12594 2005-08-16  Andy Wingo  <wingo@pobox.com>
12595
12596         * gst/base/gstadapter.h:
12597         * gst/base/gstadapter.c (gst_adapter_take): New function, like
12598         peek() but you own the data. Not terribly efficient atm.
12599
12600 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12601
12602         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
12603         (gst_element_found_tags):
12604         * gst/gstutils.h:
12605           Add two utility functions for tag handling.
12606
12607 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12608
12609         * docs/manual/advanced-dataaccess.xml:
12610         * docs/manual/basics-helloworld.xml:
12611           Fix docs to use _bin_add() before _link(), which fixes the examples
12612           with recent core versions (reported by Madhan Raj M
12613           <raj_madan@rediffmail.com>, #313199).
12614
12615 2005-08-16  Wim Taymans  <wim@fluendo.com>
12616
12617         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12618         Added subtract checks.
12619
12620         * docs/design/part-events.txt:
12621         Some more docs about newsegment
12622
12623         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
12624         Fix FIXME
12625
12626         * gst/gstcaps.c: (gst_caps_to_string):
12627         Add comments, cleanups.
12628         
12629         * gst/gstelement.c: (gst_element_save_thyself):
12630         cleanups
12631         
12632         * gst/gstvalue.c: (gst_value_collect_int_range),
12633         (gst_string_unwrap), (gst_value_union_int_int_range),
12634         (gst_value_union_int_range_int_range),
12635         (gst_value_intersect_int_int_range),
12636         (gst_value_intersect_int_range_int_range),
12637         (gst_value_intersect_double_double_range),
12638         (gst_value_intersect_double_range_double_range),
12639         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
12640         (gst_value_subtract_int_range_int),
12641         (gst_value_subtract_double_range_double),
12642         (gst_value_subtract_double_range_double_range),
12643         (gst_value_subtract_from_list), (gst_value_subtract_list),
12644         (gst_value_can_compare), (gst_value_compare_fraction):
12645         Cleanups, add comments, remove unneeded asserts.
12646
12647 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12648
12649         * tools/gst-launch.c: (event_loop):
12650           don't convert NULL structures to strings
12651
12652 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
12653
12654         * docs/gst/gstreamer-sections.txt:
12655           made some defines private
12656         * docs/gst/tmpl/gstconfig.sgml:
12657         * docs/gst/tmpl/gstqueue.sgml:
12658         * docs/gst/tmpl/gsttaglist.sgml:
12659         * docs/gst/tmpl/gsttypes.sgml:
12660         * docs/gst/tmpl/gstutils.sgml:
12661         * docs/pwg/appendix-porting.xml:
12662         * gst/base/gstbasesink.h:
12663         * gst/base/gstbasesrc.c:
12664         * gst/base/gstbasesrc.h:
12665         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
12666         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
12667         * gst/gstelement.c: (gst_element_class_init):
12668         * gst/gstpad.c: (gst_pad_class_init):
12669         * gst/gstqueue.c: (gst_queue_class_init):
12670         * gst/gstxml.c: (gst_xml_class_init):
12671           documented all undocumented signal inline
12672         * libs/gst/controller/gst-controller.h:
12673           added padding
12674
12675 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12676
12677         * docs/pwg/appendix-porting.xml:
12678           Document _set_link_function -> _set_setcaps_function.
12679
12680 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12681
12682         * check/Makefile.am:
12683           add a .check target for running the check
12684         * check/gst-libs/controller.c: (GST_START_TEST):
12685           cosmetic fixups
12686         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
12687           complete checks for gstbuffer; would be nice if I could get the
12688           gcov stuff to work so I can see if I actually completed gstbuffer.c
12689         * check/gstcheck.h:
12690           add ASSERT_BUFFER_REFCOUNT
12691
12692 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
12693
12694         * docs/gst/gstreamer-sections.txt:
12695         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
12696         * gst/gsttag.h:
12697           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
12698           spew out a warning if a tag that is already registered
12699           is re-registered, unless it is re-registered with a 
12700           different type (#308438).
12701
12702 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
12703
12704         * docs/pwg/appendix-porting.xml:
12705         * docs/pwg/building-state.xml:
12706           Add some paragraphs about state changes in 0.9 to the PWG
12707           and the porting guide, in particular about the new meaning
12708           of GST_STATE_PAUSED and how to write state change functions
12709           with concurrent access by multiple threads in mind.
12710
12711 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
12712
12713         * docs/gst/gstreamer-docs.sgml:
12714         * docs/libs/gstreamer-libs-docs.sgml:
12715           added deprecation and since indexes
12716         * libs/gst/controller/gst-controller.c:
12717         * libs/gst/controller/gst-helper.c:
12718           added since tags
12719
12720
12721 2005-08-11  Wim Taymans  <wim@fluendo.com>
12722
12723         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
12724         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
12725         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
12726         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
12727         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
12728         (gst_ghost_pad_set_target):
12729         Actually implement (re)setting the target on a ghostpad
12730         as described in the docs.
12731
12732 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
12733
12734         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
12735           Check whether GST_DEBUG_NO_COLOR environment variable is
12736           set and disable coloured debug output if that is the case.
12737
12738 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
12739
12740         * gst/base/gsttypefindhelper.c: (helper_find_peek),
12741         (gst_type_find_helper):
12742           The memory returned by gst_type_find_peek() needs to
12743           stay valid until the end of a typefind function, and
12744           typefind functions may keep results from different 
12745           offsets around, so we can't just unref the buffer from
12746           the previous _peek(), but have to save all buffers 
12747           returned by _peek() until typefinding is done and only
12748           free them then.
12749
12750 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
12751
12752         * docs/gst/gstreamer-sections.txt:
12753         * gst/gstutils.h:
12754           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
12755
12756 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12757
12758         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
12759           Fix a pretty good memleak.
12760
12761 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
12762
12763         * gst/gstiterator.h:
12764           Fix wrong include and 'make distcheck'.
12765
12766 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12767
12768         * gst/gstbin.c: (bin_bus_handler):
12769           Use gst_element_post_message() instead.
12770
12771 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
12772
12773         * gst/base/gstadapter.h:
12774         * gst/base/gstbasesink.h:
12775         * gst/base/gstbasesrc.h:
12776         * gst/base/gstbasetransform.h:
12777         * gst/base/gstcollectpads.h:
12778         * gst/base/gstpushsrc.h:
12779         * gst/gstiterator.h:
12780           Add padding to our base elements' class and instance structs and
12781           to GstIterator (you will need to rebuild all plugins and apps!)
12782
12783 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12784
12785         * gst/gstbin.c: (bin_bus_handler):
12786           Make default message forwarding from child->bus to bin->bus
12787           threadsafe and make it not emit warnings if the parent has no bus.
12788
12789 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12790
12791         * gst/gstelement.c: (activate_pads):
12792           On paused->ready, set pad->caps to NULL, as is the documented
12793           behaviour in this state change. Fixes playback of series of
12794           media files when visualization is enabled in Totem.
12795
12796 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
12797
12798         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
12799           Allow NULL as filter-caps (which means "any").
12800
12801 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
12802
12803         * docs/libs/gstreamer-libs-sections.txt:
12804         * libs/gst/controller/gst-controller.c:
12805         * libs/gst/controller/gst-controller.h:
12806         * libs/gst/controller/gst-helper.c:
12807           adding more entries to the docs and fix small doc-bugs
12808
12809 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
12810
12811         * docs/gst/gstreamer-docs.sgml:
12812         * docs/gst/gstreamer-sections.txt:
12813         * docs/gst/gstreamer.types:
12814         * docs/gst/tmpl/gstbasesink.sgml:
12815         * docs/gst/tmpl/gstbasesrc.sgml:
12816         * docs/gst/tmpl/gstbasetransform.sgml:
12817         * docs/gst/tmpl/gstfakesrc.sgml:
12818         * gst/base/gstcollectpads.c:
12819         * gst/base/gstcollectpads.h:
12820         * libs/gst/controller/gst-controller.c:
12821         * libs/gst/controller/gst-controller.h:
12822         * libs/gst/controller/gst-helper.c:
12823         * libs/gst/controller/gst-interpolation.c:
12824         * libs/gst/controller/lib.c:
12825           added long/short desc for controller docs
12826           added collectpads base class docs
12827           added correct includes to base-class docs
12828
12829 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
12830
12831         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
12832         (gst_test_mono_source_set_property),
12833         (gst_test_mono_source_class_init), (GST_START_TEST),
12834         (gst_controller_suite):
12835         * docs/gst/gstreamer-docs.sgml:
12836         * docs/gst/gstreamer-sections.txt:
12837         * docs/gst/gstreamer.types:
12838         * docs/libs/gstreamer-libs-docs.sgml:
12839         * docs/libs/gstreamer-libs-sections.txt:
12840         * gst/base/gstadapter.c:
12841         * libs/gst/controller/gst-controller.c:
12842         (gst_controlled_property_new), (gst_controlled_property_free),
12843         (gst_controller_new_valist),
12844         (gst_controller_remove_properties_valist),
12845         (gst_controller_sink_values), (_gst_controller_finalize):
12846         * libs/gst/controller/gst-controller.h:
12847         * libs/gst/controller/gst-helper.c:
12848         (gst_object_control_properties), (gst_object_uncontrol_properties),
12849         (gst_object_get_controller), (gst_object_set_controller),
12850         (gst_object_sink_values), (gst_object_get_value_arrays),
12851         (gst_object_get_value_array):
12852           more tests (and fixes) for the controller
12853           more docs for the controller
12854           integrated companies docs for the adapter 
12855
12856 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
12857
12858         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
12859         (GST_START_TEST), (fakesrc_suite):
12860           add tests for sizetype
12861
12862 2005-08-04  Andy Wingo  <wingo@pobox.com>
12863
12864         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
12865         fixes buffer_alloc proxying among other things.
12866
12867         * gst/base/gstbasetransform.c:
12868         * gst/base/gstbasetransform.h:
12869         Revert patch to gstbasetransform from 7-28 removing
12870         delay_configure.
12871
12872         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
12873         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
12874         Semantics changed, should return not the size of the output buffer
12875         but the byte size of a buffer with a given caps.
12876
12877         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
12878         debug object.
12879         (gst_base_transform_configure_caps): Don't set out_size here: (in,
12880         out) are not the pad caps until setcaps finishes.
12881         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
12882         not-in-place case as well. Deal with changing from in-place to
12883         not-in-place within calling pad_alloc_buffer. Still a bit
12884         concerned about the overhead here...
12885
12886 2005-08-03  Andy Wingo  <wingo@pobox.com>
12887
12888         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
12889         fixating is an error.
12890
12891 2005-08-04  Edward Hervey  <edward@fluendo.com>
12892
12893         * gst/base/gstadapter.h: 
12894         Added gst_adapter_get_type() to the header
12895
12896 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
12897
12898         * check/Makefile.am:
12899         * check/gst-libs/controller.c:
12900         * libs/gst/controller/gst-controller.c:
12901         (gst_controller_new_valist):
12902           added check test suite for the controller
12903         * gst/base/gstpushsrc.c:
12904           fixed a doc typo
12905
12906 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
12907
12908         * docs/gst/Makefile.am:
12909         * docs/gst/gstreamer-docs.sgml:
12910         * docs/gst/gstreamer-sections.txt:
12911         * docs/gst/gstreamer.types:
12912         * docs/gst/tmpl/gstfakesrc.sgml:
12913         * gst/base/README:
12914         * gst/base/gstbasesink.c:
12915         * gst/base/gstbasesink.h:
12916         * gst/base/gstbasesrc.c:
12917         * gst/base/gstbasesrc.h:
12918         * gst/base/gstbasetransform.c:
12919         * gst/base/gstpushsrc.c:
12920         * gst/base/gstpushsrc.h:
12921           add short/long description docs to base classes
12922           add pushsrc to the docs
12923           remove consolidated doc fragments
12924
12925 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
12926
12927         * configure.ac:
12928         * docs/libs/Makefile.am:
12929         * docs/libs/gstreamer-libs-docs.sgml:
12930         * docs/libs/gstreamer-libs-sections.txt:
12931         * docs/libs/gstreamer-libs.types:
12932         * examples/Makefile.am:
12933         * examples/controller/.cvsignore:
12934         * examples/controller/Makefile.am:
12935         * examples/controller/audio-example.c: (main):
12936         * libs/gst/Makefile.am:
12937         * libs/gst/controller/.cvsignore:
12938         * libs/gst/controller/Makefile.am:
12939         * libs/gst/controller/gst-controller.c:
12940         (on_object_controlled_property_changed), (gst_timed_value_compare),
12941         (gst_timed_value_find),
12942         (gst_controlled_property_set_interpolation_mode),
12943         (gst_controlled_property_new), (gst_controlled_property_free),
12944         (gst_controller_find_controlled_property),
12945         (gst_controller_new_valist), (gst_controller_new),
12946         (gst_controller_remove_properties_valist),
12947         (gst_controller_remove_properties), (gst_controller_set),
12948         (gst_controller_set_from_list), (gst_controller_unset),
12949         (gst_controller_get), (gst_controller_get_all),
12950         (gst_controller_sink_values), (gst_controller_get_value_arrays),
12951         (gst_controller_get_value_array),
12952         (gst_controller_set_interpolation_mode),
12953         (_gst_controller_finalize), (_gst_controller_init),
12954         (_gst_controller_class_init), (gst_controller_get_type):
12955         * libs/gst/controller/gst-controller.h:
12956         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
12957         (g_object_uncontrol_properties), (g_object_get_controller),
12958         (g_object_set_controller), (g_object_sink_values),
12959         (g_object_get_value_arrays), (g_object_get_value_array):
12960         * libs/gst/controller/gst-interpolation.c:
12961         (gst_controlled_property_find_timed_value_node),
12962         (interpolate_none_get), (interpolate_trigger_get),
12963         (interpolate_trigger_get_value_array):
12964         * libs/gst/controller/lib.c: (gst_controller_init):
12965         * pkgconfig/Makefile.am:
12966         * pkgconfig/gstreamer-control-uninstalled.pc.in:
12967         * pkgconfig/gstreamer-control.pc.in:
12968         * testsuite/Makefile.am:
12969         * testsuite/controller/.cvsignore:
12970         * testsuite/controller/Makefile.am:
12971         * testsuite/controller/interpolator.c: (main):
12972           added controller code
12973           removed dparam pc files
12974
12975 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
12976         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
12977         (gst_collectpads_stop):
12978           Broadcast the condition when shutting down, to make sure we wake all
12979           threads up. Shut down pads on finalize, for safety.
12980
12981 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
12982         * gst/base/gstbasetransform.c: (gst_base_transform_init),
12983         (gst_base_transform_handle_buffer),
12984         (gst_base_transform_change_state):
12985           Handle PAUSED->READY->PAUSED transition after negotiation
12986           occurred already.
12987         * gst/gstmessage.c: (gst_message_init):
12988           Extra piece of debug for new messages.
12989
12990 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
12991
12992         * configure.ac:
12993         * docs/gst/tmpl/gstbasesrc.sgml:
12994         * docs/gst/tmpl/gstelement.sgml:
12995         * docs/gst/tmpl/gstevent.sgml:
12996         * docs/gst/tmpl/gstfakesrc.sgml:
12997         * docs/gst/tmpl/gstformat.sgml:
12998         * docs/gst/tmpl/gstghostpad.sgml:
12999         * docs/gst/tmpl/gstpad.sgml:
13000         * docs/gst/tmpl/gstquery.sgml:
13001         * docs/gst/tmpl/gststructure.sgml:
13002         * docs/gst/tmpl/gsttaglist.sgml:
13003         * docs/gst/tmpl/gstvalue.sgml:
13004         * docs/libs/gstreamer-libs-docs.sgml:
13005         * docs/libs/gstreamer-libs-sections.txt:
13006         * docs/libs/gstreamer-libs.types:
13007         * libs/gst/Makefile.am:
13008         * libs/gst/control/.cvsignore:
13009         * libs/gst/control/Makefile.am:
13010         * libs/gst/control/control.c:
13011         * libs/gst/control/control.h:
13012         * libs/gst/control/dparam.c:
13013         * libs/gst/control/dparam.h:
13014         * libs/gst/control/dparam_smooth.c:
13015         * libs/gst/control/dparam_smooth.h:
13016         * libs/gst/control/dparamcommon.h:
13017         * libs/gst/control/dparammanager.c:
13018         * libs/gst/control/dparammanager.h:
13019         * libs/gst/control/dplinearinterp.c:
13020         * libs/gst/control/dplinearinterp.h:
13021         * libs/gst/control/unitconvert.c:
13022         * libs/gst/control/unitconvert.h:
13023         * testsuite/Makefile.am:
13024         * testsuite/dynparams/.cvsignore:
13025         * testsuite/dynparams/Makefile.am:
13026         * testsuite/dynparams/dparamstest.c:
13027         * tools/Makefile.am:
13028         * tools/gst-inspect.c: (print_element_info), (main):
13029         * tools/gst-xmlinspect.c: (print_element_info), (main):
13030           deactivate and remove dparams (libgstcontrol)
13031
13032 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
13033
13034         * gst/elements/gsttypefindelement.c:
13035         (gst_type_find_element_have_type), (gst_type_find_element_init),
13036         (stop_typefinding), (gst_type_find_element_handle_event),
13037         (gst_type_find_element_chain), (gst_type_find_element_getrange):
13038         * gst/elements/gsttypefindelement.h:
13039           Set caps on all outgoing buffers, not just the first one.
13040
13041 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
13042
13043         * gst/elements/gsttypefindelement.c:
13044         (gst_type_find_element_have_type),
13045         (gst_type_find_element_check_set_buffer_caps),
13046         (gst_type_find_element_init), (stop_typefinding),
13047         (gst_type_find_element_handle_event),
13048         (gst_type_find_element_chain), (gst_type_find_element_getrange):
13049         * gst/elements/gsttypefindelement.h:
13050           Set caps on first outgoing buffer when we've found the type.
13051
13052 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
13053
13054         * docs/gst/gstreamer-docs.sgml:
13055         * docs/gst/gstreamer-sections.txt:
13056         * docs/gst/tmpl/gstscheduler.sgml:
13057         * docs/gst/tmpl/gstschedulerfactory.sgml:
13058           Remove some old cruft from docs.
13059
13060 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
13061
13062         * gst/gstpad.h:
13063           Fix inline docs for GstPadLinkReturn.
13064           
13065         * gst/gststructure.c: (gst_structure_has_name):
13066         * gst/gststructure.h:
13067         * docs/gst/gstreamer-sections.txt:
13068           New API: gst_structure_has_name().
13069
13070 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
13071
13072         * configure.ac:
13073           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
13074           and _LARGEFILE_SOURCE in config.h as required. Do not 
13075           export those flags in our .pc files any longer (#142209).
13076
13077           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
13078
13079         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
13080         (gst_file_sink_do_seek), (gst_file_sink_event),
13081         (gst_file_sink_get_current_offset), (gst_file_sink_render):
13082           Redo seek/tell calls with large file support in mind; add some
13083           debugging messages; add log message that tells us when large
13084           file support is unavailable or not enabled for some reason.
13085
13086         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
13087           Add log message that tells us when large file support 
13088           is unavailable or not enabled for some reason.
13089
13090 2005-07-29  Wim Taymans  <wim@fluendo.com>
13091
13092         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13093         Added test for removing an element with ghostpad from a bin.
13094         Fixed test as current implementation does the right thing.
13095
13096         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
13097         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
13098         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
13099         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
13100         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
13101         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
13102         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
13103         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
13104         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
13105         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
13106         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
13107         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
13108         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
13109         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
13110         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
13111         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
13112         * gst/gstghostpad.h:
13113         Clean up ghostpads, remove properties for internal stuff.
13114         Make threadsafe.
13115         Fix refcounting.
13116         Prepare for switching targets, not all use cases work yet.
13117
13118 2005-07-29  Wim Taymans  <wim@fluendo.com>
13119
13120         * docs/design/part-gstghostpad.txt:
13121         Small update.
13122
13123         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13124         (gst_bin_remove_func):
13125         Unlinking pads while holding the bin LOCK is not a good
13126         idea.
13127
13128         * gst/gstpad.c: (gst_pad_class_init),
13129         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
13130         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
13131         No prob setting template after creating the pad.
13132
13133 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
13134
13135         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
13136         (gst_bus_peek), (gst_bus_source_dispatch),
13137         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
13138         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
13139           gst_bus_poll may be called from other threads. Handle
13140           this nicely by not making poll_data disappear off the
13141           stack once gst_bus_poll returns.
13142           gst_bus_peek now increments the refcount on the returned
13143           message.
13144
13145 2005-07-29  Wim Taymans  <wim@fluendo.com>
13146
13147         * docs/design/part-gstghostpad.txt:
13148         Overview of current GhostPad datastructures and use
13149         cases for changing the target.
13150
13151 2005-07-28  Wim Taymans  <wim@fluendo.com>
13152
13153         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
13154         Added checks for hierarchy consistency whan adding linked
13155         elements to bins.
13156
13157         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13158         Added check to test element scheduling without bin/pipeline.
13159
13160         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
13161         First add elements to bin, then link.
13162         
13163         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
13164         (gst_bin_remove_func):
13165         Unlink pads from elements added/removed from bin to maintain
13166         hierarchy consistency.
13167
13168 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13169
13170         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
13171         (gst_base_transform_handle_buffer):
13172         * gst/base/gstbasetransform.h:
13173           Remove broken delay_configure (fixes renegotiation of software
13174           scaling pipelines); remove some leftover printf()s.
13175
13176 2005-07-28  Wim Taymans  <wim@fluendo.com>
13177
13178         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
13179         Added some more tests for wrong hierarchy
13180
13181         * docs/design/part-overview.txt:
13182         Some updates.
13183
13184         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
13185         Cleanups.
13186
13187         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
13188         (gst_element_dispose):
13189         Some more cleanups.
13190
13191         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
13192         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
13193         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13194         (gst_pad_set_caps), (gst_pad_send_event):
13195         Check for correct hierarchy when linking pads. Moving to
13196         strict requirement for ghostpads when linking elements in
13197         different bins.
13198
13199         * gst/gstpad.h:
13200         Clean ups. Added WRONG_HIERARCHY return value.
13201
13202 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13203
13204         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13205           Better debug if no transform is possible.
13206
13207 2005-07-27  Wim Taymans  <wim@fluendo.com>
13208
13209         * docs/random/wtay/network-transp:
13210         Some old doc I had.
13211
13212 2005-07-27  Wim Taymans  <wim@fluendo.com>
13213
13214         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13215         (gst_dp_event_from_packet):
13216         Fix serialization of seek events.
13217
13218 2005-07-27  Wim Taymans  <wim@fluendo.com>
13219
13220         * check/gst-libs/gdp.c: (GST_START_TEST):
13221         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13222         Fix compilation and fix event serialization.
13223
13224 2005-07-27  Wim Taymans  <wim@fluendo.com>
13225
13226         * CHANGES-0.9:
13227         * docs/design/part-TODO.txt:
13228         * docs/design/part-events.txt:
13229         Some docs updates
13230
13231         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13232         (gst_base_sink_event), (gst_base_sink_do_sync),
13233         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13234         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13235         (gst_base_src_do_seek), (gst_base_src_event_handler),
13236         (gst_base_src_loop):
13237         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13238         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13239         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13240         (gst_base_transform_event), (gst_base_transform_handle_buffer),
13241         (gst_base_transform_set_passthrough),
13242         (gst_base_transform_is_passthrough):
13243         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
13244         * gst/elements/gstfilesink.c: (gst_file_sink_event):
13245         Event updates.
13246
13247         * gst/gstbuffer.h:
13248         Use faster casts.
13249
13250         * gst/gstelement.c: (gst_element_seek):
13251         * gst/gstelement.h:
13252         Update gst_element_seek.
13253
13254         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
13255         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
13256         (gst_event_new_flush_start), (gst_event_new_flush_stop),
13257         (gst_event_new_eos), (gst_event_new_newsegment),
13258         (gst_event_parse_newsegment), (gst_event_new_tag),
13259         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
13260         (gst_event_parse_qos), (gst_event_new_seek),
13261         (gst_event_parse_seek), (gst_event_new_navigation):
13262         * gst/gstevent.h:
13263         Make GstEvent use GstStructure. Add parsing code, make sure the
13264         API is sufficiently generic.
13265         Mark possible directions of events and serialization.
13266
13267         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
13268         (_gst_message_copy), (gst_message_new_segment_start),
13269         (gst_message_new_segment_done), (gst_message_new_custom),
13270         (gst_message_parse_segment_start),
13271         (gst_message_parse_segment_done):
13272         Small cleanups.
13273
13274         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13275         (gst_pad_set_caps), (gst_pad_send_event):
13276         Update for new events. 
13277         Catch events sent in wrong directions.
13278
13279         * gst/gstqueue.c: (gst_queue_link_src),
13280         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
13281         (gst_queue_handle_src_query):
13282         Event updates.
13283
13284         * gst/gsttag.c:
13285         * gst/gsttag.h:
13286         Remove event code from this file.
13287
13288         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13289         (gst_dp_event_from_packet):
13290         Event updates.
13291
13292 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13293
13294         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
13295         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13296         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
13297           Make debugging actually useful.
13298
13299 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13300
13301         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
13302         (gst_pad_fixate_caps):
13303           Implement default fixation once again, so that gst_pad_fixate()
13304           actually does anything at all. This probably needs to be some
13305           sort of a last resort, and use profile-based fixation first, but
13306           since that doesn't exist yet, this is the best we have. Fixes
13307           visualization in Totem.
13308
13309 2005-07-22  Wim Taymans  <wim@fluendo.com>
13310
13311         * docs/design/part-events.txt:
13312         Small update.
13313
13314         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13315         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
13316         (gst_base_sink_activate_pull):
13317         Some more comments.
13318
13319         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
13320         (gst_fake_src_create):
13321         Fix handoff marshall.
13322
13323         * gst/elements/gstidentity.c: (gst_identity_class_init),
13324         (gst_identity_transform_ip):
13325         We're a real inplace element.
13326
13327         * gst/gstbus.c: (gst_bus_post):
13328         Added some comments.
13329
13330         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
13331         * tests/muxing/case1.c: (main):
13332         * tests/sched/dynamic-pipeline.c: (main):
13333         * tests/sched/interrupt1.c: (main):
13334         * tests/sched/interrupt2.c: (main):
13335         * tests/sched/interrupt3.c: (main):
13336         * tests/sched/runxml.c: (main):
13337         * tests/sched/sched-stress.c: (main):
13338         * tests/seeking/seeking1.c: (event_received), (main):
13339         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
13340         (main):
13341         * tests/threadstate/threadstate3.c: (main):
13342         * tests/threadstate/threadstate4.c: (main):
13343         * tests/threadstate/threadstate5.c: (main):
13344         Fix the tests.
13345
13346 2005-07-21  Wim Taymans  <wim@fluendo.com>
13347
13348         * docs/design/part-seeking.txt:
13349         Some small additions.
13350
13351         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13352         (gst_base_sink_get_times), (gst_base_sink_do_sync),
13353         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
13354         * gst/base/gstbasesink.h:
13355         discont values are gint64, handle the math correctly.
13356
13357         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13358         Make the basesrc report error if the source pad is not linked.
13359
13360         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
13361         (gst_queue_loop), (gst_queue_handle_src_query),
13362         (gst_queue_src_activate_push):
13363         Make queue collect data even if the srcpad is not linked.
13364         Start pushing out data as soon as it is linked.
13365
13366         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
13367         * gst/gstutils.h:
13368         Added gst_flow_get_name() to ease error reporting.
13369
13370 2005-07-20  Wim Taymans  <wim@fluendo.com>
13371
13372         * gst/gstmessage.c: (gst_message_new_segment_start),
13373         (gst_message_new_segment_done), (gst_message_parse_segment_start),
13374         (gst_message_parse_segment_done):
13375         * gst/gstmessage.h:
13376         Added a bunch of messages for advanced seeking.
13377
13378         * gst/parse/grammar.y:
13379         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
13380         (gst_dpman_state_changed):
13381         Fix some new-pad -> pad-added signals
13382
13383 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13384
13385         * docs/manual/appendix-porting.xml:
13386         * docs/pwg/appendix-porting.xml:
13387           Document new-pad/state-change signal renames and the FixedList
13388           type rename.
13389
13390 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13391
13392         * docs/manual/advanced-autoplugging.xml:
13393         * docs/manual/basics-helloworld.xml:
13394         * docs/manual/basics-pads.xml:
13395         * docs/random/ds/0.9-suggested-changes:
13396         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
13397         * gst/gstelement.h:
13398         * gst/gstevent.h:
13399         * gst/gstformat.h:
13400         * gst/gstquery.h:
13401         * gst/gststructure.c: (gst_structure_value_get_generic_type),
13402         (gst_structure_parse_array), (gst_structure_parse_value):
13403         * gst/gstvalue.c: (gst_type_is_fixed),
13404         (gst_value_list_prepend_value), (gst_value_list_append_value),
13405         (gst_value_list_get_size), (gst_value_list_get_value),
13406         (gst_value_transform_array_string), (gst_value_serialize_array),
13407         (gst_value_deserialize_array), (gst_value_intersect_array),
13408         (gst_value_is_fixed), (_gst_value_initialize):
13409         * gst/gstvalue.h:
13410           GstElement::new-pad -> pad-added, GstElement::state-change ->
13411           state-changed, GstValueFixedList -> GstValueArray, add format and
13412           flags as their own arguments in gst_element_seek() (should improve
13413           "bindeability"), remove function generators since they don't work
13414           under a whole bunch of compilers (they were deprecated already
13415           anyway).
13416
13417 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13418
13419         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
13420         (_gst_debug_register_funcptr):
13421         * gst/gstinfo.h:
13422           Fix illegal cast on some platforms (#309253).
13423
13424 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13425
13426         * gst/gstmessage.c: (gst_message_new_custom):
13427         * gst/gstmessage.h:
13428           Add _new_custom, make _new_application a macro to _new_custom.
13429
13430 2005-07-20  Wim Taymans  <wim@fluendo.com>
13431
13432         * gst/base/gstbasesrc.c: (gst_base_src_init),
13433         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
13434         * gst/base/gstbasesrc.h:
13435         Add a gboolean to decide when to push out a discont.
13436
13437         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
13438         (gst_queue_loop), (gst_queue_handle_src_query),
13439         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
13440         (gst_queue_set_property), (gst_queue_get_property):
13441         Some cleanups.
13442
13443         * tests/threadstate/threadstate1.c: (main):
13444         Make a thread test compile and run... very silly..
13445
13446
13447 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13448
13449         * docs/manual/appendix-porting.xml:
13450           Mention removal of libgstgconf-0.9.la and existence of gconf
13451           elements.
13452
13453 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
13454
13455         * docs/pwg/advanced-clock.xml:
13456         * docs/pwg/appendix-porting.xml:
13457         * docs/pwg/intro-preface.xml:
13458         * docs/pwg/other-base.xml:
13459         * docs/pwg/other-manager.xml:
13460         * docs/pwg/other-nton.xml:
13461         * docs/pwg/other-ntoone.xml:
13462         * docs/pwg/other-oneton.xml:
13463         * docs/pwg/pwg.xml:
13464           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
13465           demuxer), remove n-to-n (was never written), fix some code examples
13466           and links and update the porting section to include all this.
13467
13468 2005-07-19  Wim Taymans  <wim@fluendo.com>
13469
13470         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
13471         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
13472         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
13473         (gst_queue_src_activate_push), (gst_queue_change_state),
13474         (gst_queue_get_property):
13475         * gst/gstqueue.h:
13476         Propagate GstFlowReturn more intelligently upstream and output
13477         an ERROR/EOS when streaming stopped due to fatal error.
13478
13479 2005-07-19  Wim Taymans  <wim@fluendo.com>
13480
13481         * tools/gst-launch.c: (check_intr), (event_loop), (main):
13482         Don't block forever for the state change to complete, the
13483         pipeline already did with a sensible timeout.
13484
13485 2005-07-19  Wim Taymans  <wim@fluendo.com>
13486
13487         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
13488         Make sure we never call the create function is we
13489         got deactivated.
13490
13491 2005-07-19  Andy Wingo  <wingo@pobox.com>
13492
13493         * gst/parse/parse.l: Attempt to solve bug #172815.
13494
13495 2005-07-19  Wim Taymans  <wim@fluendo.com>
13496
13497         * docs/design/part-clocks.txt:
13498         * docs/design/part-events.txt:
13499         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
13500         Small docs updates.
13501         Only update the seeking values when we are not
13502         busy streaming.
13503
13504 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
13505
13506         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13507           Oops, ignore the result of gst_pad_push_event here.
13508
13509 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
13510
13511         * gst/base/gstbasesrc.c: (gst_base_src_loop),
13512         (gst_base_src_activate_push):
13513           Send discont event from the loop function, as pads
13514           aren't activated yet in the activate_push handler.
13515
13516         * gst/gstbin.c: (bin_bus_handler):
13517           Don't leak element name.
13518
13519 2005-07-18  Andy Wingo  <wingo@pobox.com>
13520
13521         * configure.ac: Use AS_LIBTOOL_TAGS.
13522
13523 2005-07-18  Wim Taymans  <wim@fluendo.com>
13524
13525         * docs/gst/gstreamer.types:
13526         Remove deleted types.
13527
13528 2005-07-18  Wim Taymans  <wim@fluendo.com>
13529
13530         * check/elements/gstfakesrc.c: (GST_START_TEST):
13531         * configure.ac:
13532         * gst/Makefile.am:
13533         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
13534         (init_popt_callback):
13535         * gst/gst.h:
13536         * gst/gst_private.h:
13537         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
13538         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
13539         * gst/gstbin.h:
13540         * gst/gstbus.h:
13541         * gst/gstconfig.h.in:
13542         * gst/gstelement.c: (gst_element_class_init),
13543         (gst_element_set_base_time), (gst_element_get_base_time),
13544         (iterator_fold_with_resync), (gst_element_change_state),
13545         (gst_element_dispose), (gst_element_get_bus):
13546         * gst/gstelement.h:
13547         * gst/gstelementfactory.h:
13548         * gst/gsterror.c: (_gst_core_errors_init):
13549         * gst/gsterror.h:
13550         * gst/gstevent.h:
13551         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13552         * gst/gstindex.c:
13553         * gst/gstinfo.c: (_gst_debug_init):
13554         * gst/gstmessage.c: (_gst_message_copy):
13555         * gst/gstmessage.h:
13556         * gst/gstminiobject.h:
13557         * gst/gstobject.c:
13558         * gst/gstobject.h:
13559         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13560         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
13561         * gst/gstpad.h:
13562         * gst/gstparse.h:
13563         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
13564         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13565         (gst_pipeline_get_last_stream_time):
13566         * gst/gstpipeline.h:
13567         * gst/gstpluginfeature.h:
13568         * gst/gstquery.h:
13569         * gst/gstscheduler.c:
13570         * gst/gstscheduler.h:
13571         * gst/gststructure.h:
13572         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
13573         (gst_task_finalize), (gst_task_func), (gst_task_create),
13574         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
13575         (gst_task_stop), (gst_task_pause):
13576         * gst/gsttask.h:
13577         * gst/gsttypefind.h:
13578         * gst/gsttypes.h:
13579         * gst/registries/gstlibxmlregistry.c: (load_feature),
13580         (gst_xml_registry_load), (gst_xml_registry_save_feature):
13581         * gst/registries/gstxmlregistry.c:
13582         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
13583         * gst/schedulers/threadscheduler.c:
13584         * libs/gst/control/dparammanager.h:
13585         * tools/gst-inspect.c: (print_element_list),
13586         (print_plugin_features), (print_element_features):
13587         * tools/gst-xmlinspect.c: (print_element_list),
13588         (print_plugin_info), (main):
13589         Removed plugable schedulers.
13590         Removed Scheduler/Manager from elements.
13591         Removed gsttypes.h, rearranged includes.
13592         Removed dependency pad<->element, element<>pipeline, and
13593         various others,  fix includes.
13594         implement gst_pad_get_parent() with gst_object_get_parent()
13595         Make GstTask sefcontained.
13596         Fix _get_state() on GstBin, it did not return ASYNC with a 0
13597         timeout.
13598         Fix endless loop in iterator_fold_with_resync.
13599
13600
13601 2005-07-18  Wim Taymans  <wim@fluendo.com>
13602
13603         * gst/Makefile.am:
13604         * gst/gstarch.h:
13605         Remove old file.
13606
13607 2005-07-18  Wim Taymans  <wim@fluendo.com>
13608
13609         * gst/Makefile.am:
13610         No more cothreads.h
13611
13612 2005-07-18  Wim Taymans  <wim@fluendo.com>
13613
13614         * gst/cothreads.c:
13615         * gst/cothreads.h:
13616         Let's remove these.
13617
13618 2005-07-18  Wim Taymans  <wim@fluendo.com>
13619
13620         * docs/design/part-dynamic.txt:
13621         * docs/design/part-events.txt:
13622         * docs/design/part-seeking.txt:
13623         Some more docs in the works.
13624
13625         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
13626         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
13627         (gst_base_transform_setcaps), (gst_base_transform_get_size),
13628         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
13629         (gst_base_transform_handle_buffer),
13630         (gst_base_transform_sink_activate_push),
13631         (gst_base_transform_src_activate_pull),
13632         (gst_base_transform_set_passthrough),
13633         (gst_base_transform_is_passthrough):
13634         Refcounting fixes.
13635
13636         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
13637         Cleanups.
13638
13639         * gst/gstevent.c: (gst_event_finalize):
13640         Set SRC to NULL.
13641
13642         * gst/gstutils.c: (gst_element_unlink),
13643         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
13644         (gst_pad_proxy_setcaps):
13645         * gst/gstutils.h:
13646         Add _get_parent_element() to get a pads parent as an element.
13647
13648 2005-07-18  Wim Taymans  <wim@fluendo.com>
13649
13650         * check/gst/gstbin.c: (GST_START_TEST):
13651         Remove bogus test.
13652
13653 2005-07-18  Wim Taymans  <wim@fluendo.com>
13654
13655         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
13656         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
13657         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
13658         (gst_base_sink_event), (gst_base_sink_do_sync),
13659         (gst_base_sink_chain), (gst_base_sink_loop),
13660         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
13661         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
13662         Refcounting fixes.
13663         Fix logic for returning ASYNC when not prerolled.
13664
13665 2005-07-18  Wim Taymans  <wim@fluendo.com>
13666
13667         * gst/gstqueue.c: (gst_queue_handle_sink_event):
13668         Fix nasty refcount bug.
13669
13670 2005-07-16 Philippe Khalaf <burger@speedy.org>
13671
13672         * gst/elements/gstfdsrc.c:
13673         * gst/elements/gstfdsrc.h:
13674         * gst/elements/gstelements.c:
13675         * gst/elements/Makefile.am:
13676         Ported fdsrc to 0.9.
13677
13678 2005-07-16  Wim Taymans  <wim@fluendo.com>
13679
13680         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13681         (gst_base_sink_do_sync):
13682         Fix compile error.
13683
13684 2005-07-16  Wim Taymans  <wim@fluendo.com>
13685
13686         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
13687         (gst_base_sink_event), (gst_base_sink_get_times),
13688         (gst_base_sink_do_sync), (gst_base_sink_change_state):
13689         * gst/base/gstbasesink.h:
13690         Store and use discont values when syncing buffers as described
13691         in design docs.
13692         
13693         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
13694         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
13695         (gst_base_src_activate_push):
13696         Push discont event when starting.
13697
13698         * gst/elements/gstidentity.c: (gst_identity_transform):
13699         Small cleanups.
13700
13701         * gst/gstbin.c: (gst_bin_change_state):
13702         Small cleanups in base_time  distribution.
13703
13704         * gst/gstelement.c: (gst_element_set_base_time),
13705         (gst_element_get_base_time), (gst_element_change_state):
13706         * gst/gstelement.h:
13707         Added methods for the base_time of the element.
13708         Some MT fixes.
13709
13710         * gst/gstpipeline.c: (gst_pipeline_send_event),
13711         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
13712         (gst_pipeline_get_last_stream_time):
13713         * gst/gstpipeline.h:
13714         MT fixes.
13715         Handle seeking as described in design doc, remove stream_time
13716         hack.
13717         Cleanups clock and stream_time selection code. Added accessors
13718         for the stream_time.
13719         
13720
13721 2005-07-16  Andy Wingo  <wingo@pobox.com>
13722
13723         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
13724         (#305291).
13725
13726 2005-07-16  Wim Taymans  <wim@fluendo.com>
13727
13728         * check/gst/gstbin.c: (GST_START_TEST):
13729         Make elements silent as the deep_notify refs the
13730         parent, which might make the test fail.
13731
13732         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
13733         Don't hold the lock for too long.
13734
13735 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
13736
13737         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
13738           Don't unref the caps we passed to gst_caps_make_writable() after
13739           passing them. gst_caps_make_writable() will do that for us.
13740
13741 2005-07-15  Andy Wingo  <wingo@pobox.com>
13742
13743         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
13744         (#157311).
13745
13746         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
13747         own marshalling function for the handoff signal. Properly type the
13748         buffer as a buffer. Fixes some warnings. Should do a more general
13749         solution.
13750         (gst_identity_class_init): Plug into the right marshaller.
13751
13752 2005-07-15  Wim Taymans  <wim@fluendo.com>
13753
13754         * docs/design/part-TODO.txt:
13755         * docs/design/part-clocks.txt:
13756         * docs/design/part-element-sink.txt:
13757         * docs/design/part-events.txt:
13758         * docs/design/part-gstpipeline.txt:
13759         Updated docs, mostly DISCONT related.
13760
13761 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
13762
13763         * docs/pwg/building-pads.xml:
13764           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
13765
13766 2005-07-15  Andy Wingo  <wingo@pobox.com>
13767
13768         * tools/gst-typefind.c: Update, add copyright block.
13769
13770         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
13771         Normalize and truncate caps before fixation.
13772
13773         * gst/gstcaps.h:
13774         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
13775         discards all but the first structure from its argument.
13776
13777 2005-07-15  Wim Taymans  <wim@fluendo.com>
13778
13779         * gst/base/gstbasetransform.c: (gst_base_transform_init),
13780         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
13781         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
13782         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
13783         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
13784         (gst_base_transform_chain), (gst_base_transform_change_state),
13785         (gst_base_transform_set_passthrough),
13786         (gst_base_transform_is_passthrough):
13787         * gst/base/gstbasetransform.h:
13788         Make passthrough work using the bufferpools.
13789         Changed API a bit, subclasses have to write into a buffer
13790         provided by the base class.
13791         More debug info in nego functions.
13792         
13793         * gst/elements/gstidentity.c: (gst_identity_init),
13794         (gst_identity_transform):
13795         Port to new base class.
13796
13797 2005-07-15  Wim Taymans  <wim@fluendo.com>
13798
13799         * gst/gstmessage.c: (gst_message_new_state_changed):
13800         * tools/gst-launch.c: (event_loop), (main):
13801         Totally dump messages in -launch with the -m option.
13802         Fix message name for State messages,
13803
13804 2005-07-14  Wim Taymans  <wim@fluendo.com>
13805
13806         * gst/base/gstbasesrc.c: (gst_base_src_loop):
13807         Post error messages on errors.
13808
13809 2005-07-14  Wim Taymans  <wim@fluendo.com>
13810
13811         * gst/gstcaps.c: (gst_caps_do_simplify):
13812         Remove debug info.
13813
13814         * gst/gsterror.h:
13815         Define error for stream stopped.
13816
13817         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
13818         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
13819         Do proper return values.
13820
13821         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
13822         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
13823         (gst_pad_get_range):
13824         Better return values.
13825
13826         * gst/gstpad.h:
13827         Reorganise return values, add macro to check for fatal errors.
13828
13829         * gst/gstqueue.c: (gst_queue_chain):
13830         Return proper GstFlowReturn values,
13831
13832 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
13833
13834         * docs/gst/gstreamer-sections.txt:
13835         * docs/gst/gstreamer.types:
13836         * docs/gst/tmpl/gst.sgml:
13837         * docs/gst/tmpl/gstbasesink.sgml:
13838         * docs/gst/tmpl/gstbasesrc.sgml:
13839         * docs/gst/tmpl/gstbasetransform.sgml:
13840         * docs/gst/tmpl/gstbin.sgml:
13841         * docs/gst/tmpl/gstbuffer.sgml:
13842         * docs/gst/tmpl/gstcaps.sgml:
13843         * docs/gst/tmpl/gstclock.sgml:
13844         * docs/gst/tmpl/gstcompat.sgml:
13845         * docs/gst/tmpl/gstconfig.sgml:
13846         * docs/gst/tmpl/gstelement.sgml:
13847         * docs/gst/tmpl/gstelementdetails.sgml:
13848         * docs/gst/tmpl/gstelementfactory.sgml:
13849         * docs/gst/tmpl/gstenumtypes.sgml:
13850         * docs/gst/tmpl/gsterror.sgml:
13851         * docs/gst/tmpl/gstevent.sgml:
13852         * docs/gst/tmpl/gstfakesink.sgml:
13853         * docs/gst/tmpl/gstfakesrc.sgml:
13854         * docs/gst/tmpl/gstfilesink.sgml:
13855         * docs/gst/tmpl/gstfilesrc.sgml:
13856         * docs/gst/tmpl/gstfilter.sgml:
13857         * docs/gst/tmpl/gstformat.sgml:
13858         * docs/gst/tmpl/gstghostpad.sgml:
13859         * docs/gst/tmpl/gstimplementsinterface.sgml:
13860         * docs/gst/tmpl/gstindex.sgml:
13861         * docs/gst/tmpl/gstindexfactory.sgml:
13862         * docs/gst/tmpl/gstinfo.sgml:
13863         * docs/gst/tmpl/gstiterator.sgml:
13864         * docs/gst/tmpl/gstmacros.sgml:
13865         * docs/gst/tmpl/gstmemchunk.sgml:
13866         * docs/gst/tmpl/gstminiobject.sgml:
13867         * docs/gst/tmpl/gstobject.sgml:
13868         * docs/gst/tmpl/gstpad.sgml:
13869         * docs/gst/tmpl/gstpadtemplate.sgml:
13870         * docs/gst/tmpl/gstparse.sgml:
13871         * docs/gst/tmpl/gstpipeline.sgml:
13872         * docs/gst/tmpl/gstplugin.sgml:
13873         * docs/gst/tmpl/gstpluginfeature.sgml:
13874         * docs/gst/tmpl/gstquery.sgml:
13875         * docs/gst/tmpl/gstqueue.sgml:
13876         * docs/gst/tmpl/gstregistry.sgml:
13877         * docs/gst/tmpl/gstregistrypool.sgml:
13878         * docs/gst/tmpl/gstscheduler.sgml:
13879         * docs/gst/tmpl/gstschedulerfactory.sgml:
13880         * docs/gst/tmpl/gststructure.sgml:
13881         * docs/gst/tmpl/gstsystemclock.sgml:
13882         * docs/gst/tmpl/gsttaglist.sgml:
13883         * docs/gst/tmpl/gsttagsetter.sgml:
13884         * docs/gst/tmpl/gsttrace.sgml:
13885         * docs/gst/tmpl/gsttrashstack.sgml:
13886         * docs/gst/tmpl/gsttypefind.sgml:
13887         * docs/gst/tmpl/gsttypefindfactory.sgml:
13888         * docs/gst/tmpl/gsttypes.sgml:
13889         * docs/gst/tmpl/gsturihandler.sgml:
13890         * docs/gst/tmpl/gsturitype.sgml:
13891         * docs/gst/tmpl/gstutils.sgml:
13892         * docs/gst/tmpl/gstvalue.sgml:
13893         * docs/gst/tmpl/gstversion.sgml:
13894         * docs/gst/tmpl/gstxml.sgml:
13895         * docs/libs/tmpl/gstcontrol.sgml:
13896         * docs/libs/tmpl/gstdataprotocol.sgml:
13897         * docs/libs/tmpl/gstdparam.sgml:
13898         * docs/libs/tmpl/gstdplinint.sgml:
13899         * docs/libs/tmpl/gstdpman.sgml:
13900         * docs/libs/tmpl/gstdpsmooth.sgml:
13901         * docs/libs/tmpl/gstgetbits.sgml:
13902         * docs/libs/tmpl/gstunitconvert.sgml:
13903         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
13904         (gst_push_src_base_init), (gst_push_src_class_init),
13905         (gst_push_src_init), (gst_push_src_create):
13906         * gst/base/gstpushsrc.h:
13907         * gst/elements/gstelements.c:
13908         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
13909         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
13910         (gst_fake_sink_init), (gst_fake_sink_set_property),
13911         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
13912         (gst_fake_sink_event), (gst_fake_sink_preroll),
13913         (gst_fake_sink_render), (gst_fake_sink_change_state):
13914         * gst/elements/gstfakesink.h:
13915         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13916         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
13917         (gst_fake_src_base_init), (gst_fake_src_class_init),
13918         (gst_fake_src_init), (gst_fake_src_event_handler),
13919         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
13920         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
13921         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
13922         (gst_fake_src_create_buffer), (gst_fake_src_create),
13923         (gst_fake_src_start), (gst_fake_src_stop):
13924         * gst/elements/gstfakesrc.h:
13925         * gst/elements/gstfilesink.c: (_do_init),
13926         (gst_file_sink_base_init), (gst_file_sink_class_init),
13927         (gst_file_sink_init), (gst_file_sink_dispose),
13928         (gst_file_sink_set_location), (gst_file_sink_set_property),
13929         (gst_file_sink_get_property), (gst_file_sink_open_file),
13930         (gst_file_sink_close_file), (gst_file_sink_query),
13931         (gst_file_sink_event), (gst_file_sink_render),
13932         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
13933         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
13934         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
13935         * gst/elements/gstfilesink.h:
13936         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
13937         (gst_file_src_class_init), (gst_file_src_init),
13938         (gst_file_src_finalize), (gst_file_src_set_location),
13939         (gst_file_src_set_property), (gst_file_src_get_property),
13940         (gst_file_src_map_region), (gst_file_src_map_small_region),
13941         (gst_file_src_create_mmap), (gst_file_src_create_read),
13942         (gst_file_src_create), (gst_file_src_is_seekable),
13943         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
13944         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
13945         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
13946         (gst_file_src_uri_handler_init):
13947         * gst/elements/gstfilesrc.h:
13948           more autistic cleanliness in functions/names/defines
13949
13950 2005-07-13  Andy Wingo  <wingo@pobox.com>
13951
13952         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
13953         source couldn't negotiate.
13954
13955         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
13956         connections again.
13957
13958         * gst/gstutils.h:
13959         * gst/gstutils.c (gst_element_link_pads_filtered): New old
13960         function. I am channeling Hades. Put your boots on suckers!!!
13961
13962 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
13963
13964         * testsuite/caps/Makefile.am:
13965         * testsuite/caps/value_compare.c:
13966         * testsuite/caps/value_intersect.c:
13967         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13968           move two testsuite apps over to the check dir
13969
13970 2005-07-12  Wim Taymans  <wim@fluendo.com>
13971
13972         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
13973         Added more debug info in the negotiate process.
13974
13975         * gst/gstmessage.h:
13976         Prepare for segment playback.
13977
13978         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
13979         Better debugging.
13980
13981         * gst/gstutils.c:
13982         Some more docs.
13983
13984         * tools/gst-launch.c: (main):
13985         NULL pipeline on errors.
13986
13987 2005-07-12  Andy Wingo  <wingo@pobox.com>
13988
13989         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
13990         not it comes from a malloc region. Make sure our copy gets freed.
13991
13992 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13993
13994         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
13995         * check/gst/gstmessage.c: (GST_START_TEST):
13996         * check/gst/gststructure.c: (GST_START_TEST),
13997         (gst_structure_suite), (main):
13998           more testing
13999         * gst/gstelement.c: (gst_element_message_full):
14000           clean up GError and debug string now that they get copied
14001         * gst/gstmessage.c: (gst_message_new_error),
14002         (gst_message_new_warning), (gst_message_parse_error),
14003         (gst_message_parse_warning):
14004           use GST_TYPE_G_ERROR for structure_new, and take copies of
14005           arguments, so that we don't mess up refcounting
14006
14007 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14008
14009         * check/Makefile.am:
14010           add per-test valgrind targets
14011         * check/gst-libs/gdp.c: (GST_START_TEST),
14012         (gst_data_protocol_suite), (main):
14013           clean up
14014
14015 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14016
14017         * check/Makefile.am:
14018           instate more valgrindable tests
14019         * check/elements/gstfakesrc.c: (chain_func), (event_func),
14020         (GST_START_TEST), (fakesrc_suite):
14021         * check/gst/gstpad.c: (GST_START_TEST):
14022         * check/gst/gststructure.c: (GST_START_TEST):
14023           fix test leaks
14024         * docs/gst/tmpl/gstminiobject.sgml:
14025         * gst/gstpad.c: (gst_pad_finalize):
14026           fix the static mutex leak
14027
14028 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14029
14030         * check/Makefile.am:
14031           add two more tests for valgrinding
14032         * check/gst/gstvalue.c: (GST_START_TEST):
14033           test refcount of deserialized buffer, found a leak
14034         * docs/gst/gstreamer-docs.sgml:
14035         * docs/gst/gstreamer-sections.txt:
14036         * docs/gst/gstreamer.types:
14037         * docs/gst/tmpl/gstminiobject.sgml:
14038           add miniobject to docs
14039         * gst/gstminiobject.c:
14040           add some docs
14041         * gst/gstvalue.c: (gst_value_deserialize_buffer),
14042         (gst_string_unwrap):
14043           fix a hard-to-find invalid write for one of the tests
14044           fix a leak for deserialized buffers
14045
14046 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14047
14048         * docs/pwg/advanced-events.xml:
14049         * docs/pwg/advanced-request.xml:
14050         * docs/pwg/advanced-scheduling.xml:
14051         * docs/pwg/appendix-porting.xml:
14052         * docs/pwg/building-boiler.xml:
14053         * docs/pwg/intro-preface.xml:
14054         * docs/pwg/other-ntoone.xml:
14055           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
14056           of example code and explanation for pad activation, loop() and
14057           getrange() functions and a bit more. Remove old comments pointing
14058           to loop-functions.
14059         * examples/pwg/Makefile.am:
14060           Add loop/getrange examples.
14061
14062 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14063
14064         * configure.ac:
14065           check for valgrind binary + some fixes
14066         * check/gst.supp:
14067           valgrind suppressions for the tests
14068         * check/Makefile.am:
14069           add a valgrind: target that valgrinds the unit tests
14070         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
14071         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
14072         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14073         * check/gst/gstghostpad.c:
14074           added some cleanup
14075         * check/gst/gstdata.c:
14076           removed
14077         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
14078         (thread_unref), (gst_mini_object_suite), (main):
14079           added
14080         * gst/gst.c: (gst_deinit):
14081         * gst/gst.h:
14082           add a method to clean up.
14083         * gst/gstsystemclock.c: (gst_system_clock_dispose),
14084         (gst_system_clock_obtain):
14085           allow for disposing the system clock.
14086         * tools/gst-launch.c: (main):
14087           deinit
14088
14089 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
14090
14091         * docs/gst/tmpl/gstbasesrc.sgml:
14092         * docs/gst/tmpl/gstfakesrc.sgml:
14093         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14094         (gst_base_src_init), (gst_base_src_set_property),
14095         (gst_base_src_get_property), (gst_base_src_get_range),
14096         (gst_base_src_start):
14097         * gst/base/gstbasesrc.h:
14098           add num-buffers property
14099         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14100         (gst_fakesrc_init), (gst_fakesrc_set_property),
14101         (gst_fakesrc_get_property), (gst_fakesrc_create),
14102         (gst_fakesrc_start):
14103           remove num-buffers property
14104
14105 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14106
14107         * docs/gst/gstreamer-sections.txt:
14108         * docs/gst/tmpl/gstbasesink.sgml:
14109         * docs/gst/tmpl/gstbasesrc.sgml:
14110         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
14111         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
14112         (gst_base_sink_finalize), (gst_base_sink_set_clock),
14113         (gst_base_sink_set_property), (gst_base_sink_get_property),
14114         (gst_base_sink_handle_object), (gst_base_sink_event),
14115         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
14116         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
14117         (gst_base_sink_loop), (gst_base_sink_deactivate),
14118         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
14119         (gst_base_sink_change_state):
14120         * gst/base/gstbasesink.h:
14121         * gst/base/gstbasesrc.h:
14122         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
14123         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
14124         (gst_filesink_init):
14125           more macro splitting
14126
14127 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14128
14129         * gst/gstelement.c: (gst_element_get_bus):
14130           add debug
14131         * tools/gst-launch.c: (check_intr), (event_loop):
14132           fix bus leaks
14133
14134 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14135
14136         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
14137           fix a caps leak
14138
14139 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14140
14141         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14142         (gst_base_src_finalize):
14143           add finalize method and clean up properly
14144         * gst/gstpipeline.c: (gst_pipeline_dispose):
14145           add debug
14146
14147 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14148
14149         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
14150         (gst_bin_suite):
14151           add more things to check
14152         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
14153         * gst/gstelement.c:
14154           more debug
14155
14156 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14157
14158         * check/elements/gstfakesrc.c: (chain_func), (event_func),
14159         (GST_START_TEST), (fakesrc_suite):
14160         * check/gst-libs/gdp.c: (GST_START_TEST):
14161         * check/gst/gst.c: (GST_START_TEST):
14162         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
14163         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
14164         * check/gst/gstbus.c: (GST_START_TEST):
14165         * check/gst/gstcaps.c: (GST_START_TEST):
14166         * check/gst/gstdata.c: (GST_START_TEST):
14167         * check/gst/gstelement.c: (GST_START_TEST):
14168         * check/gst/gstghostpad.c: (GST_START_TEST):
14169         * check/gst/gstiterator.c: (GST_START_TEST):
14170         * check/gst/gstmessage.c: (GST_START_TEST):
14171         * check/gst/gstobject.c: (GST_START_TEST):
14172         * check/gst/gstpad.c: (GST_START_TEST):
14173         * check/gst/gststructure.c: (GST_START_TEST):
14174         * check/gst/gstsystemclock.c: (GST_START_TEST),
14175         (gst_systemclock_suite):
14176         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
14177         * check/gst/gstvalue.c: (GST_START_TEST):
14178         * check/pipelines/cleanup.c: (GST_START_TEST):
14179         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
14180         * check/states/sinks.c: (GST_START_TEST):
14181         * check/gstcheck.c: (gst_check_init):
14182         * check/gstcheck.h:
14183           add debugging category
14184           use GST_START_TEST now, so we add a debug line
14185
14186 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
14187
14188         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
14189           add test for state change message on a bin
14190         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
14191           add another test
14192         * gst/gstbin.c: (gst_bin_init):
14193         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
14194         * gst/gstelement.c: (gst_element_post_message),
14195         (gst_element_set_state):
14196         * gst/gstelementfactory.c: (gst_element_factory_create):
14197         * gst/gstmessage.c: (gst_message_new):
14198         * gst/gstscheduler.c:
14199           various debugging additions and cleanups
14200
14201 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14202
14203         * check/Makefile.am:
14204         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
14205         (main):
14206           adding tests for elements
14207         * gst/gstelement.c: (gst_element_dispose):
14208
14209 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14210
14211         * gst/registries/gstlibxmlregistry.c: (load_feature):
14212           plug more leaks.  A simple gst_init() now is leakfree, yay.
14213
14214 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14215
14216         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
14217         (gst_xml_registry_load):
14218           plug another memleak
14219
14220 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14221
14222         * configure.ac:
14223           use GST_SET_ERROR_CFLAGS
14224         * docs/faq/cvs.xml:
14225           change to ERROR_CFLAGS
14226
14227 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
14228
14229         * configure.ac:
14230           make GST_ERROR_CFLAGS overridable and re-enable Werror
14231         * docs/faq/cvs.xml:
14232           add a note about error CFLAGS
14233         * docs/gst/tmpl/gstfakesrc.sgml:
14234         * gst/elements/gstfakesrc.c:
14235           comment out some unused code
14236         * gst/gst.c: (split_and_iterate):
14237         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
14238         (load_feature):
14239           plug some memleaks
14240
14241 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14242
14243         * common/Makefile.am:
14244         * common/gtk-doc.mak:
14245         * docs/gst/Makefile.am:
14246           factor out gtk-doc.mak
14247
14248 2005-07-07  Wim Taymans  <wim@fluendo.com>
14249
14250         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
14251         (gst_thread_scheduler_dispose):
14252         Unlock the STREAM_LOCK completely.
14253
14254 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
14255
14256         * check/Makefile.am:
14257         * check/elements/.cvsignore:
14258         * check/elements/gstfakesrc.c: (chain_func), (event_func),
14259         (START_TEST), (fakesrc_suite), (main):
14260         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
14261         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
14262         (gst_fakesrc_create), (gst_fakesrc_start):
14263         * gst/elements/gstfakesrc.h:
14264           adding a first element test
14265
14266 2005-07-07  Andy Wingo  <wingo@pobox.com>
14267
14268         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
14269         debug message.
14270
14271 2005-07-07  Wim Taymans  <wim@fluendo.com>
14272
14273         * gst/gstquery.c:
14274         * gst/gstquery.h:
14275         Remove old types
14276
14277 2005-07-07  Wim Taymans  <wim@fluendo.com>
14278
14279         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
14280         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
14281         Allow subclasses to implement their own negotiation.
14282
14283 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
14284
14285         * docs/design/part-gstbin.txt:
14286         * docs/design/part-gstpipeline.txt:
14287           Update design notes to reflect the movement of
14288           responsibility for bus handling from GstPipeline to
14289           GstBin
14290
14291 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
14292
14293         * configure.ac:
14294           Remove unnecessary queue2/3/4 examples.
14295
14296 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
14297
14298         * examples/Makefile.am:
14299         * examples/helloworld/helloworld.c: (event_loop), (main):
14300         * examples/queue/queue.c: (event_loop), (main):
14301         * examples/queue2/queue2.c: (main):
14302           Update a couple of the examples to work again.
14303
14304         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14305         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
14306          Spelling corrections and extra debug.
14307         
14308         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
14309         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
14310         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
14311         * gst/gstbin.h:
14312         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
14313         (gst_pipeline_change_state):
14314         * gst/gstpipeline.h:
14315           Move the bus handler for children to the GstBin, and create a
14316           separate bus for receiving messages from children to the one the
14317           bus sends 'upwards' on.
14318
14319 2005-07-06  Wim Taymans  <wim@fluendo.com>
14320
14321         * gst/base/README:
14322         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14323         (gst_base_sink_handle_object), (gst_base_sink_loop),
14324         (gst_base_sink_change_state):
14325         * gst/base/gstbasesink.h:
14326         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
14327         (gst_base_src_init), (gst_base_src_setcaps),
14328         (gst_base_src_getcaps), (gst_base_src_loop),
14329         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
14330         (gst_base_src_start), (gst_base_src_change_state):
14331         * gst/base/gstbasesrc.h:
14332         Make basesrc negotiate.
14333         Handle the case where preroll fails in basesink.
14334         Update README.
14335
14336 2005-07-06  Wim Taymans  <wim@fluendo.com>
14337
14338         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
14339         Implement the fixate function.
14340         Clean up acceptcaps.
14341
14342 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14343
14344         * docs/pwg/building-filterfactory.xml:
14345         * docs/pwg/pwg.xml:
14346           Remove never-written filter-factory chapter; I'll add the various
14347           base classes to part 4 ("other element types") later on.
14348
14349 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14350
14351         * docs/pwg/advanced-negotiation.xml:
14352         * docs/pwg/building-boiler.xml:
14353         * docs/pwg/building-pads.xml:
14354         * docs/pwg/pwg.xml:
14355         * examples/pwg/Makefile.am:
14356           Add a chapter on caps negotiation, simplify the original code
14357           samples a bit w.r.t. caps negotiation, add link to the advanced
14358           section. Add a bunch of examples showing different use cases of
14359           different types of caps negotiation. Upstream renegotiation isn't
14360           fully documented yet since nobody knows how that works.
14361
14362 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14363
14364         * check/gst/gstpad.c:
14365         * check/gstcheck.c:
14366         * gst/gstpad.c: (gst_pad_get_internal_links_default):
14367           if pad has no parent, return NULL as list of internal links
14368
14369 2005-07-05  Andy Wingo  <wingo@pobox.com>
14370
14371         * gst/elements/gstfilesrc.c:
14372         * gst/elements/gstfakesrc.c: 
14373         * gst/base/gstpushsrc.c:
14374         * gst/base/gstbasesrc.h: 
14375         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
14376         
14377 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
14378
14379         * Makefile.am:
14380           better report generation target (lcov needs a patch)
14381
14382 2005-07-05  Andy Wingo  <wingo@pobox.com>
14383
14384         * gst/elements, testsuite: Null if we got it...
14385
14386 2005-07-05  Wim Taymans  <wim@fluendo.com>
14387
14388         * configure.ac:
14389         * libs/gst/dataprotocol/Makefile.am:
14390         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
14391         * libs/gst/dataprotocol/dataprotocol.h:
14392         * pkgconfig/Makefile.am:
14393         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
14394         * pkgconfig/gstreamer-dataprotocol.pc.in:
14395         Ported dataprotol to 0.9. 
14396         Added pkgconfig files.
14397
14398 2005-07-05  Andy Wingo  <wingo@pobox.com>
14399
14400         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
14401         Default to returning TRUE for the case when tranform_caps returns
14402         a fixed caps, like for identity or volume.
14403
14404         * check/gst/gstbus.c (pound_bus_with_messages): 
14405         * check/gst/gstmessage.c (START_TEST): 
14406         * check/pipelines/simple_launch_lines.c (got_handoff): Application
14407         message API change.
14408
14409         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
14410         logic weaks here: always run transform_caps, trying passthrough
14411         operation only if the original caps intersects with the transform.
14412
14413         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
14414         source and sink caps.
14415
14416         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
14417         Intersect the peer caps with the pad template before going into
14418         transform_caps.
14419         (gst_base_transform_transform_caps): More debugging.
14420
14421         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
14422         src argument.
14423
14424 2005-07-04  Edward Hervey  <edward@fluendo.com>
14425
14426         * gst/gstutils.c:
14427         * gst/gstutils.h:
14428         (gst_pad_add_*_probe): now returns the signal id for better wrapping
14429         in bindings.
14430
14431 2005-07-04  Andy Wingo  <wingo@pobox.com>
14432
14433         * check/gst/gstpad.c: Only set explicit caps on pads.
14434
14435 2005-07-01  Andy Wingo  <wingo@pobox.com>
14436
14437         * tests/network-clock.scm: Commentary update.
14438
14439         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
14440         Didn't really make sense, not implementable with basetransform,
14441         etc.
14442         (gst_identity_transform): Unref inbuf via make_writable. Feeble
14443         attempt at implementing the sync property, needs an unlock method.
14444
14445         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
14446         New func, by default returns the same caps (the identity
14447         transformation).
14448         (gst_base_transform_getcaps): Uses transform_caps to return
14449         something sensible.
14450         (gst_base_transform_setcaps): Complicated logic to get caps on
14451         both pads, even if they are different, and to call set_caps once
14452         for every time both pads get their caps set.
14453         (gst_base_transform_handle_buffer): Give the ref to the transform
14454         function. Allows in-place modification of the buffer.
14455
14456         * gst/base/gstbasetransform.h (transform_caps): New class method.
14457         Given caps on one side, what can I do on the other.
14458         (set_caps): Take two caps, one for each side of the element.
14459
14460         * gst/gstpad.h:
14461         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
14462         caps in place. This is safe because we can check the mutability of
14463         the caps, and a good idea because fixate functions are just called
14464         as a matter of last resort. (Not actually implemented.)
14465         (gst_pad_set_caps): If the caps we're setting is actually the same
14466         as the existing pad caps, just update the pointer without calling
14467         setcaps. Assert that caps is either NULL or fixed, as per the
14468         docs.
14469
14470         * gst/gstghostpad.c: Update for fixate changes.
14471
14472 2005-07-02  Andy Wingo  <wingo@pobox.com>
14473
14474         * gst/gstcaps.c:
14475         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
14476         two refcounts makes it immutable, which is enough. Doc more.
14477
14478 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
14479
14480         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
14481           Put the mini_object into GValue as a mini_object,
14482           not a gpointer, since that's how we declared
14483           the signal.
14484
14485 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14486
14487         * examples/pwg/Makefile.am:
14488           Fix buildbot again.
14489
14490 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14491
14492         * docs/pwg/building-testapp.xml:
14493           Add extra check.
14494         * examples/pwg/Makefile.am:
14495           Fix buildbot.
14496
14497 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14498
14499         * configure.ac:
14500         * examples/Makefile.am:
14501         * examples/pwg/Makefile.am:
14502         * examples/pwg/extract.pl:
14503           Enable building the PWG examples.
14504         * docs/pwg/advanced-interfaces.xml:
14505           Add URI interface stub.
14506         * docs/pwg/advanced-types.xml:
14507         * docs/pwg/other-autoplugger.xml:
14508         * docs/pwg/appendix-porting.xml:
14509         * docs/pwg/pwg.xml:
14510           Add porting guide (mostly stubs), remove autoplugging (see ADM).
14511         * docs/pwg/building-boiler.xml:
14512         * docs/pwg/building-chainfn.xml:
14513         * docs/pwg/building-pads.xml:
14514         * docs/pwg/building-props.xml:
14515         * docs/pwg/building-state.xml:
14516         * docs/pwg/building-testapp.xml:
14517           Update the building-*.xml parts for 0.9 changes. All examples
14518           code blocks compile in examples/pwg/*.
14519
14520 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14521
14522         * docs/manual/advanced-autoplugging.xml:
14523         * docs/manual/appendix-checklist.xml:
14524         * docs/manual/appendix-integration.xml:
14525         * docs/manual/highlevel-components.xml:
14526           Fix playbin/decodebin examples, update docs a bit, mention bus
14527           instead of signals in various places, mention kmplayer and
14528           kaffeine since they have a working GStreamer backend in the KDE
14529           section.
14530
14531 2005-06-30  Wim Taymans  <wim@fluendo.com>
14532
14533         * CHANGES-0.9:
14534         * docs/design/draft-ghostpads.txt:
14535         * docs/design/draft-push-pull.txt:
14536         * docs/design/draft-query.txt:
14537         * docs/design/part-TODO.txt:
14538         * docs/design/part-query.txt:
14539         Added CHANGES-0.9 doc, updated status of other docs.
14540         
14541         * gst/gstquery.h:
14542         Remove "hmm" macro
14543
14544 2005-06-30  Wim Taymans  <wim@fluendo.com>
14545
14546         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
14547         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
14548         (gst_base_sink_change_state):
14549         * gst/base/gstbasesink.h:
14550         Some tweaks, only EOS and a buffer complete a preroll.
14551
14552 2005-06-30  Andy Wingo  <wingo@pobox.com>
14553
14554         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
14555         activate_push down to the internal pad as well.
14556
14557 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
14558
14559         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14560
14561         * gst/gsttaginterface.c:
14562           Some documentation fixes (#307394 and #307397).
14563
14564 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
14565
14566         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14567
14568         * gst/gstvalue.c: (gst_value_intersect_list):
14569           Fix memleak (#309125).
14570
14571 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14572
14573         * docs/manual/advanced-dataaccess.xml:
14574           Fix fakesrc example to compile; doesn't work, bug somewhere...?
14575         * docs/manual/basics-pads.xml:
14576           Add reference for filtered caps to above chapter.
14577
14578 2005-06-30  Wim Taymans  <wim@fluendo.com>
14579
14580         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
14581         (gst_bin_change_state):
14582         Probes are gone.
14583         Lame attempt at making the state change function a bit
14584         more readable.
14585
14586 2005-06-30  Wim Taymans  <wim@fluendo.com>
14587
14588         * docs/design/part-clocks.txt:
14589         * docs/design/part-element-sink.txt:
14590         * docs/design/part-events.txt:
14591         * docs/design/part-preroll.txt:
14592         * docs/design/part-states.txt:
14593         Some more tweeks and additions to the docs.
14594
14595 2005-06-30  Wim Taymans  <wim@fluendo.com>
14596
14597         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14598         (default_have_data), (gst_pad_class_init), (gst_pad_init),
14599         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14600         (gst_pad_check_pull_range), (gst_pad_get_range),
14601         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
14602         * gst/gstpad.h:
14603         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
14604         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14605         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14606         (gst_pad_remove_buffer_probe):
14607         Removed atomic operations, use existing LOCK.
14608         Move exception handling out of main code path.
14609
14610 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14611
14612         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14613         (silly_return_true_function), (gst_pad_class_init),
14614         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
14615         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
14616         (gst_pad_send_event):
14617           Fix accumulator, add default value by using _emitv() instead
14618           of _emit() for signal emission.
14619
14620 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14621
14622         * docs/manual/advanced-dataaccess.xml:
14623         * examples/manual/Makefile.am:
14624           Add probe example.
14625         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
14626           Make work (??).
14627
14628 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
14629
14630         * gst/elements/gstfilesink.c: (gst_filesink_render):
14631           Simplify code so that we don't have to handle short
14632           writes and return GST_FLOW_ERROR if an error occured.
14633
14634 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14635
14636         * docs/gst/gstreamer-docs.sgml:
14637           Remove probes more.
14638
14639 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14640
14641         * docs/gst/gstreamer-sections.txt:
14642         * docs/gst/tmpl/gstpad.sgml:
14643         * docs/gst/tmpl/gstprobe.sgml:
14644         * gst/Makefile.am:
14645         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
14646         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
14647         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
14648         (gst_pad_push_event), (gst_pad_send_event):
14649         * gst/gstpad.h:
14650         * gst/gstutils.c: (gst_pad_add_data_probe),
14651         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14652         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14653         (gst_pad_remove_buffer_probe):
14654         * gst/gstutils.h:
14655           Remove old probes, add new g-signal-based probes and some utility
14656           functions.
14657
14658 2005-06-29  Edward Hervey  <edward@fluendo.com>
14659
14660         * gst/gstelementfactory.c:
14661         * gst/gstutils.h:
14662         * gst/gstutils.c:
14663         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
14664         the definition to the header file.
14665
14666 2005-06-29  Andy Wingo  <wingo@pobox.com>
14667
14668         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
14669         plugins from the source directory.
14670
14671 2005-06-29  Wim Taymans  <wim@fluendo.com>
14672
14673         * docs/gst/tmpl/gstbuffer.sgml:
14674         * docs/gst/tmpl/gstclock.sgml:
14675         Some fixings for blantently wrong text.
14676
14677 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14678
14679         * check/Makefile.am:
14680         * gst/gst.c: (add_path_func), (init_pre):
14681         * gst/gstregistry.c: (gst_registry_add_path):
14682           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
14683           only scan the GST_PLUGIN_PATH locations, and not add
14684           system locations
14685
14686 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
14687
14688         * docs/gst/gstreamer-sections.txt:
14689         * docs/gst/tmpl/gstbasesrc.sgml:
14690         * gst/gstelement.c:
14691         * gst/gstelement.h:
14692         * gst/gstevent.c:
14693         * gst/gstutils.c:
14694           doc fixes
14695
14696 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14697
14698         * docs/manual/advanced-autoplugging.xml:
14699           Fix autoplugging example.
14700
14701 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14702
14703         * docs/manual/advanced-autoplugging.xml:
14704         * docs/manual/mime-world.fig:
14705           Try to get autoplugging working, fix type detection. Fix text
14706           in hello-world image.
14707
14708 2005-06-29  Wim Taymans  <wim@fluendo.com>
14709
14710         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
14711         (gst_base_sink_change_state):
14712         Small debug line.
14713
14714         * gst/gstclock.h:
14715         map SIGNAL and BROADCAST to the right function.
14716
14717         * gst/gstobject.h:
14718         Remove redundant braces.
14719
14720         * gst/gstpad.c: (gst_pad_set_caps):
14721         Don't call setcaps function when reseting caps to NULL.
14722
14723         * gst/gstsystemclock.c: (gst_system_clock_dispose),
14724         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
14725         (gst_system_clock_id_unschedule):
14726         Use BROADCAST as this is what we do.
14727
14728 2005-06-29  Wim Taymans  <wim@fluendo.com>
14729
14730         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
14731         We are actually prerolling before commiting the state
14732         change. 
14733
14734 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
14735
14736         * docs/manual/advanced-clocks.xml:
14737         * docs/manual/advanced-interfaces.xml:
14738         * docs/manual/advanced-metadata.xml:
14739         * docs/manual/advanced-position.xml:
14740         * docs/manual/advanced-schedulers.xml:
14741         * docs/manual/advanced-threads.xml:
14742         * docs/manual/appendix-porting.xml:
14743         * docs/manual/basics-bins.xml:
14744         * docs/manual/basics-bus.xml:
14745         * docs/manual/basics-elements.xml:
14746         * docs/manual/basics-helloworld.xml:
14747         * docs/manual/basics-pads.xml:
14748         * docs/manual/highlevel-components.xml:
14749         * docs/manual/manual.xml:
14750         * docs/manual/thread.fig:
14751           Update (until threads/scheduling) Application Development Manual;
14752           remove GstThread, add GstBus, add simple porting checklist, add
14753           documentation for tag writing, clocks, make all examples until this
14754           part compile and run.
14755         * examples/manual/Makefile.am:
14756           Update from changes to Application Development Manual; add bus
14757           example, remove thread example.
14758
14759 2005-06-28  Wim Taymans  <wim@fluendo.com>
14760
14761         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
14762         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
14763         (gst_bus_source_dispatch):
14764         Add debugging messages.
14765         Make internal methods static.
14766         Handle the case where the bus is flushed in the handler.
14767         
14768         * gst/gstelement.c: (gst_element_get_bus):
14769         Fix refcount in _get_bus();
14770
14771         * gst/gstpipeline.c: (gst_pipeline_change_state),
14772         (gst_pipeline_get_clock_func):
14773         Clock refcounting fixes.
14774         Handle the case where preroll timed out more gracefully.
14775         
14776         * gst/gstsystemclock.c: (gst_system_clock_dispose):
14777         Clean up the internal thread in dispose. This is needed
14778         for subclasses that actually get disposed.
14779         
14780         * gst/schedulers/threadscheduler.c:
14781         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
14782         (gst_thread_scheduler_dispose):
14783         Free thread pool in dispose.
14784
14785 2005-06-28  Andy Wingo  <wingo@pobox.com>
14786
14787         * tests/network-clock-utils.scm (debug, print-event): New utils.
14788
14789         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
14790         (*packet-loss*): Unified loss probability.
14791         (network-time): Report out-of-band events.
14792
14793         * tests/plot-data: Add support for out-of-band events. Hack it
14794         into this script instead of passing it down the pipe; should fix
14795         this later.
14796
14797 2005-06-28  Wim Taymans  <wim@fluendo.com>
14798
14799         * docs/gst/gstreamer.types:
14800         * docs/gst/tmpl/gstbasesrc.sgml:
14801         * docs/gst/tmpl/gstpad.sgml:
14802         Docs fixes.
14803
14804 2005-06-28  Wim Taymans  <wim@fluendo.com>
14805
14806         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14807         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
14808         (gst_proxy_pad_do_fixatecaps):
14809         Correctly proxy the check_pull_range function.
14810
14811 2005-06-28  Andy Wingo  <wingo@pobox.com>
14812
14813         * tests/network-clock.scm: Removed need for slib.
14814         
14815 2005-06-28  Wim Taymans  <wim@fluendo.com>
14816
14817         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
14818         (gst_basesink_preroll_queue_flush):
14819         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
14820         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
14821         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14822         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
14823         (gst_proxy_pad_set_property):
14824         * gst/gstpad.c:
14825         * gst/gstpad.h:
14826         * gst/gstqueue.c: (gst_queue_init):
14827         The deprecated pad loop function is removed now.
14828
14829 2005-06-28  Andy Wingo  <wingo@pobox.com>
14830
14831         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
14832         New parameters, simulate network packet loss.
14833
14834         * tests/network-clock-utils.scm: Initialize the RNG.
14835
14836 2005-06-28  Wim Taymans  <wim@fluendo.com>
14837
14838         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
14839         (gst_basesink_event), (gst_basesink_deactivate):
14840         Flushing the preroll queue always needs to unlock the waiters.
14841
14842 2005-06-28  Edward Hervey  <edward@fluendo.com>
14843
14844         * gst/gstpipeline.c: (gst_pipeline_send_event): 
14845         Wheen a seek was successful on a pipeline, set the stream_time to the
14846         seek offset in order to have a synchronized stream_time.
14847
14848 2005-06-28  Wim Taymans  <wim@fluendo.com>
14849
14850         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
14851         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
14852         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
14853         (gst_proxy_pad_do_fixatecaps):
14854         Call wrapper function instead of just calling the function
14855         pointers. This takes care of any locking and whatmore.
14856
14857 2005-06-28  Wim Taymans  <wim@fluendo.com>
14858
14859         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
14860         (gst_pad_pull_range):
14861         * gst/gstpad.h:
14862         CONNECTED -> LINKED.
14863
14864 2005-06-28  Andy Wingo  <wingo@pobox.com>
14865
14866         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
14867         source-munging commit!!!
14868
14869         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
14870         (gst_object_sink): Take gpointer arguments, not GstObject --
14871         avoids casts. Like GLib.
14872
14873         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
14874         activate.
14875
14876 2005-06-27  Andy Wingo  <wingo@pobox.com>
14877
14878         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
14879         remaining buffer.
14880
14881         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
14882         returns a sorted copy of the trace list.
14883         (gst_alloc_trace_print_live): New API, only prints traces with
14884         live objects. Sort the list.
14885         (gst_alloc_trace_print_all): Sort the list.
14886         (gst_alloc_trace_print): Align columns.
14887
14888         * gst/elements/gstttypefindelement.c:
14889         * gst/elements/gsttee.c:
14890         * gst/base/gstbasesrc.c:
14891         * gst/base/gstbasesink.c:
14892         * gst/base/gstbasetransform.c:
14893         * gst/gstqueue.c: Adapt for pad activation changes.
14894
14895         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
14896         sched.
14897         (gst_pipeline_dispose): Drop ref on sched.
14898
14899         * gst/gstpad.c (gst_pad_init): Set the default activate func.
14900         (gst_pad_activate_default): Push mode by default.
14901         (pre_activate_switch, post_activate_switch): New stubs, things to
14902         do before and after switching activation modes on pads.
14903         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
14904         the pad's activate function to choose which mode to activate.
14905         Shortcut on deactivation and call the right function directly.
14906         (gst_pad_activate_pull): New API, (de)activates a pad in pull
14907         mode.
14908         (gst_pad_activate_push): New API, same for push mode.
14909         (gst_pad_set_activate_function) 
14910         (gst_pad_set_activatepull_function) 
14911         (gst_pad_set_activatepush_function): Setters for new API.
14912
14913         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
14914         Trace all miniobjects.
14915         (gst_mini_object_make_writable): Unref the arg if we copy, like
14916         gst_caps_make_writable.
14917
14918         * gst/gstmessage.c (_gst_message_initialize): No trace init.
14919
14920         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
14921         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
14922         Adapt for new pad API.
14923
14924         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
14925
14926         * gst/gstelement.h:
14927         * gst/gstelement.c (gst_element_iterate_src_pads) 
14928         (gst_element_iterate_sink_pads): New API functions.
14929         
14930         * gst/gstelement.c (iterator_fold_with_resync): New utility,
14931         should fold into gstiterator.c in some form.
14932         (gst_element_pads_activate): Simplified via use of fold and
14933         delegation of decisions to gstpad->activate.
14934
14935         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
14936         help in debugging.
14937
14938         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
14939         class once in init, like gstmessage. Didn't run into this issue
14940         but it seems correct. Don't initialize a trace, gstminiobject does
14941         that.
14942
14943         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
14944         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
14945         to the bus.
14946         (assert_live_count): New util function, uses alloc traces to check
14947         cleanup.
14948
14949         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
14950         To be modified when unlink drops the internal pad.
14951
14952 2005-06-27  Wim Taymans  <wim@fluendo.com>
14953
14954         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
14955         (gst_bin_change_state):
14956         Cleanup the get_state() function a little, make sure it
14957         iterates the same set of elements.
14958         Added stub iterate_state_order().
14959
14960 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
14961
14962         * docs/gst/gstreamer-docs.sgml:
14963         * docs/gst/gstreamer-sections.txt:
14964         * docs/gst/gstreamer.types:
14965         * docs/gst/tmpl/gstbasesink.sgml:
14966         * docs/gst/tmpl/gstbasesrc.sgml:
14967         * docs/gst/tmpl/gstbasetransform.sgml:
14968         * docs/gst/tmpl/gstelement.sgml:
14969         * docs/gst/tmpl/gstiterator.sgml:
14970         * gst/base/gstbasesrc.c:
14971         * gst/base/gstbasesrc.h:
14972         * gst/base/gstbasetransform.h:
14973         * gst/gstelement.c:
14974         * gst/gstiterator.h:
14975           adding basetransform and iterator docs
14976
14977 2005-06-27  Andy Wingo  <wingo@pobox.com>
14978
14979         * docs/design/part-activation.txt: Notes on how activation should
14980         work -- not quite implemented yet.
14981
14982 2005-06-25  Wim Taymans  <wim@fluendo.com>
14983
14984         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
14985         At least get the chain function correct, needs more
14986         fixing.
14987
14988 2005-06-25  Wim Taymans  <wim@fluendo.com>
14989
14990         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
14991         (gst_basesink_handle_object), (gst_basesink_event),
14992         (gst_basesink_do_sync), (gst_basesink_handle_event),
14993         (gst_basesink_change_state):
14994         * gst/gsttask.h:
14995         Right, two problems here: ghostpads don't take locks and
14996         glib _rec_mutex_lock_full() with depth==0 still locks.
14997         Catch illegal locking and g_warn them.
14998
14999 2005-06-25  Wim Taymans  <wim@fluendo.com>
15000
15001         * check/states/sinks.c: (START_TEST), (gst_object_suite):
15002         Have to check for completion now...
15003
15004 2005-06-25  Wim Taymans  <wim@fluendo.com>
15005
15006         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
15007         (gst_basesink_handle_object), (gst_basesink_event),
15008         (gst_basesink_do_sync), (gst_basesink_handle_event),
15009         (gst_basesink_change_state):
15010         * gst/gstpad.h:
15011         Unlock STREAM_LOCK whatever the recursion was.
15012
15013 2005-06-25  Wim Taymans  <wim@fluendo.com>
15014
15015         * gst/base/gstbasesink.c: (gst_basesink_set_property),
15016         (gst_basesink_preroll_queue_empty),
15017         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
15018         (gst_basesink_event), (gst_basesink_do_sync),
15019         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
15020         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
15021         (gst_basesink_change_state):
15022         Reworked the base sink, handle event and buffer serialisation
15023         correctly and removed possible deadlock.
15024         Handle EOS correctly.
15025
15026 2005-06-25  Wim Taymans  <wim@fluendo.com>
15027
15028         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
15029         (gst_pipeline_change_state):
15030         * tools/gst-launch.c: (check_intr), (event_loop), (main):
15031         Allow elements to post EOS in the state change function.
15032         Fix up -launch, make it exit the poll loop when the
15033         pipeline actually changed state.
15034         Fix up warning parsing in -launch.
15035
15036 2005-06-25  Wim Taymans  <wim@fluendo.com>
15037
15038         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
15039         (gst_tee_sink_activate):
15040         Core takes STREAM_LOCK for us now.
15041
15042 2005-06-25  Wim Taymans  <wim@fluendo.com>
15043
15044         * gst/gstelement.c: (gst_element_get_state_func),
15045         (gst_element_set_state):
15046         * gst/gstelement.h:
15047         * gst/gstmessage.c: (gst_message_parse_error),
15048         (gst_message_parse_warning):
15049         Keep track of current target state while performing a state
15050         change so that subclasses can do something interesting.
15051         Fix parsing of warning/error messages when GError is NULL.
15052
15053 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
15054
15055         * docs/gst/Makefile.am:
15056         * docs/gst/gstreamer-docs.sgml:
15057         * docs/gst/gstreamer-sections.txt:
15058         * docs/gst/gstreamer.types:
15059         * docs/gst/tmpl/gstbasesink.sgml:
15060         * docs/gst/tmpl/gstbasesrc.sgml:
15061         * docs/gst/tmpl/gstbin.sgml:
15062         * docs/gst/tmpl/gstcompat.sgml:
15063         * docs/gst/tmpl/gstfakesink.sgml:
15064         * docs/gst/tmpl/gstfakesrc.sgml:
15065         * docs/gst/tmpl/gstfilesink.sgml:
15066         * docs/gst/tmpl/gstfilesrc.sgml:
15067         * docs/gst/tmpl/gstindex.sgml:
15068         * docs/manual/appendix-quotes.xml:
15069         * gst/base/gstbasesrc.h:
15070         * gst/elements/gstfakesrc.h:
15071         * gst/gstmessage.h:
15072           start pulling in base classes and elements in our docs
15073
15074 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
15075
15076         * docs/gst/Makefile.am:
15077         * docs/libs/Makefile.am:
15078           fixed make distcheck with gtk-doc 1.3
15079
15080 2005-06-23  Wim Taymans  <wim@fluendo.com>
15081
15082         * gst/gstelement.c: (gst_element_get_state_func),
15083         (gst_element_set_state), (gst_element_change_state):
15084         When the state did not change, also report NO_PREROLL
15085         when it matters.
15086
15087 2005-06-23  Wim Taymans  <wim@fluendo.com>
15088
15089         * gst/gstpad.c: (gst_pad_event_default):
15090         * gst/gstqueue.c: (gst_queue_loop):
15091         No unsafe task pausing please.
15092
15093 2005-06-23  Wim Taymans  <wim@fluendo.com>
15094
15095         * gst/schedulers/threadscheduler.c:
15096         (gst_thread_scheduler_task_start),
15097         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
15098         Ref the task before pushing it on the threadpool. This
15099         makes sure that we have a ref when the threadfunction is
15100         actually called.
15101
15102 2005-06-23  Andy Wingo  <wingo@pobox.com>
15103
15104         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
15105         offset is greater than the file's size.
15106
15107         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
15108         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
15109         * gst/gstobject.c (gst_object_class_init): Make the class lock
15110         recursive. Wim won't let me drop deep_notify. Decodebin works
15111         again, whoopdy doo.
15112
15113         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
15114         internal pad, and hacks accordingly. Doesn't do it on the target
15115         pad because we change its caps. Probably catches all cases of
15116         interest tho.
15117         (gst_ghost_pad_set_property): Connect to notify::caps as
15118         appropritate.
15119
15120         * tests/network-clock.scm (plot-simulation): Pipe data to the
15121         elite python skript.
15122
15123         * tests/network-clock-utils.scm (define-parameter): New macro,
15124         defines a parameter that can be set via the command line.
15125         (set-parameter!, parse-parameter-arguments): Command line args
15126         parser.
15127
15128         * tests/plot-data: Simple matplotlib-based plotter, takes input on
15129         stdin.
15130
15131 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
15132
15133         * gst/elements/gsttypefindelement.c:
15134         (gst_type_find_element_handle_event):
15135           Don't restart typefinding on a discont.
15136         * gst/gstelement.c: (gst_element_set_state):
15137           Debug spelling fix.
15138         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
15139           Allow changing mode of an active pad.
15140           Debug output fixes.
15141         * gst/registries/gstlibxmlregistry.c: (load_feature):
15142           Don't cast a static pad template to a normal pad template.
15143
15144 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
15145
15146         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15147         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15148           remove gst_strtoll completely, since it didn't actually do
15149           anything more than what g_ascii_strtoull already does.
15150           check for range errors when deserializing
15151           do a cast for the unsigned cases; but further fixing needs
15152           a decision on what the interpretation of "(int)" and
15153           deserialization should be for values that fall outside the
15154           type's boundaries (ie, refuse, or interpret as casting)
15155
15156 2005-06-23  Wim Taymans  <wim@fluendo.com>
15157
15158         * check/Makefile.am:
15159         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
15160         * docs/design/part-live-source.txt:
15161         * docs/design/part-states.txt:
15162         * gst/base/gstbasesrc.c: (gst_basesrc_init),
15163         (gst_basesrc_set_live), (gst_basesrc_is_live),
15164         (gst_basesrc_get_range), (gst_basesrc_activate),
15165         (gst_basesrc_change_state):
15166         * gst/base/gstbasesrc.h:
15167         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
15168         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
15169         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
15170         * gst/gstelement.c: (gst_element_get_state_func),
15171         (gst_element_set_state):
15172         * gst/gstelement.h:
15173         * gst/gsttypes.h:
15174         * tools/gst-launch.c: (event_loop), (main):
15175         Added support for live sources and other elements that
15176         cannot do preroll.
15177         Updated design docs, added live-source design doc.
15178         Implemented live source functionality in basesrc
15179         Fix error condition in _bin_get_state()
15180         Implement live source handling in -launch.
15181         Added check for live sources.
15182         Fixed case in GstBin where elements were changed state
15183         multiple times.
15184
15185
15186 2005-06-23  Andy Wingo  <wingo@pobox.com>
15187
15188         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
15189         borken refcounting.
15190
15191         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
15192         gst_caps_replace takes care of this for us.
15193
15194         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
15195         gst_pad_set_caps on the target, not just its setcaps() function.
15196
15197         * tests/network-clock.scm: 
15198         * tests/network-clock-utils.scm: A network clock simulator.
15199         Something of an algorithmic testbed before doing something in C.
15200
15201 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15202
15203         * check/Makefile.am:
15204         * check/gst/capslist.h:
15205           copy over from 0.8, and add two with bitmasks specified with
15206           (int) 0xFF...
15207         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15208           add test to parse everything from capslist.h
15209         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
15210         (main):
15211           add test for structure deserialization
15212         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15213           add tests for deserialization of strings to int types
15214         * gst/gststructure.c: (gst_structure_nth_field_name):
15215         * gst/gststructure.h:
15216           add a way to get the name of a field referenced by index
15217         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
15218           instead of checking if the resulting long long lies between
15219           min and max, we check if the long long would fit into
15220           a number of bytes for the final type.
15221           This fixes cases where a string represents 2^32 - 1, which
15222           when cast to int would be the (valid) -1, but is bigger than
15223           G_MAXINT
15224
15225 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15226
15227         * gst/parse/grammar.y:
15228           add a log line for type deserialization
15229
15230 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
15231
15232         * check/gst/gstvalue.c: (START_TEST):
15233         * gst/gstvalue.c: (gst_value_deserialize):
15234           return long long, not int, so gint64 deserialization actually
15235           works.  Is there any flag that makes the compiler check this ?
15236           Fixes #308559
15237
15238 2005-06-22  Wim Taymans  <wim@fluendo.com>
15239
15240         * gst/gstbuffer.h:
15241         Added convenience macros for setting buffers in GValue.
15242
15243 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
15244
15245         * check/gst/.cvsignore:
15246         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
15247           add a test deserializing int64, and comment part out because
15248           it fails, yay !
15249
15250 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
15251
15252         * check/Makefile.am:
15253         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
15254         * testsuite/Makefile.am:
15255         * testsuite/caps/Makefile.am:
15256         * testsuite/caps/value_serialize.c:
15257         * testsuite/test_gst_init.c:
15258           move a value_serialize test over
15259
15260 2005-06-20  Wim Taymans  <wim@fluendo.com>
15261
15262         * gst/gstpad.c:
15263         Small doc updates.
15264         
15265         * gst/gstvalue.c: (gst_value_compare_buffer),
15266         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
15267         (gst_value_compare_flags), (gst_value_serialize_flags),
15268         (gst_value_deserialize_flags), (_gst_value_initialize):
15269         Fix serialisation of buffers, they are not boxed types anymore
15270
15271 2005-06-20  Wim Taymans  <wim@fluendo.com>
15272
15273         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
15274         Testcase to show error in buffer-on-caps serialisation.
15275
15276 2005-06-20  Andy Wingo  <wingo@pobox.com>
15277
15278         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
15279         will be adding to later.
15280
15281         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
15282         if its socks fill with rocks.
15283         (gst_system_clock_obtain): Set the name on object construction.
15284         Avoid double-checked locking.
15285
15286 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
15287
15288         * gst/gsturi.c: (gst_element_make_from_uri):
15289           Fix potential endless loop.
15290
15291 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15292
15293         * check/Makefile.am:
15294           add gsttag
15295         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
15296         (main):
15297           move over from testsuite dir and clean up
15298         * configure.ac:
15299         * gst/gsttag.c:
15300         * testsuite/Makefile.am:
15301         * testsuite/tags/.cvsignore:
15302         * testsuite/tags/Makefile.am:
15303         * testsuite/tags/merge.c:
15304           remove testsuite/tags
15305
15306 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15307
15308         * docs/gst/gstreamer-sections.txt:
15309         * docs/gst/tmpl/gstenumtypes.sgml:
15310         * win32/gstenumtypes.c:
15311           clean up documentation build a little
15312
15313 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15314
15315         * check/gstcheck.h:
15316           add macros for checking refcounts on objects and caps
15317         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
15318           add some more unit tests
15319         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15320         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
15321           fix leaked refcounts (I hope :)) so unittest works
15322         * gst/gstpad.h:
15323           whitespace removal
15324
15325 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
15326
15327         * configure.ac: back to HEAD
15328
15329 === release 0.9.1 ===
15330
15331 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15332
15333         * NEWS:
15334         * RELEASE:
15335           updated
15336
15337 2005-06-17  Andy Wingo  <wingo@pobox.com>
15338
15339         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
15340         assert; it's always possible that the pad gets deactivated in
15341         between the checks in gstpad.c and the implementation. Rely on
15342         finish_preroll() to return a FLUSHING or similar instead of on the
15343         assert.
15344         
15345         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
15346         clock and post an EOS message if we come out of finish_preroll in
15347         the playing state.
15348
15349 2005-06-16  David Schleef  <ds@schleef.org>
15350
15351         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
15352         (gst_capsfilter_set_property): Allow NULL as possible value
15353         for filter_caps property, indicating GST_CAPS_ANY.
15354
15355 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15356
15357         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
15358           fix debug output
15359         * gst/schedulers/Makefile.am:
15360           use libgst prefix
15361         * gstreamer.spec.in:
15362           fix spec for it
15363
15364 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
15365
15366         * gstreamer.spec.in:
15367           clean up
15368
15369 2005-06-08  Andy Wingo  <wingo@pobox.com>
15370
15371         * gst/gstutils.c: RPAD fixes all around.
15372         (gst_element_link_pads): Refcounting fixes.
15373
15374         * tools/gst-inspect.c:
15375         * tools/gst-xmlinspect.c:
15376         * parse/grammar.y:
15377         * gst/base/gsttypefindhelper.c:
15378         * gst/base/gstbasesink.c:
15379         * gst/gstqueue.c: RPAD fixes.
15380
15381         * gst/gstghostpad.h:
15382         * gst/gstghostpad.c: New ghost pad implementation as full proxy
15383         pads. The tricky thing is they provide both source and sink
15384         interfaces, since they proxy the internal pad for the external
15385         pad, and vice versa. Implement with lower-level ProxyPad objects,
15386         with the interior proxy pad as a child of the exterior ghost pad.
15387         Should write a doc on this.
15388         
15389         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
15390         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
15391         gst_object API.
15392         
15393         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
15394         pads are real pads. No ghost pads in this file. Not documenting
15395         the myriad s/RPAD/PAD/ and REALIZE fixes.
15396         (gst_pad_class_init): Add properties for "direction" and
15397         "template". Both are construct-only, so they can't change during
15398         the life of the pad. Fixes properly deriving from GstPad.
15399         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
15400         derived objects, just set properties when creating the objects via
15401         g_object_new.
15402         (gst_pad_get_parent): Implement as a function, return NULL if the
15403         parent is not an element.
15404         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
15405         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
15406         
15407         * gst/gstobject.c (gst_object_class_init): Make name a construct
15408         property. Don't set it in the object init.
15409
15410         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
15411         with UNKNOWN direction.
15412         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
15413         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
15414         (gst_element_remove_pad): Remove ghost-pad special cases.
15415         (gst_element_pads_activate): Remove rpad cruft.
15416
15417         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
15418         catch the pad's-parent-not-an-element case.
15419
15420         * gst/gst.h: Include gstghostpad.h.
15421
15422         * gst/gst.c (init_post): No more real, ghost pads.
15423
15424         * gst/Makefile.am: Add gstghostpad.[ch].
15425
15426         * check/Makefile.am:
15427         * check/gst/gstbin.c:
15428         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
15429         into a bin creates ghost pads, and that the refcounts are right.
15430         Partly moved from gstbin.c.
15431
15432 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15433
15434         * check/gst-libs/.cvsignore:
15435         * check/gst/.cvsignore:
15436         * check/pipelines/.cvsignore:
15437           ignore more
15438         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
15439         (START_TEST), (cleanup_suite), (main):
15440           add some tests related to cleanup after running pipelines
15441
15442 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15443
15444         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
15445           add a testsuite for GstBuffer
15446
15447 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
15448
15449         * gst/gstminiobject.h:
15450           add defines for accessing the refcount
15451
15452 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
15453
15454         * Makefile.am: added support for html unit test coverage reports
15455
15456 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
15457
15458         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
15459           Free existing caps if the capsfilter changes. Add a FIXME about
15460           setting those caps on the pads.
15461
15462         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
15463           Before adding a ghost pad to a parent bin, check that there isn't
15464           already one for the element on the bin. Prevents infinite recursion
15465           when using decodebin in parse pipelines. Andy says he'll rewrite the
15466           way this works anyway, so ignore the hack.
15467
15468 2005-06-02  Andy Wingo  <wingo@pobox.com>
15469
15470         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
15471         file size, pass it on to the type find helper.
15472
15473         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
15474         segment_start and segment_end properly according to the seek
15475         method. Segment_end is still a bit flaky because offset can be
15476         negative for CUR and END cases, but it takes -1 as an "unset"
15477         value.
15478
15479 2005-06-02  Wim Taymans  <wim@fluendo.com>
15480
15481         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
15482         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
15483         (gst_basesink_activate):
15484         * gst/base/gstbasesink.h:
15485         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15486         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15487         (gst_pad_query), (gst_pad_start_task):
15488         * gst/gstpad.h:
15489         * gst/gstqueue.c: (gst_queue_bufferalloc),
15490         (gst_queue_handle_sink_event), (gst_queue_chain):
15491         Bufferalloc: return GstFlowReturn to more accuratly report
15492         why allocation failed.
15493
15494 2005-06-02  Wim Taymans  <wim@fluendo.com>
15495
15496         * gst/gstpipeline.c: (gst_pipeline_send_event):
15497         Take snapshot of state without blocking.
15498
15499 2005-06-02  Wim Taymans  <wim@fluendo.com>
15500
15501         * docs/design/part-TODO.txt:
15502         * docs/design/part-caps.txt:
15503         * docs/design/part-clocks.txt:
15504         * docs/design/part-negotiation.txt:
15505         * docs/design/part-preroll.txt:
15506         Small doc updates 
15507
15508 2005-05-30  Wim Taymans  <wim@fluendo.com>
15509
15510         * gst/elements/gstidentity.c: (gst_identity_event),
15511         (gst_identity_transform), (gst_identity_get_property):
15512         Protect last_message property as it is accessed from
15513         multiple threads.
15514
15515 2005-05-30  Wim Taymans  <wim@fluendo.com>
15516
15517         * gst/gstelement.c: (gst_element_init),
15518         (gst_element_pads_activate), (gst_element_change_state):
15519         Slicker pad activation code.
15520
15521 2005-05-30  Wim Taymans  <wim@fluendo.com>
15522
15523         * gst/Makefile.am:
15524         * gst/gstelement.h:
15525         * gst/gstelementfactory.h:
15526         * gst/gsttypes.h:
15527         Move elementfactory methods to separate .h file.
15528
15529 2005-05-30  Wim Taymans  <wim@fluendo.com>
15530
15531         * docs/design/part-overview.txt:
15532         * gst/gstsystemclock.h:
15533         Small typo fixes, doc updates.
15534
15535 2005-05-30  Wim Taymans  <wim@fluendo.com>
15536
15537         * gst/gst.c: (gst_init_get_popt_table), (init_post),
15538         (init_popt_callback):
15539         Remove cpu-opt flag.
15540
15541 2005-05-30  Wim Taymans  <wim@fluendo.com>
15542
15543         * gst/gstbuffer.c: (gst_subbuffer_finalize),
15544         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
15545         * gst/gstbuffer.h:
15546         Avoid typechecking in places where not needed.
15547         Added accessor for malloc_data.
15548
15549 2005-05-30  Wim Taymans  <wim@fluendo.com>
15550
15551         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
15552         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
15553         (gst_pad_configure_sink), (gst_pad_configure_src),
15554         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
15555         (gst_pad_start_task):
15556         Propagate errors from _set_caps() in configure_src/sink
15557         functions instead of returning TRUE.
15558         FLUSH events can travel up and downstream
15559
15560
15561 2005-05-30  Wim Taymans  <wim@fluendo.com>
15562
15563         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15564         (gst_basesink_activate):
15565         Handle EOS in preroll.
15566
15567 2005-05-30  Wim Taymans  <wim@fluendo.com>
15568
15569         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15570         (gst_queue_loop), (gst_queue_handle_src_event):
15571         Remove old pieces of code
15572         Flushing the queue in an upstream event is a very bad idea.
15573
15574 2005-05-26  Andy Wingo  <wingo@pobox.com>
15575
15576         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
15577         gst_value_set_mini_object so as to add a ref on the object (which
15578         will be removed when the value is unset).
15579
15580         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
15581         arg type in ::handoff.
15582
15583         * gst/gstelement.c (gst_element_change_state): Also deactivate
15584         pads in READY->NULL, just in case the element didn't make it to
15585         PAUSED. Wingo tested, Wim approved.
15586
15587 2005-05-26  Wim Taymans  <wim@fluendo.com>
15588
15589         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15590         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
15591         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
15592         A flushing pad cannot be used to alloc_buffer from.
15593
15594 2005-05-26  Wim Taymans  <wim@fluendo.com>
15595
15596         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
15597         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
15598         (gst_bus_source_dispatch), (gst_bus_source_finalize),
15599         (gst_bus_create_watch), (gst_bus_add_watch_full):
15600         * gst/gstbus.h:
15601         Implement a real GSource and use g_main_context_wakeup() to
15602         signal new messages instead of the socketpair.
15603
15604 2005-05-25  Wim Taymans  <wim@fluendo.com>
15605
15606         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
15607         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
15608         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15609         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15610         (gst_pad_send_event), (gst_pad_start_task):
15611         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
15612         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
15613         (gst_queue_sink_activate), (gst_queue_src_activate),
15614         (gst_queue_change_state):
15615         * gst/gstqueue.h:
15616         Fix state changes for non sinks. We now change sinks, then elements
15617         with unconnected srcpads, then the rest.
15618         More efficient queue unlocking in flush and state changes.
15619         Set the pad activate mode even if it does not have an activate
15620         function.
15621
15622 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15623
15624         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
15625           Don't go in pull mode for non-seekable sources.
15626         * gst/elements/gsttypefindelement.h:
15627         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
15628         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
15629         (free_entry), (stop_typefinding),
15630         (gst_type_find_element_handle_event), (find_peek),
15631         (gst_type_find_element_chain), (do_pull_typefind),
15632         (gst_type_find_element_change_state):
15633           Allow typefinding (w/o seeking) in push-mode, simplified version
15634           of what was in 0.8.
15635         * gst/gstutils.c: (gst_buffer_join):
15636         * gst/gstutils.h:
15637           gst_buffer_join() from 0.8.
15638
15639 2005-05-25  Wim Taymans  <wim@fluendo.com>
15640
15641         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
15642         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
15643         (gst_pad_send_event), (gst_pad_start_task):
15644         Disable attempt at mode switching until it is figured out.
15645
15646 2005-05-25  Wim Taymans  <wim@fluendo.com>
15647
15648         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
15649         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
15650         (gst_basesink_finish_preroll), (gst_basesink_chain),
15651         (gst_basesink_loop), (gst_basesink_activate),
15652         (gst_basesink_change_state):
15653         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
15654         (gst_basesrc_get_range), (gst_basesrc_loop),
15655         (gst_basesrc_activate):
15656         * gst/elements/gsttee.c: (gst_tee_sink_activate):
15657         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
15658         (gst_real_pad_init), (gst_real_pad_set_property),
15659         (gst_real_pad_get_property), (gst_pad_set_active),
15660         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
15661         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
15662         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
15663         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
15664         (gst_pad_event_default_dispatch), (gst_pad_event_default),
15665         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
15666         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
15667         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
15668         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
15669         (gst_pad_stop_task):
15670         * gst/gstpad.h:
15671         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
15672         (gst_queue_loop), (gst_queue_src_activate):
15673         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
15674         (gst_task_get_state):
15675         * gst/gsttask.h:
15676         * gst/schedulers/threadscheduler.c:
15677         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
15678         Implement gst_pad_pause/start/stop_task(), take STREAM lock
15679         in task function.
15680         Remove ACTIVE pad flag, use FLUSHING everywhere
15681         Added _pad_chain(), _pad_get_range() to call chain/getrange 
15682         functions.
15683         Add locks around IS_FLUSHING when reading.
15684         Take STREAM lock in chain(), get_range() functions so plugins
15685         don't need to take it anymore.
15686         
15687
15688
15689 2005-05-25  Wim Taymans  <wim@fluendo.com>
15690
15691         * tools/gst-launch.c: (event_loop):
15692         Unref message after using its contents instead of
15693         before.
15694
15695 2005-05-24  Wim Taymans  <wim@fluendo.com>
15696
15697         * docs/design/draft-ghostpads.txt:
15698         * docs/design/draft-push-pull.txt:
15699         * docs/design/draft-query.txt:
15700         * docs/design/part-overview.txt:
15701         Docs updates, added general overview doc.
15702
15703 2005-05-21  David Schleef  <ds@schleef.org>
15704
15705         * docs/gst/tmpl/old/GstBin.sgml:
15706         * docs/gst/tmpl/old/GstBuffer.sgml:
15707         * docs/gst/tmpl/old/GstCaps.sgml:
15708         * docs/gst/tmpl/old/GstClock.sgml:
15709         * docs/gst/tmpl/old/GstCompat.sgml:
15710         * docs/gst/tmpl/old/GstData.sgml:
15711         * docs/gst/tmpl/old/GstElement.sgml:
15712         * docs/gst/tmpl/old/GstEvent.sgml:
15713         * docs/gst/tmpl/old/GstIndex.sgml:
15714         * docs/gst/tmpl/old/GstStructure.sgml:
15715         * docs/gst/tmpl/old/GstTag.sgml:
15716         * docs/gst/tmpl/old/cothreads.sgml:
15717         * docs/gst/tmpl/old/cothreads_compat.sgml:
15718         * docs/gst/tmpl/old/gettext.sgml:
15719         * docs/gst/tmpl/old/gobject2gtk.sgml:
15720         * docs/gst/tmpl/old/grammar.tab.sgml:
15721         * docs/gst/tmpl/old/gst-i18n-app.sgml:
15722         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
15723         * docs/gst/tmpl/old/gst_private.sgml:
15724         * docs/gst/tmpl/old/gstaggregator.sgml:
15725         * docs/gst/tmpl/old/gstarch.sgml:
15726         * docs/gst/tmpl/old/gstatomic_impl.sgml:
15727         * docs/gst/tmpl/old/gstbufferstore.sgml:
15728         * docs/gst/tmpl/old/gstdata_private.sgml:
15729         * docs/gst/tmpl/old/gstdisksink.sgml:
15730         * docs/gst/tmpl/old/gstdisksrc.sgml:
15731         * docs/gst/tmpl/old/gstelementfactory.sgml:
15732         * docs/gst/tmpl/old/gstextratypes.sgml:
15733         * docs/gst/tmpl/old/gstfakesink.sgml:
15734         * docs/gst/tmpl/old/gstfakesrc.sgml:
15735         * docs/gst/tmpl/old/gstfdsink.sgml:
15736         * docs/gst/tmpl/old/gstfdsrc.sgml:
15737         * docs/gst/tmpl/old/gstfilesink.sgml:
15738         * docs/gst/tmpl/old/gstfilesrc.sgml:
15739         * docs/gst/tmpl/old/gsthttpsrc.sgml:
15740         * docs/gst/tmpl/old/gstidentity.sgml:
15741         * docs/gst/tmpl/old/gstindexfactory.sgml:
15742         * docs/gst/tmpl/old/gstmarshal.sgml:
15743         * docs/gst/tmpl/old/gstmd5sink.sgml:
15744         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
15745         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
15746         * docs/gst/tmpl/old/gstpadtemplate.sgml:
15747         * docs/gst/tmpl/old/gstpipefilter.sgml:
15748         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
15749         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
15750         * docs/gst/tmpl/old/gstshaper.sgml:
15751         * docs/gst/tmpl/old/gstspider.sgml:
15752         * docs/gst/tmpl/old/gstspideridentity.sgml:
15753         * docs/gst/tmpl/old/gststatistics.sgml:
15754         * docs/gst/tmpl/old/gsttee.sgml:
15755         * docs/gst/tmpl/old/gsttimecache.sgml:
15756         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
15757         * docs/gst/tmpl/old/gstxmlregistry.sgml:
15758         * docs/gst/tmpl/old/gthread-cothreads.sgml:
15759         * docs/gst/tmpl/old/types.sgml:
15760           I didn't intend to add these or check them in.
15761
15762 2005-05-19  David Schleef  <ds@schleef.org>
15763
15764         * configure.ac: Use -no-common everywhere.  In a sane world, it
15765           would be the default in libtool, because without it, you can't
15766           build DLLs on Windows.
15767         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
15768         * docs/gst/gstreamer-sections.txt:
15769         * docs/gst/tmpl/gstcpu.sgml:
15770         * docs/gst/tmpl/gstdata.sgml:
15771         * docs/gst/tmpl/gstthread.sgml:
15772
15773 2005-05-19  David Schleef  <ds@schleef.org>
15774
15775         * gst/gstminiobject.c: (gst_value_set_mini_object),
15776         (gst_value_take_mini_object), (gst_value_get_mini_object):
15777         * gst/gstminiobject.h: Add GValue set/get functions.
15778
15779 2005-05-19  Wim Taymans  <wim@fluendo.com>
15780
15781         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
15782         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
15783         (gst_subbuffer_init), (gst_buffer_is_span_fast):
15784         * gst/gstbuffer.h:
15785         * gst/gstbus.c: (gst_bus_post):
15786         * gst/gstelement.c: (gst_element_get_random_pad):
15787         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
15788         Make subbufer unref the parent in finalize.
15789         some more debugging info.
15790
15791
15792 2005-05-19  Wim Taymans  <wim@fluendo.com>
15793
15794         * gst/base/gstbasesink.c: (gst_basesink_class_init),
15795         (gst_basesink_init), (gst_basesink_finalize),
15796         (gst_basesink_activate), (gst_basesink_change_state):
15797         Don't free preroll queue too early.
15798
15799 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15800
15801         * gst/Makefile.am:
15802         * gst/ROADMAP:
15803           Hi, I'm outdated. Please shoot me.
15804
15805 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15806
15807         * gst/gstpipeline.c: (gst_pipeline_send_event):
15808           Do not access variables after they have been deleted.
15809
15810 2005-05-19  Wim Taymans  <wim@fluendo.com>
15811
15812         * tools/gst-inspect.c: (print_plugin_features):
15813         A plugin feature does unfortunatly not use the
15814         object name yet...
15815
15816 2005-05-18  Wim Taymans  <wim@fluendo.com>
15817
15818         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
15819         Port _span() functions to new subbuffers.
15820
15821 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15822
15823         * gst/gstbin.c: (gst_bin_add_func):
15824           Fix clock settery in bins when adding kids after the clock has
15825           been selected.
15826
15827 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
15828
15829         * gst/elements/gstidentity.c: (gst_identity_class_init):
15830           Workaround until signals support GstMiniObject.
15831
15832 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
15833
15834         * gst/gstbuffer.c:
15835         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
15836
15837 2005-05-18  Wim Taymans  <wim@fluendo.com>
15838
15839         * gst/base/Makefile.am:
15840         * gst/base/gstadapter.c: (gst_adapter_base_init),
15841         (gst_adapter_class_init), (gst_adapter_init),
15842         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
15843         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
15844         (gst_adapter_flush), (gst_adapter_available),
15845         (gst_adapter_available_fast):
15846         * gst/base/gstadapter.h:
15847         Ported and added adapter to the base classes.
15848
15849 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15850
15851         * gst/gst.c:
15852         * gst/gstmessage.c:
15853           Make sure the class is reffed/unreffed once before threads can be
15854           used.  Fixes #304551.
15855
15856 2005-05-17  Wim Taymans  <wim@fluendo.com>
15857
15858         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
15859         (gst_basesink_chain_unlocked), (gst_basesink_activate):
15860         * gst/gstminiobject.c: (gst_mini_object_get_type),
15861         (gst_mini_object_free):
15862         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
15863         (gst_pad_push), (gst_pad_push_event):
15864         * gst/gstqueue.c: (gst_queue_change_state):
15865         Don't queue buffers in basesink when we are flushing.
15866         Unref buffer when flushing in basesink.
15867         Flush queue when going to READY
15868         Unref buffer when _push() returns an error.
15869         Don't free MiniObject instance when refcount is incremented
15870         in _finalize() so that we can recover objects.
15871
15872 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
15873
15874         * docs/manual/advanced-schedulers.xml:
15875         * docs/manual/appendix-checklist.xml:
15876         * docs/pwg/advanced-clock.xml:
15877         * docs/pwg/advanced-interfaces.xml:
15878         * docs/pwg/advanced-request.xml:
15879         * docs/pwg/advanced-types.xml:
15880         * docs/pwg/intro-preface.xml:
15881         * examples/plugins/example.c: (gst_example_get_type),
15882         (gst_example_class_init), (gst_example_chain),
15883         (gst_example_set_property), (gst_example_get_property),
15884         (gst_example_change_state), (plugin_init):
15885         * examples/plugins/example.h:
15886           small doc fixes
15887
15888 2005-05-17  Wim Taymans  <wim@fluendo.com>
15889
15890         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
15891         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
15892         * gst/gstqueue.c: (gst_queue_change_state):
15893         Clear queue when going to READY.
15894         Remove IN_SETCAPS flag too.
15895
15896 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
15897
15898         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
15899           Remove implicit cast from gboolean to GstElementStateReturn;
15900           make sure we still return failure in paused => ready case if
15901           the parent class fails to change state and our own stop 
15902           vfunc succeeds.
15903
15904 2005-05-17  Wim Taymans  <wim@fluendo.com>
15905
15906         * tools/gst-launch.c: (event_loop):
15907         Message was unreffed too soon.
15908
15909 2005-05-16  Andy Wingo  <wingo@pobox.com>
15910
15911         * gst/gstbin.c (sink_iterator_filter): Err... um...
15912
15913         * check/gst/gstbin.c (test_ghost_pads): New test for the
15914         ghosting-if-elements-not-in-same-bin behavior.
15915
15916 2005-05-16  David Schleef  <ds@schleef.org>
15917
15918         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
15919         accessing refcount directly.
15920
15921 2005-05-15  David Schleef  <ds@schleef.org>
15922
15923         * check/Makefile.am: remove GstData checks
15924         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
15925         * gst/Makefile.am: add miniobject, remove data
15926         * gst/gst.h: add miniobject, remove data
15927         * gst/gstdata.c: remove
15928         * gst/gstdata.h: remove
15929         * gst/gstdata_private.h: remove
15930         * gst/gsttypes.h: remove GstEvent and GstMessage
15931         * gst/gstelement.c: (gst_element_post_message): fix for API changes
15932         * gst/gstmarshal.list: change BOXED -> OBJECT
15933
15934         Implement GstMiniObject.
15935         * gst/gstminiobject.c:
15936         * gst/gstminiobject.h:
15937
15938         Modify to be subclasses of GstMiniObject.
15939         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
15940         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
15941         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
15942         (gst_subbuffer_get_type), (gst_subbuffer_init),
15943         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
15944         (gst_buffer_span):
15945         * gst/gstbuffer.h:
15946         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
15947         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
15948         (_gst_event_copy), (gst_event_new):
15949         * gst/gstevent.h:
15950         * gst/gstmessage.c: (_gst_message_initialize),
15951         (gst_message_get_type), (gst_message_class_init),
15952         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
15953         (gst_message_new), (gst_message_new_error),
15954         (gst_message_new_warning), (gst_message_new_tag),
15955         (gst_message_new_state_changed), (gst_message_new_application):
15956         * gst/gstmessage.h:
15957         * gst/gstprobe.c: (gst_probe_perform),
15958         (gst_probe_dispatcher_dispatch):
15959         * gst/gstprobe.h:
15960         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
15961         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
15962         (_gst_query_copy), (gst_query_new):
15963
15964         Update elements for GstData -> GstMiniObject changes
15965         * gst/gstquery.h:
15966         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
15967         (gst_queue_chain), (gst_queue_loop):
15968         * gst/elements/gstbufferstore.c:
15969         (gst_buffer_store_add_buffer_func),
15970         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
15971         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
15972         (gst_fakesink_render):
15973         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
15974         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
15975         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
15976         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
15977         (gst_filesrc_create_read):
15978         * gst/elements/gstidentity.c: (gst_identity_class_init):
15979         * gst/elements/gsttypefindelement.c:
15980         (gst_type_find_element_src_event), (free_entry_buffers),
15981         (gst_type_find_element_handle_event):
15982         * libs/gst/dataprotocol/dataprotocol.c:
15983         (gst_dp_header_from_buffer):
15984         * libs/gst/dataprotocol/dataprotocol.h:
15985         * libs/gst/dataprotocol/dp-private.h:
15986
15987 2005-05-15  David Schleef  <ds@schleef.org>
15988
15989         * gst/elements/gstelements.c: Don't include headers that were
15990         just removed.
15991
15992 2005-05-15  David Schleef  <ds@schleef.org>
15993
15994         * gst/elements/Makefile.am: Remove some elements that don't
15995         need to be in the core (or even exist at all).
15996         * gst/elements/gstaggregator.c:
15997         * gst/elements/gstaggregator.h:
15998         * gst/elements/gstmd5sink.c:
15999         * gst/elements/gstmd5sink.h:
16000         * gst/elements/gstmultifilesrc.c:
16001         * gst/elements/gstmultifilesrc.h:
16002         * gst/elements/gstpipefilter.c:
16003         * gst/elements/gstpipefilter.h:
16004         * gst/elements/gstshaper.c:
16005         * gst/elements/gstshaper.h:
16006         * gst/elements/gststatistics.c:
16007         * gst/elements/gststatistics.h:
16008         * po/POTFILES.in: Remove above files.
16009
16010 2005-05-14  Andy Wingo  <wingo@pobox.com>
16011
16012         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
16013         so as to get the refs right.
16014         (sink_iterator_filter): New function, wraps bin_element_is_sink,
16015         unreffing objects that don't pass the filter.
16016
16017         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
16018         gst_element_set_bus.
16019         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
16020         normal cases, this will destroy the bus.
16021
16022         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
16023         object.
16024
16025         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
16026         has no sinks.
16027
16028 2005-05-13  Andy Wingo  <wingo@pobox.com>
16029
16030         * gst/gstutils.c (gst_element_link_pads): Instead of calling
16031         gst_pad_link, call pad_link_maybe_ghosting,
16032         (pad_link_maybe_ghosting): Links pads, making sure that the
16033         elements being linked are in the same bin.
16034         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
16035         Helpers for pad_link_maybe_ghosting.
16036
16037 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
16038
16039         * configure.ac:
16040           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
16041
16042 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
16043
16044         * docs/design/part-element-source.txt:
16045           Mention GstPushSrc
16046
16047 2005-05-12  Wim Taymans  <wim@fluendo.com>
16048
16049         * gst/base/gstbasesink.c: (gst_basesink_init),
16050         (gst_basesink_activate):
16051         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
16052         (gst_basesrc_is_seekable):
16053         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
16054         (bin_element_is_sink), (gst_bin_change_state):
16055         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16056         * gst/gstelement.h:
16057         Identify sinks by their flag to avoid overly complicated
16058         checks (fow now).
16059         Do state changes even for elements not reachable from the
16060         sinks.
16061         BaseSink is a sink now :)
16062         Some more debugging info in the basesrc.
16063
16064
16065 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16066
16067         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
16068           Implement _query on a bin, similar to _send_event.
16069
16070 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
16071
16072         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
16073           Discont event offset format should be GST_FORMAT_BYTES,
16074           not GST_FORMAT_TIME.
16075
16076 2005-05-12  Wim Taymans  <wim@fluendo.com>
16077
16078         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
16079         Same fix as Ronald's but without the signal. 
16080
16081 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16082
16083         * gst/gstutils.c: (gst_element_query_position):
16084           No, an element is not a pad.
16085
16086 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16087
16088         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
16089         (gst_bin_get_state):
16090           If a child is removed from a bin while we remove the child from
16091           the bin and while we're retrieving its state, signal this to the
16092           get_state function so we abort the wait (instead of waiting for
16093           a timeout) and can immediately re-iterate over all other elements.
16094
16095 2005-05-12  Wim Taymans  <wim@fluendo.com>
16096
16097         * gst/base/Makefile.am:
16098         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
16099         (gst_basesrc_start):
16100         * gst/base/gstbasesrc.h:
16101         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
16102         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
16103         (gst_pushsrc_init), (gst_pushsrc_create):
16104         * gst/base/gstpushsrc.h:
16105         Added is_seekable to BaseSrc
16106         Added simple PushSrc.
16107
16108 2005-05-11  Wim Taymans  <wim@fluendo.com>
16109
16110         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
16111         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16112         (gst_element_link_pads), (gst_element_query_position),
16113         (gst_element_query_convert), (intersect_caps_func),
16114         (gst_pad_query_position), (gst_pad_query_convert):
16115         Fix refcounting in utils function.
16116         No point in trying to activate a pad when it's added, it could
16117         be added from the state change function and then we deadlock, the
16118         element has to decide what to do.
16119
16120 2005-05-10  Andy Wingo  <wingo@pobox.com>
16121
16122         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
16123         *all* the arguments.
16124
16125         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
16126         stream lock if it's a FLUSH_DONE; normal flushes don't get the
16127         lock (according to the docs -- if this is wrong change the docs).
16128
16129         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
16130         flush messages in the NULL state.
16131
16132         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
16133         message immediately and return.
16134         (gst_bus_set_flushing): New function. If a bus is flushing, it
16135         flushes out any queued messages and immediately unrefs new
16136         messages. This is so when an element goes to NULL, all of the
16137         unhandled messages coming from it can be freed, and their
16138         references to the element dropped. In other words: message source
16139         ref considered harmful :P
16140
16141         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
16142         we're finished with it.
16143
16144         * gst/gstmessage.c (gst_message_new_state_changed): 
16145
16146 2005-05-10  Wim Taymans  <wim@fluendo.com>
16147
16148         * gst/gstvalue.c: (gst_value_compare_flags),
16149         (gst_value_serialize_flags), (gst_value_deserialize_flags),
16150         (_gst_value_initialize):
16151         Added flags serialize/deserialize/compare code.
16152
16153 2005-05-09  Andy Wingo  <wingo@pobox.com>
16154
16155         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
16156         Intersect the peer's caps with our caps.
16157
16158 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16159
16160         * gst/base/gsttypefindhelper.c: (helper_find_peek):
16161         * gst/elements/gsttypefindelement.c: (find_peek):
16162           Handle negative offsets better. Fixes decodebin.
16163
16164 2005-05-09  Wim Taymans  <wim@fluendo.com>
16165
16166         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
16167         (gst_base_transform_event):
16168         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
16169         Implement accept_caps.
16170         Fix silly lock/unlock mismatch in base class.
16171
16172 2005-05-09  Wim Taymans  <wim@fluendo.com>
16173
16174         * docs/design/draft-push-pull.txt:
16175         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
16176         * gst/elements/gstfilesink.c: (gst_filesink_init),
16177         (gst_filesink_query):
16178         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
16179         (gst_type_find_handle_src_query), (find_element_get_length):
16180         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
16181         * gst/gstelement.h:
16182         * gst/gstmessage.c:
16183         * gst/gstmessage.h:
16184         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
16185         (gst_real_pad_get_caps_unlocked),
16186         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
16187         (gst_pad_event_default_dispatch), (gst_pad_event_default),
16188         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
16189         (gst_real_pad_dispose), (gst_real_pad_finalize),
16190         (gst_pad_load_and_link), (gst_pad_save_thyself),
16191         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
16192         (gst_pad_check_pull_range), (gst_pad_pull_range),
16193         (gst_pad_template_get_type), (gst_pad_template_class_init),
16194         (gst_pad_template_init), (gst_pad_template_dispose),
16195         (name_is_valid), (gst_static_pad_template_get),
16196         (gst_pad_template_new), (gst_static_pad_template_get_caps),
16197         (gst_pad_template_get_caps), (gst_pad_set_element_private),
16198         (gst_pad_get_element_private), (gst_pad_start_task),
16199         (gst_pad_pause_task), (gst_pad_stop_task),
16200         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
16201         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
16202         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
16203         (gst_ghost_pad_new):
16204         * gst/gstpad.h:
16205         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
16206         (gst_query_new_position), (gst_query_set_position),
16207         (gst_query_parse_position), (gst_query_new_convert),
16208         (gst_query_set_convert), (gst_query_parse_convert):
16209         * gst/gstquery.h:
16210         * gst/gstqueryutils.c:
16211         * gst/gstqueryutils.h:
16212         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16213         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16214         (gst_queue_handle_src_query):
16215         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16216         (gst_element_query_position), (gst_element_query_convert),
16217         (intersect_caps_func), (gst_pad_query_position),
16218         (gst_pad_query_convert):
16219         * gst/gstutils.h:
16220         * tools/gst-inspect.c: (print_pad_info):
16221         * tools/gst-xmlinspect.c: (print_element_info):
16222         Remove old query functions. Ported old code.
16223         Added position/convert helper functions to gstutils.
16224         Reordered gstpad.c code, grouping relevant things.
16225         Remove gst_message_new(), always need to speficy a specific
16226         message.
16227
16228
16229 2005-05-09  Andy Wingo  <wingo@pobox.com>
16230
16231         * gst/gstiterator.h: Add some includes.
16232
16233         * gst/gstqueryutils.h: Include more headers.
16234
16235         * gst/gstpad.h:
16236         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
16237         some uses of gst_pad_query.
16238
16239         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
16240         NULL out parameters.
16241         (gst_query_new_position): New proc, allocates a new position
16242         query.
16243
16244         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
16245         gstqueryutils.c to the build.
16246
16247         * gst/gststructure.c (gst_structure_set_valist): Implement with
16248         the generic G_VALUE_COLLECT.
16249         
16250 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
16251
16252         * gst/Makefile.am: (gst_headers):
16253         Added gstqueryutils.h to the list of headers to install, that was
16254         a 'nachty' move wingo :)
16255
16256 2005-05-06  Andy Wingo  <wingo@pobox.com>
16257
16258         * gst/gstquery.h
16259         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
16260         GstData, init a memchunk.
16261         (standard_definitions): Add a few query types, deprecate a few.
16262         (gst_query_get_type): New proc.
16263         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
16264         implementation.
16265         (gst_query_new_application, gst_query_get_structure): New public
16266         procs.
16267
16268         * docs/design/draft-query.txt: Removed LINKS from the query types,
16269         because all the rest can be dispatched to other pads -- seemed
16270         ugly to have a query that couldn't be dispatched. internal_links
16271         is fine as a pad method.
16272
16273         * gst/gstpad.h: Add query2 as a pad method, add the new functions
16274         in gstpad.c, but maintain binary compatibility for the moment.
16275         Will fix before 0.9 is out.
16276
16277         * gst/gstqueryutils.c: 
16278         * gst/gstqueryutils.h: New files, implement 3 methods for each
16279         query type: parse_query, parse_response, and set. Probably need an
16280         allocator as well.
16281
16282         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
16283
16284         * gst/elements/gstfilesink.c (gst_filesink_query2):
16285         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
16286         query_types, and formats methods.
16287
16288         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
16289         (gst_pad_set_query2_function): New functions.
16290         (gst_real_pad_init): Set query2_default as the default query2
16291         function. Basically just dispatches to internally linked pads.
16292
16293         Needs review!
16294         
16295         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
16296         without using the atomic operations. Only one thread can possibly
16297         be accessing the data at this point. Changed so as to avoid
16298         gst_atomic operations.
16299
16300 2005-05-06  Wim Taymans  <wim@fluendo.com>
16301
16302         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
16303         Also set caps if we use the fallback buffer alloc.
16304
16305 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
16306
16307         * docs/gst/Makefile.am:
16308         * docs/gst/gstreamer-docs.sgml:
16309         * docs/gst/gstreamer-sections.txt:
16310         * docs/gst/tmpl/gstatomic.sgml:
16311         * docs/gst/tmpl/gstmemchunk.sgml:
16312         * testsuite/elements/struct_i386.h:
16313         * win32/GStreamer.vcproj:
16314         * win32/Makefile:
16315           Purge GstAtomic stuff from docs and win32 makefiles as well
16316
16317 2005-05-06  Wim Taymans  <wim@fluendo.com>
16318
16319         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
16320         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
16321         * gst/gstpad.c: (gst_pad_peer_get_caps):
16322         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
16323         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
16324         (gst_queue_src_activate), (gst_queue_change_state):
16325         * gst/gstqueue.h:
16326         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16327         (intersect_caps_func):
16328         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
16329         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
16330         Some fixes for the peer_get_caps() change.
16331
16332 2005-05-06  Wim Taymans  <wim@fluendo.com>
16333
16334         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
16335         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
16336         (gst_basesink_activate):
16337         Actually do something with error codes returned from the push
16338         functions.
16339
16340 2005-05-06  Wim Taymans  <wim@fluendo.com>
16341
16342         * docs/design/part-element-sink.txt:
16343         * docs/design/part-element-source.txt:
16344         * gst/base/gstbasesink.c: (gst_basesink_class_init),
16345         (gst_basesink_event), (gst_basesink_activate):
16346         * gst/base/gstbasesink.h:
16347         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
16348         (gst_basesrc_activate):
16349         * gst/base/gstbasesrc.h:
16350         * gst/gstelement.c: (gst_element_pads_activate):
16351         Some more documentation.
16352         Fixed scheduling decision in _pads_activate().
16353
16354 2005-05-05  Andy Wingo  <wingo@pobox.com>
16355
16356         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
16357         the test suite.
16358
16359 2005-05-05  Wim Taymans  <wim@fluendo.com>
16360
16361         * gst/base/Makefile.am:
16362         * gst/base/gstbasesink.h:
16363         * gst/base/gstbasesrc.c: (gst_basesrc_init),
16364         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
16365         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
16366         (gst_collectpads_class_init), (gst_collectpads_init),
16367         (gst_collectpads_finalize), (gst_collectpads_new),
16368         (gst_collectpads_set_function), (gst_collectpads_add_pad),
16369         (find_pad), (gst_collectpads_remove_pad),
16370         (gst_collectpads_is_active), (gst_collectpads_collect),
16371         (gst_collectpads_collect_range), (gst_collectpads_start),
16372         (gst_collectpads_stop), (gst_collectpads_peek),
16373         (gst_collectpads_pop), (gst_collectpads_available),
16374         (gst_collectpads_read), (gst_collectpads_flush),
16375         (gst_collectpads_chain):
16376         * gst/base/gstcollectpads.h:
16377         * gst/elements/Makefile.am:
16378         * gst/elements/gstelements.c:
16379         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16380         (gst_fakesink_get_times), (gst_fakesink_event),
16381         (gst_fakesink_preroll), (gst_fakesink_render):
16382         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
16383         (gst_filesink_init), (gst_filesink_set_location),
16384         (gst_filesink_open_file), (gst_filesink_close_file),
16385         (gst_filesink_pad_query), (gst_filesink_event),
16386         (gst_filesink_render), (gst_filesink_change_state):
16387         * gst/elements/gstfilesink.h:
16388         Added object to help in making collect pad based elements.
16389         Ported filesink.
16390         Make event function in sink baseclass return gboolean.
16391
16392 2005-05-05  Wim Taymans  <wim@fluendo.com>
16393
16394         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
16395         (gst_bin_get_by_name):
16396         * gst/gstbuffer.h:
16397         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
16398         (gst_clock_finalize):
16399         * gst/gstdata.c: (gst_data_replace):
16400         * gst/gstdata.h:
16401         * gst/gstelement.c: (gst_element_request_pad),
16402         (gst_element_pads_activate):
16403         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
16404         (gst_object_unref):
16405         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16406         (gst_pad_set_checkgetrange_function),
16407         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
16408         (gst_pad_check_pull_range), (gst_pad_pull_range),
16409         (gst_static_pad_template_get_caps), (gst_pad_start_task),
16410         (gst_pad_pause_task), (gst_pad_stop_task):
16411         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
16412         (gst_element_request_pad), (gst_pad_proxy_getcaps):
16413         Fix name lookup in GstBin.
16414         Added _data_replace() function and _buffer_replace()
16415         Use finalize method to clean up clock.
16416         Fix refcounting on request pads.
16417         Fix pad schedule mode error.
16418         Some more object refcounting debug info,
16419
16420
16421 2005-05-04  Andy Wingo <wingo@pobox.com>
16422
16423         * check/Makefile.am:
16424         * docs/gst/tmpl/gstatomic.sgml:
16425         * docs/gst/tmpl/gstplugin.sgml:
16426         * gst/base/gstbasesink.c: (gst_basesink_activate):
16427         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
16428         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
16429         (gst_basesrc_query), (gst_basesrc_set_property),
16430         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
16431         (gst_basesrc_activate):
16432         * gst/base/gstbasesrc.h:
16433         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
16434         (gst_base_transform_src_activate):
16435         * gst/elements/gstelements.c:
16436         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16437         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
16438         * gst/elements/gsttee.c: (gst_tee_sink_activate):
16439         * gst/elements/gsttypefindelement.c: (find_element_get_length),
16440         (gst_type_find_element_checkgetrange),
16441         (gst_type_find_element_activate):
16442         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
16443         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
16444         (gst_caps_load_thyself):
16445         * gst/gstelement.c: (gst_element_pads_activate),
16446         (gst_element_save_thyself), (gst_element_restore_thyself):
16447         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
16448         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
16449         * gst/gstpad.h:
16450         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
16451         (gst_xml_parse_file), (gst_xml_parse_memory),
16452         (gst_xml_get_element), (gst_xml_make_element):
16453         * gst/indexers/gstfileindex.c: (gst_file_index_load),
16454         (_file_index_id_save_xml), (gst_file_index_commit):
16455         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
16456         (read_enum), (load_pad_template), (load_feature), (load_plugin),
16457         (load_paths):
16458         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
16459         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
16460         * tools/gst-complete.c: (main):
16461         * tools/gst-compprep.c: (main):
16462         * tools/gst-inspect.c: (print_element_properties_info):
16463         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
16464         * tools/gst-xmlinspect.c: (print_element_properties):
16465         GCC 4 fixen.
16466         
16467 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
16468
16469         * gst/gstplugin.c: (gst_plugin_check_module),
16470         (gst_plugin_check_file), (gst_plugin_load_file):
16471             apply patch from #172526 to make register work on MacOSX
16472
16473 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16474
16475         * docs/gst/tmpl/gstconfig.sgml:
16476         * gst/gstconfig.h.in:
16477           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
16478         * testsuite/debug/printf_extension.c: (main):
16479           Do not use GST_PTR_FORMAT on pointers to types with
16480           sizeof < sizeof(gpointer).  Fixes test on 64-bit
16481         * testsuite/elements/property.h:
16482           use correct printf format
16483
16484 2005-05-02  Wim Taymans  <wim@fluendo.com>
16485
16486         * docs/design/draft-push-pull.txt:
16487         * docs/design/draft-query.txt:
16488         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
16489         (gst_basesrc_start):
16490         Added draft for new query API.
16491         Added draft for better selecting scheduling methods.
16492         Make basesrc ignore length if the subclass does not support
16493         it.
16494
16495 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16496
16497         * gst/Makefile.am:
16498           possible fixes for automake-1.5 - _LIBADD is reserved
16499
16500 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16501
16502         * docs/faq/Makefile.am:
16503         * docs/manual/Makefile.am:
16504         * docs/manuals.mak:
16505         * docs/pwg/Makefile.am:
16506         * gst/Makefile.am:
16507           possible fixes for automake-1.5
16508
16509 2005-04-28  Wim Taymans  <wim@fluendo.com>
16510
16511         * gst/base/gstbasesink.c: (gst_basesink_base_init),
16512         (gst_basesink_pad_getcaps), (gst_basesink_init),
16513         (gst_basesink_do_sync):
16514         * gst/gstclock.c: (gst_clock_entry_new):
16515         * gst/gstevent.c: (gst_event_discont_get_value):
16516         * gst/gstpipeline.c: (pipeline_bus_handler),
16517         (gst_pipeline_change_state):
16518         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
16519         Better debugging of clocking info.
16520         Allow NULL values when getting discont values.
16521
16522 2005-04-27  Wim Taymans  <wim@fluendo.com>
16523
16524         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
16525         * check/gst/gstpad.c: (gst_pad_suite):
16526         Increase timeout for checks.
16527
16528 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16529
16530         * check/Makefile.am:
16531           fix the broken rule for cleanup.  Apparently this rule is
16532           only needed on FC2, so maybe this warrants further autotool
16533           inspection.
16534
16535 2005-04-26  Wim Taymans  <wim@fluendo.com>
16536
16537         * gst/gsttrashstack.h:
16538         Ooohh. a nasty one! After having a failed pop() from the stack,
16539         it's possible that the stack is empty. In that case, don't
16540         follow the NULL pointer.
16541
16542 2005-04-25  Wim Taymans  <wim@fluendo.com>
16543
16544         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16545         (gst_pad_set_checkgetrange_function),
16546         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
16547         (gst_pad_check_pull_range), (gst_pad_pull_range),
16548         (gst_static_pad_template_get_caps), (gst_pad_start_task),
16549         (gst_pad_pause_task), (gst_pad_stop_task):
16550         * gst/gstplugin.c: (gst_plugin_load):
16551         * gst/gstplugin.h:
16552         Remove gst_library_load as it does more harm than good with
16553         the new g_module flags.
16554         Revert bogus caps template check in pad linking, pad caps
16555         are important when linking not the template, which is more
16556         general than the current caps.
16557
16558 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16559
16560         * gst/autoplug/.cvsignore:
16561         * gst/autoplug/Makefile.am:
16562         * gst/autoplug/gstsearchfuncs.c:
16563         * gst/autoplug/gstsearchfuncs.h:
16564         * gst/autoplug/gstspider.c:
16565         * gst/autoplug/gstspider.h:
16566         * gst/autoplug/gstspideridentity.c:
16567         * gst/autoplug/gstspideridentity.h:
16568         * gst/autoplug/spidertest.c:
16569           Die, spider, die.
16570
16571 2005-04-25  Wim Taymans  <wim@fluendo.com>
16572
16573         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16574         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16575         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
16576         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
16577         * gst/gstpad.h:
16578         Added stubs for unimplemented functions. 
16579
16580 2005-04-24  David Schleef  <ds@schleef.org>
16581
16582         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
16583         please fix.
16584
16585 2005-04-24  David Schleef  <ds@schleef.org>
16586
16587         Convert everything from GstAtomicInt to g_atomic_int_*, and
16588         remove gstatomic.
16589         * gst/Makefile.am:
16590         * gst/gstatomic.c:
16591         * gst/gstatomic.h:
16592         * gst/gstatomic_impl.h:
16593         * gst/gstbuffer.c:
16594         * gst/gstcaps.c:
16595         * gst/gstcaps.h:
16596         * gst/gstclock.c:
16597         * gst/gstclock.h:
16598         * gst/gstdata.c:
16599         * gst/gstdata.h:
16600         * gst/gstdata_private.h:
16601         * gst/gstevent.c:
16602         * gst/gstinfo.c:
16603         * gst/gstinfo.h:
16604         * gst/gstmessage.c:
16605         * gst/gstobject.c:
16606         * gst/gstobject.h:
16607         * gst/gststructure.c:
16608         * gst/gststructure.h:
16609         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
16610         * gst/gstutils.h:
16611
16612 2005-04-24  David Schleef  <ds@schleef.org>
16613
16614         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
16615         make the regressions tests work.  Remove some code that is no
16616         longer true.
16617         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
16618         Disable warning for pads without templates.
16619
16620 2005-04-24  David Schleef  <ds@schleef.org>
16621
16622         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
16623         functions that handle filtered links.
16624         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
16625         removed functions.
16626         * gst/gstutils.c: Fix/remove utility functions that handle
16627         filtered caps.
16628         * gst/gstutils.h:
16629         * gst/gstvalue.c: Add serialization/deserialization of caps
16630         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
16631         requires fixing so that the filter caps notation creates
16632         a capsfilter element and sets the filter_caps property.  I
16633         think everyone probably wants to keep the shorthand notation.
16634         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
16635         * docs/gst/tmpl/gstpad.sgml:
16636
16637         * gst/elements/gstelements.c: Register capsfilter element.
16638         * gst/Makefile.am: fix spacing
16639         * docs/random/ds/0.9-suggested-changes: random
16640
16641 2005-04-23  David Schleef  <ds@schleef.org>
16642
16643         * gst/elements/Makefile.am:
16644         * gst/elements/gstcapsfilter.c: New element that acts like an
16645         identity, but filters caps.  Will eventually replace filtered
16646         caps in pad linking.
16647         * gst/gstutils.c: (gst_element_create_all_pads): New function
16648         to create all the ALWAYS pads that are registered with an
16649         element class.  This functionality should eventually be
16650         merged in with GstElement initialization.
16651         * gst/gstutils.h:
16652         * testsuite/trigger/README: part of trigger test code that should
16653         have been checked in a long time ago.
16654
16655 2005-04-23  David Schleef  <ds@schleef.org>
16656
16657         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
16658         needed with new versions of libtool (nobody will confirm this),
16659         and hard to carry around.
16660         * gst/autoplug/Makefile.am:
16661         * gst/base/Makefile.am:
16662         * gst/elements/Makefile.am:
16663         * gst/indexers/Makefile.am:
16664         * gst/schedulers/Makefile.am:
16665         * libs/gst/bytestream/Makefile.am:
16666         * libs/gst/control/Makefile.am:
16667         * libs/gst/dataprotocol/Makefile.am:
16668         * libs/gst/getbits/Makefile.am:
16669
16670 2005-04-21  Wim Taymans  <wim@fluendo.com>
16671
16672         * docs/design/draft-push-pull.txt:
16673         * docs/design/part-MT-refcounting.txt:
16674         * docs/design/part-TODO.txt:
16675         * docs/design/part-caps.txt:
16676         * docs/design/part-events.txt:
16677         * docs/design/part-gstbus.txt:
16678         * docs/design/part-gstpipeline.txt:
16679         * docs/design/part-messages.txt:
16680         * docs/design/part-push-pull.txt:
16681         * docs/design/part-query.txt:
16682         Some more docs.
16683
16684 2005-04-21  Wim Taymans  <wim@fluendo.com>
16685
16686         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
16687         (gst_message_new), (gst_message_new_error),
16688         (gst_message_new_warning), (gst_message_new_tag),
16689         (gst_message_new_state_changed), (gst_message_new_application),
16690         (gst_message_get_structure):
16691         * gst/gstmessage.h:
16692         * gst/gststructure.c: (gst_structure_set_parent_refcount),
16693         (gst_structure_copy_conditional):
16694         Use parent refcount in GstMessage to ensure GstStructure
16695         consistency.
16696         Cleaned up headers a bit.
16697         
16698
16699 2005-04-20  Wim Taymans  <wim@fluendo.com>
16700
16701         * gst/base/gstbasesink.c: (gst_basesink_base_init),
16702         (gst_basesink_pad_getcaps), (gst_basesink_init),
16703         (gst_basesink_chain_unlocked):
16704         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
16705         (gst_type_find_helper):
16706         * gst/elements/gsttypefindelement.c:
16707         (gst_type_find_element_have_type), (gst_type_find_element_init),
16708         (stop_typefinding), (gst_type_find_element_handle_event),
16709         (find_suggest), (gst_type_find_element_chain),
16710         (gst_type_find_element_checkgetrange),
16711         (gst_type_find_element_getrange), (do_typefind),
16712         (gst_type_find_element_activate):
16713         * gst/gstbuffer.c: (_gst_buffer_sub_free),
16714         (gst_buffer_default_free), (gst_buffer_default_copy),
16715         (gst_buffer_set_caps):
16716         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
16717         (gst_caps_replace):
16718         * gst/gstmessage.c: (gst_message_new),
16719         (gst_message_new_state_changed):
16720         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16721         (gst_pad_set_checkgetrange_function),
16722         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
16723         (gst_pad_set_caps), (gst_pad_check_pull_range),
16724         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
16725         * gst/gstpad.h:
16726         * gst/gsttypefind.c: (gst_type_find_register):
16727         Make gst_caps_replace() work like other _replace() functions.
16728         Use _caps_replace() where possible.
16729         Make sure _message_new() initialises its field.
16730         Add gst_static_pad_template_get_caps()
16731
16732
16733 2005-04-18  Andy Wingo  <wingo@pobox.com>
16734
16735         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
16736         on the peer, not the pad. I think that was a typo. Pass an extra
16737         arg to see if random access is possible. Activate the pads as
16738         PULL_RANGE if possible.
16739
16740         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
16741
16742         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
16743         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
16744         to PROP_....
16745
16746 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16747
16748         * docs/faq/using.xml:
16749           Add note on gstreamer-properties (#154996).
16750
16751 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16752
16753         * docs/random/bbb/optional-properties:
16754           Some analysis on optional properties.
16755
16756 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
16757
16758         * docs/gst/tmpl/gstelementfactory.sgml:
16759         * gst/gstelement.h:
16760         * gst/gstelementfactory.c: (gst_element_factory_init),
16761         (gst_element_factory_cleanup), (gst_element_register),
16762         (__gst_element_factory_add_static_pad_template),
16763         (gst_element_factory_get_static_pad_templates),
16764         (gst_element_factory_can_src_caps),
16765         (gst_element_factory_can_sink_caps):
16766         * gst/registries/Makefile.am:
16767         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
16768         (gst_xml_registry_class_init), (gst_xml_registry_init),
16769         (gst_xml_registry_new), (gst_xml_registry_set_property),
16770         (gst_xml_registry_get_property), (get_time), (make_dir),
16771         (gst_xml_registry_get_perms_func),
16772         (plugin_times_older_than_recurse), (plugin_times_older_than),
16773         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
16774         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
16775         (add_to_char_array), (read_string), (read_uint), (read_enum),
16776         (load_pad_template), (load_feature), (load_plugin), (load_paths),
16777         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
16778         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
16779         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
16780         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
16781         (gst_xml_registry_rebuild):
16782         * gst/registries/gstlibxmlregistry.h:
16783         * tools/gst-compprep.c: (main):
16784         * tools/gst-inspect.c: (print_pad_templates_info):
16785         * tools/gst-xmlinspect.c: (print_element_info):
16786           Use libxml2 for registry parsing, use staticpadtemplates in
16787           elementfactories. Makes gst_init() +/- 10x faster.
16788
16789 2005-04-12  Wim Taymans  <wim@fluendo.com>
16790
16791         * gst/base/Makefile.am:
16792         * gst/base/gstbasesink.c: (gst_basesink_base_init),
16793         (gst_basesink_pad_getcaps), (gst_basesink_init),
16794         (gst_basesink_event), (gst_basesink_change_state):
16795         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16796         (gst_basesrc_init), (gst_basesrc_query),
16797         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
16798         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
16799         (gst_basesrc_check_get_range), (gst_basesrc_loop),
16800         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
16801         (gst_basesrc_stop), (gst_basesrc_activate),
16802         (gst_basesrc_change_state):
16803         * gst/base/gsttypefindhelper.c: (helper_find_peek),
16804         (helper_find_suggest), (gst_type_find_helper):
16805         * gst/base/gsttypefindhelper.h:
16806         * gst/elements/Makefile.am:
16807         * gst/elements/gstelements.c:
16808         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
16809         (gst_fakesink_get_times), (gst_fakesink_event),
16810         (gst_fakesink_preroll), (gst_fakesink_render):
16811         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
16812         (gst_fakesrc_init), (gst_fakesrc_event_handler),
16813         (gst_fakesrc_get_property), (gst_fakesrc_create),
16814         (gst_fakesrc_start), (gst_fakesrc_stop):
16815         * gst/elements/gstfakesrc.h:
16816         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
16817         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
16818         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
16819         (gst_filesrc_create_read), (gst_filesrc_create),
16820         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
16821         (gst_filesrc_start):
16822         * gst/elements/gsttypefindelement.c:
16823         (gst_type_find_element_have_type), (gst_type_find_element_init),
16824         (start_typefinding), (stop_typefinding), (push_buffer_store),
16825         (gst_type_find_element_handle_event),
16826         (gst_type_find_element_chain),
16827         (gst_type_find_element_checkgetrange),
16828         (gst_type_find_element_getrange), (do_typefind),
16829         (gst_type_find_element_activate),
16830         (gst_type_find_element_change_state):
16831         * gst/elements/gsttypefindelement.h:
16832         * gst/gstpipeline.c: (pipeline_bus_handler):
16833         Added typefind helper.
16834         Small preroll fix in the base sink.
16835         Disable typefind code in basesrc.
16836         Crude port of typefindelement.
16837         Fakesrc cleanups.
16838
16839
16840 2005-04-11  Wim Taymans  <wim@fluendo.com>
16841
16842         * check/gst/gstbus.c: (gstbus_suite):
16843         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
16844         * check/gstcheck.h:
16845           Fix up the timeout so that the test does not fail.
16846
16847 2005-04-06  Wim Taymans  <wim@fluendo.com>
16848
16849         * gst/base/README:
16850         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16851         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
16852         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
16853         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
16854         (gst_basesrc_check_get_range), (gst_basesrc_loop),
16855         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
16856         (gst_basesrc_stop), (gst_basesrc_activate),
16857         (gst_basesrc_change_state), (basesrc_find_peek),
16858         (basesrc_find_suggest), (gst_basesrc_type_find):
16859         * gst/base/gstbasesrc.h:
16860         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
16861         (gst_filesrc_class_init), (gst_filesrc_init),
16862         (gst_filesrc_finalize), (gst_filesrc_set_location),
16863         (gst_filesrc_set_property), (gst_filesrc_get_property),
16864         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
16865         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
16866         (gst_filesrc_create_read), (gst_filesrc_create),
16867         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
16868         * gst/elements/gstfilesrc.h:
16869         * gst/gstelement.c: (gst_element_get_state_func),
16870         (gst_element_lost_state), (gst_element_pads_activate):
16871         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16872         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
16873         (gst_pad_pull_range):
16874         * gst/gstpad.h:
16875         More work on the generic source base class, implement seeking,
16876         query.
16877         Make filesrc extend the base source class.
16878         Added gst_pad_set_checkgetrange_function to GstPad.
16879
16880 2005-04-06  Andy Wingo  <wingo@pobox.com>
16881
16882         * pkgconfig/gstreamer-base.pc.in:
16883         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
16884
16885         * pkgconfig/Makefile.am:
16886         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
16887
16888 2005-04-04  Wim Taymans  <wim@fluendo.com>
16889
16890         * gst/base/Makefile.am:
16891         * gst/base/README:
16892         * gst/base/gstbasesink.c: (gst_basesink_base_init),
16893         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
16894         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
16895         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
16896         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
16897         (gst_basesrc_base_init), (gst_basesrc_class_init),
16898         (gst_basesrc_init), (gst_basesrc_get_formats),
16899         (gst_basesrc_get_query_types), (gst_basesrc_query),
16900         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
16901         (gst_basesrc_set_property), (gst_basesrc_get_property),
16902         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
16903         (gst_basesrc_loop), (gst_basesrc_activate),
16904         (gst_basesrc_change_state):
16905         * gst/base/gstbasesrc.h:
16906         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
16907         (gst_fakesrc_class_init), (gst_fakesrc_init),
16908         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
16909         (gst_fakesrc_get_property), (gst_fakesrc_create):
16910         * gst/elements/gstfakesrc.h:
16911         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
16912         (gst_filesrc_open_file), (gst_filesrc_loop),
16913         (gst_filesrc_activate), (filesrc_find_peek),
16914         (gst_filesrc_type_find):
16915         Made base source class, make fakesrc extend it.
16916         Add comments to basesink class.
16917         Some filesrc cleanup.
16918
16919 2005-03-31  David Schleef  <ds@schleef.org>
16920
16921         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
16922         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
16923         expected to link against libgstreamer.
16924         * gst/base/Makefile.am: link against libgstreamer
16925         * gst/elements/Makefile.am: same
16926
16927 2005-03-31  Andy Wingo  <wingo@pobox.com>
16928
16929         * tests/instantiate/Makefile.am:
16930         * tests/instantiate/caps.c: Add test to test speed of caps copy
16931         and free.
16932
16933         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
16934         GMemChunk to be fair.
16935
16936         * gst/gsttrashstack.h: Remove warning about using the fallback
16937         trash stack implementation, it's still faster than malloc.
16938
16939 2005-03-30  Andy Wingo  <wingo@pobox.com>
16940
16941         * tests/complexity.c: Add a copyright.
16942
16943 2005-03-31  Wim Taymans  <wim@fluendo.com>
16944
16945         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
16946         (gst_base_transform_class_init), (gst_base_transform_init),
16947         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
16948         (gst_base_transform_get_property),
16949         (gst_base_transform_sink_activate),
16950         (gst_base_transform_src_activate),
16951         (gst_base_transform_change_state):
16952         * gst/base/gstbasetransform.h:
16953         * gst/elements/gstidentity.c: (gst_identity_class_init),
16954         (gst_identity_event), (gst_identity_check_perfect),
16955         (gst_identity_transform), (gst_identity_start),
16956         (gst_identity_stop):
16957         Added start/stop methods to transform base class so subclasses 
16958         don't need to deal with state changes even.
16959
16960 2005-03-31  Wim Taymans  <wim@fluendo.com>
16961
16962         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
16963         (gst_event_new_discontinuous), (gst_event_discont_get_value):
16964         * gst/gstevent.h:
16965         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
16966         (gst_pad_pull_range):
16967         Added rate to the discont event to prepare for variable speed
16968         and reverse playback.
16969
16970 2005-03-29  David Schleef  <ds@schleef.org>
16971
16972         * configure.ac:
16973         * testsuite/trigger/Makefile.am:
16974         * testsuite/trigger/trigger.c: A little example program to show
16975         how trigger-based elements can work.
16976
16977 2005-03-29  Wim Taymans  <wim@fluendo.com>
16978
16979         * gst/base/Makefile.am:
16980         * gst/base/README:
16981         * gst/base/gstbasesink.c: (gst_basesink_get_type),
16982         (gst_basesink_base_init), (gst_basesink_class_init),
16983         (gst_basesink_pad_getcaps), (gst_basesink_init),
16984         (gst_basesink_activate), (gst_basesink_change_state):
16985         * gst/base/gstbasesink.h:
16986         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
16987         (gst_base_transform_base_init), (gst_base_transform_finalize),
16988         (gst_base_transform_class_init), (gst_base_transform_init),
16989         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
16990         (gst_base_transform_event), (gst_base_transform_getrange),
16991         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
16992         (gst_base_transform_set_property),
16993         (gst_base_transform_get_property),
16994         (gst_base_transform_sink_activate),
16995         (gst_base_transform_src_activate),
16996         (gst_base_transform_change_state):
16997         * gst/base/gstbasetransform.h:
16998         * gst/elements/gstidentity.c: (gst_identity_finalize),
16999         (gst_identity_class_init), (gst_identity_init),
17000         (gst_identity_event), (gst_identity_check_perfect),
17001         (gst_identity_transform), (gst_identity_set_property),
17002         (gst_identity_get_property), (gst_identity_change_state):
17003         * gst/elements/gstidentity.h:
17004         * gst/gstelement.c: (gst_element_get_state_func),
17005         (gst_element_lost_state), (gst_element_pads_activate):
17006         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
17007         (gst_pad_check_pull_range), (gst_pad_pull_range):
17008         * gst/gstpad.h:
17009         Simplify pad activation.
17010         Added function to check if pull_range can be performed.
17011         Error out when pulling inactive or flushing pads.
17012         Removed const from refcounted types as it does not make sense.
17013         Simplify pad templates in basesink
17014         Added base class for simple 1-to-1 transforms.
17015         Make identity subclass the base transform.
17016
17017 2005-03-29  Andy Wingo  <wingo@pobox.com>
17018
17019         * docs/libs/gstreamer-libs-overrides.txt: 
17020         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
17021         really don't understand what's going on, but like whatever. I want
17022         green buildbot!
17023
17024         * docs/gst/Makefile.am:
17025         * docs/libs/Makefile.am: Dist the overrides files.
17026
17027         * check/Makefile.am (clean-local): Remove .libs directories.
17028
17029         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
17030         elements to EXTRA_DIST, so po/ files are happy.
17031
17032         * po/POTFILES.in: Er, remove it here.
17033
17034         * po/POTFILES: Remove gstspider.c.
17035
17036         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
17037
17038         * docs/libs/gstreamer-libs-docs.sgml: 
17039         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
17040         bytestream.
17041
17042         * tests/complexity.c (main): Set the length of the preroll queue
17043         on the sinks to prevent a lockup.
17044
17045         * libs/gst/dataprotocol/Makefile.am: 
17046         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
17047         the same as the one in check/gst-libs/gdp.c.
17048
17049         * po/, docs/gst/: Commit automatic changes to docs and po files.
17050
17051         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
17052         the versioned libgstbase.
17053
17054         * check/Makefile.am: Depend on an unversioned gst-register, seems
17055         to make autoconf happier.
17056
17057         * gst/base/Makefile.am: Make libgstbase a versioned lib.
17058
17059 2005-03-28  Wim Taymans  <wim@fluendo.com>
17060
17061         * configure.ac:
17062         * docs/design/part-gstelement.txt:
17063         * docs/design/part-negotiation.txt:
17064         * docs/design/part-preroll.txt:
17065         * docs/design/part-scheduling.txt:
17066         * docs/design/part-states.txt:
17067         * gst/Makefile.am:
17068         * gst/base/Makefile.am:
17069         * gst/base/README:
17070         * gst/base/gstbasesink.c: (gst_basesink_get_template),
17071         (gst_basesink_base_init), (gst_basesink_class_init),
17072         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
17073         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
17074         (gst_basesink_set_pad_functions),
17075         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
17076         (gst_basesink_set_property), (gst_basesink_get_property),
17077         (gst_base_sink_get_template), (gst_base_sink_get_caps),
17078         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
17079         (gst_basesink_preroll_queue_push),
17080         (gst_basesink_preroll_queue_empty),
17081         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
17082         (gst_basesink_event), (gst_basesink_get_times),
17083         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
17084         (gst_basesink_chain_unlocked), (gst_basesink_chain),
17085         (gst_basesink_loop), (gst_basesink_activate),
17086         (gst_basesink_change_state):
17087         * gst/base/gstbasesink.h:
17088         * gst/elements/Makefile.am:
17089         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
17090         (gst_fakesink_class_init), (gst_fakesink_init),
17091         (gst_fakesink_set_property), (gst_fakesink_get_property),
17092         (gst_fakesink_get_times), (gst_fakesink_event),
17093         (gst_fakesink_preroll), (gst_fakesink_render),
17094         (gst_fakesink_change_state):
17095         * gst/elements/gstfakesink.h:
17096         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17097         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
17098         * gst/gstelement.c: (gst_element_add_pad),
17099         (gst_element_get_state_func), (gst_element_abort_state),
17100         (gst_element_commit_state), (gst_element_lost_state),
17101         (gst_element_set_state), (gst_element_pads_activate):
17102         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
17103         * gst/gstpipeline.c: (gst_pipeline_send_event),
17104         (gst_pipeline_change_state):
17105         Added state change code.
17106         Added/updated docs.
17107         Added sink base class, make fakesink extend the base class.
17108         Small cleanups in GstPipeline.
17109
17110 2005-03-26  David Schleef  <ds@schleef.org>
17111
17112         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
17113         is broken and should be implemented in a different library.
17114         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
17115         * gst/gst.h: remove gstcpu.h
17116         * gst/gstcpu.c: remove
17117         * gst/gstcpu.h: remove
17118         * gst/Makefile.am.future: Remove this file.  It's ancient.
17119
17120 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17121
17122         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
17123         (gst_bin_send_event):
17124           Add default event/set_manager handlers. The set_manager handler
17125           takes care that the manager is distributed over kids that were
17126           already in the bin before the manager was set. The event handler
17127           is a utility virtual function that sends the event over all sinks,
17128           so that gst_element_send_event (bin, event); has the expected
17129           behaviour.
17130         * gst/gstpad.c: (gst_pad_event_default):
17131           Re-install default event handling for discontinuities, so that
17132           seeking works without requiring hacks in applications or extra
17133           code in sinks.
17134         * gst/gstpipeline.c: (gst_pipeline_class_init),
17135         (gst_pipeline_send_event):
17136           Half hack, half utility: set a pipeline to PAUSED for seek events,
17137           since that is the only way we can guarantee a/v sync. Means that
17138           you can do gst_element_seek (pipeline, method, pos); on a pipeline
17139           and it "just works".
17140
17141 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
17142
17143         * gst/gstpipeline.c: (gst_pipeline_use_clock):
17144           Lock/unlock mismatch.
17145
17146 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
17147
17148         * docs/faq/gst-uninstalled:
17149           add gst-plugins-base
17150         * docs/gst/Makefile.am:
17151           don't error out until docs are fixed
17152         * docs/gst/gstreamer.types:
17153           remove thread
17154
17155 2005-03-22  Wim Taymans  <wim@fluendo.com>
17156
17157         * check/Makefile.am:
17158         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
17159         * gst/gststructure.c: (gst_structure_set_valist),
17160         (gst_structure_copy_conditional):
17161         Activated more tests.
17162         Added message test.
17163         Added G_TYPE_POINTER to GstStructure.
17164         
17165
17166 2005-03-22  Wim Taymans  <wim@fluendo.com>
17167
17168         * docs/design/part-TODO.txt:
17169         * docs/design/part-events.txt:
17170         * docs/design/part-gstbin.txt:
17171         * docs/design/part-gstbus.txt:
17172         * docs/design/part-gstpipeline.txt:
17173         * docs/design/part-messages.txt:
17174         * gst/gstbus.c:
17175         * gst/gstmessage.c:
17176         Docs updates
17177
17178 2005-03-21  Wim Taymans  <wim@fluendo.com>
17179
17180         * gst/gstbus.c: (gst_bus_post):
17181         Fix copy-and-paste error.
17182
17183 2005-03-21  Wim Taymans  <wim@fluendo.com>
17184
17185         * check/Makefile.am:
17186         * gst/Makefile.am:
17187         * gst/elements/Makefile.am:
17188         * gst/elements/gstelements.c:
17189         * gst/elements/gstfakesink.c: (gst_fakesink_init),
17190         (gst_fakesink_event), (gst_fakesink_chain):
17191         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
17192         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
17193         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
17194         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
17195         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
17196         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
17197         (gst_fakesrc_loop), (gst_fakesrc_activate),
17198         (gst_fakesrc_change_state):
17199         * gst/elements/gstfakesrc.h:
17200         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
17201         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
17202         (gst_filesrc_open_file), (gst_filesrc_loop),
17203         (gst_filesrc_activate), (gst_filesrc_change_state),
17204         (filesrc_find_peek), (filesrc_find_suggest),
17205         (gst_filesrc_type_find):
17206         * gst/elements/gstidentity.c: (gst_identity_finalize),
17207         (gst_identity_class_init), (gst_identity_init),
17208         (gst_identity_proxy_getcaps), (identity_queue_push),
17209         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
17210         (gst_identity_getrange), (gst_identity_chain),
17211         (gst_identity_sink_loop), (gst_identity_src_loop),
17212         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
17213         (gst_identity_set_property), (gst_identity_get_property),
17214         (gst_identity_change_state):
17215         * gst/elements/gstidentity.h:
17216         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
17217         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
17218         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
17219         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
17220         (gst_tee_sink_activate):
17221         * gst/elements/gsttee.h:
17222         * gst/gst.c: (gst_register_core_elements), (init_post):
17223         * gst/gst.h:
17224         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
17225         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
17226         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
17227         (gst_bin_change_state):
17228         * gst/gstbin.h:
17229         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
17230         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
17231         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
17232         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
17233         (gst_bus_set_sync_handler), (gst_bus_create_watch),
17234         (bus_watch_callback), (bus_watch_destroy),
17235         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
17236         (poll_timeout), (gst_bus_poll):
17237         * gst/gstbus.h:
17238         * gst/gstcaps.h:
17239         * gst/gstdata.h:
17240         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17241         (gst_element_post_message), (gst_element_message_full),
17242         (gst_element_get_state_func), (gst_element_get_state),
17243         (gst_element_abort_state), (gst_element_commit_state),
17244         (gst_element_lost_state), (gst_element_set_state),
17245         (gst_element_pads_activate), (gst_element_change_state),
17246         (gst_element_dispose), (gst_element_set_manager_func),
17247         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
17248         (gst_element_set_manager), (gst_element_get_manager),
17249         (gst_element_set_bus), (gst_element_get_bus),
17250         (gst_element_set_scheduler), (gst_element_get_scheduler):
17251         * gst/gstelement.h:
17252         * gst/gstevent.c: (gst_event_new_segment_seek),
17253         (gst_event_new_flush):
17254         * gst/gstevent.h:
17255         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
17256         (_gst_message_free), (gst_message_get_type), (gst_message_new),
17257         (gst_message_new_eos), (gst_message_new_error),
17258         (gst_message_new_warning), (gst_message_new_tag),
17259         (gst_message_new_state_changed), (gst_message_new_application),
17260         (gst_message_get_structure), (gst_message_parse_tag),
17261         (gst_message_parse_state_changed), (gst_message_parse_error),
17262         (gst_message_parse_warning):
17263         * gst/gstmessage.h:
17264         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
17265         (gst_real_pad_set_property), (gst_pad_set_active),
17266         (gst_pad_is_active), (gst_pad_set_blocked_async),
17267         (gst_pad_set_blocked), (gst_pad_is_blocked),
17268         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
17269         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
17270         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
17271         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
17272         (gst_pad_link_filtered), (gst_pad_relink_filtered),
17273         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
17274         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
17275         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
17276         (gst_pad_set_caps), (gst_pad_configure_sink),
17277         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
17278         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
17279         (gst_real_pad_dispose), (gst_real_pad_finalize),
17280         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
17281         (gst_pad_event_default_dispatch), (gst_pad_event_default),
17282         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
17283         * gst/gstpad.h:
17284         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
17285         (pipeline_bus_handler), (gst_pipeline_change_state),
17286         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
17287         * gst/gstpipeline.h:
17288         * gst/gstprobe.h:
17289         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
17290         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
17291         (gst_queue_link_src), (gst_queue_bufferalloc),
17292         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
17293         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
17294         (gst_queue_loop), (gst_queue_handle_src_event),
17295         (gst_queue_handle_src_query), (gst_queue_src_activate),
17296         (gst_queue_change_state):
17297         * gst/gstqueue.h:
17298         * gst/gstscheduler.c: (gst_scheduler_init),
17299         (gst_scheduler_dispose), (gst_scheduler_create_task),
17300         (gst_scheduler_factory_create):
17301         * gst/gstscheduler.h:
17302         * gst/gststructure.c: (gst_structure_get_type),
17303         (gst_structure_copy_conditional):
17304         * gst/gststructure.h:
17305         * gst/gsttaginterface.h:
17306         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
17307         (gst_task_init), (gst_task_dispose), (gst_task_create),
17308         (gst_task_get_state), (gst_task_start), (gst_task_stop),
17309         (gst_task_pause):
17310         * gst/gsttask.h:
17311         * gst/gstthread.c:
17312         * gst/gstthread.h:
17313         * gst/gsttypes.h:
17314         * gst/schedulers/Makefile.am:
17315         * gst/schedulers/cothreads_compat.h:
17316         * gst/schedulers/entryscheduler.c:
17317         * gst/schedulers/faircothreads.c:
17318         * gst/schedulers/faircothreads.h:
17319         * gst/schedulers/fairscheduler.c:
17320         * gst/schedulers/gstbasicscheduler.c:
17321         * gst/schedulers/gstoptimalscheduler.c:
17322         * gst/schedulers/gthread-cothreads.h:
17323         * gst/schedulers/threadscheduler.c:
17324         (gst_thread_scheduler_task_get_type),
17325         (gst_thread_scheduler_task_class_init),
17326         (gst_thread_scheduler_task_init),
17327         (gst_thread_scheduler_task_start),
17328         (gst_thread_scheduler_task_stop),
17329         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
17330         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
17331         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
17332         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
17333         (plugin_init):
17334         * libs/gst/Makefile.am:
17335         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
17336         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
17337         (gst_file_pad_parent_set):
17338         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
17339         (gst_dp_event_from_packet):
17340         * tests/complexity.c: (main):
17341         * tests/mass_elements.c: (main):
17342         * testsuite/states/locked.c: (message_received), (main):
17343         * testsuite/states/parent.c: (main):
17344         * tools/gst-inspect.c: (print_element_flag_info),
17345         (print_implementation_info), (print_pad_info):
17346         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
17347         (main):
17348         * tools/gst-md5sum.c: (event_loop), (main):
17349         * tools/gst-typefind.c: (main):
17350         * tools/gst-xmlinspect.c: (print_element_info):
17351         Next big merge.
17352         Added GstBus for mainloop integration.
17353         Added GstMessage for sending notifications on the bus.
17354         Added GstTask as an abstraction for pipeline entry points.
17355         Removed GstThread.
17356         Removed Schedulers.
17357         Simplified GstQueue for multithreaded core.
17358         Made _link threadsafe, removed old capsnego.
17359         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
17360         Added pad blocking functions.
17361         Reworked scheduling functions in GstPad to prepare for
17362         scheduling updates soon.
17363         Moved events out of data stream.
17364         Simplified GstEvent types.
17365         Added return values to push/pull.
17366         Removed clocking from GstElement.
17367         Added prototypes for state change function for next merge.
17368         Removed iterate from bins and state change management.
17369         Fixed some elements, disabled others for now.
17370         Fixed -inspect and -launch.
17371         Added check for GstBus.
17372
17373 2005-03-10  Wim Taymans  <wim@fluendo.com>
17374
17375         * docs/design/part-MT-refcounting.txt:
17376         * docs/design/part-clocks.txt:
17377         * docs/design/part-gstelement.txt:
17378         * docs/design/part-gstobject.txt:
17379         * docs/design/part-standards.txt:
17380         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17381         (gst_bin_remove_func), (gst_bin_remove):
17382         * gst/gstbin.h:
17383         * gst/gstbuffer.c:
17384         * gst/gstcaps.h:
17385         * testsuite/clock/clock1.c: (main):
17386         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
17387         (main):
17388         * testsuite/dlopen/loadgst.c: (do_test):
17389         * testsuite/refcounting/bin.c: (add_remove_test1),
17390         (add_remove_test2), (main):
17391         * testsuite/refcounting/element.c: (main):
17392         * testsuite/refcounting/element_pad.c: (main):
17393         * testsuite/refcounting/pad.c: (main):
17394         * tools/gst-launch.c: (sigint_handler_sighandler):
17395         * tools/gst-typefind.c: (main):
17396         Doc updates.
17397         Added doc about clock.
17398         removed gst_bin_iterate_recurse_up(), marked methods
17399         for removal.
17400         Fix more testsuites.
17401
17402 2005-03-09  Wim Taymans  <wim@fluendo.com>
17403
17404         * gst/gstpad.c: (gst_pad_get_direction),
17405         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
17406         (gst_pad_collect_valist):
17407         * testsuite/bins/interface.c: (main):
17408         * testsuite/caps/audioscale.c: (test_caps):
17409         * testsuite/caps/caps.c: (test1), (test2), (test3):
17410         * testsuite/caps/deserialize.c: (main):
17411         * testsuite/caps/enumcaps.c: (main):
17412         * testsuite/caps/filtercaps.c: (main):
17413         * testsuite/caps/intersect2.c: (main):
17414         * testsuite/caps/random.c: (main):
17415         * testsuite/caps/renegotiate.c: (my_fixate), (main):
17416         * testsuite/caps/sets.c: (check_caps):
17417         * testsuite/caps/simplify.c: (check_caps), (main):
17418         * testsuite/caps/subtract.c: (check_caps):
17419         Fix _pad_get_direction wrt ghostpads.
17420         Fix caps testsuite.
17421
17422 2005-03-09  Wim Taymans  <wim@fluendo.com>
17423
17424         * check/Makefile.am:
17425         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
17426         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
17427         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
17428         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
17429         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
17430         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
17431         (gst_bin_remove), (gst_bin_iterate_recurse_up),
17432         (bin_element_is_sink), (gst_bin_iterate_sinks),
17433         (gst_bin_iterate_all_by_interface):
17434         * gst/gstbin.h:
17435         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
17436         (gst_element_change_state), (gst_element_dispose),
17437         (gst_element_finalize), (gst_element_set_loop_function):
17438         * gst/gstelement.h:
17439         * gst/gstiterator.c: (find_custom_fold_func):
17440         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17441         (gst_pad_collectv), (gst_pad_collect_valist),
17442         (gst_pad_template_new):
17443         * gst/gstpipeline.c: (gst_pipeline_class_init),
17444         (gst_pipeline_dispose), (gst_pipeline_set_property),
17445         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
17446         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
17447         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
17448         * gst/gstutils.h:
17449         * gst/schedulers/entryscheduler.c:
17450         * gst/schedulers/gstbasicscheduler.c:
17451         (gst_basic_scheduler_cothreaded_chain),
17452         (gst_basic_scheduler_chain_add_element):
17453         * testsuite/bins/interface.c: (main):
17454         Added GstBin test.
17455         Added GstSystemClock test.
17456         Implemented clock distribution code in GstBin.
17457         Implemented iterate sinks method for future use.
17458         Rearranged gstelement.h
17459         Fix GstIterator comparison bug.
17460         Moved some code to GstPipeline, mostly clocking related.
17461
17462 2005-03-09  Wim Taymans  <wim@fluendo.com>
17463
17464         * configure.ac:
17465         * gst/gst_private.h:
17466         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17467         (gst_bin_remove_func), (gst_bin_remove),
17468         (gst_bin_get_by_name_recurse_up):
17469         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
17470         (gst_clock_id_compare_func), (gst_clock_id_wait),
17471         (gst_clock_id_wait_async), (gst_clock_init),
17472         (gst_clock_adjust_unlocked), (gst_clock_get_time):
17473         * gst/gstelement.h:
17474         * gst/gstinfo.c: (_gst_debug_init):
17475         * gst/gstobject.h:
17476         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
17477         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
17478         * gst/gstpad.h:
17479         Bump version number, we're now 0.9.0
17480         Add future debugging category.
17481         Fix NULL _unref() in _get_by_name_recurse_up
17482         Rearrange gstpad.h.
17483         Update some docs.
17484
17485 2005-03-08  Wim Taymans  <wim@fluendo.com>
17486
17487         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
17488         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
17489         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
17490         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
17491         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
17492         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
17493         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
17494         * gst/elements/gstidentity.c: (gst_identity_class_init):
17495         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
17496         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
17497         * gst/elements/gstshaper.c: (gst_shaper_class_init):
17498         * gst/elements/gststatistics.c: (gst_statistics_class_init):
17499         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
17500         (gst_tee_link):
17501         * gst/gstelement.c: (gst_element_class_init),
17502         (gst_element_base_class_init), (gst_element_init),
17503         (gst_element_get_random_pad), (gst_element_wait_state_change),
17504         (gst_element_change_state), (gst_element_dispose),
17505         (gst_element_finalize), (gst_element_set_loop_function):
17506         * gst/gstelement.h:
17507         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
17508         * gst/gstthread.c: (gst_thread_class_init),
17509         (gst_thread_release_children_locks), (gst_thread_change_state):
17510         * gst/schedulers/gstbasicscheduler.c:
17511         (gst_basic_scheduler_loopfunc_wrapper),
17512         (gst_basic_scheduler_chain_wrapper),
17513         (gst_basic_scheduler_src_wrapper),
17514         (gst_basic_scheduler_remove_element):
17515         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
17516         Remove threadsafe properties. Fix elements because GObject
17517         complains when installing a property before declaring a
17518         set/get_property handler.
17519         Rearrange gstelement.h file, use STATE macros for state locks.
17520         Free mutexes in the finalize method instead of dispose.
17521
17522 2005-03-08  Wim Taymans  <wim@fluendo.com>
17523
17524         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
17525         * gst/gstthread.c: (gst_thread_release_children_locks):
17526         Added parentage check.
17527         Fix build og GstThread again.
17528
17529 2005-03-08  Wim Taymans  <wim@fluendo.com>
17530
17531         * docs/design/part-MT-refcounting.txt:
17532         * docs/design/part-conventions.txt:
17533         * docs/design/part-gstobject.txt:
17534         * docs/design/part-relations.txt:
17535         * docs/design/part-standards.txt:
17536         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
17537         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
17538         (gst_bin_get_by_name), (gst_bin_get_by_interface),
17539         (gst_bin_iterate_all_by_interface):
17540         * gst/gstbuffer.h:
17541         * gst/gstclock.h:
17542         * gst/gstelement.c: (gst_element_class_init),
17543         (gst_element_change_state), (gst_element_set_loop_function):
17544         * gst/gstelement.h:
17545         * gst/gstiterator.c:
17546         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
17547         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
17548         (gst_object_dispatch_properties_changed), (gst_object_set_name),
17549         (gst_object_set_parent), (gst_object_unparent),
17550         (gst_object_check_uniqueness):
17551         * gst/gstobject.h:
17552         Docs updates, clean up some headers.
17553
17554 2005-03-07  Wim Taymans  <wim@fluendo.com>
17555
17556         * check/.cvsignore:
17557         * check/Makefile.am:
17558         * check/gst-libs/.cvsignore:
17559         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
17560         * check/gst/.cvsignore:
17561         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
17562         (START_TEST), (gstbus_suite), (main):
17563         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
17564         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
17565         (gst_data_suite), (main):
17566         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
17567         (add_fold_func), (gstiterator_suite), (main):
17568         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
17569         (thread_name_object), (thread_name_object_default),
17570         (gst_object_name_compare), (gst_object_suite), (main):
17571         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
17572         (gst_pad_suite), (main):
17573         * check/gstcheck.c: (gst_check_log_message_func),
17574         (gst_check_log_critical_func), (gst_check_init):
17575         * check/gstcheck.h:
17576         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17577         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
17578         Added checks.
17579
17580 2005-03-07  Wim Taymans  <wim@fluendo.com>
17581
17582         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
17583         (gst_list_iterator_next), (gst_list_iterator_resync),
17584         (gst_list_iterator_free), (gst_iterator_new_list),
17585         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
17586         (gst_iterator_free), (gst_iterator_push), (filter_next),
17587         (filter_resync), (filter_uninit), (filter_free),
17588         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
17589         (gst_iterator_foreach), (find_custom_fold_func),
17590         (gst_iterator_find_custom):
17591         * gst/gstiterator.h:
17592         Added missing files.
17593
17594 2005-03-07  Wim Taymans  <wim@fluendo.com>
17595
17596         * Makefile.am:
17597         * configure.ac:
17598         * docs/design/part-MT-refcounting.txt:
17599         * docs/design/part-conventions.txt:
17600         * docs/design/part-gstobject.txt:
17601         * docs/design/part-relations.txt:
17602         * examples/mixer/mixer.c: (main):
17603         * examples/thread/thread.c: (eos), (main):
17604         * gst/Makefile.am:
17605         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
17606         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
17607         (gst_spider_plug_from_srcpad):
17608         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
17609         (gst_spider_identity_change_state),
17610         (gst_spider_identity_sink_loop_type_finding):
17611         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
17612         * gst/elements/gstidentity.c: (gst_identity_init):
17613         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
17614         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
17615         * gst/elements/gsttypefindelement.c: (free_entry):
17616         * gst/gst.c:
17617         * gst/gst.h:
17618         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
17619         (gst_bin_set_clock_func), (gst_bin_auto_clock),
17620         (gst_bin_set_index), (gst_bin_set_element_sched),
17621         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
17622         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
17623         (gst_bin_iterate_elements), (iterate_child_recurse),
17624         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
17625         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
17626         (compare_interface), (gst_bin_get_by_interface),
17627         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
17628         * gst/gstbin.h:
17629         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
17630         (gst_buffer_default_free), (gst_buffer_default_copy),
17631         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
17632         (gst_buffer_create_sub):
17633         * gst/gstbuffer.h:
17634         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
17635         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
17636         (gst_caps_unref), (gst_static_caps_get),
17637         (gst_caps_remove_and_get_structure), (gst_caps_append),
17638         (gst_caps_append_structure), (gst_caps_remove_structure),
17639         (gst_caps_copy_nth), (gst_caps_set_simple),
17640         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
17641         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
17642         (gst_caps_structure_intersect_field), (gst_caps_intersect),
17643         (gst_caps_structure_subtract_field), (gst_caps_subtract),
17644         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
17645         (gst_caps_structure_figure_out_union),
17646         (gst_caps_switch_structures), (gst_caps_do_simplify),
17647         (gst_caps_replace), (gst_caps_from_string),
17648         (gst_caps_copy_conditional):
17649         * gst/gstcaps.h:
17650         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
17651         (_gst_clock_id_free), (gst_clock_id_unref),
17652         (gst_clock_id_compare_func), (gst_clock_id_wait),
17653         (gst_clock_id_wait_async), (gst_clock_class_init),
17654         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
17655         (gst_clock_get_time), (gst_clock_set_time_adjust),
17656         (gst_clock_set_property), (gst_clock_get_property):
17657         * gst/gstclock.h:
17658         * gst/gstcompat.h:
17659         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
17660         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
17661         * gst/gstdata.h:
17662         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
17663         (gst_element_requires_clock), (gst_element_provides_clock),
17664         (gst_element_set_clock), (gst_element_clock_wait),
17665         (gst_element_wait), (gst_element_set_time_delay),
17666         (gst_element_is_indexable), (gst_element_add_pad),
17667         (gst_element_add_ghost_pad), (gst_element_remove_pad),
17668         (pad_compare_name), (gst_element_get_static_pad),
17669         (gst_element_request_pad), (gst_element_get_request_pad),
17670         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
17671         (gst_element_class_get_pad_template_list),
17672         (gst_element_class_get_pad_template), (gst_element_error_func),
17673         (gst_element_get_random_pad), (gst_element_get_event_masks),
17674         (gst_element_send_event), (gst_element_seek),
17675         (gst_element_get_query_types), (gst_element_query),
17676         (gst_element_get_formats), (gst_element_convert),
17677         (gst_element_is_locked_state), (gst_element_set_locked_state),
17678         (gst_element_sync_state_with_parent), (gst_element_change_state),
17679         (gst_element_finalize), (gst_element_yield),
17680         (gst_element_interrupt), (gst_element_set_scheduler),
17681         (gst_element_get_scheduler), (gst_element_set_loop_function):
17682         * gst/gstelement.h:
17683         * gst/gstevent.h:
17684         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
17685         (gst_format_get_by_nick), (gst_format_get_details),
17686         (gst_format_iterate_definitions):
17687         * gst/gstformat.h:
17688         * gst/gstindex.c: (gst_index_gtype_resolver):
17689         * gst/gstinfo.c:
17690         * gst/gstinfo.h:
17691         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
17692         (gst_mem_chunk_free):
17693         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
17694         (gst_object_ref), (gst_object_unref), (gst_object_sink),
17695         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
17696         (gst_object_dispatch_properties_changed),
17697         (gst_object_set_name_default), (gst_object_set_name),
17698         (gst_object_get_name), (gst_object_set_name_prefix),
17699         (gst_object_get_name_prefix), (gst_object_set_parent),
17700         (gst_object_get_parent), (gst_object_unparent),
17701         (gst_object_check_uniqueness), (gst_object_save_thyself),
17702         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
17703         (gst_object_set_property), (gst_object_get_property),
17704         (gst_object_get_path_string):
17705         * gst/gstobject.h:
17706         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
17707         (gst_real_pad_init), (gst_real_pad_get_property),
17708         (gst_pad_custom_new), (gst_pad_get_direction),
17709         (gst_pad_set_active), (gst_pad_is_active),
17710         (gst_pad_set_event_function), (gst_pad_is_linked),
17711         (gst_pad_link_free), (gst_pad_link_intersect),
17712         (gst_pad_link_fixate), (gst_pad_set_caps),
17713         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
17714         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
17715         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
17716         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
17717         (gst_pad_get_caps), (gst_pad_peer_get_caps),
17718         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
17719         (gst_pad_realize), (gst_pad_get_allowed_caps),
17720         (gst_real_pad_dispose), (gst_real_pad_finalize),
17721         (gst_pad_collectv), (gst_pad_collect_valist),
17722         (gst_pad_template_dispose), (gst_pad_template_new),
17723         (gst_pad_get_internal_links):
17724         * gst/gstpad.h:
17725         * gst/gstpipeline.c: (gst_pipeline_dispose),
17726         (gst_pipeline_change_state):
17727         * gst/gstpipeline.h:
17728         * gst/gstplugin.c:
17729         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
17730         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
17731         * gst/gstpluginfeature.h:
17732         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
17733         * gst/gstquery.c: (_gst_query_type_initialize),
17734         (gst_query_type_register), (gst_query_type_get_by_nick),
17735         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
17736         * gst/gstquery.h:
17737         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
17738         * gst/gstscheduler.c: (gst_scheduler_add_element),
17739         (gst_scheduler_factory_create):
17740         * gst/gststructure.c: (gst_structure_set_parent_refcount),
17741         (gst_structure_free), (gst_structure_set_name),
17742         (gst_structure_id_set_value), (gst_structure_set_value),
17743         (gst_structure_set_valist), (gst_structure_remove_field),
17744         (gst_structure_remove_fields),
17745         (gst_structure_remove_fields_valist),
17746         (gst_structure_remove_all_fields), (gst_structure_foreach),
17747         (gst_structure_map_in_place),
17748         (gst_caps_structure_fixate_field_nearest_int),
17749         (gst_caps_structure_fixate_field_nearest_double):
17750         * gst/gststructure.h:
17751         * gst/gstsystemclock.c: (gst_system_clock_class_init),
17752         (gst_system_clock_init), (gst_system_clock_dispose),
17753         (gst_system_clock_async_thread),
17754         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
17755         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
17756         * gst/gstsystemclock.h:
17757         * gst/gsttag.c: (gst_tag_list_add_value_internal),
17758         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
17759         * gst/gsttaginterface.c:
17760         * gst/gstthread.c: (gst_thread_dispose),
17761         (gst_thread_release_children_locks), (gst_thread_change_state),
17762         (gst_thread_main_loop):
17763         * gst/gsttrashstack.h:
17764         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
17765         * gst/gsttypes.h:
17766         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
17767         (gst_element_request_pad), (gst_element_get_pad_from_template),
17768         (gst_element_request_compatible_pad),
17769         (gst_element_get_compatible_pad_filtered),
17770         (gst_element_get_compatible_pad), (gst_element_state_get_name),
17771         (gst_element_link_pads_filtered), (gst_element_link_filtered),
17772         (gst_element_link_many), (gst_element_link),
17773         (gst_element_link_pads), (gst_element_unlink_pads),
17774         (gst_element_unlink_many), (gst_element_unlink),
17775         (gst_pad_can_link_filtered), (gst_pad_can_link),
17776         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
17777         (gst_object_default_error), (gst_bin_add_many),
17778         (gst_bin_remove_many), (gst_element_populate_std_props),
17779         (gst_element_class_install_std_props), (gst_buffer_merge),
17780         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
17781         (link_fold_func), (gst_pad_proxy_setcaps):
17782         * gst/gstutils.h:
17783         * gst/gstvalue.c: (gst_value_deserialize_string):
17784         * gst/parse/grammar.y:
17785         * gst/schedulers/gstbasicscheduler.c:
17786         (gst_basic_scheduler_cothreaded_chain),
17787         (gst_basic_scheduler_chain_recursive_add),
17788         (gst_basic_scheduler_pad_link):
17789         * gst/schedulers/gstoptimalscheduler.c:
17790         (get_group_schedule_function),
17791         (gst_opt_scheduler_state_transition),
17792         (gst_opt_scheduler_add_element), (element_get_reachables_func):
17793         * libs/gst/bytestream/bytestream.c:
17794         * libs/gst/dataprotocol/dataprotocol.c:
17795         (gst_dp_header_from_buffer):
17796         * po/nb.po:
17797         * po/ru.po:
17798         * tests/threadstate/threadstate2.c: (eos):
17799         * tools/gst-compprep.c: (main):
17800         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
17801         (print_pad_info), (print_children_info):
17802         * tools/gst-launch.c: (idle_func), (main):
17803         * tools/gst-md5sum.c: (idle_func), (main):
17804         * tools/gst-xmlinspect.c: (print_element_info):
17805         First THREADED backport attempt, focusing on adding locks and
17806         making sure the API is threadsafe. Needs more work. More docs
17807         follow this week.
17808
17809 2005-02-24  Andy Wingo  <wingo@pobox.com>
17810
17811         * tests/bench-complexity.scm:
17812         * tests/complexity.gnuplot: New files, good for running complexity
17813         benchmarks.
17814
17815         * tests/Makefile.am:
17816         * tests/complexity.c: New test, sets up N elements, at each level
17817         teeing into M streams per element. Eeeenteresting.
17818
17819         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
17820         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
17821         running bench-mass_elements.scm.
17822
17823         * tests/bench-mass_elements.scm: New script, runs mass_elements
17824         for various numbers of identities, outputting the results to a
17825         file. Requires guile 1.6. Just for testing.
17826
17827 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17828
17829         * gst/schedulers/fairscheduler.c:
17830           compile with debug disabled
17831
17832 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17833
17834         * configure.ac:
17835           hunting season on 0.9 is now OPEN