Ignore more.
[platform/upstream/gstreamer.git] / ChangeLog
1 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
2
3         * docs/plugins/tmpl/.cvsignore:
4         * tests/check/gst/.cvsignore:
5           Ignore more.
6
7 2008-06-20  Stefan Kost  <ensonic@users.sf.net>
8
9         * libs/gst/controller/gstinterpolation.c:
10         * libs/gst/controller/gstinterpolationcontrolsource.c:
11         * tests/check/libs/controller.c:
12           Rewrite handling of default values. Fix overflow with unsigned types
13           in linear interpolation. Remove now obsolete _first_value() function.
14           Add more tests. Fixes #538201.
15
16 2008-06-20  Wim Taymans  <wim.taymans@collabora.co.uk>
17
18         * libs/gst/base/gstbasetransform.c:
19         (gst_base_transform_class_init), (gst_base_transform_init),
20         (gst_base_transform_transform_caps),
21         (gst_base_transform_prepare_output_buffer):
22         Add debug info.
23         When a buffer is writable, its metadata is also writable so we don't
24         need to subbuffer (which then makes the buffer not-writable anymore).
25
26 === release 0.10.20 ===
27
28 2008-06-18  Jan Schmidt <jan.schmidt@sun.com>
29
30         * configure.ac:
31           releasing 0.10.20, "You Crazy Diamond"
32
33 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
34
35         * configure.ac:
36         0.10.19.3 pre-release
37
38 2008-06-11  Jan Schmidt  <jan.schmidt@sun.com>
39
40         * configure.ac:
41         * gst/gstpreset.c:
42         Rename DATADIR to GST_DATADIR to avoid build problems
43         on win32. Patch By: David Schleef <ds@schleef.org>
44         Fixes: #536857
45
46 2008-06-05  Sebastian Dröge  <slomo@circular-chaos.org>
47
48         * configure.ac:
49         Explicitely link with -ldl if dladdr() is found there. Before it was
50         implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
51         -ldl has moved from Libs to Libs.private. Fixes bug #536744.
52
53 2008-06-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
54
55         * gst/gsterror.c: (_gst_stream_errors_init):
56           Fix typo (spotted by Fabricio Godoy, #536723).
57
58 2008-06-05  Jan Schmidt  <jan.schmidt@sun.com>
59
60         * configure.ac:
61         0.10.19.2 pre-release
62
63 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
64
65         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
66         (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
67         Add some debug.
68         Make sure we don't generate invalid QoS messages.
69
70 2008-06-04  Wim Taymans  <wim.taymans@collabora.co.uk>
71
72         * gst/gstevent.c: (gst_event_new_qos):
73         Add some assert and docs for invalid input to the qos function.
74
75 2008-05-30  Wim Taymans  <wim.taymans@collabora.co.uk>
76
77         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
78         (gst_base_sink_get_position):
79         The reported position must always be smaller than the last seen
80         timestamps (or timestamp + duration for reverse).
81
82 2008-05-30  Sebastian Dröge  <slomo@circular-chaos.org>
83
84         Patch by: Rob Bradford <rob at robster dot org dot uk>
85
86         * gst/gstregistry.c: (gst_registry_scan_path_level):
87         Don't recurse into .debug directories as some distros install
88         the debugging symbols next to the plugins in .debug directories
89         and dlopen() crashes on them sometimes. Fixes bug #508070.
90
91         Add FIXME for 0.11 to not recurse into directories at all because
92         it's very inconsistent to the behaviour of other PATH environment
93         variables.
94
95 2008-05-29  Wim Taymans  <wim.taymans@collabora.co.uk>
96
97         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
98         (gst_base_sink_get_position_last), (gst_base_sink_get_position):
99         Fix position query range checks in reverse playback.
100
101 2008-05-29  Sebastian Dröge  <slomo@circular-chaos.org>
102
103         * gst/gstelement.c:
104         * gst/gstelement.h:
105         Deprecated gst_element_get_pad() as it can't be used sanely. It's not
106         clear of the reference to the resulting pad must be released later
107         or not, resulting in possible leaks. Fixes bug #533865.
108
109 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
110
111         Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
112
113         * gst/gstelementfactory.c:
114         Small doc fix. Fixes #535285.
115
116 2008-05-28  Wim Taymans  <wim.taymans@collabora.co.uk>
117
118         Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
119
120         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
121         (gst_base_src_get_range), (gst_base_src_pad_get_range),
122         (gst_base_src_loop), (gst_base_src_set_flushing),
123         (gst_base_src_change_state):
124         Make sending an EOS event to the basesrc non-blocking even if the
125         implementation does blocking waits in the create function. This is done
126         by unlocking the create function when EOS is sent.
127         Fixes #535218.
128
129 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
130
131         * tools/gst-inspect.c: (print_element_properties_info):
132         If possible print the element type of GValueArray properties.
133
134 2008-05-28  Sebastian Dröge  <slomo@circular-chaos.org>
135
136         * gst/gstiterator.c:
137         Remove an unused field from the private GstListIterator struct.
138
139 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
140
141         * libs/gst/controller/gstcontroller.c:
142           Add parameter guards.
143
144 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
145
146         * tests/check/gst/gstpipeline.c:
147           Revert test change and add comment why it should not work.
148
149 2008-05-27  Stefan Kost  <ensonic@users.sf.net>
150
151         * tests/check/gst/gstpipeline.c:
152           Extending the test a little to verify that we also get the NULL state-
153           change message.
154
155 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
156
157         * gst/gstpreset.c: (gst_preset_default_get_meta),
158           (gst_preset_get_preset_names), (gst_preset_get_property_names),
159           (gst_preset_load_preset), (gst_preset_save_preset),
160           (gst_preset_rename_preset), (gst_preset_delete_preset),
161           (gst_preset_set_meta):
162           Add Since: markers to docs blurbs.
163
164         * win32/common/libgstreamer.def:
165           Add recently-added API.
166
167 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
168
169         Patch by: Stefan Kost  <ensonic@users.sf.net>
170
171         * configure.ac:
172         Add DATADIR for storing presets.
173
174         * docs/gst/gstreamer-docs.sgml:
175         * docs/gst/gstreamer-sections.txt:
176         * docs/gst/gstreamer.types.in:
177         Add GstPreset to docs.
178
179         * gst/Makefile.am:
180         * gst/gst.h:
181         * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
182         (preset_open_and_parse_header), (preset_parse_version),
183         (preset_merge), (preset_get_keyfile),
184         (gst_preset_default_get_preset_names),
185         (gst_preset_default_get_property_names),
186         (gst_preset_default_load_preset),
187         (gst_preset_default_save_presets_file),
188         (gst_preset_default_save_preset),
189         (gst_preset_default_rename_preset),
190         (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
191         (gst_preset_default_get_meta), (gst_preset_default_randomize),
192         (gst_preset_default_reset), (gst_preset_get_preset_names),
193         (gst_preset_get_property_names), (gst_preset_load_preset),
194         (gst_preset_save_preset), (gst_preset_rename_preset),
195         (gst_preset_delete_preset), (gst_preset_set_meta),
196         (gst_preset_get_meta), (gst_preset_class_init),
197         (gst_preset_base_init), (gst_preset_get_type):
198         * gst/gstpreset.h:
199         Add GstPreset to core. Fixes #396779
200
201         * tests/check/Makefile.am:
202         * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
203         (gst_preset_test_set_property), (gst_preset_test_class_init),
204         (gst_preset_test_base_init), (gst_preset_test_get_type),
205         (gst_preset_test_plugin_init), (GST_START_TEST),
206         (remove_preset_file), (test_setup), (test_teardown),
207         (gst_preset_suite):
208         Add GstPreset unit tests.
209
210 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
211
212         * gst/gstpad.c: (gst_pad_event_default_dispatch):
213         The default event function on a sinkpad should return TRUE when
214         there are no internal links but should collect the return values from
215         the internal links otherwise.
216
217 2008-05-27  Wim Taymans  <wim.taymans@collabora.co.uk>
218
219         * plugins/elements/gsttypefindelement.c:
220         (gst_type_find_element_src_event),
221         (gst_type_find_element_handle_event):
222         Use faster and safer _pad_push_event().
223
224 2008-05-27  Tim-Philipp Müller  <tim.muller at collabora co uk>
225
226         * docs/gst/gstreamer-sections.txt:
227         * gst/gstutils.c: (element_find_unlinked_pad),
228           (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
229         * gst/gstutils.h:
230           API: add gst_bin_find_unlinked_pad()
231           API: deprecate gst_bin_find_unconnected_pad() (#401456)
232
233 2008-05-26  Peter Kjellerstedt  <pkj@axis.com>
234
235         * gst/gstclock.c:
236         * gst/gstclock.h:
237         * gst/gsttask.c:
238         * gst/gsttask.h:
239         Fixed a bunch of typos.
240
241 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
242
243         * gst/gstpad.h:
244         * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
245           (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
246           (gst_parse_bin_from_description_full):
247         * gst/gstutils.h:
248           'unconnected pad' -> 'unlinked pad' for consistency (#401456).
249
250 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
251
252         * docs/pwg/advanced-tagging.xml:
253           Small docs update, can't be bothered to rewrite the nonsensical
254           examples right now.
255
256 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
257
258         * gst/gstevent.h:
259           Clarify docs for GST_SEEK_TYPE_CUR (#534505).
260
261 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
262
263         * gst/parse/grammar.y:
264           Remove unneeded casts.
265
266 2008-05-25  Tim-Philipp Müller  <tim.muller at collabora co uk>
267
268         * gst/parse/grammar.y:
269         * tests/check/pipelines/parse-launch.c:
270           Get all missing elements from a parse launch string if possible
271           (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
272
273 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
274
275         * tests/check/Makefile.am:
276         * tests/check/pipelines/parse-launch.c:
277           Add some unit tests for the new gst_parse_launch*_full() API.
278           (Exposes a previously-existing memory leak in the error code
279           path, so adding to VALGRIND_TO_FIX for now).
280
281 2008-05-24  Tim-Philipp Müller  <tim.muller at collabora co uk>
282
283         * docs/gst/gstreamer-sections.txt:
284         * gst/gst.c: (init_post):
285         * gst/gst_private.h: (_GstParseContext):
286         * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
287           (gst_parse_context_free), (gst_parse_context_get_missing_elements),
288           (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
289           (gst_parse_launch_full):
290         * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
291           (GstParseFlags), (GstParseContext):
292         * gst/gstutils.c: (gst_parse_bin_from_description),
293           (gst_parse_bin_from_description_full):
294         * gst/gstutils.h:
295         * gst/parse/grammar.y:
296         * gst/parse/types.h:
297         * win32/common/libgstreamer.def:
298           Add new gst_parse_*_full API (#528178):
299           API: gst_parse_launch_full()
300           API: gst_parse_launchv_full()
301           API: gst_parse_bin_from_description_full()
302           API: gst_parse_context_new()
303           API: gst_parse_context_free()
304           API: gst_parse_context_get_missing_elements()
305
306 2008-05-23  Stefan Kost  <ensonic@users.sf.net>
307
308         patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
309
310         * docs/faq/gst-uninstalled:
311           Also support ffmpeg in gst-uninstalled.
312
313 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
314
315         * configure.ac:
316         After discussion on IRC use the binary registry as default
317         but allow to disable it with --disable-binary-registry.
318
319         * win32/common/libgstreamer.def:
320         Add the two new symbols for the binary registry.
321
322 2008-05-22  Tim-Philipp Müller  <tim.muller at collabora co uk>
323
324         * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
325         * gst/gstutils.c: (gst_parse_bin_from_description):
326         * gst/parse/grammar.y: (graph):
327           More guards against bad input; typo fix; some minor clean-ups.
328
329 2008-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
330
331         Patch by: Sjoerd Simons <sjoerd at luon dot net>
332
333         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
334         If nothing else can be used, use the last buffer's start time as
335         the segment's last stop. Fixes bug #534258.
336
337 2008-05-21  Tim-Philipp Müller  <tim.muller at collabora co uk>
338
339         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
340           Move size sanity check to the right place: downstream may return
341           a buffer with a smaller size if the buffer caps are different than
342           the requested ones, as may happen when doing reverse negotiation.
343
344 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
345
346         * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
347         (gst_file_sink_render):
348         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
349         (gst_file_src_start):
350         Small cleanups. Add note adbout g_fopen() on windows and why we don't
351         use it yet.
352
353 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
354
355         * gst/gstpad.c: (gst_pad_load_and_link):
356         * gst/gstutils.c: (gst_element_link_pads),
357         (gst_element_unlink_pads):
358         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
359         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
360         (gst_check_teardown_sink_pad),
361         (gst_check_element_push_buffer_list):
362         * tests/check/elements/fakesink.c: (GST_START_TEST):
363         * tests/check/elements/filesink.c:
364         * tests/check/elements/filesrc.c: (GST_START_TEST):
365         * tests/check/elements/multiqueue.c: (setup_multiqueue),
366         (mq_sinkpad_to_srcpad):
367         * tests/check/elements/tee.c: (GST_START_TEST):
368         * tests/check/generic/sinks.c: (GST_START_TEST):
369         * tests/check/gst/gstbin.c: (GST_START_TEST):
370         * tests/check/gst/gstevent.c: (GST_START_TEST):
371         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
372         * tests/check/gst/gstpipeline.c: (GST_START_TEST):
373         * tests/check/gst/gstquery.c: (GST_START_TEST):
374         * tests/check/gst/gstutils.c: (GST_START_TEST):
375         * tests/check/libs/basesrc.c: (GST_START_TEST):
376         * tests/check/pipelines/parse-launch.c: (run_delayed_test),
377         (gst_parse_test_element_change_state):
378         Don't use gst_element_get_pad().
379
380 2008-05-21  Felipe Contreras  <felipe.contreras@gmail.com>
381
382         * docs/Makefile.am:
383         Fix installing plugin documentation when gtk-doc is disabled.
384
385 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
386
387         * docs/manual/advanced-autoplugging.xml:
388         * docs/manual/basics-helloworld.xml:
389         * docs/manual/basics-pads.xml:
390         * docs/manual/highlevel-components.xml:
391         Avoid using a bad function in the example code.
392
393 2008-05-21  Wim Taymans  <wim.taymans@collabora.co.uk>
394
395         * gst/gstclock.c: (gst_clock_set_calibration):
396         Fix debug of the new clock rate.
397
398 2008-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
399
400         * win32/common/libgstbase.def:
401         Add gst_base_sink_wait_clock() to the exported symbols.
402
403 2008-05-20  Sebastian Dröge  <slomo@circular-chaos.org>
404
405         Patch by: Tim-Philipp Müller  <tim.muller at collabora co uk>
406
407         * libs/gst/base/gstbasetransform.c:
408         (gst_base_transform_sink_event):
409         Unref events that the GstBaseTransform::event vfunc didn't want to
410         have forwarded by the base class. Closes a leak in identity.
411         Fixes bug #446763.
412
413 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
414
415         * docs/libs/gstreamer-libs-sections.txt:
416         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
417         * libs/gst/base/gstbasesink.h:
418         Expose a method that was previously used internally to synchronize
419         against the clock because it can be useful for subclasses too.
420         API: GstBaseSink::gst_base_sink_wait_clock()
421
422 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
423
424         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
425           Add sanity check to make sure we don't get smaller buffers
426           than requested (and fallback to normal buffer alloc if we do).
427
428 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
429
430         * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
431         (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
432         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
433         Refactor adjusting the running_time with latency and offset into a
434         separate method.
435         When doing clipping, we still want to use the subclass get_times method,
436         just in case the DURATION or TIMESTAMP are not set.
437
438 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
439
440         * docs/gst/gstreamer-sections.txt:
441         * gst/gsttypefind.c: (gst_type_find_suggest_simple):
442         * gst/gsttypefind.h:
443         * win32/common/libgstreamer.def:
444           API: add gst_type_find_suggest_simple(), #533740.
445
446 2008-05-19  Tim-Philipp Müller  <tim.muller at collabora co uk>
447
448         * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
449           Use right error code when typefinding fails, so we can use
450           the default (translated) error messages.
451
452 2008-05-19  Wim Taymans  <wim.taymans@collabora.co.uk>
453
454         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
455         (gst_base_src_start):
456         When the subclass did not set caps on outgoing buffers, configure the
457         caps we negotiated on the source pad.
458         When the typefind helper does not find caps, error out properly instead
459         of doing things with NULL caps.
460
461 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
462
463         * gst/gsttypefind.h:
464           Tabs to spaces, oh yes!
465
466 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
467
468         * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
469           Add David's and Benjamin's tests for array intersection to the
470           unit test suite (#147931).
471
472 2008-05-18  Tim-Philipp Müller  <tim.muller at collabora co uk>
473
474         * gst/gstevent.c:
475           Document that gst_event_new_tag() and gst_event_new_navigation()
476           take ownership of the taglist/structure passed to them. (#533635).
477
478 2008-05-17  Jan Schmidt  <jan.schmidt@sun.com>
479
480         * docs/Makefile.am:
481         Don't descend into the plugins dir if plugin docs building
482         is disabled.
483
484         * docs/README:
485         Add a note about the new type:GTypeName syntax for the plugin
486         documentation .types file.
487
488 2008-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
489
490         * gst/gstmessage.c: (gst_message_new_error),
491         (gst_message_new_warning), (gst_message_new_info):
492         * gst/gstmessage.h:
493         Mark the debug string parameters as const. Fixes bug #533490.
494
495 2008-05-16  Sebastian Dröge  <slomo@circular-chaos.org>
496
497         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
498         Sort buffer cache list by end offsets. This makes sure that we don't
499         stop to search for a cached buffer that contains the requested data
500         too early.
501         Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
502         more efficient. Fixes bug #459862.
503
504 2008-05-14  Stefan Kost  <ensonic@users.sf.net>
505
506         * gst/gstinfo.c:
507           Explain why we copy the list.
508
509         * gst/gstpipeline.c:
510           Improve docs.
511
512         * gst/gstutils.c:
513           Add one debug-log statement to help tracing probelms with linking pads.
514
515 2008-05-12  Stefan Kost  <ensonic@users.sf.net>
516
517         * tests/check/gst/gstinfo.c:
518         Add a test for removing the default log handler. Seems to fail under
519         windows.
520
521 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
522
523         * gst/gstpad.c: (gst_pad_peer_accept_caps):
524         Release pad lock before calling out to avoid a possible deadlock.
525
526 2008-05-14  Wim Taymans  <wim.taymans@collabora.co.uk>
527
528         * gst/parse/grammar.y:
529         Remove unneeded value unset.
530
531         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
532         Add unit test for de/serialization of caps.
533
534 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
535
536         * plugins/elements/gstfakesink.c:
537         (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
538         * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
539         (gst_fake_src_class_init):
540         Use custom marshalers that take GstMiniObject as first parameter.
541         Using OBJECT as parameter while a GstMiniObject is given will lead
542         to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
543
544 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
545
546         * plugins/elements/gsttypefindelement.c:
547         (gst_type_find_element_handle_event),
548         (gst_type_find_element_send_cached_events),
549         (gst_type_find_element_change_state):
550         Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
551         immediately.
552
553 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
554
555         * plugins/elements/gsttypefindelement.c:
556         (gst_type_find_handle_src_query), (stop_typefinding),
557         (gst_type_find_element_handle_event),
558         (gst_type_find_element_send_cached_events),
559         (gst_type_find_element_change_state):
560         Forward FLUSH_START events immediately and clean up instead of
561         caching them.
562
563 2008-05-13  Sebastian Dröge  <slomo@circular-chaos.org>
564
565         Patch by: Sjoerd Simons <sjoerd at luon dot net>
566
567         * libs/gst/base/gstbasetransform.c:
568         (gst_base_transform_buffer_alloc):
569         Check the caps of the buffer returned by gst_pad_alloc_buffer() and
570         fall back to default negotiation in the chain function if the caps
571         are different from what was requested. Fixes bug #526768.
572
573 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
574
575         * gst/gstsegment.c:
576         * tests/check/gst/gstsegment.c:
577           No, let's not use g_slice_{dup|copy} here, since they only exist
578           since GLib 2.14 and we still depend only on >= 2.12. Also add
579           unit test for gst_segment_copy().
580
581 2008-05-09  Tim-Philipp Müller  <tim.muller at collabora co uk>
582
583         * gst/gstutils.h: (GST_BOILERPLATE_FULL):
584           Try to fix 'dereferencing type-punned pointer will break strict
585           aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
586           changed the default GType typedef from gulong to gsize at some point,
587           but kept GType typedef'ed to gulong for C++ for ABI reasons; the
588           g_once_* functions all take a gsize * though, so work around the type
589           mismatch for C++ by doing everything in gsize and casting to GType
590           later.
591
592 2008-05-09  Jan Schmidt  <jan.schmidt@sun.com>
593
594         * plugins/elements/gstmultiqueue.c:
595         Add documentation for the signals to push our core plugin docs
596         coverage back up to 100%.
597
598 2008-05-08  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
599
600         * gst/gstinfo.h (GST_FUNCTION):
601           Reverted GST_FUNCTION to the old version as we don't want the
602           full signature in C++ code. Also added support for MSVC.
603
604 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
605
606         * gst/gstutils.h:
607         Intern the type name string, similar to what G_DEFINE_TYPE does.
608
609 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
610
611         * gst/gstutils.h:
612         Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
613
614 2008-05-08  Sebastian Dröge  <slomo@circular-chaos.org>
615
616         Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
617
618         * libs/gst/base/gstbasetransform.c:
619         (gst_base_transform_buffer_alloc):
620         Don't passthrough buffer allocation too easily if the caps change.
621         This breaks when working in passthrough mode and upstream changes
622         it's caps. Fixes bug #526768.
623
624 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
625
626         * gst/gstinfo.c (gst_debug_log_valist):
627           Improved the __FILE__ part of debug output for MSVC.
628
629 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
630
631         * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
632           Declaration after statement fix for compilers like MSVC.
633
634 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
635
636         * win32/common/config.h.in:
637           Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
638           use the real thing than having "???" unconditionally.
639
640 2008-05-07  Ole André Vadla Ravnås  <ole.andre.ravnas at tandberg com>
641
642         * gst/gstinfo.h (GST_FUNCTION):
643           Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
644
645 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
646
647         * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
648         Small code cleanup.
649
650         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
651         (gst_base_sink_set_flushing):
652         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
653         Fix some comments.
654
655 2008-05-07  Wim Taymans  <wim.taymans@collabora.co.uk>
656
657         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
658         (gst_fake_src_init), (gst_fake_src_set_property),
659         (gst_fake_src_get_property), (gst_fake_src_start):
660         * plugins/elements/gstfakesrc.h:
661         Added format property to control the format of the newsegment events.
662         API: GstFakeSrc:format
663
664 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
665
666         * win32/common/libgstreamer.def:
667         Add gst_pad_has_name() to the exported symbols.
668
669 2008-05-06  Sebastian Dröge  <slomo@circular-chaos.org>
670
671         * gst/gstpad.c: (gst_pad_alloc_buffer_full):
672         * libs/gst/base/gstbasetransform.c:
673         (gst_base_transform_prepare_output_buffer):
674         Don't allow negative sizes when allocating new buffers.
675         Fixes bug #461253.
676
677 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
678
679         Patch by: Sjoerd Simons <sjoerd at luon net>
680
681         * gst/gstbus.c: (gst_bus_source_dispatch):
682           Don't print a warning if the queue is empty when we try to pop
683           here. That could happen if another thread or callback set the
684           bus to flushing between the source's check/prepare and the
685           dispatch being called (#531538).
686
687 2008-05-05  Tim-Philipp Müller  <tim.muller at collabora co uk>
688
689         * plugins/elements/gstmultiqueue.c:
690           Small docs fix.
691         
692 2008-05-05  Sebastian Dröge  <slomo@circular-chaos.org>
693
694         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
695         Add unit test for deserializing uint64s and check some really large
696         numbers in the int64 test.
697
698 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
699
700         * tools/gst-inspect.c: (n_print), (print_hierarchy),
701         (print_interfaces), (print_element_properties_info),
702         (print_signal_info):
703         Use "%s" as format string instead of printing strings directly.
704
705 2008-05-04  Sebastian Dröge  <slomo@circular-chaos.org>
706
707         * gst/gstclock.c: (gst_clock_set_calibration):
708         Make some checks actually useful.
709
710         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
711         Remove some unused code. Unsigned integers tend to be >= 0.
712
713 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
714
715         * gst/gstminiobject.c: (gst_value_get_mini_object):
716           Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
717           function was not in the unscheduled 0.10.19 release.
718
719 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
720
721         * gst/gstregistry.c: (gst_registry_scan_path_level):
722           Only print one log message per non-plugin file.
723
724 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
725
726         * gst/gstinfo.c: (gst_debug_log_default):
727           Fix alignment of debug log columns on 64-bit.
728
729 2008-05-03  Tim-Philipp Müller  <tim.muller at collabora co uk>
730
731         * docs/libs/Makefile.am:
732         * docs/libs/gstreamer-libs-sections.txt:
733           Ignore private controller headers for docs.
734
735 2008-05-03  Sebastian Dröge  <slomo@circular-chaos.org>
736
737         * libs/gst/controller/gstcontrollerprivate.h:
738         * libs/gst/controller/gsthelper.c:
739         * libs/gst/controller/gstinterpolation.c:
740         * libs/gst/controller/gstinterpolationcontrolsource.c:
741         (gst_interpolation_control_source_set_interpolation_mode):
742         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
743         * libs/gst/controller/lib.c:
744         Move some private declarations into private headers.
745
746 2008-05-02  Sebastian Dröge  <slomo@circular-chaos.org>
747
748         * gst/gstdebugutils.c: (debug_dump_element_pad):
749         Remove some code that is unused after Stefan's refactoring and uses
750         uninitialized variables now, resulting in a compiler warning.
751
752 2008-05-01  Tim-Philipp Müller  <tim.muller at collabora co uk>
753
754         * gst/gstregistry.c: (gst_registry_scan_path_level):
755           Run g_str_has_suffix() only on the file name, not the
756           entire file path.
757
758 2008-04-30  Tim-Philipp Müller  <tim.muller at collabora co uk>
759
760         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
761           Since we're not called only from the chain function any longer,
762           we can't assume that there's always data in the queue, so move
763           the is_full check to the beginning of the loop (otherwise we'd
764           hit the assert when changing the limit properties while the
765           queue is empty or not running yet).
766           Also, only set a discont if items were actually removed from
767           the queue.
768
769         * tests/check/elements/queue.c: (test_leaky_downstream):
770           Test case for the above.
771
772 2008-04-30  Wim Taymans  <wim.taymans@collabora.co.uk>
773
774         Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
775
776         * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
777         (gst_queue_chain), (queue_capacity_change),
778         (gst_queue_set_property):
779         When changing thr max capacity of a leaky queue, immediatly drop buffers
780         instead of waiting for a push on the sinkpad. Fixes #530637.
781
782 2008-04-30  Stefan Kost  <ensonic@users.sf.net>
783
784         * gst/gstdebugutils.c:
785           Refactor code and fix handling of ghostpads and their proxypads.
786
787 2008-04-29  Wim Taymans  <wim.taymans@collabora.co.uk>
788
789         * docs/gst/gstreamer-sections.txt:
790         * gst/gstevent.c: (gst_event_has_name):
791         * gst/gstevent.h:
792         * tests/check/gst/gstevent.c: (GST_START_TEST):
793         Add method to conveniently check the name of a custom event with
794         gst_event_has_name().
795         Reformat the event docs so that related methods are put together instead
796         of the default alphabetical sort.
797         Update unit test with new method.
798         API: GstEvent::gst_event_has_name()
799
800 2008-04-28  Michael Smith <msmith@songbirdnest.com>
801
802         * libs/gst/check/Makefile.am:
803           Don't add an explicit link to libgstreamer-0.10.la; it's already
804           included in GST_OBJ_LIBS.
805
806 2008-04-28  Sebastian Dröge  <slomo@circular-chaos.org>
807
808         * gst/gst.c:
809         Register GstClock type from a type-safe context. Fixes bug #530317.
810
811 2008-04-25  Michael Smith <msmith@songbirdnest.com>
812
813         Patch by Edward Hervey <edward.hervey@collabora.co.uk>
814         * tools/gst-run.c:
815           Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
816
817 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
818
819         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
820         (gst_bin_dispose):
821         Use the GLib stuff to create a private structure.
822         Add some locking around some dispose methods to make them a little
823         safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
824
825 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
826
827         * libs/gst/base/gstbasesink.h:
828         * libs/gst/base/gstbasesrc.h:
829         * libs/gst/base/gstbasetransform.h:
830         * libs/gst/base/gstcollectpads.h:
831           Fix doc typos and unify caps a bit.
832
833 2008-04-25  Stefan Kost  <ensonic@users.sf.net>
834
835         * tools/gst-launch.1.in:
836           Forgot to also add the envvar docs here.
837
838 2008-04-25  Tim-Philipp Müller  <tim at centricular dot net>
839
840         * gst/gst.c: (init_post), (gst_deinit):
841         * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
842           (test_concurrent_create), (gst_pipeline_suite):
843           Ref some more classes in gst_init() to work around thread-safety
844           issues in pre-2.16 GLibs, and add basic unit test.
845
846 2008-04-25  Wim Taymans  <wim.taymans@collabora.co.uk>
847
848         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
849         (gst_base_sink_send_event):
850         Rearrange the latency query code. We always want to do the upstream
851         query, even if we are not live so that the upstream elements can get the
852         latency results too. If we fail doing the query and we are live, we
853         return TRUE afterwards.
854
855 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
856
857         patch by: Jason Zhao <e3423c@motorola.com>
858
859         * docs/gst/running.xml:
860         * gst/gst.c:
861           Enable/disable scan_and_update_registry() based on commandline switch
862           or environment variable. Fixes #520468.
863           
864         * ChangeLog:
865           Fix typo in my previous commit.
866
867 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
868
869         * gst/gstregistrybinary.c:
870           Add a warning if we hit unhandled factories when saving.
871           More debug logging detail, but move to LOG category.
872
873 2008-04-24  Stefan Kost  <ensonic@users.sf.net>
874
875         * gst/gstregistry.c:
876           Tell the *truth* when improving the documentation.
877
878 2008-04-23  Sebastian Dröge  <slomo@circular-chaos.org>
879
880         * gst/gstelementfactory.c: (gst_element_factory_make):
881         Unref the factory after it was used the last time, not before.
882
883         * gst/gstindexfactory.c: (gst_index_factory_make):
884         Improve debugging a bit and don't leak a ref to the index factory with
885         each call.
886
887 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
888
889         * gst/gstregistry.c:
890           Improve the documentation.
891
892 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
893
894         * gst/gstsegment.c:
895           The glib macro seems to be borked. Use g_slice_copy directly and cast
896           in the hope that this fixes the warning on 64bit.
897
898 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
899
900         * gst/gstsegment.c:
901           Document the new function. Use g_slice_dup() (no need for
902           gst_segment_init()).    
903
904 2008-04-23  Stefan Kost  <ensonic@users.sf.net>
905
906         * docs/gst/gstreamer-sections.txt:
907           Move GParamSepc macros to standart section.
908   
909         * gst/gstbin.c:
910           Dn't document _get_type - its in private section in docs anyway and
911           this doc-blob was incomplete.
912
913         * gst/gstclock.h:
914           Fix wrong symbol names in docs.
915
916         * gst/gstmacros.h:
917           Add once doc sentence.
918
919         * tests/check/gst/.cvsignore:
920           Ignore more.
921
922 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
923
924         * docs/gst/Makefile.am:
925           And remove those libs here.
926
927 2008-04-21  Tim-Philipp Müller  <tim at centricular dot net>
928
929         * docs/libs/Makefile.am:
930           Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
931
932 2008-04-21  Wim Taymans  <wim.taymans@collabora.co.uk>
933
934         Patch by: Olivier Crete <tester at tester dot ca>
935
936         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
937         Add the min-threshold to the min latency if possible. Fixes #529148.
938
939 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
940
941         * docs/gst/gstreamer.types.in:
942           Stupid editor, I removed that line as it should go in yet.
943
944 2008-04-21  Stefan Kost  <ensonic@users.sf.net>
945
946         * docs/gst/gstreamer.types.in:
947         * docs/libs/gstreamer-libs.types:
948           Remove library types fro core docs and have them in libs docs.
949           Reformat and cleanup. Add comment for miniobject types.
950
951 2008-04-20  Tim-Philipp Müller  <tim at centricular dot net>
952
953         * gst/gsturi.c: (gst_uri_get_protocol):
954           Fix leak: g_strdown operates on the string in place, while
955           g_ascii_strdown() returns a newly-allocated string.
956
957 2008-04-20  Sebastian Dröge  <slomo@circular-chaos.org>
958
959         * tools/gst-inspect.c: (print_uri_handler_info),
960         (print_element_info):
961         Print the URI protocols and the URI type supported by the element.
962
963 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
964
965         * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
966         Use g_value_take_string() instead of the deprecated
967         g_value_set_string_take_ownership().
968
969 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
970
971         * gst/gstregistrybinary.c: (_gst_crc32):
972         Return the old CRC instead of 0 if we give a NULL buffer
973         or a buffer with a length of 0.
974
975 2008-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
976
977         * gst/gsturi.c: (gst_uri_protocol_check_internal),
978         (gst_uri_get_protocol), (gst_uri_has_protocol),
979         (gst_uri_construct), (gst_uri_handler_set_uri):
980         A valid URI scheme can also include '+', '-' and '.' additional
981         to alphanumeric characters as per RFC 3986 Section 3.1.
982
983         Handle URI schemes case insensitive in all places and convert
984         to lower-case when constructing an URI or setting an URI with
985         the GstURIHandler interface. Fixes bug #528868.
986         All elements can still assume (as before) that they will
987         get passed URIs with a lower-case URI scheme by the GstURIHandler
988         interface.
989
990 2008-04-17  Tim-Philipp Müller  <tim at centricular dot net>
991
992         * gst/gstcaps.c: (gst_static_caps_get):
993         * gst/gstclock.c: (gst_clock_entry_new):
994           Don't use g_atomic_set_int where it's not needed.
995
996 2008-04-17  Wim Taymans  <wim.taymans@collabora.co.uk>
997
998         * gst/gstvalue.c: (gst_value_deserialize_caps):
999         * gst/parse/grammar.y:
1000         Fix 2 caps leaks.
1001
1002 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1003
1004         * gst/gstutils.c: (gst_atomic_int_set):
1005         Use g_atomic_int_set() here too instead of assignment +
1006         g_atomic_int_get().
1007
1008 2008-04-17  Sebastian Dröge  <slomo@circular-chaos.org>
1009         
1010         * gst/gstutils.c:
1011         * gst/gstutils.h:
1012         API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1013         now that we depend on new enough GLib.
1014
1015         * gst/gstcaps.c: (gst_static_caps_get):
1016         * gst/gstclock.c: (gst_clock_entry_new):
1017         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1018         (gst_debug_set_default_threshold), (_gst_debug_category_new),
1019         (gst_debug_category_set_threshold):
1020         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1021         (gst_base_sink_set_qos_enabled):
1022         * libs/gst/net/gstnettimeprovider.c:
1023         (gst_net_time_provider_set_property):
1024         Use g_atomic_int_set() instead of gst_atomic_int_set().
1025
1026 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1027
1028         * gst/gstquery.c:
1029           Also use G_GINT64_CONSTANT for the queries.
1030
1031 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1032
1033         * gst/gstmessage.c:
1034           Use G_GINT64_CONSTANT in varargs function.
1035
1036 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1037
1038         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1039         Initialize the registry magic with zeroes.
1040
1041 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1042
1043         * gst/gstregistrybinary.c: (_gst_crc32),
1044         (gst_registry_binary_write),
1045         (gst_registry_binary_initialize_magic),
1046         (gst_registry_binary_write_cache),
1047         (gst_registry_binary_check_magic),
1048         (gst_registry_binary_read_cache):
1049         * gst/gstregistrybinary.h:
1050         Add crc32 checksum to the binary registry file and check this before
1051         accepting a registry file.
1052
1053         Also free the data list when writing to the registry file fails.
1054
1055 2008-04-16  Sebastian Dröge  <slomo@circular-chaos.org>
1056
1057         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1058         (gst_registry_binary_load_feature),
1059         (gst_registry_binary_load_plugin):
1060         If an element supports the Uri interface, returns a valid pointer
1061         to the supported URI protocols but this pointer contains nothing
1062         don't try to save that as it will corrupt the registry.
1063
1064         Don't unref the plugin if we added it to the registry already but
1065         fail to load a feature as gst_registry_add_plugin() takes ownership
1066         of the plugin.
1067
1068         Improve debugging a bit.
1069
1070 2008-04-16  Stefan Kost  <ensonic@users.sf.net>
1071
1072         * gst/gsttaglist.h:
1073           Clarify some tag item docs after discussion on irc.
1074
1075 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1076
1077         * docs/gst/gstreamer-docs.sgml:
1078           Remove commented out plugins (they have their own docs). Update
1079           comments.
1080
1081 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1082
1083         * docs/gst/gstreamer-docs.sgml:
1084         * docs/gst/gstreamer-sections.txt:
1085         * gst/gstparamspecs.c:
1086         * gst/gstparamspecs.h:
1087           Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1088           docs to own section.
1089
1090         * gst/gstvalue.c:
1091           This now only documents GValue.
1092           
1093         * docs/libs/gstreamer-libs-sections.txt:
1094         * libs/gst/controller/gstcontroller.h:
1095           Remove GST_PARAM_CONTROLLABLE.
1096
1097 2008-04-15  Stefan Kost  <ensonic@users.sf.net>
1098
1099         * docs/README:
1100           Correct file path. Tell about how to use -overrides.txt.
1101         * docs/design/draft-tagreading.txt:
1102           Small design update.
1103
1104 2008-04-14  Sebastian Dröge  <slomo@circular-chaos.org>
1105
1106         * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1107         (gst_registry_binary_load_plugin):
1108         Fix a typo in a debug message and revert change from yesterday as
1109         gst_registry_add_plugin() will only fail if something is really wrong
1110         already and we can't survive it anyway.
1111
1112 2008-04-14  Tim-Philipp Müller  <tim at centricular dot net>
1113
1114         * gst/gst.c: (init_post), (gst_deinit):
1115           Pre-register GstGError GType from a thread-safe context
1116           (fixes #527967); unref enum type classes in deinit.
1117
1118 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1119
1120         Patch by: Rene Stadler <mail at renestadler de>
1121
1122         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1123           Merging an empty list with another list in KEEP_ALL mode should
1124           yield an empty list as result and not the second list (#512578).
1125
1126         * tests/check/gst/gsttagsetter.c:
1127           Add unit test for tag merge modes and the aforementioned bug.
1128
1129 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1130
1131         Patch by: Rene Stadler <mail at renestadler de>
1132
1133         * gst/gsttaglist.h:
1134           Fix description to match the order in the table (#512577).
1135   
1136 2008-04-13  Tim-Philipp Müller  <tim at centricular dot net>
1137
1138         Patch by: Kwang Yul Seo  <kwangyul.seo gmail com>
1139
1140         * libs/gst/net/gstnettimepacket.h:
1141         * docs/libs/gstreamer-libs-sections.txt:
1142           Define socklen_t as int if it's not defined yet. Fixes compilation
1143           with MSVC6 and other versions where socklen_t is not defined in
1144           the windows headers (#518022).
1145
1146 2008-04-13  Sebastian Dröge  <slomo@circular-chaos.org>
1147
1148         * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1149         If gst_registry_add_plugin() fails our reference to the plugin is
1150         invalid so don't try to use it anymore and instead error out.
1151
1152 2008-04-12  Tim-Philipp Müller  <tim at centricular dot net>
1153
1154         * tools/gst-xmlinspect.c: (print_element_info), (main):
1155           De-cruft a bit. If no argument is specified, print all elements in
1156           XML syntax rather than a freestyle list of elements like gst-inspect.
1157           Also, don't print XML header chunk unless we actually have something
1158           to print (ie. don't print it before an error message); print error
1159           message to stderr not stdout. Remove support for printing plugin
1160           info (it would just output something freestyle along the lines of
1161           gst-inspect so far), which fixes #514507. Also add license header.
1162
1163 2008-04-11  Julien Moutte  <julien@fluendo.com>
1164
1165         Mac OS X love...
1166         * configure.ac: Merge platform specific defines, introduce a new
1167         define on OS X to remember that forking when updating registry is
1168         unsafe.
1169         * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1170         module.
1171         * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1172         is defined.
1173         * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1174         condition that leads to absolutely no plugins being registered on
1175         OS X.
1176
1177 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1178
1179         Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1180
1181         * gst/gstutils.c: (gst_pad_add_data_probe),
1182           (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1183           (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1184           (gst_pad_add_buffer_probe_full):
1185         * gst/gstutils.h:
1186         * docs/gst/gstreamer-sections.txt:
1187         * win32/common/libgstreamer.def:
1188           Add gst_pad_add_*_probe_full() functions with a notify callback that
1189           lets the caller free the data it passes to the probe functions. This
1190           is useful for bindings such as gst-python or gstreamermm (#526814).
1191           API: gst_pad_add_data_probe_full
1192           API: gst_pad_add_buffer_probe_full
1193           API: gst_pad_add_event_probe_full
1194
1195         * tests/check/gst/gstutils.c:
1196           Add minimal unit test to make sure freeing the data actually works
1197           as expected.
1198
1199         * tests/benchmarks/.cvsignore:
1200           Random cvsignore addendum.
1201
1202 2008-04-10  Tim-Philipp Müller  <tim at centricular dot net>
1203
1204         * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1205           (GST_DEBUG_BIN_TO_DOT_FILE):
1206           Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1207           to it in the docs (since these are macros the types of the arguments
1208           won't be shown in the docs otherwise).
1209
1210 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1211
1212         * gst/gstpad.c:
1213           Do not abort on out of memory for pad_alloc_buffer.
1214
1215 2008-04-10  Stefan Kost  <ensonic@users.sf.net>
1216
1217         * libs/gst/check/gstcheck.c:
1218           Remove blank line between symbol name ad parameters to fix gtkdoc
1219           warning.
1220
1221 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1222
1223         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1224
1225         * docs/gst/gstreamer-sections.txt:
1226         * gst/gstsegment.c:
1227         * gst/gstsegment.h:
1228         * win32/common/libgstreamer.def:
1229           Expose gst_segment_copy() to make things easier for the c++ bindings.
1230           Fixes #518932.
1231           API: gst_segment_copy()
1232
1233 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1234
1235         * gst/gst.c: (gst_init_get_option_group), (init_post):
1236           Fix const position; ref GType classes for enum types to work
1237           around thread-safety issues in GLib versions < 2.16.
1238
1239 2008-04-09  Wim Taymans  <wim.taymans@collabora.co.uk>
1240
1241         * docs/design/part-buffering.txt:
1242         Fix some typos and set the estimated total for push mode to -1.
1243
1244         * gst/gstquery.c: (gst_query_new_buffering):
1245         Set buffering-left to 0 as we're not buffering by default.
1246
1247         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1248         Implement BUFFERING query.
1249
1250 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1251
1252         Based on patch by: Milosz Derezynski <internalerror gmail com>
1253
1254         * gst/gsterror.c: (_gst_stream_errors_init):
1255         * gst/gsterror.h:
1256           Add two new error codes for encrypted content. Fixes #524659.
1257           API: GST_STREAM_ERROR_DECRYPT
1258           API: GST_STREAM_ERROR_DECRYPT_NOKEY
1259
1260 2008-04-09  Tim-Philipp Müller  <tim at centricular dot net>
1261
1262         * gst/gstquery.h:
1263           Fix typo.
1264
1265         * win32/common/libgstreamer.def:
1266           Add new functions.
1267
1268 2008-04-09  Sebastian Dröge  <slomo@circular-chaos.org>
1269
1270         * plugins/elements/gstidentity.c: (gst_identity_event),
1271         (gst_identity_start):
1272         Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1273         event after processing some data. Fixes bug #526042.
1274
1275 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1276
1277         * docs/gst/gstreamer-sections.txt:
1278         * gst/gstquery.c: (gst_query_parse_latency),
1279         (gst_query_set_buffering_percent),
1280         (gst_query_parse_buffering_percent),
1281         (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1282         * gst/gstquery.h:
1283         Rename _avail -> _range
1284         API: gst_query_set_buffering_range
1285         API: gst_query_parse_buffering_range
1286
1287 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1288
1289         * docs/design/part-buffering.txt:
1290         * gst/gstquark.c:
1291         * gst/gstquark.h:
1292         * gst/gstquery.c: (gst_query_parse_latency),
1293         (gst_query_new_buffering), (gst_query_set_buffering_percent),
1294         (gst_query_parse_buffering_percent):
1295         * gst/gstquery.h:
1296         Add busy field and quark for the buffering query so that the app can
1297         only use the query to see if buffering is in progress.
1298
1299 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1300
1301         * docs/gst/gstreamer-sections.txt:
1302         * gst/gstmessage.c: (gst_message_set_buffering_stats),
1303         (gst_message_parse_buffering_stats):
1304         * gst/gstmessage.h:
1305         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1306         (gst_query_parse_latency), (gst_query_new_buffering),
1307         (gst_query_set_buffering_percent),
1308         (gst_query_parse_buffering_percent),
1309         (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1310         (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1311         * gst/gstquery.h:
1312         Reorder the message docs and headers for clarity.
1313         Add aditional buffering stats API for messages.
1314         Add buffering query.
1315         Convert some leftover queries to use GstQuark.
1316         API: gst_message_set_buffering_stats
1317         API: gst_message_parse_buffering_stats
1318         API: GST_QUERY_BUFFERING
1319         API: GstBufferingMode
1320         API: gst_query_new_buffering
1321         API: gst_query_set_buffering_percent
1322         API: gst_query_parse_buffering_percent
1323         API: gst_query_set_buffering_stats
1324         API: gst_query_parse_buffering_stats
1325
1326 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1327
1328         * gst/gstmessage.c: (gst_message_new_error),
1329         (gst_message_new_warning), (gst_message_new_info),
1330         (gst_message_new_buffering), (gst_message_new_state_changed),
1331         (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1332         (gst_message_new_new_clock), (gst_message_new_segment_start),
1333         (gst_message_new_segment_done), (gst_message_new_duration),
1334         (gst_message_new_async_start), (gst_message_parse_buffering),
1335         (gst_message_parse_state_changed),
1336         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1337         (gst_message_parse_new_clock), (gst_message_parse_error),
1338         (gst_message_parse_warning), (gst_message_parse_info),
1339         (gst_message_parse_segment_start),
1340         (gst_message_parse_segment_done), (gst_message_parse_duration),
1341         (gst_message_parse_async_start):
1342         Use GstQuark for messages.
1343
1344 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1345
1346         * gst/gstquark.c: (_priv_gst_quarks_initialize):
1347         * gst/gstquark.h:
1348         Add some more quarks needed for messages and queries.
1349
1350 2008-04-08  Wim Taymans  <wim.taymans@collabora.co.uk>
1351
1352         * docs/design/part-buffering.txt:
1353         Remove the "none" buffering mode, STREAM is a good default.
1354         Move estimated-time to the avail query, that's when it will be needed.
1355         Other small typo fixes and updates.
1356
1357 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1358
1359         * gst/gstindex.c: (gst_index_resolver_get_type):
1360           Don't put descriptions into the nick field of a GEnumValue: it's not
1361           meant for that and some language bindings rely on the nick field to
1362           construct constants and the like. Fixes #526705.
1363
1364 2008-04-07  Tim-Philipp Müller  <tim at centricular dot net>
1365
1366         * NEWS:
1367         * RELEASE:
1368         * gstreamer.doap:
1369           Merge other changes from 0.10.19 release branch.
1370
1371 2008-04-06  Sebastian Dröge  <slomo@circular-chaos.org>
1372
1373         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1374
1375         * configure.ac:
1376         Actually build dlls when cross-compiling with mingw32.
1377         Fixes bug #526247.
1378
1379 2008-04-05  Sebastian Dröge  <slomo@circular-chaos.org>
1380
1381         Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1382
1383         * gst/gstpoll.c:
1384         Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1385
1386 2008-04-04  Wim Taymans  <wim.taymans@collabora.co.uk>
1387
1388         * docs/design/draft-latency.txt:
1389         Fix typo.
1390
1391         * docs/design/part-buffering.txt:
1392         Update design docs with more buffering ideas.
1393
1394 2008-04-03  Tim-Philipp Müller  <tim at centricular dot net>
1395
1396         * configure.ac:
1397           Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1398
1399 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1400
1401         * configure.ac:
1402           Revert part that belongs to the preset patch.
1403
1404 2008-04-03  Stefan Kost  <ensonic@users.sf.net>
1405
1406         * configure.ac:
1407           Add qoutes to the define. Fixes # 525961.
1408
1409 2008-04-03  Sebastian Dröge  <slomo@circular-chaos.org>
1410
1411         * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1412         (gst_file_index_load), (gst_file_index_add_id),
1413         (gst_file_index_get_assoc_entry):
1414         * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1415         (gst_mem_index_free_id), (gst_mem_index_add_id),
1416         (gst_mem_index_index_format):
1417         Use GSlice when possible.
1418
1419 2008-04-02  Sebastian Dröge  <slomo@circular-chaos.org>
1420
1421         * libs/gst/controller/gstinterpolationcontrolsource.c:
1422         (gst_control_point_free),
1423         (gst_interpolation_control_source_set_internal):
1424         Use GSlice for allocating the control points.
1425
1426 2008-04-02  Wim Taymans  <wim.taymans@collabora.co.uk>
1427
1428         * plugins/elements/gsttypefindelement.c:
1429         (gst_type_find_element_class_init),
1430         (gst_type_find_element_set_property),
1431         (gst_type_find_element_get_property),
1432         (gst_type_find_element_activate):
1433         * plugins/elements/gsttypefindelement.h:
1434         Cleanup properties.
1435         Fix pad leak when peer query fails.
1436         We can still typefind when the peer returns -1.
1437         Add property to force caps and bypass typefinding. This will be used in
1438         uridecodebin.
1439         API::force-caps
1440
1441 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1442
1443         * configure.ac:
1444         Require GLib 2.12.
1445
1446         * gst/glib-compat-private.h:
1447         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1448         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1449         Unconditionally use GSlice for allocation.
1450
1451         * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1452         * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1453         * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1454         (gst_structure_free):
1455         Use GSlice for allocation.
1456
1457 2008-04-01  Sebastian Dröge  <slomo@circular-chaos.org>
1458
1459         * gst/parse/Makefile.am:
1460         * gst/parse/grammar.tab.pre.c:
1461         * gst/parse/grammar.tab.pre.h:
1462         * gst/parse/lex._gst_parse_yy.pre.c:
1463         Require a new enough flex and bison and remove the parser hacks to use
1464         a pre-regenerated version.
1465
1466 2008-04-01  Julien Moutte  <julien@fluendo.com>
1467
1468         patch by: Jason Zhao <E3423C@motorola.com>
1469
1470         * configure.ac: Add a configure switch to disable option parsing
1471         in gst_init.
1472         Fixes #522882.
1473
1474 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1475
1476         * configure.ac:
1477         * gst/gstregistry.c:
1478           MacOS has plugins under .so or under .dylib. Add detection for MacOS
1479           and handle this case.
1480
1481         * gst/gst.c:
1482           Add a comment here describing, why we stat each plugin and not try to
1483           be smart.
1484
1485 2008-03-31  Sebastian Dröge  <slomo@circular-chaos.org>
1486
1487         * libs/gst/base/gstbasetransform.c:
1488         (gst_base_transform_prepare_output_buffer):
1489         Also unset the GAP flag on buffers if we're working inplace but
1490         the element is not GAP-aware.
1491
1492         Mark a comment as FIXME 0.11.
1493
1494 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1495
1496         * gst/gst.c:
1497           Fix type in log message and add one to ease seeing how long registry
1498           cache verification takes.
1499
1500         * gst/gstregistry.c:
1501           Only test plugin filenames against G_MODULE_SUFFIX.
1502
1503 2008-03-31  Stefan Kost  <ensonic@users.sf.net>
1504
1505         * gst/gstdebugutils.c:
1506           Improve handling ghost/proxy pads.
1507
1508 2008-03-27  Stefan Kost  <ensonic@users.sf.net>
1509
1510         * docs/gst/gstreamer-sections.txt:
1511         * gst/gstpad.c:
1512         * gst/gstpad.h:
1513           Expose macro to docs and fix link to it.
1514
1515 2008-03-27  Michael Smith <msmith@fluendo.com>
1516
1517         * libs/gst/dataprotocol/dataprotocol.c:
1518         (gst_dp_packet_from_event_1_0):
1519           When calculating GDP body CRC, use the correct pointer. 
1520           Fixes part of #522401.
1521
1522 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1523
1524         Patch by: Mark Nauwelaerts <manauw at skynet be>
1525
1526         * plugins/elements/gstidentity.c: (gst_identity_class_init),
1527         (gst_identity_init), (gst_identity_prepare_output_buffer):
1528         Identity is not always a passthrough element, it can modify the buffer
1529         timestamps when it has a datarate and operates in single-segment mode.
1530         We therefore make it an in_place filter with a custom buffer prepare
1531         function that conditionally makes the input buffer metadata writable
1532         when needed.  Fixes #523985.
1533
1534 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1535
1536         Patch by: Mark Nauwelaerts <manauw at skynet be>
1537
1538         * gst/gstclock.h:
1539         * libs/gst/base/gstbasesrc.h:
1540         * libs/gst/base/gstbasetransform.c:
1541         * libs/gst/check/gstcheck.c:
1542         Small documentation fixes. Fixes #523978.
1543
1544 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1545
1546         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1547         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1548         Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1549
1550 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1551
1552         * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1553         (single_queue_underrun_cb):
1554         When trying to make room in the queue, bump the max allowed buffers
1555         bigger than the current amount of buffers in the queue. this fixes some
1556         nasty deadlocks in multiqueue when dynamically changing the limits of
1557         the queue.
1558
1559 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1560
1561         Patch by:  José Alburquerque <jaalburqu at svn dot gnome dot org>
1562
1563         * gst/gstcaps.c: (gst_caps_set_simple),
1564         (gst_caps_set_simple_valist), (gst_caps_intersect):
1565         * gst/gstcaps.h:
1566         Constify the field gchar * params in set_simple and friends.
1567         Fixes #522326.
1568
1569 2008-03-24  Wim Taymans  <wim.taymans@collabora.co.uk>
1570
1571         * gst/gstvalue.c: (gst_value_transform_object_string):
1572         Transform a GstObject to a more meaningfull string that includes the
1573         object type in addition to its name.
1574
1575 2008-03-23  Stefan Kost  <ensonic@users.sf.net>
1576
1577         * ChangeLog:
1578           ChangeLog surgery to add bugnumber to commit.
1579
1580 2008-03-23  Rene Stadler  <mail@renestadler.de>
1581
1582         * libs/gst/base/gstbasetransform.c:
1583         (gst_base_transform_set_gap_aware): Fix confusing documentation.
1584
1585 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1586
1587         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1588         Rename constant everywhere and don't forget one occurence.
1589
1590 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1591
1592         * gst/gstregistrybinary.c: (gst_registry_binary_write):
1593         Align memory to the pointer size even if the architecture allows
1594         unaligned memory access. Unaligned memory access usually comes with
1595         performance penality.
1596
1597 2008-03-23  Sebastian Dröge  <slomo@circular-chaos.org>
1598
1599         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1600         (gst_registry_binary_check_magic),
1601         (gst_registry_binary_load_pad_template),
1602         (gst_registry_binary_load_feature),
1603         (gst_registry_binary_load_plugin):
1604         Align memory to the pointer size instead of always 32 bit. Fixes
1605         unaligned memory accesses on ia64 and friends.
1606
1607         * gst/gstregistrybinary.h:
1608         Bump binary registry format version for this as it changes the
1609         format on those architectures that don't have unaligned access
1610         and 64 bit pointers.
1611
1612 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1613
1614         * docs/pwg/advanced-dparams.xml:
1615         * docs/pwg/building-props.xml:
1616         * docs/pwg/other-source.xml:
1617         * gst/glib-compat.h:
1618         * gst/gstbin.c: (gst_bin_class_init):
1619         * gst/gstclock.c: (gst_clock_class_init):
1620         * gst/gstindex.c: (gst_index_class_init):
1621         * gst/gstobject.c: (gst_object_class_init):
1622         * gst/gstpad.c: (gst_pad_class_init):
1623         * gst/gstpipeline.c: (gst_pipeline_class_init):
1624         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1625         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1626         * libs/gst/base/gstbasetransform.c:
1627         (gst_base_transform_class_init):
1628         * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1629         * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1630         (_gst_check_fault_handler_sighandler),
1631         (_gst_check_fault_handler_setup), (gst_check_init):
1632         * libs/gst/controller/gstcontroller.c:
1633         (_gst_controller_class_init):
1634         * libs/gst/controller/gstlfocontrolsource.c:
1635         (gst_lfo_control_source_class_init):
1636         * libs/gst/net/gstnetclientclock.c:
1637         (gst_net_client_clock_class_init):
1638         * libs/gst/net/gstnettimeprovider.c:
1639         (gst_net_time_provider_class_init):
1640         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1641         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1642         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1643         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1644         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1645         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1646         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1647         * plugins/elements/gstidentity.c: (gst_identity_class_init):
1648         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1649         * plugins/elements/gstqueue.c: (gst_queue_class_init):
1650         * plugins/elements/gsttee.c: (gst_tee_class_init):
1651         * plugins/elements/gsttypefindelement.c:
1652         (gst_type_find_element_class_init):
1653         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1654         Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1655         use it everywhere for GParamSpecs that use static strings (i.e. all).
1656         This gives us less memory usage, fewer allocations and thus less
1657         memory defragmentation. Fixes bug #523806.
1658
1659 2008-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
1660
1661         * gst/gstminiobject.c: (gst_value_dup_mini_object),
1662         (gst_param_spec_mini_object):
1663         * gst/gstminiobject.h:
1664         * win32/common/libgstreamer.def:
1665         * docs/gst/gstreamer-sections.txt:
1666         API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1667         GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1668         GstParamSpecMiniObject into a public header for this.
1669
1670         This make GstMiniObject a bit more consistent with GObject and makes
1671         it possible to extend the param specs.
1672
1673         gst_value_dup_mini_object is mainly useful for set_property methods.
1674
1675         Fixes bug #523798.
1676
1677         * tools/gst-inspect.c: (print_element_properties_info):
1678         Print something useful for GstMiniObject properties and not just
1679         "unknown type".
1680
1681 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1682
1683         * docs/gst/gstreamer-sections.txt:
1684         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1685         (gst_registry_binary_check_magic):
1686         * gst/gstregistrybinary.h:
1687         Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1688         and add it to the (private part) of the docs to fix the build.
1689
1690 2008-03-21  Sebastian Dröge  <slomo@circular-chaos.org>
1691
1692         * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1693         (gst_registry_binary_check_magic),
1694         (gst_registry_binary_read_cache):
1695         * gst/gstregistrybinary.h:
1696         Don't use GST_MAJORMINOR for the binary registry version. Instead
1697         hardcode a value that must be changed whenever the format changes
1698         in an incompatible way.
1699         Also don't GST_ERROR when there is a version mismatch, just
1700         regenerate the registry silently.
1701
1702 2008-03-21  Jan Schmidt  <jan.schmidt@sun.com>
1703
1704         * configure.ac:
1705         Back to development - 0.10.18.1
1706
1707 === release 0.10.18 ===
1708
1709 2008-03-20  Jan Schmidt <jan.schmidt@sun.com>
1710
1711         * configure.ac:
1712           releasing 0.10.18, "So far away"
1713
1714 2008-03-18  Jan Schmidt  <jan.schmidt@sun.com>
1715
1716         * configure.ac:
1717         * win32/common/config.h:
1718         0.10.17.4 pre-release
1719
1720 2008-03-18  Wim Taymans  <wim.taymans@collabora.co.uk>
1721
1722         Patch by: Ole André Vadla Ravnås
1723             <ole dot andre dot ravnas at tandberg dot com>
1724
1725         * docs/gst/gstreamer-sections.txt:
1726         * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1727         (gst_poll_update_winsock_event_mask),
1728         (gst_poll_prepare_winsock_active_sets),
1729         (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1730         (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1731         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1732         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1733         (gst_poll_check_ctrl_commands), (gst_poll_wait):
1734         * gst/gstpoll.h:
1735         * win32/common/libgstreamer.def:
1736         Add new function gst_poll_fd_ignored() for improved Windows
1737         compatibility.
1738         Various minor fixes and cleanups. See #520808.
1739
1740 2008-03-17  Tim-Philipp Müller  <tim at centricular dot net>
1741
1742         * gst/gstindex.c: (gst_index_entry_free):
1743         * gst/gstindex.h:
1744           Don't free key strings which we don't own. Fixes crash in
1745           gst_index_entry_free() (#522741).
1746
1747         * tests/check/Makefile.am:
1748         * tests/check/gst/.cvsignore:
1749         * tests/check/gst/gstindex.c: (test_index_entries),
1750           (gst_index_suite), (gst_index):
1751           Add unit test for the above.
1752
1753 2008-03-11  Sebastian Dröge  <slomo@circular-chaos.org>
1754
1755         * win32/common/libgstreamer.def:
1756         Remove symbols that were removed recently. Fixes bug #521740.
1757
1758 2008-03-11  Jan Schmidt  <jan.schmidt@sun.com>
1759
1760         * configure.ac:
1761         * win32/common/config.h:
1762         0.10.17.3 pre-release
1763
1764 2008-03-07  Wim Taymans  <wim.taymans@collabora.co.uk>
1765
1766         Patch by: Ole André Vadla Ravnås
1767             <ole dot andre dot ravnas at tandberg dot com>
1768
1769         * docs/gst/gstreamer-sections.txt:
1770         * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1771         (gst_poll_update_winsock_event_mask), (gst_poll_new),
1772         (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1773         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1774         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1775         (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1776         (gst_poll_fd_can_write), (gst_poll_wait),
1777         (gst_poll_set_controllable), (gst_poll_restart),
1778         (gst_poll_set_flushing):
1779         * gst/gstpoll.h:
1780         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1781         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1782         (gst_net_time_provider_new):
1783         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1784         * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1785         * tests/benchmarks/gstpollstress.c: (main):
1786         * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1787         Remove GstPollMode from the API, it does not make sense to let the
1788         application control this.
1789         Add support for Win32.
1790         Fix the testsuite. Fixes #520671.
1791
1792 2008-03-07  Sebastian Dröge  <slomo@circular-chaos.org>
1793
1794         Patch by: Ole André Vadla Ravnås
1795             <ole dot andre dot ravnas at tandberg dot com>
1796
1797         * gst/gstregistrybinary.c:
1798         Include io.h for write() and close() when building with MSVC. Fixes
1799         bug #520877.
1800
1801 2008-03-07  Stefan Kost  <ensonic@users.sf.net>
1802
1803         * configure.ac:
1804         * gst/gst_private.h:
1805         * gst/gstconfig.h.in:
1806         * gst/gstregistry.h:
1807         * gst/gstregistrybinary.c:
1808         * win32/common/gstconfig.h:
1809           Move registry backend API to private headers where we can. Add
1810           fixme-0.11 comments for the others. Add stubs for the xml backend when
1811           using the binary to ensure they functions exists (they should not be
1812           used though). Fixes #520756.
1813
1814 2008-03-04  Jan Schmidt  <jan.schmidt@sun.com>
1815
1816         * configure.ac:
1817         * win32/common/config.h:
1818         0.10.17.2 prelease
1819
1820 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
1821
1822         * gst/gstregistrybinary.c: (gst_registry_binary_write),
1823         (gst_registry_binary_read_cache):
1824         * gst/gstregistryxml.c: (gst_registry_save):
1825         * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1826         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1827         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1828         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1829         Switch to using portabl gsize/gssize instead of size_t/ssize_t
1830         Fixes #520152
1831
1832 2008-03-03  Edward Hervey  <edward.hervey@collabora.co.uk>
1833
1834         * gst/gstminiobject.c:
1835         Import gst_private.h before any other header that might include other
1836         glib headers. This fixes the build on windows using native compilers.
1837
1838 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
1839
1840         * win32/common/gstconfig.h:
1841           Add here too, just for completeness.
1842
1843 2008-03-03  Tim-Philipp Müller  <tim at centricular dot net>
1844
1845         * configure.ac:
1846         * gst/gstconfig.h.in:
1847         * gst/gstregistry.h:
1848           Fix broken use of config.h-defined preprocessor directive in a public
1849           header file. Add a corresponding define to gstconfig.h, since we can't
1850           really remove those function declarations from the header file now
1851           (or can we? and why are they there in the first place?).
1852
1853 2008-03-03  Andy Wingo  <wingo@pobox.com>
1854
1855         * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1856         the new warning.
1857
1858         * gst/gststructure.c (gst_structure_from_string): Warn if
1859         structure_from_string didn't consume the whole string, but the
1860         caller did not provide an end pointer.
1861
1862 2008-03-01  Tim-Philipp Müller  <tim at centricular dot net>
1863
1864         Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
1865
1866         * gst/gstregistryxml.c: (read_string), (load_feature):
1867           Strings allocated by libxml2 should be freed with xmlFree(), not
1868           with g_free(). Fixes issues on windows in certain contexts (#519698).
1869
1870 2008-02-29  Tim-Philipp Müller  <tim at centricular dot net>
1871
1872         * gst/gstinterface.c: (gst_element_implements_interface):
1873           Don't crash if the element supports the interface queried, but does
1874           not implement GstImplementsInterface. Fixes #519584.
1875
1876         * tests/check/Makefile.am:
1877         * tests/check/gst/.cvsignore:
1878         * tests/check/gst/gstinterface.c:
1879           Add unit test for the above.
1880
1881 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1882
1883         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1884         Small doc update.
1885
1886 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
1887
1888         * gst/gstsegment.c: (gst_segment_set_seek),
1889         (gst_segment_to_stream_time):
1890         Improve some comment.
1891         Update variables where it makes more sense.
1892
1893 2008-02-29  Rene Stadler  <mail@renestadler.de>
1894
1895         * gst/gsturi.c: (gst_uri_handler_get_protocols):
1896         Use the get_protocols_full vfunc if get_protocols is NULL.  Fixes
1897         URIHandlers implemented using language bindings.
1898
1899 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
1900
1901         * gst/gstelementfactory.h:
1902         * tests/check/elements/fakesink.c:
1903         * tests/check/elements/fakesrc.c: (setup_fakesrc):
1904         * tests/check/elements/fdsrc.c: (setup_fdsrc):
1905         * tests/check/elements/filesink.c: (setup_filesink):
1906         * tests/check/elements/filesrc.c: (setup_filesrc):
1907         * tests/check/elements/identity.c: (setup_identity):
1908         * tests/check/elements/tee.c:
1909         * tests/check/generic/sinks.c:
1910         * tests/check/generic/states.c: (setup), (teardown):
1911         * tests/check/gst/gst.c:
1912         * tests/check/gst/gstabi.c:
1913         * tests/check/gst/gstbin.c:
1914         * tests/check/gst/gstbus.c: (pull_messages):
1915         * tests/check/gst/gstcaps.c:
1916         * tests/check/gst/gstelement.c:
1917         * tests/check/gst/gstevent.c:
1918         * tests/check/gst/gstghostpad.c:
1919         * tests/check/gst/gstiterator.c:
1920         * tests/check/gst/gstmessage.c:
1921         * tests/check/gst/gstminiobject.c: (my_foo_init):
1922         * tests/check/gst/gstobject.c: (thread_name_object),
1923         (gst_object_suite):
1924         * tests/check/gst/gstpad.c:
1925         * tests/check/gst/gstplugin.c:
1926         * tests/check/gst/gstpoll.c:
1927         * tests/check/gst/gstquery.c:
1928         * tests/check/gst/gstsegment.c:
1929         * tests/check/gst/gststructure.c:
1930         * tests/check/gst/gstsystemclock.c:
1931         * tests/check/gst/gsttask.c:
1932         * tests/check/gst/gstutils.c:
1933         * tests/check/gst/gstvalue.c:
1934         * tests/check/gst/struct_hppa.h:
1935         * tests/check/gst/struct_i386.h:
1936         * tests/check/gst/struct_ppc32.h:
1937         * tests/check/gst/struct_ppc64.h:
1938         * tests/check/gst/struct_x86_64.h:
1939         * tests/check/libs/adapter.c: (create_and_fill_adapter):
1940         * tests/check/libs/basesrc.c:
1941         * tests/check/libs/controller.c: (GST_START_TEST):
1942         * tests/check/libs/gdp.c:
1943         * tests/check/libs/gstnetclientclock.c:
1944         * tests/check/libs/gstnettimeprovider.c:
1945         * tests/check/libs/libsabi.c:
1946         * tests/check/libs/struct_hppa.h:
1947         * tests/check/libs/struct_i386.h:
1948         * tests/check/libs/struct_ppc32.h:
1949         * tests/check/libs/struct_ppc64.h:
1950         * tests/check/libs/struct_x86_64.h:
1951         * tests/check/pipelines/cleanup.c:
1952         * tests/check/pipelines/simple-launch-lines.c:
1953         * tests/check/pipelines/stress.c:
1954         And correct even more valid sparse warnings.
1955
1956         * win32/common/libgstreamer.def:
1957         Add gst_poll_fd_init to the list of symbols.
1958
1959 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
1960
1961         * gst/gstconfig.h.in:
1962         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
1963         * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
1964         (gst_check_log_critical_func), (gst_check_drop_buffers),
1965         (gst_check_element_push_buffer_list):
1966         * libs/gst/controller/gstcontroller.c: (gst_controller_get),
1967         (gst_controller_get_type):
1968         * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
1969         (gst_object_get_controller), (gst_object_get_control_source):
1970         * libs/gst/controller/gstinterpolationcontrolsource.c:
1971         (gst_interpolation_control_source_new):
1972         * libs/gst/controller/gstlfocontrolsource.c:
1973         (gst_lfo_control_source_new):
1974         * libs/gst/dataprotocol/dataprotocol.c:
1975         (gst_dp_event_from_packet_0_2):
1976         * plugins/elements/gstfdsrc.c:
1977         * plugins/elements/gstmultiqueue.c:
1978         * plugins/elements/gsttee.c:
1979         * plugins/elements/gsttypefindelement.c:
1980         * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
1981         (gst_file_index_add_association):
1982         * plugins/indexers/gstmemindex.c:
1983         * tests/benchmarks/gstpollstress.c: (mess_some_more):
1984         * tests/check/elements/queue.c: (setup_queue):
1985         * tests/check/gst/gstpipeline.c:
1986         * tests/check/libs/collectpads.c: (setup), (teardown),
1987         (gst_collect_pads_suite):
1988         * tests/examples/adapter/adapter_test.c:
1989         * tests/examples/metadata/read-metadata.c: (make_pipeline):
1990         * tests/examples/xml/createxml.c:
1991         * tests/examples/xml/runxml.c:
1992         * tools/gst-inspect.c:
1993         * tools/gst-run.c:
1994         Correct all relevant warnings found by the sparse semantic code
1995         analyzer. This include marking several symbols static, using
1996         NULL instead of 0 for pointers, not using variable sized arrays
1997         on the stack, moving variable declarations to the beginning of
1998         a block and using "foo (void)" instead of "foo ()" for declarations.
1999
2000 2008-02-29  Sebastian Dröge  <slomo@circular-chaos.org>
2001
2002         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2003         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2004         Don't reset GstPollFDs, this is not necessary at all.
2005
2006         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2007         (delayed_restart), (delayed_control):
2008         Use GST_POLL_FD_INIT.
2009
2010 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2011
2012         * gst/gstpoll.c: (gst_poll_fd_init):
2013         * gst/gstpoll.h:
2014         Added Since tags.
2015
2016         * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2017         Use some more init macros.
2018
2019 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2020
2021         * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2022         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2023         Use init macros and functions.
2024
2025 2008-02-29  Wim Taymans  <wim.taymans@collabora.co.uk>
2026
2027         * docs/gst/gstreamer-sections.txt:
2028         * gst/gstpoll.c: (gst_poll_fd_init):
2029         * gst/gstpoll.h:
2030         Add INIT macro and _init method for initializing the GstPollFD.
2031
2032 2008-02-28  Sebastian Dröge  <slomo@circular-chaos.org>
2033
2034         * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2035         (gst_fd_sink_update_fd):
2036         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2037         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2038         (delayed_restart), (delayed_control):
2039         Initialize some uninitialized variables as spotted by valgrind.
2040
2041 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2042
2043         * tests/benchmarks/Makefile.am:
2044         * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2045         (main):
2046         Add poll stress test.
2047
2048 2008-02-28  Wim Taymans  <wim.taymans@collabora.co.uk>
2049
2050         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2051
2052         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2053         (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2054         (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2055         * plugins/elements/gstfdsink.h:
2056         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2057         (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2058         (gst_fd_src_unlock_stop), (gst_fd_src_create),
2059         (gst_fd_src_uri_set_uri):
2060         * plugins/elements/gstfdsrc.h:
2061         Port to GstPoll. See #505417.
2062
2063 2008-02-27  Jan Schmidt  <jan.schmidt@sun.com>
2064
2065         * win32/common/libgstreamer.def:
2066         Add new gst_poll_ symbols to win32 defs.
2067
2068 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2069
2070         * docs/libs/gstreamer-libs-sections.txt:
2071         * libs/gst/net/gstnetclientclock.c:
2072         (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2073         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2074         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2075         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2076         * libs/gst/net/gstnetclientclock.h:
2077         * libs/gst/net/gstnettimeprovider.c:
2078         (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2079         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2080         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2081         (gst_net_time_provider_new):
2082         * libs/gst/net/gstnettimeprovider.h:
2083         Use a private stuct to not break ABI.
2084
2085 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2086
2087         Patch by: Peter Kjellerstedt <pkj at axis dot com>
2088
2089         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2090         (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2091         (gst_net_client_clock_thread), (gst_net_client_clock_start),
2092         (gst_net_client_clock_stop), (gst_net_client_clock_new):
2093         * libs/gst/net/gstnetclientclock.h:
2094         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2095         (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2096         (gst_net_time_provider_start), (gst_net_time_provider_stop),
2097         (gst_net_time_provider_new):
2098         * libs/gst/net/gstnettimeprovider.h:
2099         Massive code removal and cleanups because of GstPoll.
2100         Fixes #505417.
2101
2102 2008-02-27  Wim Taymans  <wim.taymans@collabora.co.uk>
2103
2104         * configure.ac:
2105         Add checks for poll, ppoll and pselect.
2106
2107         * docs/gst/gstreamer-docs.sgml:
2108         * docs/gst/gstreamer-sections.txt:
2109         Add docs for GstPoll.
2110
2111         * gst/Makefile.am:
2112         * gst/gst.h:
2113         * gst/gstpoll.c: (find_index), (selectable_fds),
2114         (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2115         (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2116         (gst_poll_set_mode), (gst_poll_get_mode),
2117         (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2118         (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2119         (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2120         (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2121         (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2122         (gst_poll_fd_can_write), (gst_poll_wait),
2123         (gst_poll_set_controllable), (gst_poll_restart),
2124         (gst_poll_set_flushing):
2125         * gst/gstpoll.h:
2126         Add generic poll abstraction. We ideally don't want to have this in core
2127         here but in glib intead...
2128         This code will be used in various network elements and ultimately for
2129         the nanosecond precision monotonic clock (that's why it's here in core).
2130         It'll allow us to implement cancelable socket operations for windows too.
2131
2132         * tests/check/Makefile.am:
2133         * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2134         (delayed_stop), (delayed_restart), (delayed_flush),
2135         (delayed_control), (gst_poll_suite):
2136         Add GstPoll unit test.
2137
2138 2008-02-25  Tim-Philipp Müller  <tim at centricular dot net>
2139
2140         * gst/gstfilter.c:
2141           Improve documentation of gst_filter_run(). Fixes #518627.
2142
2143 2008-02-23  Tim-Philipp Müller  <tim at centricular dot net>
2144
2145         * docs/README:
2146           Add a few lines about the new 'check-inspected-versions' target.
2147
2148 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2149
2150         * tests/check/gst/gstevent.c:
2151           Add qos to the event test. Rename tcase/tsuite; is not only about
2152           custom events.
2153
2154 2008-02-21  Stefan Kost  <ensonic@users.sf.net>
2155
2156         * plugins/elements/gstqueue.c:
2157           Ensure that buffer metadata is writeable, before modifying. Spotted by
2158           Mike.
2159
2160 2008-02-20  Stefan Kost  <ensonic@users.sf.net>
2161
2162         * plugins/elements/gstqueue.c:
2163         * plugins/elements/gstqueue.h:
2164           When dropping buffers in leaky modes, mark next buffers we sent as
2165           DISCONT.
2166
2167 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2168
2169         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2170           Also, if mmap() fails that would be a READ error, not OPEN_READ.
2171
2172 2008-02-20  Tim-Philipp Müller  <tim at centricular dot net>
2173
2174         * plugins/elements/Makefile.am:
2175         * plugins/elements/gstbufferstore.c:
2176         * plugins/elements/gstbufferstore.h:
2177         * plugins/elements/gsttypefindelement.h:
2178           Remove GstBufferStore, no idea why we were still building it.
2179           It's not used anywhere and superseded by GstAdapter.
2180
2181         * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2182           (gst_file_src_create_mmap):
2183         * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2184           Printf format fixes for 64-bit integers.
2185
2186 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2187
2188         * configure.ac:
2189         Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2190         We're not in 0.8 times anymore.
2191
2192 2008-02-19  Jan Schmidt  <Jan.Schmidt@sun.com>
2193
2194         * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2195         (gst_check_element_push_buffer_list):
2196         * libs/gst/check/gstcheck.h:
2197         Make the declaration in the header for
2198         gst_check_element_push_buffer_list match the implementation.
2199
2200         Fix up spelling, grammar and wording of the documentation in a few
2201         places, and add the Since keyword to new API functions.
2202         Use g_list_delete_link instead of g_list_remove in
2203         gst_check_drop_buffers, since it's immeasurably more efficient.
2204
2205         * tests/check/elements/fakesrc.c: (GST_START_TEST):
2206         Use new gst_check_drop_buffers function where appropriate.
2207
2208         * win32/common/libgstbase.def:
2209         * win32/common/libgstreamer.def:
2210         Add new symbols gst_collect_pads_take_buffer, 
2211         gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2212         exports
2213
2214         Changelog surgery to add API keyword to new gst_check API.
2215
2216 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2217
2218         * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2219         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2220         Update pre-generated flex files with flex 2.3.34.
2221
2222 2008-02-19  Sebastian Dröge  <slomo@circular-chaos.org>
2223
2224         * gst/gstminiobject.c:
2225           Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2226           friendly to subclasses and not require them to know all internals
2227           of their parent class.
2228
2229 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2230
2231         * docs/libs/gstreamer-libs-sections.txt:
2232         * libs/gst/base/gstcollectpads.c:
2233         * libs/gst/base/gstcollectpads.h:
2234           Add sub-buffer functions to collectpads. Fixes #516187.
2235           API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2236
2237 2008-02-15  Stefan Kost  <ensonic@users.sf.net>
2238
2239         * gst/gstbuffer.c:
2240           Copy selected buffer-flags when creating subbuffers.
2241           Fixes #516395.
2242
2243 2008-02-12  Sebastian Dröge  <slomo@circular-chaos.org>
2244
2245         * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2246         * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2247         * gst/gstmessage.c: (gst_message_class_init),
2248         (gst_message_finalize):
2249         * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2250         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2251         (gst_mmap_buffer_finalize):
2252         Properly chain up finalize functions to the parent class.
2253
2254 2008-02-11  Wim Taymans  <wim.taymans@collabora.co.uk>
2255
2256         Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2257
2258         * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2259         (gst_index_set_resolver_full):
2260         * gst/gstindex.h:
2261         Add new function with option to dispose of user_data in resolver.
2262         Actually call the dispose function when finalizing the object and not
2263         just when changing the resolver/filter.
2264         API: GstIndex::gst_index_set_resolver_full()
2265
2266         * docs/gst/gstreamer-sections.txt:
2267         Add new function to docs. Fixes #515469.
2268
2269 2008-02-11  Sebastian Dröge  <slomo@circular-chaos.org>
2270
2271         * gst/gstindex.c: (gst_index_finalize):
2272         Chain up finalize to the parent class. Fixes leaking the GstObject
2273         name and other things.
2274
2275 2008-02-08  Jan Schmidt  <jan.schmidt@sun.com>
2276
2277         * configure.ac:
2278         Make DISABLE_DEPRECATED defined *only* during CVS, not during
2279         pre-releases or releases.
2280
2281         * docs/faq/gst-uninstalled:
2282         Add gst-plugins-gl
2283
2284         * docs/random/release:
2285         Change one of the steps - we only upload core & base to Gnome FTP
2286
2287 2008-02-06  Stefan Kost  <ensonic@users.sf.net>
2288
2289         * gst/gstconfig.h.in:
2290           Add 'id' for example.
2291
2292         * gst/gstpad.c:
2293         * gst/gstutils.c:
2294         * plugins/elements/gstfdsink.c:
2295           Link to signals. Doc and comment fixes.
2296
2297 2008-02-05  Tim-Philipp Müller  <tim at centricular dot net>
2298
2299         * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2300         * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2301           Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2302           unused and unimplemented; finally, it is plugin features, not
2303           plugins, that have ranks.
2304           
2305 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2306
2307         * gst/gstpluginfeature.h:
2308           Clarify GstRank range docs.
2309
2310 2008-02-05  David Schleef  <ds@schleef.org>
2311
2312         * gst/gst.c: Add a separate gst_deinitialized that prevents
2313           gst_init() from being called after gst_deinit().  Fixes #509559
2314
2315 2008-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
2316
2317         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2318         (gst_bin_class_init):
2319         * gst/gstelement.c: (gst_element_base_class_init),
2320         (gst_element_class_add_pad_template):
2321         * gst/gstpadtemplate.c: (gst_pad_template_init):
2322         * gst/gstpipeline.c: (gst_pipeline_get_type),
2323         (gst_pipeline_base_init), (gst_pipeline_class_init):
2324         * libs/gst/base/gstbasesink.c:
2325         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2326         (gst_base_src_base_init), (gst_base_src_class_init):
2327         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2328         (gst_capsfilter_class_init):
2329         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2330         (gst_fake_sink_class_init):
2331         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2332         (gst_fake_src_class_init):
2333         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2334         (gst_fd_sink_class_init):
2335         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2336         (gst_fd_src_class_init):
2337         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2338         (gst_file_sink_class_init):
2339         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2340         (gst_file_src_class_init):
2341         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2342         (gst_identity_class_init):
2343         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2344         (gst_multi_queue_class_init):
2345         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2346         (gst_queue_class_init):
2347         * plugins/elements/gsttee.c: (gst_tee_base_init),
2348         (gst_tee_class_init):
2349         * plugins/elements/gsttypefindelement.c:
2350         (gst_type_find_element_base_init),
2351         (gst_type_find_element_class_init):
2352         * tests/check/gst/gstelement.c: (gst_element_suite):
2353         Revert previous changes to the behaviour of GstPadTemplates, etc
2354         and the possiblity to call them in class_init as it breaks too
2355         many elements. Reopens bug #491501.
2356
2357         Should be applied again for 0.11, thus added a few FIXME 0.11 at
2358         several places.
2359
2360 2008-02-05  Stefan Kost  <ensonic@users.sf.net>
2361
2362         * tools/gst-launch.c:
2363         Dump one graph per pipeline state-change and state change name
2364         (if GST_DEBUG_DUMP_DOT_DIR is set).
2365
2366 2008-02-04  Thijs Vermeir  <thijsvermeir@gmail.com>
2367
2368         * gst/gstpad.c:
2369         * tests/check/gst/gstpad.c:
2370         Be sure that we have a new copy of the caps and not
2371         reffed caps from a template
2372
2373 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2374
2375         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2376         * gst/gstpipeline.c: (gst_pipeline_get_type),
2377         (gst_pipeline_class_init):
2378         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2379         (gst_base_sink_class_init):
2380         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2381         (gst_base_src_class_init):
2382         * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2383         (gst_base_transform_class_init):
2384         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2385         (gst_collect_pads_class_init):
2386         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2387         * libs/gst/net/gstnettimeprovider.c:
2388         (gst_net_time_provider_base_init),
2389         (gst_net_time_provider_class_init):
2390         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2391         (gst_capsfilter_class_init):
2392         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2393         (gst_fake_sink_class_init):
2394         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2395         (gst_fake_src_class_init):
2396         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2397         (gst_fd_sink_class_init):
2398         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2399         (gst_fd_src_class_init):
2400         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2401         (gst_file_sink_class_init):
2402         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2403         (gst_file_src_class_init):
2404         * plugins/elements/gstidentity.c: (gst_identity_base_init),
2405         (gst_identity_class_init):
2406         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2407         (gst_multi_queue_class_init):
2408         * plugins/elements/gstqueue.c: (gst_queue_base_init),
2409         (gst_queue_class_init):
2410         * plugins/elements/gsttee.c: (gst_tee_base_init),
2411         (gst_tee_class_init):
2412         * plugins/elements/gsttypefindelement.c:
2413         (gst_type_find_element_base_init),
2414         (gst_type_find_element_class_init):
2415         Don't use base_init where not absolutely necessary. For example it's
2416         not necessary anymore for adding pad templates or setting element
2417         details.
2418
2419         Leave empty base_init functions in several places as GST_BOILERPLATE
2420         still defines and uses them.
2421
2422 2008-02-03  Sebastian Dröge  <slomo@circular-chaos.org>
2423
2424         * gst/gstelement.c: (gst_element_base_class_init),
2425         (gst_element_class_add_pad_template):
2426         * gst/gstpadtemplate.c:
2427         Make it possible (and recommended) to set element details and add
2428         pad templates in the class_init functions by copying the details/pad
2429         templates in GstElement's base_init.
2430
2431         Also make it possible to replace existing pad templates by adding
2432         a new one with the same name. This was done in a hackish fashion
2433         in same elements before already.
2434
2435         Don't reference pad templates that are added a second time. A
2436         new pad template has a refcount of one and is not floating anymore
2437         and to be owned by the element's class. Make this more explicit by
2438         mentioning it in the docs of gst_element_class_add_pad_template().
2439
2440         These changes are backwards compatible. Fixes bug #491501.
2441
2442         * tests/check/gst/gstelement.c:
2443         Add unit test for setting element details, adding pad templates and
2444         replacing them in a subclass.
2445
2446 2008-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
2447
2448         * tools/gst-inspect.c: (print_interfaces),
2449         (print_element_properties_info), (print_pad_info),
2450         (print_signal_info), (print_element_info):
2451         Fix a few memory leaks.
2452
2453 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2454
2455         * docs/libs/gstreamer-libs-sections.txt:
2456         * libs/gst/check/gstcheck.c:
2457         * libs/gst/check/gstcheck.h:
2458         Add more functions for unit testing: gst_check_drop_buffers,
2459         gst_check_caps_equal, gst_check_element_push_buffer_list,
2460         gst_check_element_push_buffer
2461         API: gst_check_drop_buffers
2462         API: gst_check_caps_equal
2463         API: gst_check_element_push_buffer_list
2464         API: gst_check_element_push_buffer
2465
2466 2008-02-01  Julien Moutte  <julien@fluendo.com>
2467
2468         * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2469         * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2470         (gst_index_finalize), (gst_index_entry_free),
2471         (gst_index_add_association): Fix memory leaks.
2472         * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2473         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2474         (gst_mem_index_free_format), (gst_mem_index_free_id),
2475         (gst_mem_index_finalize): Fix memory leaks.
2476         * win32/common/config.h: Updated to CVS HEAD.
2477
2478 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2479
2480         * docs/README:
2481           Some more details about how the plugin docs works.
2482
2483         * docs/plugins/gstreamer-plugins-sections.txt:
2484           Whitespace cleanup.
2485
2486 2008-02-01  Stefan Kost  <ensonic@users.sf.net>
2487
2488         * gst/parse/grammar.tab.pre.c:
2489         * gst/parse/grammar.tab.pre.h:
2490         * gst/parse/grammar.y:
2491         * gst/parse/lex._gst_parse_yy.pre.c:
2492           Add delayed set-property. This allows to set properties on dynamicaly
2493           created objects (pads in videomxer). Fixes #509391.
2494
2495 2008-02-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2496
2497         * gst/gstutils.c:
2498         Check if caps are not NULL (fix bug #510194)
2499
2500 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2501
2502         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2503         (gst_base_sink_get_position_paused):
2504         Add fixme regarding EOS in pull mode.
2505         Fix position reporting in PAUSED for negative rates.
2506
2507 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2508
2509         * gst/gstminiobject.c: (gst_mini_object_replace):
2510         When replacing a miniobject, do a quick equality check first so that we
2511         can avoid a ref/unref pair.
2512
2513 2008-02-01  Wim Taymans  <wim.taymans@collabora.co.uk>
2514
2515         * docs/design/part-synchronisation.txt:
2516         Update some docs.
2517
2518         * docs/plugins/Makefile.am:
2519         * docs/plugins/gstreamer-plugins-docs.sgml:
2520         * docs/plugins/gstreamer-plugins-sections.txt:
2521         * plugins/elements/gstmultiqueue.c:
2522         Add multiqueue to the docs.
2523
2524 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2525
2526         * configure.ac:
2527           Back to CVS
2528
2529 === release 0.10.17 ===
2530
2531 2008-01-30  Jan Schmidt <jan.schmidt@sun.com>
2532
2533         * configure.ac:
2534           releasing 0.10.17, "Due Negligence"
2535
2536 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2537
2538         * gst/gstutils.c:
2539         Revert caps != NULL check temporarily for 0.10.17 release.
2540
2541 2008-01-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2542
2543         * gst/gstutils.c:
2544         Check if caps are not NULL (fix bug #510194)
2545
2546 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2547
2548         * gst/gstutils.c:
2549         Fix compilation on systems that have posix timers but no
2550         monotonic clock.
2551         Fixes: #512715
2552         Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2553         dot net>
2554
2555 2008-01-30  Jan Schmidt  <jan.schmidt@sun.com>
2556
2557         * tools/gst-inspect.c:
2558         Revert previous commit in preparation for an impromptu 0.10.17 release
2559
2560 2008-01-29  Sebastian Dröge  <slomo@circular-chaos.org>
2561
2562         * tools/gst-inspect.c: (print_interfaces),
2563         (print_element_properties_info), (print_pad_info),
2564         (print_signal_info), (print_element_info):
2565         Fix a few memory leaks.
2566
2567 2008-01-28  Jan Schmidt  <jan.schmidt@sun.com>
2568
2569         * configure.ac:
2570         Back to CVS
2571
2572 === release 0.10.16 ===
2573
2574 2008-01-28  Jan Schmidt <thaytan@noraisin.net>
2575
2576         * configure.ac:
2577           releasing 0.10.16, "Special Dispensation"
2578
2579 2008-01-24  Tim-Philipp Müller  <tim at centricular dot net>
2580
2581         * configure.ac:
2582           Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2583           _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2584           not fail when trying to crosscompile on OpenEmbedded (#511750).
2585
2586 2008-01-20  Sebastian Dröge  <slomo@circular-chaos.org>
2587
2588         * docs/manuals.mak:
2589         Use $(MAKE) instead of make to fix the build if GNU make is
2590         called different. Fixes bug #510747.
2591
2592 2008-01-20  Tim-Philipp Müller  <tim at centricular dot net>
2593
2594         * gst/gstplugin.c: (_gst_plugin_initialize):
2595           Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2596           again, which I broke two commits ago when changing the API
2597           of gst_plugin_register_static(): the g_list_foreach() in
2598           _gst_plugin_register_static still assumed the old function
2599           signature and would therefore fail (re-fixes #510187).
2600
2601         * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2602           (_gst_plugin_register_static), (gst_plugin_register_static):
2603           Revert the (technically correct) change to call g_thread_init() from
2604           the pre-main() constructor. This will break programs which call
2605           g_thread_init() without an if (!g_thread_supported()) guard in their
2606           main function. We could just blame it on GLib or the application, but
2607           it's probably best to just avoid this altogether and simply not use
2608           any GLib functions here and use plain old malloc() with a simple
2609           array to store the plugins to register later when gst_init() is
2610           finally called (re-fixes #510187).
2611
2612         * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2613           (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2614           (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2615           (GST_START_TEST), (gst_plugin_suite):
2616           Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2617           works.
2618
2619 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2620
2621         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2622           Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2623           This makes gtk-doc complain, but results in slightly better
2624           compiler errors. The old _gst_plugin_register_static() is
2625           still guarded, so there'll be a compiler warning about that
2626           instead. Fixes #510187 too.
2627
2628 2008-01-17  Tim-Philipp Müller  <tim at centricular dot net>
2629
2630         * gst/gst.c: (init_post):
2631         * gst/gstplugin.c: (_gst_plugin_register_static),
2632           (gst_plugin_register_static), (_gst_plugin_initialize):
2633         * gst/gstplugin.h: (GstPluginFilter):
2634           Change API of gst_plugin_register_static() to not take
2635           a GstPluginDesc, but rather just take all the arguments
2636           in a GstPluginDesc directly. This is more intuitive and
2637           avoids certain mistakes when porting code from
2638           GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2639           Fixes #510187.
2640
2641         * tests/check/gst/gstplugin.c:
2642           Fix up for changed API.
2643
2644 2008-01-17  Thomas Vander Stichele  <thomas at apestaart dot org>
2645
2646         * docs/faq/legal.xml:
2647           Update FAQ, Totem actually has an exception these days.
2648
2649 2008-01-14  Jan Schmidt  <jan.schmidt@sun.com>
2650
2651         * win32/common/libgstreamer.def:
2652         Add new API declarations
2653
2654 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2655
2656         * gst/gstminiobject.c:
2657           Spelling fixes for the API docs.
2658
2659 2008-01-14  Stefan Kost  <ensonic@users.sf.net>
2660
2661         * libs/gst/base/gstbasetransform.c:
2662           Fix long property description for QoS.
2663
2664 2008-01-12  Jan Schmidt  <Jan.Schmidt@sun.com>
2665
2666         * gst/gst.c:
2667         _gst_trace_on is already provided by gsttrace.h, no need to declare
2668         it ourselves.
2669
2670         * docs/libs/gstreamer-libs-sections.txt:
2671         Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2672         and remove strange tcase_add_test which is outputting a warning.
2673
2674         * libs/gst/check/gstcheck.c:
2675         * libs/gst/check/gstcheck.h:
2676         Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2677         and define them in gstcheck.c instead of having every .c file whcih
2678         includes gstcheck.h be defining its own copy and relying on symbol
2679         interposing to marry them all, which doesn't work on Solaris.
2680
2681         * tests/check/elements/identity.c: (GST_START_TEST):
2682         Don't define 'buffers' locally, it comes from libgstcheck.
2683
2684         * tests/check/generic/sinks.c: (send_buffer):
2685         Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2686
2687         * tests/check/gst/gststructure.c: (GST_START_TEST):
2688         * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2689         * tests/check/gst/gstutils.c: (GST_START_TEST):
2690         * tests/check/gst/gstvalue.c: (GST_START_TEST):
2691         Add a bunch of casts to make various constants fit the types
2692         they're being assigned to.
2693
2694 2008-01-10  Stefan Kost  <ensonic@users.sf.net>
2695
2696         * gst/gstchildproxy.c:
2697           Improve docs and add some ideas for making this more general-purpose.
2698
2699 2008-01-10  Tim-Philipp Müller  <tim at centricular dot net>
2700
2701         * gst/gst_private.h: (GST_CAT_TYPES):
2702           Add GST_CAT_TYPES, for consistency, and so that the other
2703           debug categories don't make fun of it. Spotted by Saur on IRC.
2704
2705 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2706
2707         * gst/parse/Makefile.am:
2708           Move types.h from EXTRA_DIST to noinst_HEADERS.
2709
2710 2008-01-10  Sebastian Dröge  <slomo@circular-chaos.org>
2711
2712         * autogen.sh:
2713           Add -Wno-portability to the automake parameters to stop warnings
2714           about GNU make extensions being used. We require GNU make in almost
2715           every Makefile anyway.
2716
2717         * configure.ac:
2718           Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2719           at the same time is required for per target flags.
2720
2721 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2722
2723         * gst/gstmacros.h:
2724           Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2725           __GNUC__ is defined before using it.
2726
2727 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2728
2729         * docs/gst/gstreamer-sections.txt:
2730         * gst/gst.c: (init_post):
2731         * gst/gstplugin.c: (_gst_plugin_register_static),
2732           (gst_plugin_register_static), (_gst_plugin_initialize),
2733           (gst_plugin_register_func):
2734         * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2735           API: add gst_plugin_register_static() and deprecate
2736           GST_PLUGIN_DEFINE_STATIC, since it's not portable
2737           (#498924).
2738           Also, in _gst_plugin_register_static(), make sure to call
2739           g_thread_init() before calling GLib functions such as
2740           g_list_append() if we're not initialised yet, since that
2741           may lead to random crashes with older GSlice/GLib versions.
2742
2743         * tests/check/gst/gstplugin.c:
2744           Adapt unit test to above changes.
2745
2746 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2747
2748         * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2749         * gst/gstcaps.c: (gst_caps_to_string):
2750         * gst/gststructure.c: (GST_ASCII_IS_STRING),
2751           (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2752           Yet another gratuitous GString micro-optimisation: add a (private)
2753           function that serialises a structure appending to an existing
2754           GString, so that when we serialise caps we don't need to alloc+free
2755           a throwaway GString for each structure (each of which also entailing
2756           multiple reallocs on the way); also use g_string_sized_new() in
2757           various places with an approximate string length to avoid reallocs
2758           within GString. See #500143.
2759
2760 2008-01-09  Tim-Philipp Müller  <tim at centricular dot net>
2761
2762         * gst/gststructure.c: (gst_structure_id_set_value):
2763           Always check UTF-8 conformance of structure strings and not only
2764           if the debugging system is enabled; reasoning: the behaviour of
2765           the actual code shouldn't really change depending on whether the
2766           debugging system is enabled or not (#508291).
2767
2768 2008-01-09  Stefan Kost  <ensonic@users.sf.net>
2769
2770         * Makefile.am:
2771           Remove old coverage target in favour of "make lcov".
2772
2773 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2774
2775         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2776         (gst_base_src_loop):
2777         The start segment for reverse playback goes from start to last_stop.
2778
2779 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2780
2781         Patch by: Peter Kjellerstedt <pkj axis com>
2782
2783         * gst/gstclock.h:
2784         Cast the results from the timeval/spec_to_time macros to what the
2785         docs say it casts to, a GstClockTime. fixes #508175.
2786
2787 2008-01-09  Wim Taymans  <wim.taymans@collabora.co.uk>
2788
2789         * gst/gstbuffer.c:
2790         Update some comments.
2791
2792         * tools/gst-inspect.c: (print_element_properties_info):
2793         Improve printing of flags.
2794
2795 2008-01-08  Tim-Philipp Müller  <tim at centricular dot net>
2796
2797         * libs/gst/base/gstbasetransform.c:
2798           (gst_base_transform_transform_size):
2799           Print element name with g_warning() if there's a problem
2800           with the unit size.
2801
2802 2008-01-07  David Schleef  <ds@schleef.org>
2803
2804         Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2805
2806         * libs/gst/controller/gstcontroller.h:
2807         * libs/gst/controller/gstcontrolsource.h:
2808         * libs/gst/controller/gstinterpolationcontrolsource.h:
2809         * libs/gst/controller/gstlfocontrolsource.h:
2810         * libs/gst/dataprotocol/dataprotocol.h:
2811           Fix empty prototypes.  Fixes bug #507957.
2812
2813 2008-01-07  David Schleef  <ds@schleef.org>
2814
2815         * docs/faq/dependencies.xml: Fix typo.
2816
2817 2008-01-07  Wim Taymans  <wim.taymans@collabora.co.uk>
2818
2819         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2820         (gst_base_src_loop):
2821         Don't update the last_stop position in do_seek, that's the position we
2822         did a seek to.
2823         Read backwards when we have a negative rate.
2824
2825         * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2826         (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2827         (filesrc_suite):
2828         Add check for reverse reading.
2829
2830 2008-01-07  Tim-Philipp Müller  <tim at centricular dot net>
2831
2832         Patch by: Alexis Ballier <aballier at gentoo org>
2833
2834         * tests/check/gst/gstabi.c:
2835         * tests/check/gst/struct_ppc64.h:
2836         * tests/check/libs/libsabi.c:
2837         * tests/check/libs/struct_ppc64.h:
2838           Decide which header to include based on the userland ABI target
2839           and not the kernel/cpu. Fix up structure sizes of ppc64 header
2840           for 64-bit userland (#503590).  Might need something similar for
2841           x86 too.
2842
2843 2008-01-05  Tim-Philipp Müller  <tim at centricular dot net>
2844
2845         * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2846           Log the reason why fopen fails in addition to the fact that it failed.
2847           
2848 2008-01-04  Sebastian Dröge  <slomo@circular-chaos.org>
2849
2850         * gst/parse/parse.l:
2851         Use "%option never-interactive" to prevent useless calls to isatty()
2852         on every input when parsing. Also use "%option noinput" to not define
2853         the static input/yyinput functions which we don't use anyway. This
2854         removes a compiler warning with gcc 4.3 and saves some bytes in the
2855         library.
2856         
2857         * gst/parse/lex._gst_parse_yy.pre.c:
2858         Regenerated for the above change.
2859
2860 2008-01-04  Wim Taymans  <wim.taymans@collabora.co.uk>
2861
2862         * gst/gstpad.c: (fixate_value):
2863         Don't crash when trying to fixate and empty list.
2864         Fixes #506643.
2865
2866 2008-01-03  Sebastian Dröge  <slomo@circular-chaos.org>
2867
2868         * docs/faq/gst-uninstalled:
2869         Clarify the comments to make the usage of this script and what it
2870         does easier to understand.
2871
2872 2008-01-01  Thijs Vermeir  <thijsvermeir@gmail.com>
2873
2874         * tools/gst-plot-timeline.py:
2875         Add more options to gst-plot-timeline
2876
2877 2007-12-31  Wim Taymans  <wim.taymans@collabora.co.uk>
2878
2879         * docs/design/part-synchronisation.txt:
2880         Some more info on how the stream_time in GstBaseSink is done.
2881
2882 2007-12-30  Tim-Philipp Müller  <tim at centricular dot net>
2883
2884         * tests/check/generic/sinks.c: (gst_sinks_suite):
2885           Put back the tcase_set_timeout(), apparently it's needed after
2886           all; fix it up in a way that makes things work with valgrind too.
2887
2888 2007-12-30  Thijs Vermeir  <thijsvermeir@gmail.com>
2889
2890         * gst/gstdebugutils.c:
2891           Add warning when failed to open file for writing.
2892
2893 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2894
2895         Based on patch by: Laurent Glayal  <spglegle yahoo fr>
2896
2897         * gst/gstvalue.c: (gst_value_is_fixed):
2898           Optimisation: bail out of the loop as early as possible (#500143).
2899
2900 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2901
2902         * gst/gstcaps.c: (gst_caps_to_string):
2903         * gst/gstinfo.c: (gst_debug_construct_term_color):
2904         * gst/gstparse.c: (gst_parse_launchv):
2905         * gst/gstutils.c: (gst_util_dump_mem):
2906         * gst/gstvalue.c: (gst_value_serialize_any_list),
2907           (gst_value_transform_any_list_string):
2908           Bunch of gratuitous nano-optimisations.
2909
2910 2007-12-28  Tim-Philipp Müller  <tim at centricular dot net>
2911
2912         * tests/check/generic/sinks.c: (async_done_func),
2913           (async_done_eos_func):
2914           Fix leak in unit test (bus sync handler must unref the message
2915           if it returns GST_BUS_DROP). Don't fiddle with the default test
2916           timeout, this is smaller than the current preconfigured value
2917           via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
2918           because it overrides the value specified in CK_DEFAULT_TIMEOUT.
2919
2920 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2921
2922         Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2923
2924         * configure.ac:
2925         Check for stdio_ext.h for the filesink changes.
2926
2927         * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
2928         (gst_file_sink_class_init), (gst_file_sink_init),
2929         (gst_file_sink_dispose), (gst_file_sink_set_property),
2930         (gst_file_sink_get_property), (gst_file_sink_open_file),
2931         (gst_file_sink_close_file):
2932         * plugins/elements/gstfilesink.h:
2933         Add two properties to control the buffering mode and size.
2934         API: GstFileSink::buffer-mode
2935         API: GstFileSink::buffer-size
2936         Fixes #500150.
2937
2938 2007-12-24  Wim Taymans  <wim.taymans@collabora.co.uk>
2939
2940         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
2941         Add some more docs to explain why a FIXME was wrongly added. 
2942
2943 2007-12-22  Sebastian Dröge  <slomo@circular-chaos.org>
2944
2945         * gst/gstobject.c:
2946           Fix typo in the gst_object_{ref,unref} documentation.
2947
2948 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
2949
2950         * tests/check/libs/controller.c:
2951         * tests/check/libs/typefindhelper.c:
2952         * tests/check/pipelines/parse-launch.c:
2953           Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
2954           going to be deprecated (see #498924).
2955
2956 2007-12-21  Tim-Philipp Müller  <tim at centricular dot net>
2957
2958         * gst/gsttypefind.c: (gst_type_find_register):
2959           Make gst_type_find_register work for static typefind functions,
2960           ie. allow passing plugin == NULL (prerequisite for #498924).
2961
2962         * gst/gstelementfactory.c: (gst_element_register):
2963           Small docs addition.
2964
2965 2007-12-21  Wim Taymans  <wim.taymans@collabora.co.uk>
2966
2967         * gst/gstpad.c: (gst_pad_dispose):
2968         Really unlink the peer pad instead of setting the peer pointer to NULL
2969         when we dispose the pad.
2970         This correctly calls the unlink functions and makes sure that the peer
2971         does not have a handle to invalid memory. See #504671.
2972
2973         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2974         Add testsuite for above case.
2975
2976 2007-12-20  Tim-Philipp Müller  <tim at centricular dot net>
2977
2978         Patch by: Peter Kjellerstedt <pkj axis com>
2979
2980         * libs/gst/check/gstcheck.h:
2981           Fix detection of the check version we're compiling against (would
2982           otherwise break if check goes v0.10.0); correctly report the
2983           name of the failed test again in case of failure, instead of
2984           just 'tf' (fixes #504499).
2985
2986 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
2987
2988         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
2989         (gst_base_src_get_range), (gst_base_src_pad_get_range),
2990         (gst_base_src_loop), (gst_base_src_set_flushing),
2991         (gst_base_src_change_state):
2992         Allow sending EOS to the source to make it send out an EOS event from
2993         the streaming thread.
2994         Update docs and deprecate the old NULL/READY shutdown method.
2995
2996         * tests/check/libs/basesrc.c: (GST_START_TEST),
2997         (gst_basesrc_suite):
2998         Add unit test for controlled shutdown.
2999
3000 2007-12-19  Wim Taymans  <wim.taymans@collabora.co.uk>
3001
3002         * docs/design/part-synchronisation.txt:
3003         Small updates.
3004
3005         * gst/gstsegment.c: (gst_segment_set_seek),
3006         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3007         (gst_segment_to_running_time):
3008         The seek format can be different from the segment format when the start
3009         and stop values are not to be updated, when we only do a rate change for
3010         example.
3011
3012         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3013         (gst_segment_suite):
3014         Add a testcase for the rate-only seeks, checking that the format is
3015         correctly ignored when start and stop are not updated.
3016
3017 2007-12-18  Sebastian Dröge  <slomo@circular-chaos.org>
3018
3019         Patch by: Matthias Bolte <photon at mail dot upb dot de>
3020
3021         * win32/vs8/grammar.vcproj:
3022         * win32/vs8/libgstcontroller.vcproj:
3023         * win32/vs8/libgstreamer.vcproj:
3024         Fix compilation with VS8 and include some missing files.
3025
3026 2007-12-18  Tim-Philipp Müller  <tim at centricular dot net>
3027
3028         * gst/gsttaglist.c:
3029           Small docs addition: mention that the strings returned by
3030           gst_tag_list_get_string*() are in UTF-8 encoding.
3031
3032 2007-12-17  Tim-Philipp Müller  <tim at centricular dot net>
3033
3034         * Makefile.am:
3035           The check-exports stuff moved to common/win32.mak, so include that.
3036
3037 2007-12-17  Wim Taymans  <wim.taymans@collabora.co.uk>
3038
3039         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3040         (gst_base_src_perform_seek), (gst_base_src_get_range),
3041         (gst_base_src_set_playing), (gst_base_src_change_state):
3042         Make _wait_playing() not check any variables so that we can call this
3043         function from subclasses. Move the checks elsewhere similar to
3044         _wait_preroll() in basesink.
3045         Add some debugging.
3046         Only signal the LIVE cond when we are going back to PLAYING.
3047
3048 2007-12-16  Tim-Philipp Müller  <tim at centricular dot net>
3049
3050         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3051           Use g_remove() and g_rename(). Check result of g_rename(), and
3052           don't leak the open file descriptor if we error out when writing.
3053
3054         * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3055           Must check the return value of close() after writing out the new
3056           registry file.  Sometimes write problems such as out-of-diskspace
3057           are only reported when the file is closed and not already during
3058           the write.  This may have caused partial/broken registry files in
3059           some rare circumstances. Should fix #503675.
3060
3061 2007-12-16  Edward Hervey  <edward.hervey@collabora.co.uk>
3062
3063         * docs/gst/.cvsignore:
3064         * docs/libs/.cvsignore:
3065         * docs/plugins/.cvsignore:
3066         Ignore files generated by new common/* modifications
3067
3068 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3069
3070         * win32/common/libgstbase.def:
3071           Yes, you can also have a <TAB> if you want.
3072
3073 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3074
3075         * win32/common/libgstbase.def:
3076           Add new basetransform API to win export file.
3077
3078 2007-12-15  Stefan Kost  <ensonic@users.sf.net>
3079
3080         * tests/check/gst/gstbin.c:
3081           Adjust the test to the refcount change two days ago.
3082
3083 2007-12-14  David Schleef  <ds@schleef.org>
3084
3085         * docs/faq/getting.xml: Fix typo.
3086
3087 2007-12-14  Sebastian Dröge  <slomo@circular-chaos.org>
3088
3089         * docs/libs/gstreamer-libs-sections.txt:
3090         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3091           (gst_base_transform_prepare_output_buffer),
3092           (gst_base_transform_set_gap_aware):
3093         * libs/gst/base/gstbasetransform.h:
3094           API: Add gst_base_transform_set_gap_aware() to control whether
3095           the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3096           get buffers with this flag at all. Fixes #503231.
3097
3098 2007-12-13  Stefan Kost  <ensonic@users.sf.net>
3099
3100         * libs/gst/base/gstbasesink.c:
3101         * libs/gst/base/gstbasesrc.c:
3102         * libs/gst/base/gstbasetransform.c:
3103           Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3104           thread. Correct log message in gstbasesrc.c.
3105
3106 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3107
3108         * gst/gstutils.c: (element_find_unconnected_pad):
3109           Fix possible compiler warning (#503417).
3110
3111 2007-12-13  Tim-Philipp Müller  <tim at centricular dot net>
3112
3113         * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3114           Don't use GST_CAT_EVENT here for logging, it makes no sense.
3115
3116 2007-12-13  Sebastian Dröge  <slomo@circular-chaos.org>
3117
3118         * tools/gst-inspect.c: (print_element_properties_info):
3119           Add support for GstFraction properties.
3120
3121 2007-12-12  Tim-Philipp Müller  <tim at centricular dot net>
3122
3123         * Makefile.am:
3124           Add check-exports target and run it as part of 'make check'
3125           (see #499140 and #493983).
3126
3127         * gst/gst_private.h:
3128         * gst/gstelementfactory.h:
3129         * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3130         * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3131           (_priv_gst_in_valgrind):
3132         * gst/gstinfo.h: (GstLogFunction):
3133         * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3134           (gst_type_find_register):
3135         * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3136           (gst_type_find_factory_get_type):
3137         * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3138           (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3139           (gst_controller_new_valist), (gst_controller_new_list),
3140           (_gst_controller_dispose), (_gst_controller_class_init):
3141         * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3142         * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3143           (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3144           (gst_object_get_controller), (gst_object_set_controller),
3145           (gst_object_suggest_next_sync), (gst_object_sync_values),
3146           (gst_object_set_control_source), (gst_object_get_control_source),
3147           (gst_object_get_value_arrays), (gst_object_get_value_array),
3148           (gst_object_get_control_rate), (gst_object_set_control_rate):
3149         * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3150         * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3151           Make some functions that should be static static; rename some
3152           private symbols so that they don't get exported; add some FIXME
3153           comments so we can move accidentally exported functions into
3154           our private section in 0.11.
3155
3156         * win32/common/libgstreamer.def:
3157           Add gst_utils_get_timestamp().
3158
3159 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3160
3161         * gst/gstvalue.c:
3162         * gst/gstvalue.h:
3163           Add more missing "Since:" tags to docs.
3164
3165 2007-12-12  Stefan Kost  <ensonic@users.sf.net>
3166
3167         * gst/gstutils.c:
3168           Add mising "Since:" to docs.
3169
3170 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3171
3172         * gst/gstplugin.c:
3173           Include "glib-compat-private.h" to fix the build on system with
3174           glib < 2.10. Fixes #503131.
3175
3176 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3177
3178         * gst/gstutils.c:
3179         * gst/gstutils.h:
3180           Actually its not PURE as it gets the time from elsewhere.
3181
3182 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
3183
3184         * docs/gst/gstreamer-sections.txt:
3185         * gst/gstclock.h:
3186         * gst/gstdebugutils.c:
3187         * gst/gstinfo.c:
3188         * gst/gstutils.c:
3189         * gst/gstutils.h:
3190         * libs/gst/base/gstbasesink.c:
3191         * tools/gst-launch.c:
3192           Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3193           uses as we don't have HAVE_POSIX_TIMERS in public headers.
3194           Thanks Tim for spotting.
3195           API: gst_util_get_timestamp
3196
3197 2007-12-09  Sebastian Dröge  <slomo@circular-chaos.org>
3198
3199         * configure.ac:
3200           Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3201
3202 2007-12-08  Tim-Philipp Müller  <tim at centricular dot net>
3203
3204         * gst/gststructure.c: (gst_structure_validate_name),
3205           (gst_structure_new_valist), (gst_structure_parse_value),
3206           (gst_structure_from_string):
3207           Don't crash in _from_string() if the structure name is not valid
3208           (fixes #501560).  Allow structure names to start with a number
3209           again (this apparently broke the ubuntu codec installer).
3210
3211         * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3212           (GST_START_TEST):
3213           Add unit test for the crash; update unit tests for new behaviour.
3214
3215 2007-12-03  Wim Taymans  <wim.taymans@gmail.com>
3216
3217         * gst/gstutils.c:
3218         Clarify gst_element_get_compatible_pad() documentation.
3219         Fixes #500919.
3220
3221 2007-12-02  Sebastian Dröge  <slomo@circular-chaos.org>
3222
3223         * tests/check/Makefile.am:
3224           Don't forget to dist {gst,libs}/struct_hppa.h.
3225
3226 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3227
3228         * libs/gst/base/gstbasesink.c:
3229           Use new API to get elapsed time.
3230
3231 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3232
3233         * gst/gstdebugutils.c:
3234         * gst/gstinfo.c:
3235           Fix wrong order of args in GST_CLOCK_DIFF() usage.
3236
3237         * tools/gst-launch.c:
3238           Use new API to get elapsed time.
3239
3240 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3241
3242         * docs/gst/gstreamer-sections.txt:
3243         * gst/gstclock.h:
3244         * gst/gstdebugutils.c:
3245         * gst/gstinfo.c:
3246           Rename new API + ChangeLog surgery to remove old name from last entry..
3247
3248 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3249
3250         * docs/gst/gstreamer-sections.txt:
3251         * gst/gstclock.h:
3252         * gst/gstdebugutils.c:
3253         * gst/gstinfo.c:
3254           Now hide the different clock stuff behind a macro.
3255
3256 2007-11-28  Stefan Kost  <ensonic@users.sf.net>
3257
3258         * configure.ac:
3259         * gst/gstdebugutils.c:
3260         * gst/gstinfo.c:
3261           Apply the posix-timer check from #361155. Conditionally use the posix
3262           timer for logging. This gives better timestamp precission, less
3263           overhead and no ntp jitter.
3264
3265 2007-11-28  Sebastian Dröge  <slomo@circular-chaos.org>
3266
3267         * gst/gstminiobject.c: (gst_mini_object_get_type),
3268         (gst_mini_object_class_init), (gst_mini_object_copy_default),
3269         (gst_mini_object_finalize), (gst_mini_object_copy),
3270         (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3271         (gst_mini_object_replace), (param_mini_object_validate),
3272         (gst_param_spec_mini_object_get_type):
3273         Some cleanup and checking against invalid function parameters.
3274
3275 2007-11-28  Wim Taymans  <wim.taymans@gmail.com>
3276
3277         * docs/gst/gstreamer-sections.txt:
3278         * gst/gstclock.h:
3279         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3280         (gst_systemclock_suite):
3281         Start merging in the easy bits of #361155, the monotonic clock patch.
3282         This one adds a few handy macros with docs and a testsuite.
3283
3284 2007-11-27  Wim Taymans  <wim.taymans@gmail.com>
3285
3286         * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3287         Be a bit smarter when seeking, like, don't try to do a seek when it's
3288         not needed. This avoids errors when the file is not seekable.
3289         Fixes #499771.
3290
3291 2007-11-26  Stefan Kost  <ensonic@users.sf.net>
3292
3293         * docs/gst/gstreamer-docs.sgml:
3294         * docs/gst/gstreamer-sections.txt:
3295         * docs/gst/gstreamer.types.in:
3296         * gst/Makefile.am:
3297         * gst/gst.h:
3298         * gst/gstpreset.c:
3299         * gst/gstpreset.h:
3300         * plugins/elements/gstqueue.c:
3301           Due to popular request remove preset interface again. :-(.
3302
3303 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3304
3305         * tools/gst-inspect.c:
3306           Print 'default value' for enums and flags too.
3307
3308 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3309
3310         * docs/random/ensonic/profiling.txt:
3311           More ideas.
3312
3313         * gst/gstbin.c:
3314           Fix typo and give better log output.
3315
3316         * gst/gstdebugutils.c:
3317         * gst/gstdebugutils.h:
3318           More ideas, make graphs a bit smaller and fix param name in macro.
3319
3320 2007-11-22  Stefan Kost  <ensonic@users.sf.net>
3321
3322         * gst/gstpreset.c:
3323           Try harder to use the return value from fgets().
3324
3325 2007-11-21  Stefan Kost  <ensonic@users.sf.net>
3326
3327         * gst/gstpreset.c:
3328           For theses two fgets we handle the error below.
3329
3330 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3331
3332         * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3333         Only send upstream events upstream. Fixes #498746.
3334
3335 2007-11-21  Wim Taymans  <wim.taymans@gmail.com>
3336
3337         Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3338
3339         * plugins/elements/gstidentity.c: (gst_identity_class_init),
3340         (gst_identity_init), (gst_identity_transform_ip),
3341         (gst_identity_set_property), (gst_identity_get_property):
3342         * plugins/elements/gstidentity.h:
3343         Add property to disable handoff signal emission. Fixes #498694.
3344         API: GstIdentity::signal-handoffs
3345
3346 2007-11-21  Julien Moutte  <julien@fluendo.com>
3347
3348         * docs/faq/gst-uninstalled: Yet another missing library for the
3349         uninstalled script (fft)
3350
3351 2007-11-21  Jan Schmidt  <jan.schmidt@sun.com>
3352
3353         * docs/faq/developing.xml:
3354         Add a question about how to submit new translations.
3355
3356         * docs/random/release:
3357         Update the contact email address for the Translation Project
3358
3359         * plugins/elements/gstfdsrc.c:
3360         The parent_class for fdsrc is pushsrc, not GstElement.
3361
3362 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3363
3364         * gst/gstpreset.c:
3365           Plug a leak and fix saving.
3366
3367 2007-11-20  Sebastian Dröge  <slomo@circular-chaos.org>
3368
3369         * docs/gst/gstreamer-sections.txt:
3370         Add new gst_preset__get_property_names() function to the docs
3371         to fix the build.
3372
3373 2007-11-20  Stefan Kost  <ensonic@users.sf.net>
3374
3375         * gst/gstpreset.c:
3376         * gst/gstpreset.h:
3377           Change _get_preset_names API to return a strv with copies. Add
3378           _get_property_names to allow implementations to filter and provide
3379           good default implementation.
3380
3381 2007-11-20  Julien MOUTTE  <julien@moutte.net>
3382
3383         * docs/faq/gst-uninstalled: Add another library to the uninstalled
3384         script (sdp).
3385
3386 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3387
3388         * gst/gstpreset.c:
3389           More cleanups, docs, and TODOs from comments that now slowly come in.
3390
3391 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3392
3393         * docs/faq/gst-uninstalled: Add new base libraries in the LD 
3394         search path.
3395
3396 2007-11-19  Stefan Kost  <ensonic@users.sf.net>
3397
3398         * gst/gstpreset.c:
3399           Fix bogus warning and make the property type specific code more
3400           similar.
3401
3402 2007-11-19  Julien MOUTTE  <julien@moutte.net>
3403
3404         * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3405         it build on OS X.
3406
3407 2007-11-19  Wim Taymans  <wim.taymans@gmail.com>
3408
3409         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3410         (gst_bin_add_func), (gst_bin_remove_func),
3411         (gst_bin_change_state_func), (gst_bin_continue_func):
3412         Change email, cleanups add some more debug and comments.
3413         Also set bus and clock on new elements when the pipeline was in error.
3414
3415 2007-11-18  Stefan Kost  <ensonic@users.sf.net>
3416
3417         * gst/gstbin.c:
3418         * gst/gstdebugutils.c:
3419           Fix build with --disable-gst-debug. Fixes #497859.
3420           Spotted by Sameer Naik.
3421
3422 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3423
3424         * gst/gstevent.c:
3425           Little documentation improvment.
3426
3427         * gst/gstpreset.c:
3428           More TODO cleanups. Remove c++ comments.
3429
3430         * libs/gst/controller/gstcontroller.c:
3431           Add TODO and use quark from static string.
3432
3433         * tests/check/gst/gstmessage.c:
3434         * tests/check/gst/gststructure.c:
3435           Use quark from static string.
3436
3437 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3438
3439         * gst/gstpreset.c:
3440           Add some comments and TODOs.
3441
3442         * gst/gstpreset.h:
3443           Add padding for future changes.
3444
3445         * plugins/elements/gstqueue.c:
3446           Implement the iface.    
3447
3448 2007-11-17  Stefan Kost  <ensonic@users.sf.net>
3449
3450         * docs/gst/gstreamer-docs.sgml:
3451         * docs/gst/gstreamer-sections.txt:
3452         * docs/gst/gstreamer.types.in:
3453         * gst/Makefile.am:
3454         * gst/gst.h:
3455         * gst/gstpreset.c:
3456         * gst/gstpreset.h:
3457           Add the preset interface (Fixes #396779). Do some doc cleanups along.
3458
3459 2007-11-16  Jan Schmidt  <jan.schmidt@sun.com>
3460
3461         * configure.ac:
3462
3463         Back to CVS
3464
3465 === release 0.10.15 ===
3466
3467 2007-11-15  Jan Schmidt <jan.schmidt@sun.com>
3468
3469         * configure.ac:
3470           releasing 0.10.15, "October"
3471
3472 2007-11-14  Jan Schmidt  <jan.schmidt@sun.com>
3473
3474         * win32/vs6/libgstreamer.dsp:
3475         Convert line endings back to DOS.
3476
3477 2007-11-13  Stefan Kost  <ensonic@users.sf.net>
3478
3479         * docs/design/draft-tagreading.txt:
3480         * docs/random/ensonic/profiling.txt:
3481         Update fast tagreading draft and performance profiling ideas.
3482
3483 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3484
3485         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3486         Don't hold the object lock when unreffing a buffer because it could
3487         cause a deadlock when the finalize function wants to grab the object
3488         lock too. Fixes #495133.
3489
3490 2007-11-09  Wim Taymans  <wim.taymans@gmail.com>
3491
3492         * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3493         (gst_segment_to_stream_time), (gst_segment_to_running_time):
3494         Also accumulate time correctly when doing reverse playback. Fixes
3495         #488201,
3496         When converting to running and stream time, use default values for
3497         start/stop/time/accum when comparing different formats. Fixes #494245.
3498
3499         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3500         Do running/stream time in TIME format.
3501
3502         * tests/check/gst/gstsegment.c: (GST_START_TEST),
3503         (gst_segment_suite):
3504         2 new unit tests for segment accumulation.
3505
3506 2007-11-07  Tim-Philipp Müller  <tim at centricular dot net>
3507
3508         * gst/gst.c: (init_pre):
3509         * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3510           (_gst_debug_bin_to_dot_file):
3511           Move getenv() back into gst_init, so everyone can live happily
3512           ever after. Make sure the symbol isn't exported though.
3513
3514 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3515
3516         Patch by: Sebastien Moutte  <sebastien moutte net>
3517
3518         * win32/common/gstenumtypes.c:
3519         * win32/common/gstenumtypes.h:
3520           Update enum types.
3521
3522         * win32/vs6/libgstreamer.dsp:
3523           Update vs6 project files (#494343).
3524
3525 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3526
3527         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3528         (gst_base_src_perform_seek), (gst_base_src_default_event),
3529         (gst_base_src_set_flushing), (gst_base_src_activate_push),
3530         (gst_base_src_activate_pull):
3531         Unify flushing code, remove some old unlock code that is no longer used.
3532         Take the streaming lock when seeking to avoid races. Fixes #492729.
3533         Added some more comments.
3534
3535 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3536
3537         * gst/gst.c: (_gst_disable_segtrap):
3538           Make  _gst_disable_segtrap static, it's only used in gstplugin.c and
3539           we can use gst_segtrap_is_enabled() there now that we have that API.
3540           Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3541           to do the getenv here (and export the variable).
3542
3543         * gst/gstdebugutils.c: (debug_dump_element),
3544           (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3545           Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3546
3547         * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3548           (gst_debug_log_default):
3549           Rename _gst_info_start_time to priv_gst_info_start_time so it
3550           doesn't get exported (was never in any header).
3551
3552         * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3553           (gst_plugin_loading_mutex):
3554           Make static mutex gst_plugin_loading_mutex really static (was never
3555           in any header), and use gst_segtrap_is_enabled() instead of
3556           _gst_disable_segtrap.
3557
3558         * gst/gsttrace.c: (_gst_trace_default):
3559           Make local _gst_trace_default static (was never in any header).
3560
3561 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3562
3563         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3564
3565         * win32/common/libgstbase.def:
3566         * win32/common/libgstcontroller.def:
3567         * win32/common/libgstdataprotocol.def:
3568         * win32/common/libgstnet.def:
3569         * win32/common/libgstreamer.def:
3570           Add more missing symbols, remove some duplicates, and sort
3571           as the 'sort' command sorts it (partially fixes #493983).
3572
3573 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3574
3575         * gst/gstelement.c: (gst_element_set_state_func):
3576         Only change the state cookie if a different state was set on the
3577         element. See #492729.
3578
3579 2007-11-06  Tim-Philipp Müller  <tim at centricular dot net>
3580
3581         * gst/gstvalue.c:
3582           Remove unused and uninitialised type variables that were still
3583           exported for some reason (they were never in any header files
3584           though).
3585
3586 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3587
3588         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3589         (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3590         (gst_base_sink_event), (gst_base_sink_get_position_last),
3591         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3592         (gst_base_sink_change_state):
3593         Don't try to report a 0 position when we don't know, return -1 and FALSE
3594         instead. This mostly happens when we are prerolling.
3595         Make sure we can report the right position before we post the ASYNC_DONE
3596         message so that a message handler can query position without races.
3597
3598         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3599         (async_done_handoff), (async_done_func), (send_buffer),
3600         (async_done_eos_func), (gst_sinks_suite):
3601         Add two tests for the above.
3602
3603 2007-11-06  Wim Taymans  <wim.taymans@gmail.com>
3604
3605         * MAINTAINERS:
3606         Update with new email address.
3607
3608         * docs/design/part-TODO.txt:
3609         Add some more info about future pad-block and negotiation changes.
3610
3611         * docs/design/part-buffering.txt:
3612         Add some ideas about buffering reporting.
3613
3614 2007-11-06  Jan Schmidt  <jan.schmidt@sun.com>
3615
3616         * tests/check/gst/gstobject.c:
3617         Disable silly racy test that always fails on this combination of CPU
3618         and kernel.
3619
3620 2007-11-03  Tim-Philipp Müller  <tim at centricular dot net>
3621
3622         Patch by: Murray Cumming  <murrayc@murrayc.com>
3623
3624         * gst/gstobject.c:
3625           Corrected the registration of the parent-set and parent-unset
3626           signals: The parameter is a GstObject, not a GObject (#493134).
3627
3628 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3629
3630         * gst/gst_private.h:
3631         * gst/gstbuffer.h:
3632         * gst/gstevent.h:
3633         * gst/gstformat.h:
3634         * gst/gstmessage.h:
3635         * gst/gstplugin.h:
3636         * gst/gstquery.h:
3637         * gst/gsttaglist.h:
3638         * gst/gstvalue.h:
3639           Move declaration of private _gst_foo_initialize() functions into
3640           our private header file where they should have been all along.
3641
3642 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3643
3644         * docs/plugins/gstreamer-plugins-sections.txt:
3645         * gst/gstdebugutils.h:
3646         * gst/gstxml.h:
3647         * plugins/elements/gstqueue.c:
3648           gtk-doc fixes; trailing-comma-in-enum fix.
3649
3650 2007-11-02  Tim-Philipp Müller  <tim at centricular dot net>
3651
3652         * gst/gst.c: (gst_deinit):
3653           Clean up on deinit (not the external ones though, doesn't seem to be
3654           needed for some reason).
3655
3656 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3657
3658         * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3659           Remove __declspec(dllimport) for MSVC that was copied over into core
3660           from a plugin, obviously without ever having been tested (note the
3661           single underscore in _declspec in the initial commit), and that doesn't
3662           really make sense.  See #492077.
3663
3664 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3665
3666         * gst/gst.c: (init_post):
3667         * gst/gstevent.c: (_gst_event_initialize):
3668         * gst/gstquery.c: (_gst_query_initialize):
3669         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3670           g_type_class_ref() other types as well, see #349410 and #64764.
3671
3672         * gst/gstbuffer.c: (_gst_buffer_initialize):
3673         * gst/gstmessage.c: (_gst_message_initialize):
3674           Simplify existing g_type_class_ref().
3675
3676 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3677
3678         * gst/gstformat.c: (_gst_format_initialize):
3679           g_type_class_ref() our GstFormat type to make sure we avoid the
3680           thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3681           bug #64764. Should fix intermittent tee unit test failures (#474823).
3682
3683 2007-11-01  Tim-Philipp Müller  <tim at centricular dot net>
3684
3685         * tests/check/elements/tee.c: (test_num_buffers):
3686           Simplify, simplify, simplify - or not.  Rewrite unit test
3687           not to use gst_parse_launch(); allow N sub-streams. Increasing
3688           the number of sub-streams seems to reproduce #474823 more easily.
3689
3690 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3691
3692         Patch by: Ole André Vadla Ravnås  <ole.andre.ravnas@tandberg.com>
3693
3694         * gst/gsttrace.c:
3695         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3696         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3697         * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3698           Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3699           starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3700           so use _pipe() directly (#492077).
3701
3702         * win32/common/dirent.c: (_treaddir):
3703           Add a couple of casts to make it build without warnings with MSVC.
3704
3705         * win32/common/libgstreamer.def:
3706           Add some more symbols that need to be exported.
3707
3708 2007-10-31  Tim-Philipp Müller  <tim at centricular dot net>
3709
3710         * tests/examples/metadata/read-metadata.c: (message_loop):
3711           Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3712           arriving in a second or third tag message are added to
3713           the tag list as well.
3714
3715 2007-10-31  Stefan Kost  <ensonic@users.sf.net>
3716
3717         * libs/gst/base/gstbasesrc.c:
3718           Its "Since:" and not "@Since:". And remove an superflous cast.
3719
3720 2007-10-30  Wim Taymans  <wim.taymans@gmail.com>
3721
3722         * docs/libs/gstreamer-libs-sections.txt:
3723         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3724         (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3725         (gst_base_sink_get_property), (gst_base_sink_render_object),
3726         (gst_base_sink_preroll_object),
3727         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3728         (gst_base_sink_change_state):
3729         * libs/gst/base/gstbasesink.h:
3730         Add a new last-buffer property that contains the last buffer used in
3731         basesink for preroll or rendering. useful for making snapshots.
3732         API: gst_base_sink_get_last_buffer()
3733         API: GstBaseSink::last-buffer
3734
3735 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3736
3737         * docs/gst/running.xml:
3738         * gst/gst.c:
3739         * gst/gstdebugutils.c:
3740         * gst/gstdebugutils.h:
3741         * tools/gst-launch.c:
3742           Improve bin graph dumping, by using the envvar to specify a path.
3743           Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3744
3745 2007-10-29  Tim-Philipp Müller  <tim at centricular dot net>
3746
3747         * plugins/elements/gsttypefindelement.c:
3748           (gst_type_find_element_handle_event),
3749           (gst_type_find_element_activate):
3750           Post special error message if we can't determine the type of a stream
3751           because it's empty.
3752
3753 2007-10-29  Stefan Kost  <ensonic@users.sf.net>
3754
3755         * docs/gst/running.xml:
3756         * gst/gstdebugutils.c:
3757           Document new env-var. Add one log-line after dumpng a graph.
3758
3759 2007-10-26  Tim-Philipp Müller  <tim at centricular dot net>
3760
3761         * configure.ac:
3762           Ugly hack to put the (recently removed and non-portable, apparently)
3763           -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3764           GNU ld, because without that 'make check' fails miserably on my debian
3765           stable box.  Someone with more knowledge of linker intricacies and
3766           portability issues than me fix this properly please.
3767
3768 2007-10-25  Wim Taymans  <wim.taymans@gmail.com>
3769
3770         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3771         Reset last seen position after flushing so that we don't report the old
3772         position anymore.
3773
3774 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3775
3776         * gst/gstelementfactory.c: (gst_element_register):
3777         * gst/gsturi.h:
3778         Patch from Alessandro Decina adding get_type_full and
3779         get_protocols_full private vfuncs to the URIHandler interface
3780         to allow bindings to support creating URI handlers. 
3781         Partially fixes: #339279
3782         API: GstURIHandlerInterface::get_type_full
3783         API: GstURIHandlerInterface::get_protocols_full
3784
3785 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3786
3787         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3788         (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3789         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3790         Make it so that pads are considered linked until a buffer is pushed
3791         and discovered otherwise. This avoids problems with decodebin2 hanging
3792         after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3793         case.
3794
3795         Make sure we lock the multiqueue when updating the max-size properties.
3796         
3797         Fix a crash on Solaris in a debug statement in get_request_pad that
3798         passes a NULL string to GST_DEBUG. 
3799
3800         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3801         (run_output_order_test):
3802         Fix the test to allow the first buffer on not-linked pads to come out
3803         of sequence while multiqueue discovers that they are not-linked.
3804
3805 2007-10-25  Jan Schmidt  <Jan.Schmidt@sun.com>
3806
3807         * configure.ac:
3808         * libs/gst/check/Makefile.am:
3809         Use a custom export symbol regex for libgstcheck, as it needs
3810         to export symbols that don't match the standard GStreamer gst_*
3811         pattern, and  --export-dynamic is not portable (only works on 
3812         GNU ld)
3813
3814         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3815         (gst_check_setup_sink_pad):
3816         Make sure to pass a message parameter to the fail_* macros.
3817
3818         * tests/check/gst/gstinfo.c: (GST_START_TEST):
3819         Fix some compiler warnings.
3820
3821 2007-10-25  Tim-Philipp Müller  <tim at centricular dot net>
3822
3823         * tests/check/gst/gststructure.c: (test_to_string):
3824           Disable test that checks that white spaces are not allowed
3825           in structure names or field names, since we need to
3826           support that for now for backwards compatibility reasons.
3827
3828 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
3829
3830         * docs/gst/gstreamer-sections.txt:
3831         * gst/gsttaglist.c:
3832         * gst/gsttaglist.h:
3833           API: add GST_TAG_ARTIST_SORTNAME
3834           API: add GST_TAG_ALBUM_SORTNAME
3835           API: add GST_TAG_TITLE_SORTNAME
3836           Add tag variants for sorting (#414539).
3837
3838 2007-10-24  Tim-Philipp Müller  <tim at centricular dot net>
3839
3840         * gst/gststructure.c:
3841           Also allow white space for names so we don't break
3842           backwards compatibility.
3843
3844 2007-10-22  Wim Taymans  <wim.taymans@gmail.com>
3845
3846         * docs/design/part-TODO.txt:
3847         * docs/design/part-segments.txt:
3848         * docs/design/part-streams.txt:
3849         Small updates.
3850
3851 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
3852
3853         * docs/gst/gstreamer-sections.txt:
3854          Fixed documentation from my previous commit (added new API add
3855          gst_value_set_structure(), add gst_value_get_structure() and
3856          GST_VALUE_HOLDS_STRUCTURE).
3857
3858 2007-10-22  Stefan Kost  <ensonic@users.sf.net>
3859
3860         * gst/gstdebugutils.c:
3861           Reflow code to fix uninitialized variable warning.
3862
3863 2007-10-22  Edgard Lima  <edgard.lima@indt.org.br>
3864
3865         * gst/gstcaps.c: (gst_caps_to_string),
3866         (gst_caps_from_string_inplace):
3867         * gst/gststructure.c: (gst_structure_get_abbrs),
3868         (gst_structure_to_string), (gst_structure_from_string):
3869         * gst/gstvalue.c: (gst_value_set_structure),
3870         (gst_value_get_structure), (gst_value_serialize_structure),
3871         (gst_value_deserialize_structure), (_gst_value_initialize):
3872         * gst/gstvalue.h:
3873         * tests/check/gst/gststructure.c: (GST_START_TEST),
3874         (gst_structure_suite):
3875         * tests/check/gst/gstvalue.c: (GST_START_TEST):
3876          Added GstStructure to gst_value_table and its related functions.
3877          Changed gst_structure_to_string to print ';' in the end.
3878          Changed gst_caps_to_string to not print ';' beteween its
3879          fields (structures) anymore and remove the lastes ';' from latest
3880          structure. Now it is possible to have nested structures.
3881          In addition, backward compatibilty is assured by accepting '\0' as
3882          end delimiter. Fixes: #487969.
3883          API: add gst_value_set_structure()
3884          API: add gst_value_get_structure()
3885          API: add GST_VALUE_HOLDS_STRUCTURE
3886
3887 2007-10-19  Tim-Philipp Müller  <tim at centricular dot net>
3888
3889         * gst/gstbus.c:
3890           When no GSource callback has been set up, tell developer
3891           to use a function that actually exists.
3892
3893 2007-10-17  Stefan Kost  <ensonic@users.sf.net>
3894
3895         * docs/gst/gstreamer-sections.txt:
3896         * gst/Makefile.am:
3897         * gst/gst.c:
3898         * gst/gst.h:
3899         * gst/gstdebugutils.c:
3900         * gst/gstdebugutils.h:
3901         * gst/gstinfo.c:
3902         * gst/gstinfo.h:
3903         * tools/gst-launch.c:
3904           Allow dumping pipelines as dot graphs. Fixes #456573.
3905
3906 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3907
3908         * gst/gststructure.c:
3909           Allow '+' as well, it can be part of media or mime types
3910           such as image/svg+xml.
3911
3912 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3913
3914         * docs/gst/gstreamer-sections.txt:
3915         * gst/gstbus.c:
3916         * gst/gstbus.h:
3917           API: add gst_bus_pop_filtered
3918           API: add gst_bus_timed_pop_filtered
3919           Two new functions for waiting for specific message types on the
3920           bus for a specified amount of time without iterating any main
3921           loops or main contexts.
3922
3923         * tests/check/gst/gstbus.c:
3924           Some tests for the new functions.
3925
3926 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3927
3928         * docs/libs/gstreamer-libs-sections.txt:
3929           Make gtk-doc ignore stuff it should ignore.
3930
3931 2007-10-16  Tim-Philipp Müller  <tim at centricular dot net>
3932
3933         * libs/gst/check/gstcheck.c:
3934         * libs/gst/check/gstcheck.h:
3935           Allow runtime selection of unit tests to run via the GST_CHECKS
3936           environment variable (test case function names, comma-separated).
3937
3938 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
3939
3940         * gst/gststructure.c:
3941         * tests/check/gst/gststructure.c:
3942           Revert serialisation change and constrain structure-names after
3943           consensus on irc. Update api documentation to reflect the change.
3944
3945 2007-10-16  Stefan Kost  <ensonic@users.sf.net>
3946
3947         * gst/gststructure.c:
3948           Improve serialization and fix tests.
3949
3950         * tests/check/gst/gststructure.c:
3951           Add another test that covers why I actually did the previous structure
3952           change.
3953
3954 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
3955
3956         * tools/gst-inspect.c: (print_element_info):
3957         Don't crash when inspecting an element.
3958
3959 2007-10-15  Tim-Philipp Müller  <tim at centricular dot net>
3960
3961         * tests/check/gst/gststructure.c:
3962           Add unit test for escaping of structure name when serialising
3963           and deserialising to/from strings.
3964
3965 2007-10-15  Wim Taymans  <wim.taymans@gmail.com>
3966
3967         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3968         (gst_single_queue_new):
3969         * plugins/elements/gstqueue.c: (gst_queue_init),
3970         (gst_queue_push_one):
3971         Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
3972         upstream is tricked into thinking it can suggest a format downstream
3973         while downstream does not support that format. The real problem is that
3974         core calls acceptcaps when pushing a buffer with new caps, for which we
3975         do a little workaround by setting the caps on the srcpad ourselves
3976         before pushing the buffer (until this is figured out). Fixes #486758.
3977
3978 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
3979
3980         * gst/gststructure.c:
3981         * gst/gstvalue.c:
3982           Add some more comments and debug output. Quote structure name to fix
3983           deserialisation of some strings.
3984
3985 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
3986
3987         * gst/gstbuffer.h:
3988           Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
3989           on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
3990
3991 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
3992
3993         * tools/gst-inspect.c:
3994           Save approx. 400 1 byte allocs when printing. Use API to acces element
3995           details.
3996
3997         * tools/gst-run.c:
3998           Avoid a strdup.
3999
4000         * tools/gst-xmlinspect.c:
4001           Use API to acces element details.
4002
4003 2007-10-15  Stefan Kost  <ensonic@users.sf.net>
4004
4005         * gst/gstinfo.c:
4006           Fix some spelling errors.
4007
4008 2007-10-14  Wim Taymans  <wim.taymans@gmail.com>
4009
4010         * gst/gstbin.c: (bin_handle_async_done):
4011         Correctly set the next state if all of our async children commited their
4012         state. This makes sure we can actually cancel the state change in
4013         progress. Fixes a regression in Rhythmbox when seeking.
4014
4015 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4016
4017         * gst/gstbin.c:
4018           Don't shadow local variable.
4019
4020         * gst/gstinfo.c:
4021           Don't shadow global function name.
4022
4023 2007-10-13  Tim-Philipp Müller  <tim at centricular dot net>
4024
4025         * gst/gstelementfactory.c:
4026         * gst/gstpluginfeature.c:
4027         * gst/gstpluginfeature.h:
4028         * gst/gstregistrybinary.c:
4029         * gst/gstregistryxml.c:
4030         * gst/gsttypefind.c:
4031           Use already-interned string for the private GstPluginFeature
4032           plugin_name field.
4033
4034 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4035
4036         * docs/libs/gstreamer-libs-sections.txt:
4037           Add new API to docs; fixes the build.
4038
4039 2007-10-10  Wim Taymans  <wim.taymans@gmail.com>
4040         
4041         Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4042
4043         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4044         (gst_base_sink_event):
4045         * libs/gst/base/gstbasesink.h:
4046         Add function to wait for EOS, subclasses can use this to correctly wait
4047         for devices to drain before performing the EOS logic. Fixes #485343.
4048         API: gst_base_sink_wait_eos()
4049
4050 2007-10-10  Tim-Philipp Müller  <tim at centricular dot net>
4051
4052         * gst/gstplugin.h:
4053           Cast description string constants in GST_PLUGIN_DEFINE macros
4054           to a (gchar*) to make C++ code using these macros compile
4055           without warning with g++-4.2 (see #462737).  Even if slightly
4056           ugly, this seems preferable to putting the description strings
4057           into the GLib quark table or making the structure member a
4058           const gchar * and doing casts in core code that allocs and
4059           frees these strings, or requiring a cast in the C++ code.
4060
4061 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4062
4063         * gst/gstinfo.h:
4064           Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4065           to print the entire class/function signature into the log
4066           file for C++ code.  This only affects C++ code, for C code
4067           everything remains the same.
4068
4069 2007-10-09  Wim Taymans  <wim.taymans@gmail.com>
4070
4071         * gst/gstbin.c: (remove_from_queue):
4072         Work around a problem with pipelines containing (semi)loops until a
4073         proper, more complicated solution is ready. See #475455.
4074
4075 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4076
4077         * gst/gstplugin.c:
4078         * gst/gstplugin.h:
4079         * gst/gstregistrybinary.c:
4080         * gst/gstregistryxml.c:
4081           Put more strings into the GLib quark table. No need to keep
4082           a hundred-something copies of identical version strings,
4083           license strings, package name strings and package origin
4084           strings around. 
4085
4086 2007-10-09  Tim-Philipp Müller  <tim at centricular dot net>
4087
4088         * docs/manual/advanced-dataaccess.xml:
4089           Don't imply that it's okay to unconditionally change
4090           buffer data or buffer metadata in a pad probe callback,
4091           and a bunch of other comments. Fixes #430031.
4092
4093 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4094
4095         * win32/common/gstenumtypes.c:
4096         * win32/common/gstenumtypes.h:
4097         * win32/common/gstversion.h:
4098           Update generated files.
4099
4100 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4101
4102         * docs/manual/advanced-autoplugging.xml:
4103           Prefix section with broken code with a warning (see #342432).
4104
4105 2007-10-08  Tim-Philipp Müller  <tim at centricular dot net>
4106
4107         * docs/manual/appendix-integration.xml:
4108         * docs/manual/basics-init.xml:
4109           Call g_thread_init() before g_option_context_new() to
4110           avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4111
4112 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4113
4114         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4115         (gst_base_sink_queue_object_unlocked),
4116         (gst_base_sink_queue_object), (gst_base_sink_event),
4117         (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4118         When we received EOS and are waiting for when to post the EOS message,
4119         our state is prerolled and we should not return ASYNC.
4120         Reorganize some code paths to implement this behavior.
4121
4122         * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4123         (gst_sinks_suite):
4124         Add unit test to verify above EOS fix.
4125
4126 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4127
4128         * plugins/elements/gsttypefindelement.c:
4129         (gst_type_find_element_have_type), (gst_type_find_element_init),
4130         (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4131         Move detecting the input caps of the sinkpad to the setcaps function.
4132         This allows us to update the output caps when we receive new input caps
4133         instead of always using the first detected caps.
4134
4135 2007-10-08  Wim Taymans  <wim.taymans@gmail.com>
4136
4137         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4138         (gst_base_sink_get_position):
4139         Don't try to preroll non-async elements after a flush.
4140         Subtract latency form clock times when reporting position.
4141
4142 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4143
4144         * gst/gstpad.c: (gst_pad_pause_task):
4145         * gst/gstutils.c:
4146         Small comment and documentation update.
4147
4148 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4149
4150         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4151         (gst_base_src_set_live), (gst_base_src_is_live),
4152         (gst_base_src_query_latency), (gst_base_src_perform_seek),
4153         (gst_base_src_default_event), (gst_base_src_wait),
4154         (gst_base_src_do_sync), (gst_base_src_get_range),
4155         (gst_base_src_pad_get_range), (gst_base_src_loop),
4156         (gst_base_src_unlock), (gst_base_src_unlock_stop),
4157         (gst_base_src_set_flushing), (gst_base_src_set_playing),
4158         (gst_base_src_activate_push), (gst_base_src_activate_pull),
4159         (gst_base_src_change_state):
4160         Rework the locking of basesrc in a similar fashion to basesink. We
4161         basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4162         us to handle live sources and semi live ones much better.
4163         Simplify flushing.
4164         Fix unlocking when seeking, shutting down and pausing in live sources.
4165
4166 2007-10-05  Wim Taymans  <wim.taymans@gmail.com>
4167
4168         * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4169         Fix compilation again.
4170
4171 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4172
4173         * gst/gstelement.c:
4174           Use meaningful categories for the logs to clean the default one.
4175
4176 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4177
4178         * tests/check/pipelines/cleanup.c:
4179           Print message name and not just number.
4180
4181 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4182
4183         * docs/design/draft-tagreading.txt:
4184           Add some more thoughts.
4185
4186 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4187
4188         * tests/check/pipelines/simple-launch-lines.c:
4189           Print message name and not just number.
4190
4191 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4192
4193         * libs/gst/base/gsttypefindhelper.c:
4194           Speedup typefinding. This is work in progress (see #459862).
4195
4196 2007-10-03  Stefan Kost  <ensonic@users.sf.net>
4197
4198         * gst/gstplugin.c:
4199           Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4200           Spotted by Josep Torra Valles <josep@fluendo.com>.
4201
4202 2007-10-03  Tim-Philipp Müller  <tim at centricular dot net>
4203
4204         * gst/gstclock.h:
4205           Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4206           field has moved to GstObject.
4207
4208 2007-10-02  Wim Taymans  <wim.taymans@gmail.com>
4209
4210         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4211         (gst_base_src_get_range), (gst_base_src_change_state):
4212         Call unlock for live sources so that they can't get stuck in _create and
4213         produce a buffer before they are set back to PLAYING.
4214
4215 2007-10-02  Edward Hervey  <bilboed@bilboed.com>
4216
4217         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4218         (gst_queue_locked_dequeue):
4219         Comment the segment-related code... in the PROPER function.
4220         See #482147 and my commit from yesterday.
4221
4222 2007-10-01  Wim Taymans  <wim.taymans@gmail.com>
4223
4224         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4225         Also initialize the counter that calculates the first timestamp on a
4226         buffer correctly for non-live sources.
4227
4228 2007-10-01  Edward Hervey  <bilboed@bilboed.com>
4229
4230         * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4231         Disable code that's breaking the current-time-level reporting.
4232         See #482147
4233
4234 2007-09-30  Sebastian Dröge  <slomo@circular-chaos.org>
4235
4236         * docs/gst/gstreamer-sections.txt:
4237         Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4238         as they shouldn't show up. Fixes the docs build.
4239
4240 2007-09-29  Sebastien Moutte  <sebastien@moutte.net>
4241         
4242         * gst/gstinfo.h:
4243         Add an explicit variable importation needed on VS6 (only for MSC_VER)
4244         Define M_PI which is used in files which are including gstinfo.h. 
4245         VS6 includes doesn't define it.
4246         * win32/common/libgstbase.def:
4247         * win32/common/libgstcontroller.def:
4248         * win32/common/libgstreamer.def:
4249         Add new exported functions and variables.
4250         * win32/vs6/libgstcontroller.dsp:
4251         * win32/vs6/libgstreamer.dsp:
4252         Update the list of files to build.
4253         
4254 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4255
4256         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4257
4258         * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4259         (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4260         (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4261         Improve debugging. Fixes #480858.
4262
4263 2007-09-28  Wim Taymans  <wim.taymans@gmail.com>
4264
4265         Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4266
4267         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4268         First patch of code cleanups, use the macros and right arguments in the
4269         macros to signal and lock the queue. See #480858.
4270
4271 2007-09-26  Wim Taymans  <wim.taymans@gmail.com>
4272
4273         * gst/gstbus.c: (poll_func):
4274         Improve debugging when dealing with _poll().
4275
4276 2007-09-26  Tim-Philipp Müller  <tim at centricular dot net>
4277
4278         * gst/gstregistryxml.c:
4279           Fix memory leak I introduced a few days ago.
4280
4281 2007-09-26  Michael Smith <msmith@fluendo.com>
4282
4283         * gst/gstbuffer.c: (gst_buffer_finalize):
4284           Make it once again possible to free GstBuffers in the default
4285           build.
4286           The poisoning scribbles on parts of the miniobject we need in
4287           order to free it.
4288           Fixes #480341
4289
4290 2007-09-25  Tim-Philipp Müller  <tim at centricular dot net>
4291
4292         * docs/gst/gstreamer-sections.txt:
4293         * gst/gsttaglist.c:
4294         * gst/gsttaglist.h:
4295         API: add GST_TAG_COMPOSER, fixes #459809.
4296
4297 2007-09-24  Sebastian Dröge  <slomo@circular-chaos.org>
4298
4299         * gst/gstplugin.c:
4300         * gst/gstplugin.h:
4301         Add the 3-clause BSD license and the MIT/X11 license to the license
4302         list. Fixes #479784.
4303
4304 2007-09-24  Tim-Philipp Müller  <tim at centricular dot net>
4305
4306         * docs/faq/getting.xml:
4307           Add Q+A about different GStreamer versions (#364056).
4308
4309 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4310
4311         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4312         (gst_base_sink_event), (gst_base_sink_change_state):
4313         Return correct gboolean from query function.
4314
4315 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4316
4317         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4318         (gst_base_sink_event), (gst_base_sink_query),
4319         (gst_base_sink_change_state):
4320         Simplify latency query.
4321         When not synchronizing, we can report latency without querying the peer
4322         element.
4323
4324 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4325
4326         * gst/gstobject.h:
4327         * gst/gstvalue.c:
4328         Fix small typos in the docs.
4329
4330 2007-09-24  Wim Taymans  <wim.taymans@gmail.com>
4331
4332         * docs/design/draft-latency.txt:
4333         * docs/design/draft-push-pull.txt:
4334         * docs/design/draft-tagreading.txt:
4335         * docs/design/part-MT-refcounting.txt:
4336         * docs/design/part-activation.txt:
4337         * docs/design/part-block.txt:
4338         * docs/design/part-element-source.txt:
4339         * docs/design/part-events.txt:
4340         * docs/design/part-gstbin.txt:
4341         * docs/design/part-gstelement.txt:
4342         * docs/design/part-gstobject.txt:
4343         * docs/design/part-gstpipeline.txt:
4344         * docs/design/part-messages.txt:
4345         * docs/design/part-preroll.txt:
4346         * docs/design/part-push-pull.txt:
4347         * docs/design/part-qos.txt:
4348         * docs/design/part-query.txt:
4349         * docs/design/part-scheduling.txt:
4350         * docs/design/part-seeking.txt:
4351         * docs/design/part-segments.txt:
4352         * docs/design/part-states.txt:
4353         Documentation updates and typo fixes.
4354
4355 2007-09-23  Tim-Philipp Müller  <tim at centricular dot net>
4356
4357         * plugins/elements/gstfakesink.c:
4358           Add some debug text to error message to indicate that
4359           we errored out on request.
4360
4361         * tools/gst-launch.c:
4362           When the state change to PLAYING fails, check for an
4363           error message on the bus and print it.
4364
4365 2007-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
4366
4367         translated by: Jorge González González <aloriel@gmail.com>
4368
4369         * po/LINGUAS:
4370         * po/es.po:
4371           Added Spanish translation.
4372
4373 2007-09-21  Wim Taymans  <wim.taymans@gmail.com>
4374
4375         * plugins/elements/gstqueue.c: (gst_queue_push_one):
4376         Fix printf arguments.
4377
4378 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4379
4380         * tests/check/generic/states.c:
4381           Improved state change unit test.
4382
4383 2007-09-20  Stefan Kost  <ensonic@users.sf.net>
4384
4385         * gst/gstbin.h:
4386           Move priv to the right place.
4387
4388         * gst/gstsystemclock.c:
4389           Add FIXME: and improve log.
4390
4391         * tests/check/Makefile.am:
4392         * tests/examples/manual/Makefile.am:
4393           Work with all types of registries.
4394
4395 2007-09-19  Wim Taymans  <wim.taymans@gmail.com>
4396
4397         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4398         Don't unref the event after pushing it. Fixes #478401.
4399
4400 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4401
4402         * .cvsignore:
4403         * tests/examples/manual/.cvsignore:
4404           Ignore registries in any format.
4405
4406 2007-09-19  Tim-Philipp Müller  <tim at centricular dot net>
4407
4408         * gst/glib-compat-private.h:
4409           Add compatibility macro for g_intern_string() for
4410           GLib-2.8 (any reason we can't just bump the
4411           requirement to at least 2.10?)
4412
4413         * gst/gstpadtemplate.h:
4414         * gst/gstelementfactory.c:
4415         * gst/gstregistryxml.c:
4416         * gst/gstregistrybinary.c:
4417           Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4418           up the internal code accordingly.  This shouldn't be a problem, since
4419           there is no reason external code could ever assume the string in such
4420           a structure is dynamically allocated unless it did that itself;  the
4421           use of g_strdup() is private to element factories.  The new code also
4422           saves some memory by putting pad template name strings into the GLib
4423           quark table instead of allocating them dynamically.
4424           Declaring this field constant fixes warnings with g++-4.2 when using
4425           the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4426
4427 2007-09-19  Stefan Kost  <ensonic@users.sf.net>
4428
4429         * gst/gstelementfactory.c:
4430           Release static caps. Fixes #475723.
4431
4432 2007-09-18  Tim-Philipp Müller  <tim at centricular dot net>
4433
4434         * gst/gstinfo.c:
4435         * gst/gstinfo.h:
4436           Make some internal API take const gchar * instead of just
4437           gchar * to avoid compiler warnings with g++-4.2.2 when
4438           passing string constants (partially fixes #478092).
4439
4440 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4441
4442         * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4443         A latency query fails when one of the sinks fail.
4444
4445         * gst/gstelement.c: (gst_element_set_base_time):
4446         Improve debugging.
4447
4448 2007-09-17  Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4449
4450         * gst/gstbin.c: (gst_bin_continue_func):
4451         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4452         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4453         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4454
4455         Fix minor compilation warnings shown with Forte.
4456
4457 2007-09-17  Wim Taymans  <wim.taymans@gmail.com>
4458
4459         * plugins/elements/gstqueue.c: (apply_buffer),
4460         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4461         Measure queue level based on the diff between head and tail timestamps
4462         even when pushing the first buffer.
4463
4464 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4465
4466         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4467         (gst_base_sink_event), (gst_base_sink_change_state):
4468         Sinks that don't preroll can always be queried for the latency.
4469         Don't post ASYNC start when we are not async.
4470
4471 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4472
4473         * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4474         (gst_queue_handle_sink_event), (gst_queue_chain),
4475         (gst_queue_push_one), (gst_queue_handle_src_query),
4476         (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4477         * plugins/elements/gstqueue.h:
4478         When downstream returns UNEXPECTED from pushing a buffer, don't try to
4479         push more buffers but allow pushing of EOS and NEWSEGMENT.
4480         Add some more debug info here and there. Fixes #476514.
4481
4482 2007-09-14  Wim Taymans  <wim.taymans@gmail.com>
4483
4484         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4485         (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4486         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4487         (gst_base_sink_set_flushing), (gst_base_sink_query),
4488         (gst_base_sink_change_state):
4489         Latency query is allowed after we are prerolled. Introduce a new flag
4490         for this and stop abusing other variables.
4491
4492 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4493
4494         * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4495         Push OOB events downstream when we get them in send_event. This allows
4496         the application to insert events in the pipeline.
4497         Add some more comments.
4498
4499 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4500
4501         * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4502         (do_bin_latency), (gst_bin_change_state_func):
4503         * gst/gstpipeline.c: (gst_pipeline_change_state):
4504         Move latency query from GstPipeline to GstBin so that we can also
4505         use it when async-handling is enabled on bins.
4506
4507 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4508
4509         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4510         (gst_base_src_do_sync), (gst_base_src_change_state):
4511         Update docs.
4512         Clean up the timestamping and syncing code for pseudo live sources.
4513
4514 2007-09-13  Tim-Philipp Müller  <tim at centricular dot net>
4515
4516         Patch by: Steve Fink  <sphink gmail com>
4517
4518         * docs/manual/appendix-checklist.xml:
4519           Mention less -R switch in the section about debug output (#474055).
4520
4521 2007-09-13  Wim Taymans  <wim.taymans@gmail.com>
4522
4523         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4524         Queue can latency to the pipeline up to the configured max size in time.
4525         Report this fact in the latency query.
4526
4527 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4528
4529         Patch by: Sebastien Moutte <sebastien at moutte dot net>
4530
4531         * libs/gst/controller/gstinterpolation.c:
4532         * libs/gst/controller/gstlfocontrolsource.c:
4533         Use gst_guint64_to_gdouble() when converting from a uint64 or
4534         GstClockTime to double to fix the build on win32. Fixes #474371.
4535
4536 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4537
4538         * gst/gstbuffer.c: (gst_buffer_finalize):
4539         Implement poisoning for GstBuffer if --enable-poisoning is specified.
4540         When finalizing a buffer the complete struct is filled with 0xff,
4541         thus making a use of the buffer after the final unref impossible.
4542
4543 2007-09-13  Sebastian Dröge  <slomo@circular-chaos.org>
4544
4545         * tests/check/libs/controller.c: (GST_START_TEST):
4546         Use fail_unless_equals_int(a, b) instead of
4547         fail_unless_equals (a == b) to get better output on failures.
4548
4549 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4550
4551         * tests/check/gst/gsturi.c:
4552           Also check for the other file URI variant on win32.
4553
4554 2007-09-12  Tim-Philipp Müller  <tim at centricular dot net>
4555
4556         * gst/gsturi.c: (gst_uri_get_location):
4557           If there's no hostname, we want to return 'c:/foo/bar.txt'
4558           and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4559
4560         * tests/check/gst/gsturi.c:
4561           Unit test for the above and a few more things.
4562
4563 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4564
4565         * docs/design/part-live-source.txt:
4566         Add docs on how live sources should timestamp.
4567
4568         * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4569         Add some more debug info.
4570         For subclasses that are live and like to sync, add aditional startup
4571         latency to sync time and timestamps so that we timstamp according to the
4572         design doc.
4573
4574 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4575
4576         * gst/gstbuffer.c:
4577           Also do a g_type_class_ref() for the subbuffer type in
4578           the init function.
4579
4580 2007-09-11  Wim Taymans  <wim.taymans@gmail.com>
4581
4582         * docs/gst/gstreamer-sections.txt:
4583         * gst/gstpad.c: (gst_pad_peer_query):
4584         * gst/gstpad.h:
4585         Add function to perform a query on the peer of a pad.
4586         API: gst_pad_peer_query()
4587
4588 2007-09-11  Stefan Kost  <ensonic@users.sf.net>
4589
4590         * tests/check/gst/gstsystemclock.c:
4591           Cleanup the test a little (use gst-logging and not g_message). Improve
4592           test to check if a wait reached the target.
4593
4594 2007-09-11  Tim-Philipp Müller  <tim at centricular dot net>
4595
4596         * docs/libs/gstreamer-libs-sections.txt:
4597           Add new API to docs and fix the build.
4598
4599 2007-09-10  Wim Taymans  <wim.taymans@gmail.com>
4600
4601         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4602         (gst_base_src_init), (gst_base_src_set_do_timestamp),
4603         (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4604         (gst_base_src_get_property), (gst_base_src_do_sync):
4605         * libs/gst/base/gstbasesrc.h:
4606         Add property to make the basesrc timestamp buffers based on the current
4607         running time.
4608         API: GstBaseSrc::do-timestamp
4609         API: gst_base_src_set_do_timestamp()
4610         API: gst_base_src_get_do_timestamp()
4611
4612 2007-09-08  Tim-Philipp Müller  <tim at centricular dot net>
4613
4614         * docs/random/release:
4615           Really make sure translations are up-to-date before
4616           a release (#465010).
4617
4618 2007-09-07  Sebastian Dröge  <slomo@circular-chaos.org>
4619
4620         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4621         Always destroy the timer, also in error cases.
4622
4623 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4624
4625         * docs/manual/highlevel-xml.xml:
4626         Fix XML example code. Fixes #472714.
4627
4628 2007-09-05  Wim Taymans  <wim.taymans@gmail.com>
4629
4630         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4631         (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4632         (gst_base_sink_query):
4633         Protect eos and have_preroll with the OBJECT lock so we don't need to
4634         take the PREROLL lock when querying the latency. Fixes #473846.
4635
4636 2007-09-05  Stefan Kost  <ensonic@users.sf.net>
4637
4638         * gst/gstelement.c:
4639           Give some log-messages a category.
4640
4641 2007-09-04  Wim Taymans  <wim.taymans@gmail.com>
4642
4643         * gst/gststructure.c:
4644         (gst_structure_fixate_field_nearest_fraction):
4645         Fix fraction list fixation code. Take the fraction with the smallest
4646         difference with the target instead of the first one in the list.
4647
4648         * tests/check/gst/gststructure.c: (GST_START_TEST),
4649         (gst_structure_suite):
4650         Added test to verify correct fraction list fixation behaviour.
4651
4652 2007-09-02  Tim-Philipp Müller  <tim at centricular dot net>
4653
4654         * win32/common/libgstreamer.def:
4655           Export gst_bus_add_signal_watch too.
4656
4657 2007-08-30  Wim Taymans  <wim.taymans@gmail.com>
4658
4659         * docs/libs/gstreamer-libs-sections.txt:
4660         Add new methods to docs.
4661
4662         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4663         (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4664         (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4665         (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4666         * libs/gst/base/gstbasesink.h:
4667         Add ts-offset property to fine-tune the synchronisation.
4668         API: GstBaseSink::ts-offset property
4669         API: gst_base_sink_set_ts_offset()
4670         API: gst_base_sink_get_ts_offset()
4671
4672 2007-08-29  Wim Taymans  <wim.taymans@gmail.com>
4673
4674         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4675         (gst_base_sink_init), (gst_base_sink_set_sync),
4676         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4677         (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4678         (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4679         (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4680         (gst_base_sink_get_property), (gst_base_sink_change_state):
4681         * libs/gst/base/gstbasesink.h:
4682         Add async property to instruct the sink never to inform the parent about
4683         ASYNC state changes, update docs.
4684         Check argument with g_return_* for the public functions.
4685         API: GstBaseSink::async property
4686         API: gst_base_sink_set_async_enabled()
4687         API: gst_base_sink_is_async_enabled()
4688
4689 2007-08-28  Wim Taymans  <wim.taymans@gmail.com>
4690
4691         * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4692         Improve debugging.
4693
4694         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4695         (gst_base_src_default_query), (gst_base_src_wait),
4696         (gst_base_src_do_sync), (gst_base_src_change_state):
4697         Rearrange some code so that we can add support for measuring the 
4698         startup latency.
4699
4700 2007-08-27  Stefan Kost  <ensonic@users.sf.net>
4701
4702         * docs/random/ensonic/dynlink.txt:
4703           More thoughs on this.
4704
4705         * plugins/elements/gstcapsfilter.c:
4706           Add bugzilla ticket number to FIXME comment.
4707
4708 2007-08-24  Wim Taymans  <wim.taymans@gmail.com>
4709
4710         * docs/design/part-TODO.txt:
4711         * docs/design/part-block.txt:
4712         Update some docs.
4713
4714 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4715
4716         * gst/Makefile.am:
4717           Revert patch which uses $(gst_headers) instead of $^ because it
4718           breaks make dist.
4719
4720 2007-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
4721
4722         * tests/check/gst/gstbin.c: (GST_START_TEST):
4723           Fix leaks in the new unit test.
4724
4725 2007-08-23  Tim-Philipp Müller  <tim at centricular dot net>
4726
4727         * gst/gst.c:
4728           Don't use GST_INFO before the debug system is actually initialised
4729           (shouldn't do any harm, but won't print anything either, so we can
4730           just as well remove it).
4731
4732         * gst/gstinfo.h:
4733           GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4734           compilers that don't support variadic macros (such as MSVC), should
4735           check for debug_level <= __gst_debug_min as well, since that's the
4736           function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4737           inline helper functions. Should improve performance a bit, but also
4738           makes sure uses of GST_INFO et.al are ignored if the debugging
4739           system isn't initialised yet (instead of printing an assertion
4740           failure).
4741
4742 2007-08-23  Stefan Kost  <ensonic@users.sf.net>
4743
4744         patch by: David Nečas <yeti@physics.muni.cz>
4745
4746         * gst/Makefile.am:
4747           Replace some non portable makefile constructs.
4748
4749 2007-08-21  Stefan Kost  <ensonic@users.sf.net>
4750
4751         * common/gtk-doc-plugins.mak:
4752           Grrrrr. Don't remove the types file on make clean.
4753
4754 2007-08-20  Wim Taymans  <wim.taymans@gmail.com>
4755
4756         * tools/gst-launch.1.in:
4757         Add colorspace to example pipeline. Fixes #458274.
4758
4759 2007-08-20  Tim-Philipp Müller  <tim at centricular dot net>
4760
4761         * docs/random/release:
4762           The release manager should run 'make download-po' before making a
4763           release to make sure translations are up-to-date.
4764
4765         * po/LINGUAS:
4766         * po/be.po:
4767         * po/pl.po:
4768         * po/rw.po:
4769           Add some new translations.
4770
4771 2007-08-17  Wim Taymans  <wim.taymans@gmail.com>
4772
4773         * tools/gst-launch.c: (event_loop), (main):
4774         Don´t try to do any state management when a live pipeline posts
4775         buffering messages.
4776         Also make the buffering string translatable.
4777
4778 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4779
4780         * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4781         (bin_handle_async_start), (gst_bin_handle_message_func):
4782         Improve debugging.
4783         When adding elements, insert messages into the bus of the newly added
4784         element and make sure the element is the source of the message. This
4785         allows the parent bin to intercept the message and do the
4786         right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4787         messages to the app (which is not allowed).
4788         Update some docs.
4789
4790         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4791         Fix testsuite so that is does not work around messages that should not
4792         have been posted in the first place.
4793
4794 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4795
4796         * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4797         (update_degree), (gst_bin_sort_iterator_next):
4798         Fix annoying bug in the sorted iterator where a sink that is not really
4799         a sink (when it has downstream links) screwed up the iterator.
4800
4801         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4802         Unit test to verify the fix.
4803
4804 2007-08-16  Wim Taymans  <wim.taymans@gmail.com>
4805
4806         * gst/gstmessage.h:
4807         Add some more docs for the messages.
4808
4809         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4810         (gst_base_sink_query):
4811         Add some more debugging.
4812
4813         * tools/gst-launch.c: (event_loop):
4814         When interrupting, don't try to set pipeline to PAUSED twice.
4815
4816 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
4817
4818         
4819         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4820         (bin_handle_async_start), (gst_bin_handle_message_func):
4821         Move ASYNC_START message posting to where it belongs, similar to
4822         async_done. 
4823         Don't post ASYNC_START when we are in error. 
4824         Post ASYNC_START when we added an async element to a bin.
4825
4826 2007-08-14  Julien MOUTTE  <julien@moutte.net>
4827
4828         * gst/gstindex.c: (gst_index_add_association): Fix index entry
4829         generation from vargs. Fixes #466595.
4830
4831 2007-08-14  Wim Taymans  <wim.taymans@gmail.com>
4832
4833         * gst/gstbin.c: (gst_bin_element_set_state):
4834         Always change the state of a NO_PREROLL element even if it has ASYNC
4835         elements inside (in case of a bin).
4836
4837         * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4838         Unit test for this case.
4839
4840 2007-08-13  Stefan Kost  <ensonic@users.sf.net>
4841
4842         * libs/gst/check/gstbufferstraw.c:
4843         * libs/gst/check/gstcheck.h:
4844         * libs/gst/controller/gstcontroller.c:
4845         * libs/gst/controller/gstcontrolsource.h:
4846         * libs/gst/controller/gstlfocontrolsource.h:
4847         * plugins/elements/gstcapsfilter.h:
4848         * plugins/elements/gstfdsink.h:
4849         * plugins/elements/gstfdsrc.h:
4850           Add more missing docs.
4851
4852 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4853
4854         * gst/gststructure.c:
4855         Add Since tag to docs.
4856
4857 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4858
4859         * docs/gst/gstreamer-sections.txt:
4860         * gst/gststructure.c: (gst_structure_get_uint):
4861         * gst/gststructure.h:
4862         Add function to get uint from a structure.
4863         API: gst_structure_get_uint()
4864
4865 2007-08-12  Wim Taymans  <wim.taymans@gmail.com>
4866
4867         * gst/gstcaps.c: (gst_caps_set_simple_valist),
4868         (gst_caps_intersect):
4869         Fix proper check for simple caps.
4870
4871 2007-08-10  Stefan Kost  <ensonic@users.sf.net>
4872
4873         * docs/gst/Makefile.am:
4874         * docs/libs/Makefile.am:
4875           Remove cruft and do some cleanups.
4876
4877         * docs/gst/gstreamer-docs.sgml:
4878         * docs/libs/gstreamer-libs-docs.sgml:
4879           Prepare for comming gtkdoc features (rebase against online docs).
4880
4881 2007-08-10  Michael Smith <msmith@fluendo.com>
4882
4883         * docs/gst/gstreamer-sections.txt:
4884           Add gst_registry_add_path to docs.
4885
4886 2007-08-10  Michael Smith <msmith@fluendo.com>
4887
4888         * gst/gstregistry.h:
4889           Add gst_registry_add_path, which was missing from this header.
4890
4891 2007-08-10  Tim-Philipp Müller  <tim at centricular dot net>
4892
4893         * libs/gst/controller/gstlfocontrolsource.c:
4894           Printf format fix.
4895
4896 2007-08-09  Philippe Kalaf <philippe.kalaf@collabora.co.uk>
4897
4898         * libs/gst/base/gstbasesink.c:
4899           Don't send an async_start message during downwards state change if 
4900           target state is less than READY
4901
4902 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4903
4904         translated by: Gabor Kelemen <kelemeng@gnome.hu>
4905
4906         * po/LINGUAS:
4907         * po/hu.po:
4908           Added Hungarian translation.
4909
4910 2007-08-09  Thomas Vander Stichele  <thomas at apestaart dot org>
4911
4912         * po/fi.po:
4913         * po/it.po:
4914         * po/nl.po:
4915         * po/sv.po:
4916         * po/uk.po:
4917           Updated translations.
4918
4919 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
4920
4921         * libs/gst/controller/Makefile.am:
4922         Dist gstlfocontrolsourceprivate.h
4923
4924 2007-08-07  Jan Schmidt  <thaytan@mad.scientist.com>
4925
4926         * docs/libs/gstreamer-libs.types:
4927         Don't register the enum type gst_lfo_waveform_get_type() in the
4928         .types file - only GObject derived types belong.
4929
4930 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
4931
4932         Patch by: <arenevier at fdn dot fr>
4933
4934         * gst/gstbuffer.h:
4935         Remove comma from last element in enum to avoid compile errors when
4936         using -pendantic. Fixes #464366.
4937
4938 2007-08-07  Wim Taymans  <wim.taymans@gmail.com>
4939
4940         * docs/design/part-TODO.txt:
4941         Add some more TODO items
4942
4943         * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
4944         Improve debugging.
4945
4946         * gst/gstcaps.c: (gst_caps_intersect):
4947         Optimize trivial intersection case between identical caps pointers.
4948
4949         * gst/gstelement.c: (gst_element_continue_state),
4950         (gst_element_set_state_func):
4951         * gst/gstpad.c:
4952         Fix spelling and grammar mistakes.
4953
4954 2007-08-05  Stefan Kost  <ensonic@users.sf.net>
4955
4956         * po/POTFILES.in:
4957         * po/POTFILES.skip:
4958           Update POTFILES. Fixes #461599.
4959
4960 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
4961
4962         * gst/gst.c:
4963         Fix confusing typo in debug output.
4964
4965 2007-08-03  Sebastian Dröge  <slomo@circular-chaos.org>
4966
4967         reviewed by: Stefan Kost <ensonic@users.sf.net>
4968
4969         * libs/gst/controller/Makefile.am:
4970         * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
4971         (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
4972         (gst_lfo_control_source_new),
4973         (gst_lfo_control_source_set_waveform),
4974         (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
4975         (gst_lfo_control_source_finalize),
4976         (gst_lfo_control_source_dispose),
4977         (gst_lfo_control_source_set_property),
4978         (gst_lfo_control_source_get_property),
4979         (gst_lfo_control_source_class_init):
4980         * libs/gst/controller/gstlfocontrolsource.h:
4981         * libs/gst/controller/gstlfocontrolsourceprivate.h:
4982         API: Add GstLFOControlSource, a control source that gives values
4983         for specific timestamps based on several periodic waveforms.
4984         Fixes #459717.
4985
4986         * tests/check/libs/controller.c: (GST_START_TEST),
4987         (gst_controller_suite):
4988         * docs/libs/gstreamer-libs-docs.sgml:
4989         * docs/libs/gstreamer-libs-sections.txt:
4990         * docs/libs/gstreamer-libs.types:
4991         Add documentation and unit tests for GstLFOControlSource.
4992
4993 2007-08-03  Jan Schmidt  <thaytan@mad.scientist.com>
4994
4995         * configure.ac:
4996         Back to CVS
4997
4998 === release 0.10.14 ===
4999
5000 2007-08-03  Jan Schmidt <thaytan@mad.scientist.com>
5001
5002         * configure.ac:
5003           releasing 0.10.14, "Breathing Vacuum"
5004
5005 2007-08-02  Tim-Philipp Müller  <tim at centricular dot net>
5006
5007         * gst/gstelement.c: (gst_element_class_set_details_simple):
5008         * gst/gstelement.h:
5009           Make strings passed to gst_element_class_set_details_simple()
5010           constant, as they should be (#462752).
5011
5012 2007-08-02  Wim Taymans  <wim.taymans@gmail.com>
5013
5014         * gst/gstbin.c: (gst_bin_change_state_func),
5015         (bin_handle_async_done), (gst_bin_handle_message_func):
5016         Don't forget about the fact that some element went ASYNC even after a
5017         resync. This makes us post the ASYNC_DONE message correctly.
5018         Fixes #462558.
5019
5020 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5021
5022         * gst/gstregistry.c: (gst_registry_add_feature):
5023         When replacing an existing feature in the registry, make sure to
5024         continue holding a reference until we've replaced the name string
5025         within our feature hash table. Make sure to use g_hash_table_replace
5026         instead of g_hash_table_insert to ensure the new name string is used
5027         as a key instead of the old one that we're about to free.
5028         Fixes: #462085
5029
5030 2007-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
5031
5032         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5033         (gst_plugin_feature_set_name):
5034         Revert patch from #459466 until after the release and we can work
5035         out exactly what the problem is (if any).
5036
5037 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5038
5039         * docs/gst/gstreamer-sections.txt:
5040         * gst/gsttaglist.c:
5041         * gst/gsttaglist.h:
5042           API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5043
5044 2007-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
5045
5046         * docs/libs/Makefile.am:
5047         Include our build-prefix libs and includes before the generic ones to
5048         avoid linking against the installed libs when we want the build-tree
5049         ones.
5050
5051 2007-07-26  Tim-Philipp Müller  <tim at centricular dot net>
5052
5053         Patch by: Steve Fink  <sphink gmail com>
5054
5055         * docs/pwg/building-testapp.xml:
5056           Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5057           if people try to build or install the example from the plugin
5058           template against a GStreamer from package using the configure
5059           defaults.
5060
5061 2007-07-25  Tim-Philipp Müller  <tim at centricular dot net>
5062
5063         Patch by: Steve Fink  <sphink gmail com>
5064
5065         * tools/gst-inspect.1.in:
5066           Document --print-all and --print-plugin-auto-install-info command
5067           line options in man page.
5068
5069 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5070
5071         * docs/gst/gstreamer-sections.txt:
5072         Add docs for new api function.
5073
5074 2007-07-25  Wim Taymans  <wim.taymans@gmail.com>
5075
5076         * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5077         * gst/gstelementfactory.h:
5078         API: gst_element_factory_has_interface()
5079         Added method to check if an element factory implements a named
5080         interface.
5081
5082 2007-07-25  Stefan Kost  <ensonic@users.sf.net>
5083
5084         * configure.ac:
5085         * docs/gst/gstreamer.types.in:
5086           Another conditional doc check.
5087
5088         * gst/gstmessage.c:
5089         * gst/gstparamspecs.h:
5090         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5091         * gst/gstvalue.c:
5092         * gst/gstxml.h:
5093           API-doc fixes.
5094
5095 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5096
5097         * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5098         (gst_registry_binary_load_feature),
5099         (gst_registry_binary_load_plugin),
5100         (gst_registry_binary_read_cache):
5101           Print error just once and with additional info.
5102
5103 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5104
5105         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5106         (helper_find_suggest), (helper_find_get_length),
5107         (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5108         (gst_type_find_helper_for_buffer):
5109           Cleanup the typefindhelper code and add private doc comments.
5110
5111 2007-07-24  Edward Hervey  <bilboed@bilboed.com>
5112
5113         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5114         (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5115         Fix capsfilter for cases where the caps set on capsfilter will provide
5116         additional information.
5117         Fixes #449197
5118
5119 2007-07-24  Stefan Kost  <ensonic@users.sf.net>
5120
5121         * gst/gsttypefindfactory.c:
5122           Fix docs that recommened wrong function to use.
5123
5124 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5125
5126         * tools/gst-inspect.c: (print_plugin_features):
5127           Also give media-type for typefinders in element output.
5128
5129 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5130
5131         * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5132         (gst_registry_remove_features_for_plugin_unlocked),
5133         (gst_registry_add_feature), (gst_registry_remove_feature),
5134         (gst_registry_lookup_feature_locked):
5135         * gst/gstregistry.h:
5136           Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5137           Fixes #459501.
5138
5139 2007-07-23  Stefan Kost  <ensonic@users.sf.net>
5140
5141         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5142         (gst_plugin_feature_set_name):
5143           Avoid double memory usage for pluginfeature names. Fixes #459466.
5144
5145 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5146
5147         * gst/gstpad.h:
5148           Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5149           driving the pipeline may need to explicitly check for NOT_LINKED as
5150           well, since IS_FATAL doesn't cover that.
5151
5152 2007-07-22  Tim-Philipp Müller  <tim at centricular dot net>
5153
5154         * docs/pwg/advanced-types.xml:
5155           Fix typo and duplicate entry in video formats list.
5156
5157 2007-07-22  Sebastian Dröge  <slomo@circular-chaos.org>
5158
5159         * libs/gst/controller/gstinterpolation.c:
5160         Also round to the nearest int when using cubic interpolation.
5161
5162 2007-07-19  Jan Schmidt  <thaytan@noraisin.net>
5163
5164         * libs/gst/controller/gstinterpolation.c:
5165         When linearly interpolating integer types, round to the nearest int
5166         by adding 0.5. Don't do it for float/double types.
5167         Fixes the failing controller test on my machine, which is somehow
5168         rounding differently than on the buildbots.
5169
5170 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5171
5172         * tools/gst-plot-timeline.py:
5173           Better log parsing (categories can have -). Adjust text vs. lines, so
5174           that they span the same y-range.        
5175
5176 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5177
5178         * docs/random/ensonic/audiobaseclasses.txt:
5179         * docs/random/ensonic/dynlink.txt:
5180         * docs/random/ensonic/profiling.txt:
5181           Save my thoughts.
5182
5183         * docs/random/moving-plugins:
5184           Add note to use g_assert type macros.
5185
5186 2007-07-20  Stefan Kost  <ensonic@users.sf.net>
5187
5188         * configure.ac:
5189         * libs/gst/check/Makefile.am:
5190           Add libm check as we use in for plugins.
5191
5192 2007-07-18  Jan Schmidt  <thaytan@noraisin.net>
5193
5194         * gst/gstbin.c: (gst_bin_continue_func):
5195         Check that the state_cookie hasn't changed since the continue_func
5196         was scheduled. Avoids problems where the state changes back to
5197         something it shouldn't be because it was changed in the meantime.
5198
5199 2007-07-17  Stefan Kost  <ensonic@users.sf.net>
5200
5201         * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5202         (gst_registry_binary_save_string),
5203         (gst_registry_binary_save_pad_template),
5204         (gst_registry_binary_save_feature),
5205         (gst_registry_binary_save_plugin),
5206         (gst_registry_binary_load_feature),
5207         (gst_registry_binary_load_plugin),
5208         (gst_registry_binary_read_cache):
5209           Fix memory leak. Be less verbose in the log.
5210
5211 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5212
5213         * tests/check/elements/.cvsignore:
5214         Add file to cvsignore as commanded.
5215
5216 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5217
5218         * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5219         (mq_dummypad_event), (run_output_order_test):
5220         Use a GStaticMutex to protect all cases where libcheck
5221         fail_if/fail_unless macros might be called from multiple threads
5222         simultaneously to avoid errors like:
5223           "check_pack.c:107: :-1081725400:Bad message type arg"
5224
5225 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5226
5227         * tests/check/pipelines/stress.c: (GST_START_TEST):
5228         Make sure we set the pipeline back to the NULL state before
5229         dropping our final reference.
5230
5231 2007-07-16  Jan Schmidt  <thaytan@mad.scientist.com>
5232
5233         * tests/check/elements/tee.c: (GST_START_TEST):
5234         Make the tee stress-test a little less stressful so it doesn't just
5235         time out on slow-machines, and remove a small race when it's starting 
5236         up by adding a get_state() call.
5237
5238 2007-07-16  Stefan Kost  <ensonic@users.sf.net>
5239
5240         * gst/gst.c:
5241           Avoid reading registry twice on startup. Fixes #457322.
5242
5243 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5244
5245         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5246         * pkgconfig/gstreamer-check.pc.in:
5247         Substitute the CFLAGS for libcheck into our .pc file too so that
5248         dependent modules will pick it up properly if libcheck is installed
5249         into some other prefix.
5250
5251 2007-07-13  Jan Schmidt  <thaytan@mad.scientist.com>
5252
5253         * configure.ac:
5254         Revert the pkg-config check for libcheck, since it pulls in the
5255         wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5256         a proper solution, either from the check project, or something else.
5257
5258 2007-07-12  Stefan Kost  <ensonic@users.sf.net>
5259
5260         * configure.ac:
5261           Use pkg-config to locate check.
5262
5263 2007-07-10  Stefan Kost  <ensonic@users.sf.net>
5264
5265         * gst/gsttaglist.c:
5266           Fix doc syntax.
5267
5268         * gst/gstutils.c:
5269         * gst/gstutils.h:
5270           Add deprecation guards.
5271
5272         * libs/gst/base/gstcollectpads.h:
5273           Don't document object (this is implicitly private).
5274
5275 2007-07-08  Tim-Philipp Müller  <tim at centricular dot net>
5276
5277         * gst/gststructure.c: (gst_structure_parse_value):
5278           When deserialising foo=bar without a type cast, check if it's a
5279           boolean before falling back to a string type, otherwise things like
5280           audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5281           because the filtercaps end up having a signed=(string)true field,
5282           which causes problems later when intersection caps.
5283
5284         * tests/check/gst/gststructure.c: (GST_START_TEST):
5285           Add a unit test for this.
5286
5287 2007-07-06  Sebastian Dröge  <slomo@circular-chaos.org>
5288
5289         Reviewed by: Stefan Kost <ensonic@users.sf.net>
5290
5291         * libs/gst/controller/Makefile.am:
5292         * libs/gst/controller/gstcontroller.c:
5293         (gst_controlled_property_add_interpolation_control_source),
5294         (gst_controlled_property_new), (gst_controlled_property_free),
5295         (gst_controller_find_controlled_property),
5296         (gst_controller_new_valist), (gst_controller_new_list),
5297         (gst_controller_new), (gst_controller_remove_properties_valist),
5298         (gst_controller_remove_properties_list),
5299         (gst_controller_remove_properties),
5300         (gst_controller_set_property_disabled),
5301         (gst_controller_set_disabled), (gst_controller_set_control_source),
5302         (gst_controller_get_control_source), (gst_controller_get),
5303         (gst_controller_sync_values), (gst_controller_get_value_array),
5304         (_gst_controller_dispose), (gst_controller_get_type),
5305         (gst_controlled_property_set_interpolation_mode),
5306         (gst_controller_set), (gst_controller_set_from_list),
5307         (gst_controller_unset), (gst_controller_unset_all),
5308         (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5309         * libs/gst/controller/gstcontroller.h:
5310         * libs/gst/controller/gstcontrollerprivate.h:
5311         * libs/gst/controller/gstcontrolsource.c:
5312         (gst_control_source_class_init), (gst_control_source_init),
5313         (gst_control_source_get_value),
5314         (gst_control_source_get_value_array), (gst_control_source_bind):
5315         * libs/gst/controller/gstcontrolsource.h:
5316         * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5317         (gst_object_get_control_source):
5318         * libs/gst/controller/gstinterpolation.c:
5319         (gst_interpolation_control_source_find_control_point_node),
5320         (gst_interpolation_control_source_get_first_value),
5321         (_interpolate_none_get), (interpolate_none_get),
5322         (interpolate_none_get_boolean_value_array),
5323         (interpolate_none_get_enum_value_array),
5324         (interpolate_none_get_string_value_array),
5325         (_interpolate_trigger_get), (interpolate_trigger_get),
5326         (interpolate_trigger_get_boolean_value_array),
5327         (interpolate_trigger_get_enum_value_array),
5328         (interpolate_trigger_get_string_value_array):
5329         * libs/gst/controller/gstinterpolationcontrolsource.c:
5330         (gst_control_point_free), (gst_interpolation_control_source_reset),
5331         (gst_interpolation_control_source_new),
5332         (gst_interpolation_control_source_set_interpolation_mode),
5333         (gst_interpolation_control_source_bind),
5334         (gst_control_point_compare), (gst_control_point_find),
5335         (gst_interpolation_control_source_set_internal),
5336         (gst_interpolation_control_source_set),
5337         (gst_interpolation_control_source_set_from_list),
5338         (gst_interpolation_control_source_unset),
5339         (gst_interpolation_control_source_unset_all),
5340         (gst_interpolation_control_source_get_all),
5341         (gst_interpolation_control_source_get_count),
5342         (gst_interpolation_control_source_init),
5343         (gst_interpolation_control_source_finalize),
5344         (gst_interpolation_control_source_dispose),
5345         (gst_interpolation_control_source_class_init):
5346         * libs/gst/controller/gstinterpolationcontrolsource.h:
5347         * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5348         API: Refactor GstController into the core controller which can take
5349         a GstControlSource for providing actual values for timestamps.
5350         Implement a interpolation control source and use this for backward
5351         compatibility, deprecate a bunch of functions that are now handled
5352         by GstControlSource or GstInterpolationControlSource.
5353         Make it possible to disable the controller completely or only for
5354         specific properties. Fixes #450711.
5355         * docs/libs/gstreamer-libs-docs.sgml:
5356         * docs/libs/gstreamer-libs-sections.txt:
5357         * docs/libs/gstreamer-libs.types:
5358         Add new functions and classes to the docs.
5359         * tests/check/libs/controller.c: (GST_START_TEST),
5360         (gst_controller_suite):
5361         * tests/examples/controller/audio-example.c: (main):
5362         Port unit test and example to the new API and add some new
5363         unit tests.
5364
5365 2007-07-05  Wim Taymans  <wim.taymans@gmail.com>
5366
5367         Patch by: Mark Nauwelaerts <manauw at skynet be>
5368
5369         * plugins/elements/gstmultiqueue.c:
5370         (gst_multi_queue_get_internal_links), (apply_buffer),
5371         (single_queue_overrun_cb), (gst_single_queue_new):
5372         Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5373         the pipeline layout can be tracked correctly. Fixes #453732.
5374
5375 2007-07-05  Stefan Kost  <ensonic@users.sf.net>
5376
5377         * docs/gst/Makefile.am:
5378         * docs/libs/Makefile.am:
5379         * docs/plugins/Makefile.am:
5380           Simplify --extra-dir as gtkdoc scans recursively.
5381
5382 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5383
5384         * tools/gst-launch.c: (main):
5385         When we got an error, there is no point in waiting for preroll when
5386         shutting down.
5387
5388 2007-07-03  Wim Taymans  <wim.taymans@gmail.com>
5389
5390         * plugins/elements/gsttee.c: (gst_tee_base_init),
5391         (gst_tee_request_new_pad), (gst_tee_release_pad),
5392         (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5393         (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5394         (gst_tee_chain):
5395         Be a lot smarter when deciding what srcpad to use for proxying
5396         the buffer_alloc. Also handle pad added/removed when doing so.
5397         Fixes #357959.
5398         Keep track of what pads we already pushed on in case we have pads
5399         added/removed while pushing. Fixes #374639 
5400
5401         * tests/check/Makefile.am:
5402         * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5403         (tee_suite):
5404         Added unit test for pad resync.
5405
5406 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5407
5408         * po/nl.po:
5409         * po/sv.po:
5410           Updated translations.
5411
5412 2007-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
5413
5414         translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5415
5416         * po/LINGUAS:
5417         * po/fi.po:
5418           Added new Finnish translation.
5419
5420 2007-06-28  Wim Taymans  <wim@fluendo.com>
5421
5422         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5423         (single_queue_overrun_cb):
5424         When figuring out when a queue is filled, use our internal time estimate
5425         based on segments, just like check_full does.
5426
5427 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5428
5429         * gst/gstminiobject.c: (gst_mini_object_get_type):
5430           Remove 3 do-nothing methods.
5431
5432 2007-06-27  Wim Taymans  <wim@fluendo.com>
5433
5434         Patch by: Tim Angus <tim at ngus dot net>
5435
5436         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5437         (gst_capsfilter_set_property):
5438         Take a reference instead of a copy when setting "caps".
5439         Fix documentation to clarify this behaviour. Fixes #449414.
5440
5441 2007-06-27  Stefan Kost  <ensonic@users.sf.net>
5442
5443         * gst/gstindexfactory.c: (gst_index_factory_get_type):
5444         * gst/gstplugin.c: (gst_plugin_init):
5445         * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5446         * gst/gstquery.c: (gst_query_get_type):
5447         * gst/gstregistry.c: (gst_registry_init):
5448         * gst/gsturi.c: (gst_uri_handler_base_init):
5449           Remove empty instance_init() functions to save relocs and lessen the
5450           noise. Remove some of the function prototypes that are doubled by
5451           G_DEFINE_TYPE.
5452           
5453 2007-06-27  Wim Taymans  <wim@fluendo.com>
5454
5455         Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5456
5457         * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5458         Add peer and direction in the XML serialisation of ghostpads.
5459         Fixes #449226.
5460
5461 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5462
5463         * configure.ac:
5464           Preserve useful information, thanks Tim.
5465
5466 2007-06-26  Jan Schmidt  <thaytan@noraisin.net>
5467
5468         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5469         (gst_single_queue_flush), (apply_segment), (apply_buffer),
5470         (gst_single_queue_push_one), (gst_multi_queue_loop),
5471         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5472         (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5473         (compute_high_id), (gst_single_queue_new):
5474         * plugins/elements/gstmultiqueue.h:
5475         Take the multiqueue lock when updating the fill level so we don't get
5476         confused. 
5477
5478         After applying a buffer or event on the src pad segment, make sure to
5479         call gst_data_queue_limits_changed() to get the data queue to unblock
5480         and check the filled state again.
5481         
5482         Rework the not-linked pad handling so the logic is that not-linked 
5483         pads can push as fast as they like, but only so they never get 
5484         ahead of any linked pads.
5485
5486         * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5487         (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5488         (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5489
5490         Add a test to check that not-linked pads always stay behind
5491         linked pads.
5492
5493         Fixes: #430682
5494
5495 2007-06-26  Jan Schmidt  <thaytan@mad.scientist.com>
5496
5497         * docs/random/release:
5498           Some updates to the release procedure.
5499
5500 2007-06-26  Stefan Kost  <ensonic@users.sf.net>
5501
5502         * gst/gstelementfactory.c: (__gst_element_details_clear):
5503           Microoptimization that saves stunning 80 bytes.
5504
5505 2007-06-25  Stefan Kost  <ensonic@users.sf.net>
5506
5507         * docs/plugins/gstreamer-plugins.args:
5508         * docs/plugins/inspect/plugin-coreelements.xml:
5509         * docs/plugins/inspect/plugin-coreindexers.xml:
5510           Update docs with caps info.
5511
5512 2007-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
5513
5514         * po/it.po:
5515           Updated Italian translation.
5516
5517 2007-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
5518
5519         * ChangeLog:
5520         * po/vi.po:
5521           Update Vietnamese translations.
5522
5523 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5524
5525         * libs/gst/base/gstbasesink.c:
5526           Remove unused signal enum.
5527
5528 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5529
5530         * docs/gst/gstreamer-sections.txt:
5531         * gst/gstelement.c:
5532         * gst/gstutils.c: (gst_type_register_static_full):
5533         Beef up and include the docs for gst_type_register_static_full and
5534         gst_element_class_set_details_simple and add the API keyword
5535         in the ChangeLog.
5536
5537 2007-06-21  Jan Schmidt  <thaytan@mad.scientist.com>
5538
5539         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5540         (update_time_level), (gst_single_queue_push_one),
5541         (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5542         (single_queue_overrun_cb), (single_queue_underrun_cb),
5543         (single_queue_check_full):
5544         Fix setting max-* properties after adding queues.
5545         Use IS_FILLED for checking visible items.
5546         Signal overrun if multiple queues overrun.
5547         Add extra debug output.
5548         Patch by: Wim Taymans <wim@fluendo.com>
5549
5550 2007-06-21  Stefan Kost  <ensonic@users.sf.net>
5551
5552         * gst/gstelement.c: (gst_element_class_set_details_simple):
5553         * gst/gstelement.h:
5554         * gst/gstutils.c: (gst_type_register_static_full):
5555         * gst/gstutils.h:
5556         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5557         * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5558         * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5559         * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5560         * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5561         * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5562         * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5563         * plugins/elements/gstidentity.c: (gst_identity_base_init):
5564         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5565         * plugins/elements/gstqueue.c: (gst_queue_base_init),
5566         (apply_buffer), (gst_queue_chain):
5567         * plugins/elements/gsttee.c: (gst_tee_base_init):
5568         * plugins/elements/gsttypefindelement.c:
5569         (gst_type_find_element_base_init),
5570         (gst_type_find_element_class_init):
5571           Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5572           API: add gst_type_register_static_full
5573           API: add gst_element_class_set_details_simple
5574
5575 2007-06-21  Tim-Philipp Müller  <tim at centricular dot net>
5576
5577         * docs/pwg/advanced-types.xml:
5578           Fix typo in iana.org URI.
5579
5580 2007-06-19  Andy Wingo  <wingo@pobox.com>
5581
5582         * tests/check/pipelines/simple-launch-lines.c
5583         (test_state_change_returns): Enable pull-mode tests now that
5584         basesink has been fixed.
5585
5586         * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5587         Changed from gst_base_sink_is_prerolled, reversing the sense of
5588         the return value. Returns FALSE also if the sink is in pull mode,
5589         in which case it needs no preroll.
5590         (gst_base_sink_query, gst_base_sink_change_state): Update for
5591         needs_preroll change.
5592         (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5593         chaining up, in which we return SUCCESS directly if we activated
5594         in pull mode instead of ASYNC. Involves countering an async_start
5595         message sent before chaining up; not sure if this is correct, in
5596         an ideal world we only send async-start when activating in push
5597         mode.
5598
5599         * tests/check/pipelines/simple-launch-lines.c
5600         (test_state_change_returns): New test, partially disabled until
5601         basesink is fixed.
5602
5603 2007-06-19  Wim Taymans  <wim@fluendo.com>
5604
5605         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5606         (gst_multi_queue_sink_event):
5607         Fix event leak.
5608
5609 2007-06-19  Wim Taymans  <wim@fluendo.com>
5610
5611         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5612         (gst_bin_change_state_func), (bin_push_state_continue),
5613         (bin_handle_async_start), (bin_handle_async_done),
5614         (gst_bin_handle_message_func):
5615         Move the common code for posting state-change messages into
5616         one function.
5617         Broadcast the state signal after we posted the messages.
5618         Mark the bin as busy when it's doing a state-change.
5619         Make sure async-start/done messages don't interfere with the bin's
5620         state when it's busy.
5621         After the state change, let the bin check which elements completed the
5622         state change while it was busy so that it can update its state.
5623
5624 2007-06-19  Jan Schmidt  <thaytan@mad.scientist.com>
5625
5626         * docs/random/release:
5627         Add a note about updating the doap file to the release checklist
5628
5629 2007-06-18  Wim Taymans  <wim@fluendo.com>
5630
5631         * plugins/elements/gstmultiqueue.c: (apply_buffer),
5632         (gst_single_queue_push_one), (gst_multi_queue_chain),
5633         (gst_multi_queue_sink_event):
5634         Make sure we don't reference the buffer/event after we have given away
5635         ownership in the queue.
5636
5637 2007-06-18  Wim Taymans  <wim@fluendo.com>
5638
5639         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5640         (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5641         Update queue state _after_ adding the item in the queue because else we
5642         could end up being full without the element added yet.
5643
5644 2007-06-18  Wim Taymans  <wim@fluendo.com>
5645
5646         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5647         (gst_bin_remove_func), (gst_bin_get_state_func),
5648         (gst_bin_element_set_state), (gst_bin_continue_func),
5649         (bin_push_state_continue), (bin_handle_async_start),
5650         (bin_handle_async_done), (gst_bin_handle_message_func):
5651         * gst/gstbin.h:
5652         Immediatly commit the toplevel bin state when receiving an async-done
5653         message. This enables us to avoid spawning a thread to commit the state
5654         in some common cases and it also avoids some races.
5655         Avoid spawning a state thread when adding/removing async elements to a
5656         toplevel bin. Instead we immediatly update the bin state.
5657         Get rid of iterating all the children when getting the state in the bin
5658         because it is now always up-to-date.
5659         Fix bug where locked elements would always return _SUCCESS even it they
5660         returned NO_PREROLL before being locked.
5661         Fix the order of the state_change, async-start/done messages that was
5662         sometimes incorrect.
5663         Mark the state_dirty field as deprecated, we don't need it anymore as we
5664         are always up-to-date.
5665
5666         * gst/gstelement.c: (gst_element_get_state_func),
5667         (gst_element_continue_state):
5668         Small debug inprovements.
5669         Return the previous element state return when nothing is pending instead
5670         of blindly returning SUCCESS.
5671
5672         * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5673         (gst_sinks_suite):
5674         Add a whole bunch of new testcases.
5675
5676 2007-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
5677
5678         * po/uk.po:
5679         * po/vi.po:
5680           Update translations.
5681
5682 2007-06-15  Jan Schmidt  <thaytan@mad.scientist.com>
5683
5684         * gst/gstpad.c:
5685         Fix typo in the docs.
5686
5687 2007-06-15  Wim Taymans  <wim@fluendo.com>
5688
5689         * docs/libs/gstreamer-libs-sections.txt:
5690         Add docs for new methods.
5691
5692 2007-06-15  Wim Taymans  <wim@fluendo.com>
5693
5694         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5695         (gst_multi_queue_item_new):
5696         Don't use GSlice because we don't depend on >= 2.10 yet.
5697
5698 2007-06-15  Wim Taymans  <wim@fluendo.com>
5699
5700         * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5701         (update_time_level), (apply_segment), (apply_buffer),
5702         (gst_single_queue_push_one), (gst_multi_queue_item_new),
5703         (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5704         (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5705         (single_queue_underrun_cb), (single_queue_check_full):
5706         Remove debug printf.
5707
5708 2007-06-15  Wim Taymans  <wim@fluendo.com>
5709
5710         * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5711         (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5712         (gst_data_queue_set_flushing), (gst_data_queue_push),
5713         (gst_data_queue_pop), (gst_data_queue_drop_head),
5714         (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5715         * libs/gst/base/gstdataqueue.h:
5716         Various cleanups.
5717         Added methods to get the current levels and to inform the queue that the
5718         'full' limits changed.
5719
5720         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5721         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5722         (gst_single_queue_flush), (update_time_level), (apply_segment),
5723         (apply_buffer), (gst_single_queue_push_one),
5724         (gst_multi_queue_item_steal_object),
5725         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5726         (gst_multi_queue_loop), (gst_multi_queue_chain),
5727         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5728         (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5729         (gst_multi_queue_src_query), (single_queue_overrun_cb),
5730         (single_queue_underrun_cb), (single_queue_check_full),
5731         (gst_single_queue_new):
5732         Keep track of time in the queue by measuring the difference between
5733         running_time on input and output. This gives more accurate results and
5734         can compensate for segments correctly.
5735         Make a queue by default only 5 buffers deep. We will now increase the
5736         buffer size depending on the filledness of the other queues.
5737         Factor out commong flush code.
5738         Make sure we don't add additional refcounts to buffers when we can avoid
5739         it.
5740         Propagate GstFlowReturn differently.
5741         Use GSlice for intermediate GstMultiQueueItems.
5742         Keep track of EOS.
5743         Resize queues on over and underruns based on filled level of other
5744         queues.
5745         When checking if the queue is filled, prefer to measure in time if we
5746         can and fall back to bytes when no time is known.
5747
5748         * plugins/elements/gstqueue.c:
5749         Fix return value.
5750
5751 2007-06-15  Wim Taymans  <wim@fluendo.com>
5752
5753         * libs/gst/base/gstbasetransform.c:
5754         (gst_base_transform_sink_event):
5755         Work around the brokenness of the event vmethod in basetransform. Prefer
5756         to return TRUE when the subclass returned FALSE (meaning don't forward
5757         the event). 
5758
5759         * libs/gst/base/gstbasetransform.h:
5760         Clarify the docs.
5761
5762 2007-06-15  Wim Taymans  <wim@fluendo.com>
5763
5764         * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5765         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5766         (gst_base_src_default_query), (gst_base_src_get_range),
5767         (gst_base_src_start):
5768         * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5769         Improve debugging.
5770
5771 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
5772
5773         * docs/pwg/advanced-types.xml:
5774           Added more formats to caps table.
5775
5776 2007-06-15  Stefan Kost  <ensonic@users.sf.net>
5777
5778         * tools/gst-launch.c: (main):
5779           Remove crufy code. GOption does not need this workaround.
5780
5781 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5782
5783         * libs/gst/controller/gstcontroller.c:
5784         (gst_controlled_property_set_interpolation_mode):
5785           Fix wrong getter for enums in controller.
5786
5787 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5788
5789         * libs/gst/check/gstcheck.c: (gst_check_init):
5790           Intercept criticals and warnings in the Gst-Phonon log domain, so
5791           ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5792           well.
5793         
5794 2007-06-14  Edward Hervey  <edward@fluendo.com>
5795
5796         * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5797         Since this file doesn't include "gst.h" it will not go through the
5798         macros that disable GST_LOG if debugging was disabled.
5799
5800 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5801
5802         * libs/gst/check/Makefile.am:
5803         * libs/gst/check/gstcheck.h:
5804         * pkgconfig/gstreamer-check-uninstalled.pc.in:
5805         * pkgconfig/gstreamer-check.pc.in:
5806           Ugly 'fix' for the controller unit test on the p5 bot: in
5807           fail_unless_equals_float() check whether the values are 'almost
5808           equal' by allowing a small absolute error, which should be good
5809           enough for our use cases (normal numbers and values close to 0).
5810           Proper fixage left to floating point arithmetic aficionados.
5811
5812 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5813
5814         * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5815         (gst_base_sink_render_object), (gst_base_sink_get_position):
5816           Add two breaks thats where missing.
5817
5818 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5819
5820         * docs/libs/gstreamer-libs-sections.txt:
5821         * libs/gst/check/gstcheck.h:
5822           API: add fail_unless_equals_float() and assert_equals_float().
5823           Add documentation for some of the macros.
5824
5825         * tests/check/libs/controller.c: (GST_START_TEST):
5826           Use newly-added asserts.
5827
5828 2007-06-14  Stefan Kost  <ensonic@users.sf.net>
5829
5830         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5831           Show the caps change in the log to help spotting the case of not
5832           exactly matching caps.
5833
5834 2007-06-14  Tim-Philipp Müller  <tim at centricular dot net>
5835
5836         * docs/pwg/building-boiler.xml:
5837           Fix typos, spotted by Thijs Vermeir (#447190).
5838
5839 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
5840
5841         * docs/plugins/tmpl/.cvsignore:
5842         Ignore file to keep the buildbots happy
5843
5844 2007-06-13  Jan Schmidt  <thaytan@mad.scientist.com>
5845
5846         * docs/plugins/Makefile.am:
5847         * docs/plugins/gstreamer-plugins-docs.sgml:
5848         * docs/plugins/gstreamer-plugins-sections.txt:
5849         Pull fdsink into the docs too.
5850
5851 2007-06-11  Sebastian Dröge  <slomo@circular-chaos.org>
5852
5853         * libs/gst/controller/gstinterpolation.c:
5854         Actually use the new functions with min/max checks for the trigger and
5855         none interpolation modes for get() and get_value_array() instead of
5856         just the latter.
5857
5858 2007-06-10  Sebastian Dröge  <slomo@circular-chaos.org>
5859
5860         * libs/gst/controller/gstcontroller.c:
5861         (gst_controlled_property_free):
5862         Unset the minimum and maximum GValues when freeing the corresponding
5863         GstControllerProperty struct.
5864
5865 2007-06-09  Sebastian Dröge  <slomo@circular-chaos.org>
5866
5867         * libs/gst/controller/gstcontroller.c:
5868         (gst_controlled_property_new):
5869         * libs/gst/controller/gstcontrollerprivate.h:
5870         * libs/gst/controller/gstinterpolation.c:
5871         (gst_controlled_property_find_control_point_node),
5872         (interpolate_none_get), (interpolate_none_get_enum_value_array),
5873         (interpolate_none_get_string_value_array),
5874         (interpolate_trigger_get),
5875         (interpolate_trigger_get_enum_value_array),
5876         (interpolate_trigger_get_string_value_array):
5877         Protect against values larger or smaller than the minimum or maximum
5878         allowed value for the property when using values that can be compared.
5879
5880         Optimize trigger interpolator a bit by taking the last requested value
5881         into account instead of always looping through the complete list.
5882
5883         Fix coding style a bit, everywhere else we use "return foo" instead
5884         of "return (foo)".
5885         
5886         * tests/check/libs/controller.c: (GST_START_TEST),
5887         (gst_controller_suite):
5888         Add unit test for the protection against too large or too small
5889         values.
5890
5891 2007-06-08  Sebastian Dröge  <slomo@circular-chaos.org>
5892
5893         * docs/random/slomo/controller.txt:
5894         Add some thoughts about the future of the controller.
5895
5896 2007-06-08  Wim Taymans  <wim@fluendo.com>
5897
5898         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5899         Don't overflow in retimestamping code.
5900
5901 2007-06-07  Sebastien Moutte  <sebastien@moutte.net>
5902
5903         * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
5904         Use gst_util_guint64_to_gdouble for conversions.
5905         * win32/common/libgstreamer.def:
5906         Add new exported functions.
5907
5908 2007-06-07  Tim-Philipp Müller  <tim at centricular dot net>
5909
5910         * gst/gstutils.c:
5911           Small docs addition.
5912
5913 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5914
5915         * README:
5916           Remove that test line again.
5917
5918 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5919
5920         * README:
5921           Test commit mail sending.
5922
5923 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5924
5925         * configure.ac:
5926           Fix typo and test commit mail sending.
5927
5928 2007-06-07  Stefan Kost  <ensonic@users.sf.net>
5929
5930         * tests/examples/controller/audio-example.c:
5931           Improve comment and test commit mail sending.
5932
5933 2007-06-07  Wim Taymans  <wim@fluendo.com>
5934
5935         * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
5936         (gst_bin_remove_func), (gst_bin_element_set_state),
5937         (bin_handle_async_start), (bin_handle_async_done),
5938         (gst_bin_handle_message_func):
5939         Add helper function to find messages.
5940         Generate the async-done messages together with the state change
5941         messages.
5942         Small cleanups in handling toplevel bins.
5943
5944 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
5945
5946         * libs/gst/base/gstdataqueue.c:
5947         * libs/gst/base/gstdataqueue.h:
5948         * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5949         (gst_multi_queue_item_new), (gst_multi_queue_chain),
5950         (gst_multi_queue_sink_event):
5951         * tests/check/elements/multiqueue.c: (multiqueue_suite):
5952           Fix multiqueue leaking buffers and events when downstream or the
5953           queue are flushing. Make refcounting assumptions explicit and
5954           document them (shouldn't break existing code that uses it other than
5955           maybe leak miniobjects, but that already happens anyway). Add unit
5956           test for the most common flushing case. Fixes #423700.
5957           
5958 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
5959
5960         * libs/gst/controller/gstcontroller.c:
5961         Clarify docs: The get_all, get_value_array(s) functions
5962         don't modify the GObject properties.
5963
5964 2007-06-06  Sebastian Dröge  <slomo@circular-chaos.org>
5965
5966         * libs/gst/controller/gstcontroller.c:
5967         (gst_controlled_property_set_interpolation_mode),
5968         (gst_controlled_property_prepend_default),
5969         (gst_controlled_property_new), (gst_controller_set_unlocked),
5970         (gst_controller_set), (gst_controller_set_from_list),
5971         (gst_controller_unset), (gst_controller_unset_all):
5972         * libs/gst/controller/gstcontrollerprivate.h:
5973         * libs/gst/controller/gstinterpolation.c:
5974         Factor out the 'set' logic into gst_controller_set_unlocked for the
5975         gst_controller_set and gst_controller_set_from_list functions.
5976
5977         To make life of the interpolators easier always add a control point
5978         at timestamp zero with the default value.
5979
5980         In the linear interpolator make things more obvious by better variable
5981         naming (slope).
5982
5983         Implement cubic interpolation mode (by using a natural cubic spline)
5984         and map the quadratic interpolation mode to this too (as quadratic
5985         doesn't make much sense, see discussion on the list).
5986
5987         * tests/check/libs/controller.c: (GST_START_TEST),
5988         (gst_controller_suite):
5989         Add unit test for the cubic interpolation mode and check everywhere
5990         if the interpolation mode could be set as expected.
5991
5992 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
5993
5994         * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
5995           Don't use GLib-2.10 functions, we still depend on
5996           GLib-how-old-is-it-again-2.8.
5997
5998 2007-06-06  Tim-Philipp Müller  <tim at centricular dot net>
5999
6000         * docs/gst/gstreamer-sections.txt:
6001         * gst/Makefile.am:
6002         * gst/gst.c:
6003         * gst/gst.h:
6004         * gst/gstparamspecs.c: (_gst_param_fraction_init),
6005         (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6006         (_gst_param_fraction_values_cmp),
6007         (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6008         * gst/gstparamspecs.h:
6009         * gst/gstvalue.c:
6010         * tests/check/Makefile.am:
6011         * tests/check/gst/.cvsignore:
6012         * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6013         (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6014         (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6015         (GST_START_TEST), (gst_param_spec_suite):
6016           API: add GstParamSpecFraction, so elements can have fraction
6017           properties without lots of painful string parsing (#444648).
6018
6019 2007-06-05  Wim Taymans  <wim@fluendo.com>
6020
6021         * gst/gstobject.c: (gst_object_class_init):
6022         Fix signal signature.
6023
6024         * gst/gstsegment.c:
6025         Add small clarification in the api docs.
6026
6027         * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6028         States are protected with object lock.
6029
6030 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6031
6032         * AUTHORS:
6033         I should probably be listed as an author by now.
6034
6035         * docs/random/release:
6036         Update the release doc
6037
6038 2007-06-05  Tim-Philipp Müller  <tim at centricular dot net>
6039
6040         * gst/gstvalue.c:
6041           Make docs for gst_value_compare() mention return enums that
6042           actually exist.
6043
6044 2007-06-05  Jan Schmidt  <thaytan@mad.scientist.com>
6045
6046         * configure.ac:
6047           Back to CVS
6048
6049 === release 0.10.13 ===
6050
6051 2007-06-05  Jan Schmidt <thaytan@mad.scientist.com>
6052
6053         * configure.ac:
6054           releasing 0.10.13, "With or without you"
6055
6056 2007-05-25  Wim Taymans  <wim@fluendo.com>
6057
6058         * gst/gstbin.c: (bin_handle_async_done):
6059         Make sure that the child bin stops after completing the async state
6060         change so that the parent can continue the state change to PLAYING.
6061         Fixes #441159.
6062
6063 2007-05-25  Wim Taymans  <wim@fluendo.com>
6064
6065         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6066         (unref_data), (gst_collect_pads_remove_pad),
6067         (gst_collect_pads_check_pads):
6068         Use additional refcounting to avoid crashes when dynamically adding and
6069         removing pads. Fixes #420206.
6070
6071 2007-05-24  Wim Taymans  <wim@fluendo.com>
6072
6073         * tools/gst-launch.c: (event_loop):
6074         When buffering goes from a two digit to a single digit number, make sure
6075         to remove the old second digit by writing a blank over it.
6076
6077 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6078
6079         * libs/gst/base/gstdataqueue.c:
6080           Eliminate tabs and trailing comma in enum list; fix some typos.
6081
6082 2007-05-24  Wim Taymans  <wim@fluendo.com>
6083
6084         * tests/check/gst/gstbin.c: (GST_START_TEST):
6085         Allow refcount of 3 and 4 because some state thread might still be busy
6086         with it.
6087
6088 2007-05-24  Tim-Philipp Müller  <tim at centricular dot net>
6089
6090         * plugins/elements/Makefile.am:
6091         * plugins/elements/gstmultiqueue.h:
6092         * plugins/elements/gstqueue.h:
6093           These are not installed headers, no need for padding.
6094
6095 2007-05-24  Wim Taymans  <wim@fluendo.com>
6096
6097         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6098         (gst_bin_continue_func):
6099         Enable latency for next release.
6100         Restore STATE_LOCK around recalc_state that was left out during the
6101         rewrite and could result in racy behaviour when _get_state and
6102         recalc_state are run concurrently. See #440463.
6103
6104 2007-05-23  Wim Taymans  <wim@fluendo.com>
6105
6106         * tests/check/gst/gstsystemclock.c: (store_callback),
6107         (GST_START_TEST):
6108         Improve test_async_order to also work when both timers are already
6109         expired when we get scheduled to check it.
6110
6111 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6112
6113         * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6114         (gst_bin_set_property), (gst_bin_get_property),
6115         (gst_bin_remove_func), (gst_bin_handle_message_func):
6116         * gst/gstbin.h:
6117           'private' is a c++ keyword, let's not use that in header files,
6118           otherwise c++ compilers will throw a tantrum.
6119
6120 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6121
6122         * plugins/elements/gstelements.c:
6123         * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6124         (gst_file_sink_get_current_offset):
6125         * plugins/indexers/gstindexers.c: (plugin_init):
6126           Use #ifdef for HAVE_XYZ for consistency.
6127
6128         * tests/check/Makefile.am:
6129         * tests/check/elements/.cvsignore:
6130         * tests/check/elements/filesink.c: (setup_filesink),
6131         (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6132           Add some unit tests for filesink.
6133
6134 2007-05-22  Tim-Philipp Müller  <tim at centricular dot net>
6135
6136         Patch by: Mark Nauwelaerts <manauw at skynet be>
6137
6138         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6139         (gst_file_sink_query), (gst_file_sink_do_seek),
6140         (gst_file_sink_get_current_offset), (gst_file_sink_render):
6141         * plugins/elements/gstfilesink.h:
6142           Fix position reporting; rename data_written member to current_pos to
6143           reflect its real meaning (fixes #412648).
6144
6145 2007-05-22  Edward Hervey  <edward@fluendo.com>
6146
6147         * docs/gst/gstreamer-sections.txt:
6148         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6149         (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6150         (gst_bin_remove_func), (gst_bin_handle_message_func):
6151         * gst/gstbin.h:
6152         Add a property for bins that handle the state change of their childs.
6153         Fixes #435880
6154
6155 2007-05-22  Sebastian Dröge  <slomo@circular-chaos.org>
6156
6157         * libs/gst/controller/gstinterpolation.c:
6158         Use an array of the correct type when using _get_value_array with
6159         linear interpolation.
6160
6161 2007-05-22  Stefan Kost  <ensonic@users.sf.net>
6162
6163         * gst/gstelement.c (gst_element_requires_clock,
6164           gst_element_provides_clock, gst_element_request_pad,
6165           gst_element_class_set_details, gst_element_class_set_details_simple,
6166           gst_element_default_send_event, gst_element_abort_state,
6167           gst_element_continue_state, gst_element_set_state,
6168           gst_element_set_state_func, iterator_activate_fold_with_resync):
6169         * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6170           gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6171           gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6172           gst_pad_get_range, gst_pad_pull_range):
6173         * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6174           GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6175           GstPadActivateModeFunction, GstPadChainFunction,
6176           GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6177           GstPadFixateCapsFunction, GstPadTemplate):
6178         * gst/gstpipeline.c (gst_pipeline_change_state,
6179           gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6180           gst_pipeline_set_clock, gst_pipeline_auto_clock,
6181           gst_pipeline_get_delay):
6182           Whitespace and docs fixes.
6183
6184 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6185
6186         * libs/gst/controller/gstinterpolation.c:
6187         (interpolate_trigger_get_enum_value_array),
6188         (interpolate_trigger_get_string_value_array):
6189         Add support for retrieving value arrays when using the trigger
6190         interpolation mode. 
6191
6192 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6193
6194         * libs/gst/controller/gstcontroller.c:
6195         (gst_controller_get_value_array):
6196         * libs/gst/controller/gstcontroller.h:
6197         Clarify the docs of gst_controller_get_value_array(): The array where
6198         the values should be written to must be allocated as there seems to be
6199         no way to get the size of a random GType. This doesn't change any
6200         behaviour. Also fix some typos all over the place and remove an unused,
6201         commented function that is not necessary as g_object_set() could be
6202         used instead.
6203         * tests/check/libs/controller.c: (GST_START_TEST),
6204         (gst_controller_suite):
6205         Add unit test for gst_controller_get_value_array().
6206
6207 2007-05-21  Jan Schmidt  <thaytan@mad.scientist.com>
6208
6209         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6210
6211         Disable part of the gst_buffer_try_new_and_alloc test, because
6212         it can happily succeed on 64-bit systems where there's more address
6213         space available.
6214
6215 2007-05-21  Sebastian Dröge  <slomo@circular-chaos.org>
6216
6217         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6218         Add unit test for the improved caps checking from bug #421543.
6219
6220 2007-05-21  Wim Taymans  <wim@fluendo.com>
6221
6222         * docs/design/part-synchronisation.txt:
6223         Small addition.
6224
6225         * gst/gstbin.c: (gst_bin_query):
6226         * plugins/elements/gstqueue.c: (apply_segment):
6227         Improve debugging.
6228
6229         * gst/gstmessage.h:
6230         Improve docs.
6231
6232 2007-05-21  Wim Taymans  <wim@fluendo.com>
6233
6234         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6235         (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6236         (gst_pad_configure_src):
6237         Added simple version of improved caps checking. It was previously
6238         assumed that a setcaps function would check the validity of the caps but
6239         people prefer us to check caps against the template automatically. 
6240         Fixes #421543.
6241
6242 2007-05-21  Wim Taymans  <wim@fluendo.com>
6243
6244         * libs/gst/base/gstbasetransform.h:
6245         Fix macro for locking/unlocking the transform lock.
6246
6247 2007-05-19  Tim-Philipp Müller  <tim at centricular dot net>
6248
6249         * docs/plugins/tmpl/.cvsignore:
6250           Ignore more.
6251
6252 2007-05-18  Edward Hervey  <edward@fluendo.com>
6253
6254         * plugins/elements/gstqueue.c: (gst_queue_loop):
6255         Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6256         for the subtle art of warning a potentially blocking thread that it
6257         should check the source pad return value, and relay the information
6258         upstream.
6259
6260 2007-05-18  Edward Hervey  <edward@fluendo.com>
6261
6262         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6263         Release the queue lock !
6264
6265 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6266
6267         * docs/libs/gstreamer-libs-sections.txt:
6268         Add the two new controller functions to the appropiate places.
6269
6270 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6271
6272         reviewed by: Stefan Kost <ensonic@users.sf.net>
6273
6274         * libs/gst/controller/gstcontroller.c:
6275         (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6276         (_gst_controller_get_property), (_gst_controller_set_property),
6277         (_gst_controller_init), (_gst_controller_class_init):
6278         * libs/gst/controller/gstcontroller.h:
6279         * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6280         (gst_object_get_control_rate), (gst_object_set_control_rate):
6281         API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6282         Add API that provides sync suggestion timestamps for elements that
6283         call gst_object_sync_values() from which those elements can subdivide
6284         their processing loop to get the best results for the controlled
6285         properties. For now it just suggests last_sync + control_rate as
6286         new timestamp but this will be improved in the future.
6287
6288         While doing that change the control-rate property to a GstClockTime
6289         from guint and change it's meaning from samples to nanoseconds as
6290         the GstController doesn't know anything about sampling rate. Strictly
6291         speaking this breaks ABI but as the control-rate property didn't do
6292         anything in the past and as such couldn't be used this should be no
6293         problem.        
6294
6295 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6296
6297         reviewed by: Stefan Kost <ensonic@users.sf.net>
6298
6299         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6300         (gst_controller_unset_all):
6301         * libs/gst/controller/gstcontrollerprivate.h:
6302         * libs/gst/controller/gstinterpolation.c:
6303         (gst_controlled_property_find_control_point_node):
6304         Save last synced value from the list to continue searching from there
6305         in future syncs. This speeds everything up a bit.
6306         
6307 2007-05-17  Sebastian Dröge  <slomo@circular-chaos.org>
6308
6309         reviewed by: Stefan Kost <ensonic@users.sf.net>
6310
6311         * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6312         (gst_control_point_find), (gst_controlled_property_new),
6313         (gst_control_point_free), (gst_controlled_property_free),
6314         (gst_controller_set), (gst_controller_set_from_list),
6315         (gst_controller_unset), (gst_controller_unset_all),
6316         (gst_controller_sync_values):
6317         * libs/gst/controller/gstcontroller.h:
6318         * libs/gst/controller/gstcontrollerprivate.h:
6319         * libs/gst/controller/gstinterpolation.c:
6320         (gst_controlled_property_find_control_point_node),
6321         (interpolate_none_get), (interpolate_trigger_get):
6322         Add a new private GstControlPoint struct which "inherits" from
6323         GstTimedValue to allow different interpolators to store internal
6324         values next to each control point. From the outside everything is
6325         still a GstControlPoint so we don't loose binary compatibility.
6326         Also fixup all the GValue handling to not leak GValues or list nodes.
6327         * tests/check/libs/controller.c: (GST_START_TEST):
6328         Free the list nodes and GValues in the controller_misc test.
6329
6330 2007-05-17  Edward Hervey  <edward@fluendo.com>
6331
6332         * gst/gstsegment.c:
6333         Small doc fix.
6334
6335 2007-05-16  Tim-Philipp Müller  <tim at centricular dot net>
6336
6337         * gst/gstplugin.c: (gst_plugin_load_file):
6338           If we fail to load a plugin because of unresolved symbols or missing
6339           libraries and spew a warning to stderr, we may just as well mention
6340           which plugin it was that failed to load.
6341
6342 2007-05-13  David Schleef  <ds@schleef.org>
6343
6344         * docs/Makefile.am: the gtk-doc makefile snippet correctly
6345           handles the case when ENABLE_GTK_DOC is false, and installs
6346           the prebuilt documentation.  So gtk-doc subdirs are 
6347           unconditionally enabled.  Fixes: #349099.
6348
6349 2007-05-13  David Schleef  <ds@schleef.org>
6350
6351         * gst/gstutils.h: Reword some documentation.
6352
6353 2007-05-12  David Schleef  <ds@schleef.org>
6354
6355         * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6356           do anything with the passed "module" parameter, so remove it.
6357           Allows removal of additional vestigal code.
6358
6359 2007-05-12  David Schleef  <ds@schleef.org>
6360
6361         * gst/gstplugin.c:
6362           Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6363           Switch to using g_stat() because it's more portable.
6364
6365 2007-05-12  David Schleef  <ds@schleef.org>
6366
6367         * gst/gst.c:
6368           Add GST_DISABLE_OPTION_PARSING, in order to disable option
6369           parsing for embedded systems.
6370         * gst/gstelementfactory.c:
6371           Allow gst_element_register() to be called with plugin==NULL.
6372           Did nobody notice that static elements were broken?
6373
6374 2007-05-12  Wim Taymans  <wim@fluendo.com>
6375
6376         * tools/gst-launch.c: (event_loop):
6377         Give more interesting info when buffering starts and stops.
6378         Fix case where buffering starts but we fail to update the buffering flag
6379         because the target state is not PLAYING.
6380
6381 2007-05-12  Wim Taymans  <wim@fluendo.com>
6382
6383         * plugins/elements/gstqueue.c: (gst_queue_init),
6384         (gst_queue_finalize), (update_time_level), (apply_segment),
6385         (apply_buffer), (gst_queue_locked_flush),
6386         (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6387         (gst_queue_handle_sink_event), (gst_queue_chain),
6388         (gst_queue_push_one), (gst_queue_loop):
6389         * plugins/elements/gstqueue.h:
6390         Refactor an cleanup queue a bit.
6391         Do better time level calculations that also work when the srcpad is not
6392         yet running.
6393         Remove some unneeded debug lines.
6394
6395         * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6396         Added testcase for time level measurement.
6397         Try to make some stuff more racefree.
6398
6399 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6400
6401         * gst/gsturi.c: (gst_element_make_from_uri):
6402           Don't leak plugin feature.
6403
6404         * tests/check/Makefile.am:
6405         * tests/check/gst/.cvsignore:
6406         * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6407           Add brain-dead unit test.
6408
6409 2007-05-11  Tim-Philipp Müller  <tim at centricular dot net>
6410
6411         Patch by: Jeroen Wouters <woutersj at gmail com>
6412
6413         * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6414           Treat protocol strings in a case-insensitive way (#437563).
6415
6416 2007-05-11  Michael Smith <msmith@fluendo.com>
6417
6418         * gst/gstplugin.c: (gst_plugin_load_file):
6419         * gst/gstregistry.c: (gst_registry_scan_path_level):
6420           Don't print a g_warning for any failure to load a shared object.
6421           Instead, push this down into gstplugin.c, and warn _only_ if we
6422           failed to open the module (i.e. failure to link).
6423           Avoids warnings on normal, working, non-plugin .so files.
6424
6425 2007-05-11  Stefan Kost  <ensonic@users.sf.net>
6426
6427         * gst/gstplugin.c (gst_plugin_load_file):
6428         * gst/gstregistry.c (GST_CAT_DEFAULT,
6429           gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6430           Print a g_warning if there was an error when loading a plugins during
6431           registry scan. The shuld help beginners starting with gst-plugin
6432           template.
6433
6434 2007-05-10  Wim Taymans  <wim@fluendo.com>
6435
6436         * plugins/elements/gstqueue.c: (gst_queue_class_init),
6437         (update_time_level), (gst_queue_locked_flush),
6438         (gst_queue_handle_sink_event), (gst_queue_chain),
6439         (gst_queue_push_one), (gst_queue_loop):
6440         * plugins/elements/gstqueue.h:
6441         Be smarter when calculating the current amount of data in the queue by
6442         measuring the difference between start and end timestamps (in running
6443         time) inside the queue. Fixes #432876.
6444         API: GstQueue::pushing to notify elements that we are pushing data again
6445         since the running signal is rather broken for this purpose.
6446
6447 2007-05-10  Stefan Kost  <ensonic@users.sf.net>
6448
6449         * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6450           gst_queue_base_init, gst_queue_init):
6451           use GST_BOILERPLATE
6452
6453 2007-05-09  Sebastien Moutte  <sebastien@moutte.net>
6454
6455         * win32/common/libgstreamer.def:
6456         Add new exported functions.
6457         * win32/vs6/grammar.dsp:
6458         Use grammar pre-generated files.
6459
6460 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6461
6462         Based on patch by: Peter Kjellerstedt  <pkj at axis com>
6463
6464         * gst/Makefile.am:
6465         * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6466         * gst/gstparse.h:
6467         * gst/gstutils.c: (gst_parse_bin_from_description):
6468         * gst/gstutils.h:
6469           Maintain API and ABI when --disable-parse is used. Now that
6470           we have an appropriate error code, we can just return NULL and the
6471           appropriate error when gst_parse_launch() is used despite it having
6472           been disabled (#342564).
6473
6474         * tests/check/Makefile.am:
6475         * tests/check/pipelines/.cvsignore:
6476         * tests/check/pipelines/parse-disabled.c:
6477           Make sure these functions exist and return NULL plus a GError when
6478           --disable-parse is used.
6479
6480 2007-05-09  Tim-Philipp Müller  <tim at centricular dot net>
6481
6482         * tests/benchmarks/complexity.c: (main):
6483         * tests/benchmarks/mass-elements.c: (main):
6484           Set a good example and don't leak messages.
6485
6486 2007-05-06  Stefan Kost  <ensonic@users.sf.net>
6487
6488         * docs/gst/Makefile.am:
6489         * docs/libs/Makefile.am:
6490           Correct fixxrefs options.
6491
6492         * docs/plugins/Makefile.am:
6493         * docs/plugins/gstreamer-plugins-docs.sgml:
6494         * docs/plugins/gstreamer-plugins-sections.txt:
6495         * plugins/elements/Makefile.am:
6496         * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6497         * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6498           GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6499           GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6500           GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6501           _GstCapsFilterClass, trans_class):
6502         * plugins/elements/gstelements.c (name, rank, type, _elements):
6503         * plugins/elements/gstidentity.c
6504           (gst_identity_check_imperfect_timestamp,
6505           gst_identity_check_imperfect_offset):
6506           Document capsfilter and add doc-blurb to identity.
6507
6508 2007-05-04  Tim-Philipp Müller  <tim at centricular dot net>
6509
6510         * libs/gst/controller/gstcontroller.c:
6511         (gst_controlled_property_set_interpolation_mode):
6512         * libs/gst/controller/gstinterpolation.c:
6513           Don't crash if someone tries to set an interpolation mode that
6514           is invalid or that isn't supported yet. Fixes #422295.
6515
6516         * tests/check/libs/controller.c: (GST_START_TEST),
6517         (gst_controller_suite):
6518           Add a test case for the above.
6519
6520 2007-05-03  Edward Hervey  <edward@fluendo.com>
6521
6522         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6523         Properly set the last_stop position on GstSegment. This will only happen
6524         if there is a buffer to push out.
6525
6526 2007-05-03  Wim Taymans  <wim@fluendo.com>
6527
6528         * libs/gst/base/gstbasetransform.c:
6529         (gst_base_transform_buffer_alloc):
6530         always_in_place does not mean that the sink and source caps are the
6531         same! Make sure we don't blindly proxy the buffer_alloc in this case.
6532
6533 2007-05-03  Wim Taymans  <wim@fluendo.com>
6534
6535         * docs/libs/gstreamer-libs-sections.txt:
6536         * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6537         (gst_base_src_default_query), (gst_base_src_get_range):
6538         * libs/gst/base/gstbasesrc.h:
6539         API: gst_base_src_query_latency(). Added method so that subclasses can
6540         easily get the latency values of the base source class.
6541
6542 2007-05-02  Zaheer Abbas Merali  <<zaheerabbas at merali dot org>>
6543
6544         * tools/gst-inspect.c (print_implementation_info):
6545         Remove 0.8 cruft.
6546
6547 2007-05-02  Tim-Philipp Müller  <tim at centricular dot net>
6548
6549         * tools/Makefile.am:
6550         * tools/gst-launch.1.in:
6551           Don't create a customised man page based on the host architecture,
6552           describe the default registry path generically. That way the man
6553           page is the same for all architectures and packagers have one
6554           multilib issue less to deal with. Fixes #434926.
6555
6556 2007-05-02  Wim Taymans  <wim@fluendo.com>
6557
6558         * gst/gstpad.c:
6559         Fix documentation as spotted by rg on IRC. 
6560
6561 2007-04-29  Stefan Kost  <ensonic@users.sf.net>
6562
6563         * gst/gstutils.c:
6564           Improve docs for gst_element_{link,unlink}.
6565
6566 2007-04-28  Tim-Philipp Müller  <tim at centricular dot net>
6567
6568         * docs/design/part-events.txt:
6569         * docs/design/part-overview.txt:
6570         * gst/gstevent.c:
6571         * gst/gsturi.c:
6572         * gst/gsturi.h:
6573         * libs/gst/base/gstbasesink.c:
6574           Typo fixes; minor docs addition.
6575
6576 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6577
6578         * docs/gst/gstreamer-sections.txt:
6579         * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6580         (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6581         * gst/gsturi.h:
6582         API: Add gst_uri_protocol_is_supported(), which checks if a sink
6583         or src that supports a given URI protocol exists.
6584
6585 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6586
6587         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6588         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6589         Set the location to NULL if "file://" is set as URI. Otherwise
6590         some random previous URI would still be set if "file://" is
6591         set on an already used filesink/filesrc.
6592
6593 2007-04-27  Sebastian Dröge  <slomo@circular-chaos.org>
6594
6595         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6596         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6597         Special case the "file://" URI as as this is used by some
6598         applications to test with gst_element_make_from_uri if there's
6599         an element that supports the URI protocol.
6600         Also move the g_path_is_absolute() check for the location part
6601         of the URI to also check this for "file://localhost/bla" URIs.
6602
6603 2007-04-26  Tim-Philipp Müller  <tim at centricular dot net>
6604
6605         * docs/gst/gstreamer-sections.txt:
6606         * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6607         * gst/gstbuffer.h:
6608         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6609         (gst_buffer_suite):
6610           API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6611
6612 2007-04-26  Stefan Kost  <ensonic@users.sf.net>
6613
6614         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6615         (gst_registry_binary_load_pad_template),
6616         (gst_registry_binary_load_plugin),
6617         (gst_registry_binary_read_cache):
6618         * gst/gstregistrybinary.h:
6619           Implement no-mmap alternative for registry reading. Do code cleanups.
6620           Add more comments about avoiding strdups for all text data. Comments
6621           welcome.
6622
6623 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6624
6625         * gst/gstregistrybinary.h (GstBinaryPluginElement,
6626           GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6627           GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6628           Comment structs and reformat to fix the build (that stuff should go
6629           into a priv. header).
6630
6631 2007-04-25  Stefan Kost  <ensonic@users.sf.net>
6632
6633         * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6634         (gst_registry_binary_load_feature):
6635         * gst/gstregistrybinary.h:
6636           Refactor so that we can implement multiple features. Add support for
6637           TypeFindFactory features.
6638
6639 2007-04-24  Stefan Kost  <ensonic@users.sf.net>
6640
6641         Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6642
6643         * configure.ac:
6644           Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6645
6646 2007-04-23  Stefan Kost  <ensonic@users.sf.net>
6647
6648         * gst/gstbin.c: (gst_bin_element_set_state),
6649         (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6650         (bin_handle_async_done), (gst_bin_handle_message_func):
6651           Fix build with --gst-disable-gst-debug
6652
6653 2007-04-21  Tim-Philipp Müller  <tim at centricular dot net>
6654
6655         * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6656           Make sure streaming has finished before calling the ::stop() vfunc,
6657           since that vfunc might clear state which is being used in the
6658           streaming thread. This fixes a race that caused crashes in
6659           audioresample when shutting down a pipeline (#420106).
6660
6661 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6662
6663         * docs/gst/gstreamer-sections.txt:
6664           That was one byte missing.
6665
6666 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6667
6668         * configure.ac:
6669         * docs/gst/gstreamer-sections.txt:
6670         * gst/Makefile.am:
6671         * gst/gstconfig.h.in:
6672         * gst/gstobject.c: (gst_object_class_init),
6673         (gst_signal_object_class_init):
6674         * gst/gstobject.h:
6675           2nd attempt to have a xml-less build as a joined effort of #413123
6676           and #421480.
6677
6678 2007-04-20  Stefan Kost  <ensonic@users.sf.net>
6679
6680         * docs/design/draft-tagreading.txt:
6681           Added open issues/thoughts to draft.
6682
6683 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6684
6685         * gst/parse/grammar.tab.pre.c:
6686         * gst/parse/grammar.tab.pre.h:
6687         * gst/parse/lex._gst_parse_yy.pre.c:
6688         Update the prebuild parser sources.
6689
6690 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6691
6692         * gst/parse/Makefile.am:
6693         And now fix the building of the flex sources. Now everything should
6694         work as expected.
6695
6696 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6697
6698         * gst/parse/Makefile.am:
6699         Now hopefully fix the build failures by setting proper rule
6700         dependencies and moving instead of copying.
6701
6702 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6703
6704         * tests/benchmarks/complexity.gnuplot:
6705         * tests/benchmarks/complexity.scm:
6706         * tests/benchmarks/mass-elements.gnuplot:
6707         * tests/benchmarks/mass-elements.scm:
6708           Total licensification.
6709
6710 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6711
6712         * gst/parse/Makefile.am:
6713           Fix the build by correcting the rule that gave wrong files to flex.
6714
6715 2007-04-19  Stefan Kost  <ensonic@users.sf.net>
6716
6717         * tests/benchmarks/complexity.c:
6718         * tests/benchmarks/mass-elements.c:
6719           Change licence to LGPL as granted by Benjamin and Andy.
6720
6721 2007-04-19  Sebastian Dröge  <slomo@circular-chaos.org>
6722
6723         * gst/parse/Makefile.am:
6724         Add correct grammar.tab.h dependency if compiling without new enough
6725         flex. Fixes #431150.
6726
6727 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6728
6729         * gst/parse/Makefile.am:
6730         Fix typo and use outdated sources if the flex/bison sources are newer
6731         than the pregenerated ones but flex is too old. Print a warning in
6732         that case. This should fix the build on the build bot.
6733
6734 2007-04-18  Sebastian Dröge  <slomo@circular-chaos.org>
6735
6736         Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6737         * gst/parse/Makefile.am:
6738         * gst/parse/grammar.y:
6739         * gst/parse/parse.l:
6740         Make the parser reentrant and recursively callable. This requires flex
6741         >= 2.5.31, for older versions pregenerated sources are used as we
6742         can't bump the build dependency. Finally fixes #349180.
6743
6744         * gst/gstparse.c: (gst_parse_launch):
6745         Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6746         now anyway.
6747
6748         * docs/gst/Makefile.am:
6749         * docs/gst/Makefile.am:
6750         * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6751         (__gst_parse_strfree), (__gst_parse_link_new),
6752         (__gst_parse_link_free), (__gst_parse_chain_new),
6753         (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6754         (gst_parse_element_set), (gst_parse_free_link),
6755         (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6756         (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6757         (_gst_parse_launch):
6758         * gst/parse/grammar.tab.pre.h:
6759         * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6760         (yy_get_previous_state), (yy_try_NUL_trans), (input),
6761         (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6762         (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6763         (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6764         (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6765         (_gst_parse_yypop_buffer_state),
6766         (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6767         (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6768         (yy_fatal_error), (_gst_parse_yyget_extra),
6769         (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6770         (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6771         (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6772         (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6773         (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6774         (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6775         (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6776         (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6777         (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6778         (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6779         (_gst_parse_yyfree):
6780         If the installed flex version is too old use pre-generated parser
6781         sources. These pre-generated parser sources are always updated when
6782         the actual flex/bison sources change but require everybody who wants
6783         to change something in the parser to have flex >= 2.5.31 installed.
6784
6785 2007-04-18  Stefan Kost  <ensonic@users.sf.net>
6786
6787         * common/m4/gst-gettext.m4:
6788         * gst/gst-i18n-lib.h:
6789           Make --disable-nls to work
6790
6791 2007-04-17  Wim Taymans  <wim@fluendo.com>
6792
6793         * gst/gstconfig.h.in:
6794         Revert previous change that broke the build.
6795
6796 2007-04-17  Stefan Kost  <ensonic@users.sf.net>
6797
6798         * configure.ac:
6799         * gst/Makefile.am:
6800         * gst/gstconfig.h.in:
6801           Drop libxml2 dependency when building with 
6802           --enable-binary-registry --disable-loadsave
6803
6804 2007-04-16  Tim-Philipp Müller  <tim at centricular dot net>
6805
6806         * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6807         (gst_registry_binary_read_cache):
6808         * gst/gstregistrybinary.h:
6809           Remove unnecessary <sys/mman.h> include which broke the win32 build
6810           with MingW; move includes from header file to .c file, even if the
6811           header file isn't installed; use g_strerror() where UTF-8 strings
6812           are expected, such as in GST_DEBUG messages.
6813
6814 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6815
6816         * docs/libs/gstreamer-libs-sections.txt:
6817         Remove bogus addition for API I didn't end up keeping.
6818
6819         * libs/gst/base/gstbasesrc.h:
6820         Mention Since: 0.10.13 in the documentation.
6821
6822         Add the API keyword to the previous ChangeLog entry.
6823
6824 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6825
6826         * docs/libs/gstreamer-libs-sections.txt:
6827         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6828         (gst_base_src_default_prepare_seek_segment),
6829         (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6830         * libs/gst/base/gstbasesrc.h:
6831         Allow basesrc derived classes to execute seeks in other formats
6832         by providing a prepare_seek_segment vmethod. Sub-classes can choose
6833         to prepare the GstSegment in any format that their perform_seek method
6834         will be able to understand. The default implementation provides the
6835         old behaviour of attempting to convert the seek offsets to the 
6836         configured native format.
6837
6838         API: basesrc::prepare_seek_segment vmethod.
6839
6840 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6841
6842         * gst/gstelement.c: (gst_element_get_state_func):
6843         Don't output the same debug statement twice.
6844
6845         * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6846         (gst_adapter_peek), (gst_adapter_take_buffer):
6847         Optimise the case where we have buffers at the head of the queue that
6848         can be joined quickly (because they're contiguous sub-buffers) by
6849         merging them together rather than copying data out into new memory.
6850
6851         * gst/parse/grammar.y:
6852         * tests/check/pipelines/parse-launch.c:
6853         Fix a leak in an error path for parse_launch, and add a check 
6854         for it to the testsuite.
6855
6856 2007-04-13  Jan Schmidt  <thaytan@mad.scientist.com>
6857
6858         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6859           Don't deadlock when releasing a pad - gst_pad_set_active may try
6860           and take the multiqueue lock too.
6861
6862 2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
6863
6864         * gst/gsterror.c: (_gst_core_errors_init):
6865         * gst/gsterror.h:
6866           API: add GST_CORE_ERROR_DISABLED (#392804).
6867
6868 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
6869
6870         * docs/faq/gst-uninstalled:
6871           don't get empty paths on the PATH variables
6872         * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6873           Don't format for the uncommon terminal width of 84 characters.
6874
6875 2007-04-06  Wim Taymans  <wim@fluendo.com>
6876
6877         * gst/gstpipeline.c: (reset_stream_time),
6878         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
6879         Only try to select a different pipeline clock when we went back to
6880         PAUSED and not when we merely got flushed.
6881
6882 2007-04-05  Michael Smith  <msmith@fluendo.com>
6883
6884         * tools/gst-launch.1.in:
6885           fractions are better supported in gstreamer than ractions, so
6886           suggest using those.
6887
6888 2007-04-05  Thomas Vander Stichele  <thomas at apestaart dot org>
6889
6890         Submitted by: Mogens Jaeger <mogens@jaeger.tf>
6891
6892         * po/LINGUAS:
6893         * po/da.po:
6894           Added Danish translation.
6895
6896 2007-04-05  Wim Taymans  <wim@fluendo.com>
6897
6898         * libs/gst/base/gstbasesink.c:
6899         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
6900         Fix leak caused when refusing newsegment after EOS.
6901
6902         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6903         (gst_fake_sink_init), (gst_fake_sink_set_property),
6904         (gst_fake_sink_get_property), (gst_fake_sink_preroll),
6905         (gst_fake_sink_render), (gst_fake_sink_change_state):
6906         * plugins/elements/gstfakesink.h:
6907         Add num-buffers property to make the element generate EOS after a
6908         configurable amount of buffers.
6909         API: fakesink::num-buffers property.
6910
6911         * tests/check/elements/fakesink.c: (GST_START_TEST),
6912         (fakesink_suite):
6913         Fix GstBus leak in test.
6914         Test for fakesink num-buffers.
6915
6916 2007-04-05  Wim Taymans  <wim@fluendo.com>
6917
6918         * libs/gst/base/gstbasesink.c:
6919         (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6920         (gst_base_sink_change_state):
6921         Don't accept anything after an EOS, return UNEXPECTED instead.
6922
6923         * tests/check/elements/fakesink.c: (GST_START_TEST),
6924         (fakesink_suite):
6925         Unit test for new EOS behaviour.
6926
6927 2007-04-05  Wim Taymans  <wim@fluendo.com>
6928
6929         * gst/gstelement.c: (gst_element_get_request_pad):
6930         Make padtemplates also work when they don't contain %s or %d.
6931
6932 2007-04-05  Wim Taymans  <wim@fluendo.com>
6933
6934         * docs/gst/gstreamer-sections.txt:
6935         * gst/gstclock.c: (gst_clock_adjust_unlocked),
6936         (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
6937         * gst/gstclock.h:
6938         Improve _adjust_unlocked() so that it overflows less.
6939         Add gst_clock_unadjust_unlocked to convert from external time to
6940         internal time based on calibration.
6941         Add some more debug.
6942         API: GstClock::gst_clock_unadjust_unlocked()
6943
6944 2007-04-03  Wim Taymans  <wim@fluendo.com>
6945
6946         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6947
6948         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6949         Deactivate pads and free GstSingleQueue with gst_single_queue_free()
6950         when releasing sink pad. Fixes #425400.
6951
6952 2007-04-02  Stefan Kost  <ensonic@users.sf.net>
6953
6954         * docs/random/ensonic/dynlink.txt:
6955           More work on proposal for new core api.
6956
6957         * docs/libs/gstreamer-libs-sections.txt:
6958         * libs/gst/base/gstbasetransform.h:
6959           API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
6960           
6961         * libs/gst/controller/gstcontroller.c:
6962         (on_object_controlled_property_changed),
6963         (gst_controller_sync_values),
6964         (gst_controller_set_interpolation_mode):
6965         * libs/gst/controller/gstcontroller.h:
6966           Less verbose logging add docs for unimplemented parts and correctly
6967           return when using unavailable parts.
6968
6969 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
6970
6971         * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
6972         Move all the debug to the CLOCK category, and associate it with
6973         the clock object.
6974
6975 2007-03-29  Jan Schmidt  <thaytan@mad.scientist.com>
6976
6977         * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
6978         Make take_buffer a bit quicker by removing redundant checks
6979         caused by calling gst_adapter_take.
6980
6981 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
6982
6983         * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
6984           Don't leak GCond.
6985
6986         * tests/check/Makefile.am:
6987         * tests/check/elements/.cvsignore:
6988         * tests/check/elements/multiqueue.c: (setup_multiqueue),
6989         (GST_START_TEST), (multiqueue_suite):
6990           Add some dead simple unit tests for the 'multiqueue' element
6991           (some bits don't work yet and are disabled for now).
6992
6993 2007-03-28  Tim-Philipp Müller  <tim at centricular dot net>
6994
6995         * gst/gstelement.c: (gst_element_get_request_pad),
6996         (gst_element_class_get_request_pad_template):
6997           Make gst_element_get_request_pad() create request pads only for
6998           request pad templates and not for, say, sometimes pad templates.
6999
7000 2007-03-28  Stefan Kost  <ensonic@users.sf.net>
7001
7002         * docs/design/draft-klass.txt:
7003           Add example that needs more thinking.
7004         
7005         * docs/design/draft-missing-plugins.txt:
7006           More thoughts about wrapper plugins.
7007         
7008         * docs/random/ensonic/embedded.txt:
7009         * docs/random/ensonic/profiling.txt:
7010           More design work.
7011
7012 2007-03-25  Wim Taymans  <wim@fluendo.com>
7013
7014         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7015         (gst_base_src_loop):
7016         Only push the segment events in the PLAYING state for live sources.
7017
7018 2007-03-23  Jan Schmidt  <thaytan@mad.scientist.com>
7019
7020         * gst/gstpipeline.c: (gst_pipeline_change_state):
7021         Modify the clock distribution path in PAUSED->PLAYING so that we 
7022         never attempt to choose a new clock unless we're actually leaving
7023         the PAUSED state for the first time. This prevents choosing a
7024         different clock when the state_change gets called for a 2nd time due
7025         to some element doing an async state change.
7026
7027 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7028
7029         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7030         (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7031         (gst_pad_chain_unchecked), (gst_pad_push):
7032         Revert last commit. This needs some more thoughts.
7033
7034 2007-03-22  Sebastian Dröge  <slomo@circular-chaos.org>
7035
7036         * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7037         (gst_pad_chain_unchecked), (gst_pad_push):
7038         Check in set_caps if the caps are compatible with the pad and remove
7039         two functions that are redundant now. Fixes #421543.
7040
7041 2007-03-22  Wim Taymans  <wim@fluendo.com>
7042
7043         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7044         (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7045         Unref some more to make valgrind happy.
7046
7047 2007-03-22  Wim Taymans  <wim@fluendo.com>
7048
7049         * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7050         (gst_system_clock_id_wait_jitter),
7051         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7052         Fix anoying regression that survived a few releases. When adding an
7053         async entry while blocking on a sync entry, the sync entry will unblock
7054         but still be busy, so it should continue to wait instead of returning
7055         _BUSY to the app.
7056         Add some comments here and there.
7057
7058         * tests/check/gst/gstsystemclock.c: (mixed_thread),
7059         (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7060         Add testcase for this.
7061
7062 2007-03-22  Wim Taymans  <wim@fluendo.com>
7063
7064         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7065         Handle errors from the clock sync better, only UNSCHEDULED indicates a
7066         WRONG_STATE and can silently pause the task. All other cases should
7067         error out.
7068
7069 2007-03-22  Wim Taymans  <wim@fluendo.com>
7070
7071         Patch by: Ville Syrjala <syrjala at sci dot fi>
7072
7073         * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7074         Fix possible deadlock if pad eventfunc is not specified.  Fixes #421177.
7075         Improve debugging.
7076
7077 2007-03-21  Michael Smith  <msmith@fluendo.com>
7078
7079         * docs/pwg/advanced-types.xml:
7080           Fix some errors in the typefinding docs pointed out on irc.
7081
7082 2007-03-21  Jan Schmidt  <thaytan@mad.scientist.com>
7083
7084         * libs/gst/base/gstbasesrc.c:
7085         Clarify FIXME comment in the face of having added unlock_stop()
7086
7087 2007-03-21  Wim Taymans  <wim@fluendo.com>
7088
7089         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7090         Prepare for release where we warn against possible app breakage in the
7091         case of live pipelines along with an env var to enable/disable live
7092         preroll mode (GST_COMPAT=[no-]live-preroll).
7093
7094 2007-03-20  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7095
7096         * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7097         So we should use correct constants for checking for None offset.
7098
7099 2007-03-20  Wim Taymans  <wim@fluendo.com>
7100
7101         * docs/design/part-block.txt:
7102         Mention the fact that the newly switched element should be set to at
7103         least PAUSED.
7104
7105 2007-03-20  Wim Taymans  <wim@fluendo.com>
7106
7107         * gst/gst.c:
7108         Fix compilation with registry disabled as spotted by Saur.
7109
7110 2007-03-20  Wim Taymans  <wim@fluendo.com>
7111
7112         Patch by: Olivier Crete <tester at tester dot ca>
7113
7114         * gst/gstelement.c: (gst_element_sync_state_with_parent):
7115         Look at the pending state too when syncing the element state to the
7116         parent. Fixes #420133.
7117
7118 2007-03-19  Jan Schmidt  <thaytan@mad.scientist.com>
7119
7120         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7121         (gst_base_sink_change_state):
7122         * libs/gst/base/gstbasesink.h:
7123         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7124         (gst_base_src_default_event), (gst_base_src_unlock_stop),
7125         (gst_base_src_deactivate):
7126         * libs/gst/base/gstbasesrc.h:
7127         Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7128         for sub-classes to correctly clear any state they set trying to
7129         unlock, such as clearing out unlock commands from a command fd.
7130         API: basesrc::unlock_stop
7131         API: basesink::unlock_stop
7132
7133         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7134         (gst_fd_sink_render), (gst_fd_sink_unlock),
7135         (gst_fd_sink_unlock_stop):
7136         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7137         (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7138         (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7139
7140         Implement unlock_stop in fdsrc and fdsink.
7141         Implement seeking in fdsrc when a seekable fd is passed, as in
7142         gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7143
7144 2007-03-19  Wim Taymans  <wim@fluendo.com>
7145
7146         Patch by: Evan Nemerson <evan at coeus dash group dot com>
7147
7148         * gst/gstelement.c: (gst_element_class_init):
7149         Fix pad-added and pad-removed signal signatures so that the pad type is
7150         stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7151
7152 2007-03-19  Wim Taymans  <wim@fluendo.com>
7153
7154         * docs/gst/gstreamer-sections.txt:
7155         Add new element field and method.
7156
7157         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7158         (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7159         (gst_bin_recalc_state), (gst_bin_get_state_func),
7160         (gst_bin_element_set_state), (gst_bin_change_state_func),
7161         (gst_bin_continue_func), (bin_bus_handler),
7162         (bin_push_state_continue), (bin_handle_async_start),
7163         (bin_handle_async_done), (gst_bin_handle_message_func):
7164         Make async state changes a bit smarter by using new ASYNC_START and
7165         ASYNC_DONE messages. This reduces the number of times we run the state
7166         recalculation thread.
7167         Don't change state of element with a pending ASYNC_START message.
7168         Deprecate STATE_DIRTY messages.
7169         
7170         * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7171         (gst_element_get_state_func), (gst_element_continue_state),
7172         (gst_element_lost_state), (gst_element_set_state_func),
7173         (gst_element_change_state):
7174         * gst/gstelement.h:
7175         Keep the state that was last set by the app in a new element field.
7176         Don't allow state changes when handling an element event.
7177         Post ASYNC_START and ASYNC_DONE messages.
7178         Change lost_state so that we go to PAUSED and wait for the parent to set
7179         us to PLAYING again (so latency calculation can be performed)
7180         Export gst_element_change_state() method so that subclasses can use it.
7181         API: gst_element_change_state()
7182         API: GST_STATE_TARGET
7183
7184         * gst/gstpipeline.c: (gst_pipeline_class_init),
7185         (reset_stream_time), (gst_pipeline_change_state),
7186         (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7187         Using the new ASYNC_START message we can reset the base_time when
7188         needed. This can then be used to implement base_time redistribution in
7189         flushing seeks so that we can remove the explicit seek handling.
7190         Perform latency query and configuration when going to PLAYING.
7191
7192         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7193         (gst_base_sink_query), (gst_base_sink_change_state):
7194         Post new ASYNC_START/ASYNC_DONE messages.
7195
7196         * tests/check/generic/sinks.c: (GST_START_TEST):
7197         Fix test because the bin will not set the async element to PLAYING right
7198         away.
7199
7200         * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7201         Make the message check a little stronger.
7202         Handle ASYNC messages.
7203
7204         * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7205         * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7206         Expect ASYNC_DONE messages.
7207
7208 2007-03-19  Wim Taymans  <wim@fluendo.com>
7209
7210         * docs/gst/gstreamer-sections.txt:
7211         * gst/gstmessage.c: (gst_message_new_async_start),
7212         (gst_message_new_async_done), (gst_message_parse_info),
7213         (gst_message_parse_async_start):
7214         * gst/gstmessage.h:
7215         Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7216         support.
7217
7218 2007-03-15  Tim-Philipp Müller  <tim at centricular dot net>
7219
7220         * tools/gst-inspect.c:
7221         (print_plugin_automatic_install_info_codecs):
7222           Now that we don't check for the 'Codec' keyword any longer in the
7223           klass, we shouldn't spew a warning if the klass isn't a decoder or
7224           encoder (since it might be a Source/Network, for example).
7225
7226 2007-03-14  Tim-Philipp Müller  <tim at centricular dot net>
7227
7228         * tools/gst-inspect.c:
7229         (print_plugin_automatic_install_info_codecs):
7230           Don't require decoder/demuxer/depayloader elements or
7231           encoder/muxer/paylader elements to have 'Codec' as part of their
7232           factory class string when introspecting a plugin's capabilities.
7233           draft-klass.txt mentions that it might be removed in future, and
7234           flump3dec doesn't have it as part of its class string, so chances
7235           are others might also not have it.
7236
7237 2007-03-14  Thomas Vander Stichele  <thomas at apestaart dot org>
7238
7239         * po/af.po:
7240         * po/az.po:
7241         * po/bg.po:
7242         * po/ca.po:
7243         * po/cs.po:
7244         * po/de.po:
7245         * po/en_GB.po:
7246         * po/fr.po:
7247         * po/it.po:
7248         * po/nb.po:
7249         * po/nl.po:
7250         * po/ru.po:
7251         * po/sq.po:
7252         * po/sr.po:
7253         * po/sv.po:
7254         * po/tr.po:
7255         * po/uk.po:
7256         * po/vi.po:
7257         * po/zh_CN.po:
7258         * po/zh_TW.po:
7259           Update translations from translation project
7260
7261 2007-03-14  Stefan Kost  <ensonic@users.sf.net>
7262
7263         * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7264         (gst_child_proxy_set_property):
7265           Invert precondition check to be alike the ones in the mimiced gobject
7266           api.
7267
7268 2007-03-13  Stefan Kost  <ensonic@users.sf.net>
7269
7270         * docs/design/draft-tagreading.txt:
7271         * docs/random/ensonic/audiobaseclasses.txt:
7272           Do some Architect work.
7273
7274         * gst/gstobject.c: (gst_object_set_name):
7275           Add a WARNING.
7276
7277         * gst/gstpad.c:
7278           Add docs that point from gst_pad_get_range to gst_pad_pull_range
7279
7280 2007-03-12  Jan Schmidt  <thaytan@mad.scientist.com>
7281
7282         * gst/gstsystemclock.c: (gst_system_clock_init),
7283         (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7284         Defer starting the async system clock thread until the first async
7285         wait is scheduled. Fixes #414986.
7286
7287 2007-03-12  Tim-Philipp Müller  <tim at centricular dot net>
7288
7289         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7290         (gst_single_queue_free):
7291           Fix small leak (free GstSingleQueue structure too, not only contents).
7292
7293 2007-03-10  Sebastien Moutte  <sebastien@moutte.net>
7294
7295         * gst/gstbin.c:(gst_bin_add):
7296         Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7297         * win32/common/libgstbase.def:
7298         * win32/common/libgstreamer.def:
7299         Add new exported functions.
7300
7301 2007-03-09  Wim Taymans  <wim@fluendo.com>
7302
7303         * docs/plugins/gstreamer-plugins-sections.txt:
7304         Fix GstTee docs.
7305
7306 2007-03-09  Wim Taymans  <wim@fluendo.com>
7307
7308         * docs/gst/gstreamer-sections.txt:
7309         * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7310         * gst/gstbuffer.h:
7311         Add metadata copy functions. Fixes #393099.
7312         API: gst_buffer_copy_metadata()
7313
7314         * gst/gstutils.c: (gst_buffer_stamp):
7315         * libs/gst/base/gstbasetransform.c:
7316         (gst_base_transform_prepare_output_buffer):
7317         Use new metadata copy functions.
7318
7319 2007-03-09  Thomas Vander Stichele  <thomas at apestaart dot org>
7320
7321         * plugins/elements/gstidentity.c: (gst_identity_class_init),
7322         (gst_identity_init), (gst_identity_check_perfect),
7323         (gst_identity_check_imperfect_timestamp),
7324         (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7325         (gst_identity_set_property), (gst_identity_get_property):
7326         * plugins/elements/gstidentity.h:
7327         Separate out check-imperfect-timestamp and check-imperfect-offset.
7328         Put back check-perfect as it was to keep compatibility.
7329
7330 2007-03-09  Jan Schmidt  <thaytan@mad.scientist.com>
7331
7332         * gst/gstelement.c: (gst_element_dispose):
7333         There's no need to warn if VOID_PENDING is not NONE here, as
7334         long as the state is NULL it's ok, and that's checked immediately
7335         above.
7336
7337 2007-03-08  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7338
7339         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7340         Fix check for perfect stream to ignore buffers with -1 
7341         offsets/offset ends when checking data contiguity.
7342
7343 2007-03-08  Wim Taymans  <wim@fluendo.com>
7344
7345         * tools/gst-launch.c: (event_loop):
7346         Print INFO messages.
7347
7348 2007-03-08  Wim Taymans  <wim@fluendo.com>
7349
7350         * libs/gst/base/gstbasetransform.c:
7351         (gst_base_transform_sink_eventfunc),
7352         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7353         (gst_base_transform_activate):
7354         * libs/gst/base/gstbasetransform.h:
7355         Add support for dropping buffers with custom GstFlowReturn.
7356         Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7357         buffers or dropped buffers.
7358
7359         * docs/libs/gstreamer-libs-sections.txt:
7360         docs for new custom return code.
7361
7362         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7363         Use drop support in base class to implement drop-probability.
7364
7365 2007-03-07  Tim-Philipp Müller  <tim at centricular dot net>
7366
7367         * gst/gst.c: (load_plugin_func):
7368         * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7369         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7370         * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7371           Remove newlines at end of debug log strings.
7372
7373 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7374
7375         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7376         Only post bus message at max, once per buffer received.
7377
7378 2007-03-07  Wim Taymans  <wim@fluendo.com>
7379
7380         * docs/design/Makefile.am:
7381         * docs/design/part-synchronisation.txt:
7382         Add doc about synchronisation
7383
7384         * docs/design/draft-latency.txt:
7385         * docs/design/part-TODO.txt:
7386         * docs/design/part-clocks.txt:
7387         * docs/design/part-events.txt:
7388         * docs/design/part-gstbus.txt:
7389         * docs/design/part-gstpipeline.txt:
7390         * docs/design/part-live-source.txt:
7391         * docs/design/part-messages.txt:
7392         * docs/design/part-overview.txt:
7393         * docs/design/part-streams.txt:
7394         * docs/design/part-trickmodes.txt:
7395         Documentation updates.
7396
7397 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7398
7399         * gstreamer.doap:
7400         Update the doap file.
7401
7402 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7403
7404         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7405         Rename non-perfect to imperfect for Mike and for the sanctity of the
7406         language.
7407         Also make sure bus message gets emitted for data-incontiguities.
7408
7409 2007-03-07  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
7410
7411         * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7412         (gst_identity_start):
7413         * plugins/elements/gstidentity.h:
7414         Emit bus message if check-perfect is true and we encounter a
7415         non-perfect stream between 2 consecutive buffers.
7416         Fixes #415394.
7417
7418 2007-03-07  Jan Schmidt  <thaytan@mad.scientist.com>
7419
7420         * configure.ac:
7421         Back to CVS
7422
7423 === release 0.10.12 ===
7424
7425 2007-03-07  Jan Schmidt <thaytan@mad.scientist.com>
7426
7427         * configure.ac:
7428           releasing 0.10.12, "Inevitable Demise"
7429
7430 2007-03-01  Jan Schmidt  <thaytan@mad.scientist.com>
7431
7432         * configure.ac:
7433          Version 0.10.11.2 (0.10.12 pre-release)
7434          Bump libtool versioning.
7435
7436 2007-03-01  Stefan Kost  <ensonic@users.sf.net>
7437
7438         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7439           Log flow-names and not numbers.
7440
7441 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7442
7443         * configure.ac:
7444           Convert to new AG_GST style.
7445
7446 2007-02-28  Wim Taymans  <wim@fluendo.com>
7447
7448         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7449         Don't unref query twice.
7450
7451 2007-02-28  Wim Taymans  <wim@fluendo.com>
7452
7453         * gst/gstvalue.c: (gst_value_transform_object_string),
7454         (_gst_value_initialize):
7455         Implement GstObject -> string transform so we print object names
7456         when serializing GValues containing GstObjects.
7457
7458 2007-02-28  Wim Taymans  <wim@fluendo.com>
7459
7460         * docs/gst/gstreamer-sections.txt:
7461         Add new stuff to docs.
7462
7463 2007-02-28  Wim Taymans  <wim@fluendo.com>
7464
7465         * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7466         (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7467         (gst_base_sink_change_state):
7468         Improve latency query code.
7469         Don't leak latency events.
7470
7471         * tests/check/gst/gstbin.c: (GST_START_TEST):
7472         Improve debugging.
7473
7474 2007-02-28  Wim Taymans  <wim@fluendo.com>
7475
7476         * gst/gstelement.c: (gst_element_message_full),
7477         (gst_element_get_state_func):
7478         * gst/gstelement.h:
7479         Improve docs a little. Added Since: for new macro.
7480
7481         * gst/gstobject.c: (gst_object_sink):
7482         * gst/gstpipeline.c: (gst_pipeline_change_state),
7483         (gst_pipeline_set_new_stream_time):
7484         * gst/gstpipeline.h:
7485         Improve debugging and docs.
7486
7487         * gst/gstutils.c: (gst_element_state_change_return_get_name):
7488         Improve debugging.
7489
7490 2007-02-28  Wim Taymans  <wim@fluendo.com>
7491
7492         * gst/gstelement.c: (gst_element_message_full),
7493         (gst_element_set_locked_state), (gst_element_get_state_func),
7494         (gst_element_change_state):
7495         Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7496         Documentation updates.
7497         Small code cleanups.
7498
7499         * gst/gstmessage.c: (gst_message_new_info),
7500         (gst_message_parse_info):
7501         * gst/gstmessage.h:
7502         API: gst_message_new_info()
7503         API: gst_message_parse_info()
7504         Add INFO message create and parse code.
7505
7506 2007-02-28  Wim Taymans  <wim@fluendo.com>
7507
7508         * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7509         (bin_query_latency_done):
7510         Also report the live parameter of a latency query.
7511
7512 2007-02-28  Thomas Vander Stichele  <thomas at apestaart dot org>
7513
7514         * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7515           Copy the current generic/states example from -base and adapt so
7516           we can use the exact same code everywhere.
7517           Check a STATES_IGNORE_ELEMENTS env var which can be used
7518           to ignore certain element factories for this test, which is
7519           what is being done in -base
7520         * tests/check/Makefile.am:
7521           Mention this environment variable.
7522
7523 2007-02-27  Wim Taymans  <wim@fluendo.com>
7524
7525         * docs/gst/gstreamer-sections.txt:
7526         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7527         (gst_bus_timed_pop), (gst_bus_pop):
7528         * gst/gstbus.h:
7529         API: gst_bus_timed_pop()
7530         Implement gst_bus_timed_pop() to do a blocking timed wait for a
7531         message to arrive on the bus.
7532
7533         * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7534         (gst_bus_suite):
7535         Two unit tests for new _timed_pop() function.
7536
7537 2007-02-23  Wim Taymans  <wim@fluendo.com>
7538
7539         * gst/gstpipeline.c: (gst_pipeline_change_state),
7540         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7541         Don't ref a NULL clock in _provide_clock_func().
7542         Don't allow an INVALID delay.
7543         Don't try to calculate base_time with an invalid start_time.
7544         Also distribute and notify a NULL clock when it was selected.
7545
7546         * tools/gst-launch.c: (event_loop):
7547         Don't crash when a NULL clock was selected in the pipeline.
7548
7549 2007-02-23  Tim-Philipp Müller  <tim at centricular dot net>
7550
7551         * docs/design/Makefile.am:
7552         * docs/design/draft-missing-plugins.txt:
7553         * docs/random/draft-missing-plugins.txt:
7554           Some small updates: update plugin system identifier prefix
7555           ('gstreamer.net' to 'gstreamer'), mention our new install
7556           API in libgstbaseutils rather than libgimme-codec, add
7557           reference to the online docs.
7558
7559 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7560
7561         * win32/common/config.h:
7562           Pretty sure Bill never made a powerpc version.  Powerpc hackers,
7563           use moap cl ci to only check in what is mentioned in the ChangeLog.
7564
7565 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7566
7567         * docs/gst/gstreamer-sections.txt:
7568         * gst/gstelement.h:
7569           Fix up documentation to link to the correct GstGError section.
7570           Add GST_ELEMENT_INFO macro since someone else added a Info message.
7571
7572 2007-02-21  Thomas Vander Stichele  <thomas at apestaart dot org>
7573
7574         * tools/gst-launch.c: (event_loop):
7575           Make sure that we actually show the important message part of a
7576           warning message.
7577           No need to check if the gerror is not NULL to free; first of all
7578           g_free accepts NULL; and second the default error handler would
7579           segfault if gerror was NULL.
7580
7581 2007-02-21  Wim Taymans  <wim@fluendo.com>
7582
7583         * docs/gst/gstreamer-sections.txt:
7584         Removed docs as well.
7585
7586 2007-02-21  Wim Taymans  <wim@fluendo.com>
7587
7588         * gst/gstmessage.c: (gst_message_parse_duration):
7589         * gst/gstmessage.h:
7590         Remove new messages for release.
7591
7592 2007-02-20  Wim Taymans  <wim@fluendo.com>
7593
7594         * docs/design/part-gstghostpad.txt:
7595         * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7596         (gst_ghost_pad_new_full):
7597         Make the ghostpad a parent of the internal pad again for better backward
7598         compatibility. Don't write code that relies on this however.
7599
7600         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7601         (gst_pad_link_check_hierarchy):
7602         Require that parents should be GstElements in the hierarchy check.
7603
7604 2007-02-20  Wim Taymans  <wim@fluendo.com>
7605
7606         * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7607         (gst_bin_change_state_func), (bin_query_min_max_init),
7608         (bin_query_latency_fold), (bin_query_latency_done),
7609         (gst_bin_query):
7610         Improve debug info.
7611         Implement latency query.
7612
7613 2007-02-20  Wim Taymans  <wim@fluendo.com>
7614
7615         * docs/design/part-gstghostpad.txt:
7616         * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7617         (gst_ghost_pad_internal_do_activate_push),
7618         (gst_ghost_pad_internal_do_activate_pull),
7619         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7620         (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7621         (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7622         Do not set the internal pad as a parent anymore so we can avoid
7623         hierarchy linking errors when the ghostpad has no parent yet. This also
7624         fixes failed activation because of unlinked internal pads, which in
7625         turn fixes the impossible case where you have to activate a pad before
7626         you can add it to a running element.
7627         Also fix the docs.
7628
7629         * gst/gstpad.c: (pre_activate), (post_activate),
7630         (gst_pad_set_active), (gst_pad_activate_pull),
7631         (gst_pad_activate_push), (gst_pad_check_pull_range):
7632         Add some more debug info.
7633         Mark activation mode in pre_activate so that we don't try to activate in
7634         endless loops. Fixes #385084.
7635
7636 2007-02-19  Wim Taymans  <wim@fluendo.com>
7637
7638         * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7639         (gst_base_transform_check_get_range):
7640         Implement a checkgetrange function instead of relying on the default
7641         core behaviour that assumes we can operate in pull mode if we have a
7642         getrange function. First step at fixing #385084.
7643
7644 2007-02-15  Stefan Kost  <ensonic@users.sf.net>
7645
7646         * gst/gstchildproxy.h:
7647         * libs/gst/base/gstbasesink.h:
7648         * libs/gst/base/gstbasesrc.h:
7649         * libs/gst/base/gstbasetransform.h:
7650         More docs coverage and some ChangeLog surgery (add missing names)
7651
7652 2007-02-15  Wim Taymans  <wim@fluendo.com>
7653
7654         * docs/design/part-TODO.txt:
7655         * docs/design/part-activation.txt:
7656         * docs/design/part-block.txt:
7657         * docs/design/part-buffering.txt:
7658         * docs/design/part-clocks.txt:
7659         * docs/design/part-element-source.txt:
7660         * docs/design/part-events.txt:
7661         * docs/design/part-gstbin.txt:
7662         * docs/design/part-gstbus.txt:
7663         * docs/design/part-gstpipeline.txt:
7664         * docs/design/part-live-source.txt:
7665         * docs/design/part-messages.txt:
7666         * docs/design/part-overview.txt:
7667         * docs/design/part-qos.txt:
7668         * docs/design/part-query.txt:
7669         * docs/design/part-states.txt:
7670         * docs/design/part-trickmodes.txt:
7671         Some doc updates. Start renaming from stream_time to running_time where
7672         it was used wrongly.
7673
7674 2007-02-15  Wim Taymans  <wim@fluendo.com>
7675
7676         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7677         Answer LATENCY query.
7678
7679 2007-02-15  Wim Taymans  <wim@fluendo.com>
7680
7681         * tests/check/gst/gstevent.c: (event_probe), (test_event),
7682         (GST_START_TEST):
7683         Improve debugging.
7684
7685 2007-02-15  Wim Taymans  <wim@fluendo.com>
7686
7687         * gst/gstpad.c: (gst_pad_get_internal_links_default),
7688         (gst_pad_dispatcher):
7689         Improve debugging of default pad dispatcher and query functions.
7690
7691 2007-02-15  Wim Taymans  <wim@fluendo.com>
7692
7693         * docs/gst/gstreamer-sections.txt:
7694         Remove old unused method.
7695
7696 2007-02-13  Wim Taymans  <wim@fluendo.com>
7697
7698         * tests/check/gst/gstsegment.c: (GST_START_TEST):
7699         Fix check
7700
7701 2007-02-13  Wim Taymans  <wim@fluendo.com>
7702
7703         * docs/design/part-seeking.txt:
7704         Some small update.
7705
7706         * gst/gstsegment.c: (gst_segment_set_seek):
7707         Revert old bogus change that should make seeking work again.
7708
7709 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7710
7711         * docs/random/ensonic/dynlink.txt:
7712         * docs/random/ensonic/interfaces.txt:
7713         * docs/random/ensonic/receipies.txt:
7714           Possible dynamic reconnection api, plus some type fixes the other two
7715           docs.
7716
7717 2007-02-13  Sebastian Dröge  <slomo@circular-chaos.org>
7718
7719         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7720         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7721         Also check for an absolute path following file:// in the filesrc
7722         element. Remove redundant check and call g_path_is_absolute() on the
7723         unescaped location.
7724
7725 2007-02-13  Stefan Kost  <ensonic@users.sf.net>
7726
7727         * docs/design/draft-klass.txt:
7728           Add existing category analysis.
7729           
7730         * gst/gstcaps.c:
7731           Fix doc example, framerate is a fraction.
7732
7733 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7734
7735         * configure.ac:
7736         * docs/gst/Makefile.am:
7737         * docs/gst/gstreamer-sections.txt:
7738         * docs/libs/Makefile.am:
7739           Erm, forgot a bunch of --extra-dir.
7740
7741 2007-02-12  Stefan Kost  <ensonic@users.sf.net>
7742
7743         * configure.ac:
7744         * docs/gst/Makefile.am:
7745         * docs/libs/Makefile.am:
7746         * docs/plugins/Makefile.am:
7747           Add crossreferences to glib/gobject docs.
7748
7749 2007-02-12  Wim Taymans  <wim@fluendo.com>
7750
7751         * docs/design/draft-latency.txt:
7752         Small update.
7753
7754         * docs/libs/gstreamer-libs-sections.txt:
7755         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7756         (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7757         (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7758         (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7759         (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7760         (gst_base_sink_get_position), (gst_base_sink_query),
7761         (gst_base_sink_change_state):
7762         * libs/gst/base/gstbasesink.h:
7763         API: gst_base_sink_query_latency() to let subclasses query the upstream
7764         latency.
7765         API: gst_base_sink_get_latency() to let subclasses query the configured
7766         latency in the sink.
7767         Implement query and set latency.
7768         Update some docs.
7769         As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7770         don't continue preroll when we are flushing. Fixes #405284.
7771
7772         * tests/check/pipelines/stress.c: (change_state_timeout),
7773         (quit_timeout), (GST_START_TEST), (stress_suite):
7774         Test for #405284.
7775
7776 2007-02-09  Tim-Philipp Müller  <tim at centricular dot net>
7777
7778         Patch by: René Stadler <mail at renestadler de>
7779
7780         * docs/gst/gstreamer-sections.txt:
7781         * gst/gsttaglist.c: (_gst_tag_initialize):
7782         * gst/gsttaglist.h:
7783           API: add GST_TAG_REFERENCE_LEVEL (#403597).
7784
7785 2007-02-11  Stefan Kost  <ensonic@users.sf.net>
7786
7787         * docs/libs/Makefile.am:
7788           Fix path to core docs.
7789
7790         * gst/gstbin.c: (gst_bin_get_by_interface),
7791         (gst_bin_iterate_all_by_interface):
7792           Refix docs by also renaming 'interface' to 'iface' in implementation.
7793
7794         * docs/gst/gstreamer-sections.txt:
7795         * gst/gstcaps.c:
7796         * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7797         * gst/gstchildproxy.h:
7798         * gst/gstelementfactory.c:
7799         * gst/gstpadtemplate.h:
7800         * libs/gst/controller/gstcontroller.c:
7801         (gst_controlled_property_new):
7802           Document more.
7803
7804 2007-02-10  Sébastien Moutte  <sebastien@moutte.net>
7805
7806         * gst/gstbin.h:(gst_bin_get_by_interface),
7807         (gst_bin_iterate_all_by_interface):
7808         Replace interface parameter name by iface as interface is 
7809         a reserved keyword in Visual Studio for C++ projects so it removes
7810         a build error for application developpers using VS.
7811         * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7812         Fix a bug on Windows in uri format check. Now the prefix checked
7813         is file:// and next we check if the path after file:// is absolute.
7814         * win32/common/libgstbase.def:
7815         * win32/common/libgstdataprotocol.def:
7816         * win32/common/libgstgstreamer.def:
7817         Add new exported functions.
7818
7819 2007-02-09  Andy Wingo  <wingo@pobox.com>
7820
7821         * tests/check/pipelines/simple-launch-lines.c
7822         (simple_launch_lines_suite, test_tee): Disable tee test until I
7823         have time to fix it :-(
7824
7825         * tests/check/Makefile.am (noinst_HEADERS): 
7826         * tests/check/libs/libsabi.c: 
7827         * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7828         * tests/check/gst/gstabi.c: 
7829         * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7830
7831         * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7832         tests for push and pull tee behavior.
7833
7834         * plugins/elements/gsttee.h: 
7835         * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7836         mark as deprecated as well as unimplemented. It was a crack idea.
7837         Add support for tee operating in pull mode, off by default.
7838
7839         * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7840         normal-case logs down to LOG, raise errors to WARNING.
7841         (gst_registry_xml_read_cache): Don't log before calling a function
7842         that logs.
7843
7844         * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7845         exit (registry finalize).
7846         (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7847         DEBUG log when we emit signals that people don't even have the
7848         chance to connect to.
7849         (gst_registry_scan_path_level): Less logging in the normal case.
7850
7851 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
7852
7853         Patch by: Michal Benes <michal dot benes at itonis dot tv>
7854
7855         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7856         Correctly generate EOS for non-seekable files. We don't have a total
7857         length for them and would get an unexpected end of file if we only
7858         special-cased for regular files. (Fixes: #404569)
7859
7860 2007-02-05  Sebastian Dröge  <slomo@circular-chaos.org>
7861
7862         * tests/check/elements/filesrc.c: (GST_START_TEST),
7863         (filesrc_suite):
7864         Add unit test for the GstURIHandler interface in filesrc. This also
7865         tests the newly added file://localhost/foo/bar support.
7866
7867 2007-02-04  Tim-Philipp Müller  <tim at centricular dot net>
7868
7869         * gst/gstelementfactory.h:
7870           The klass string is not a hierarchy. Add reference to the design doc
7871           for more information and common types.
7872
7873 2007-02-02  Wim Taymans  <wim@fluendo.com>
7874
7875         * gst/gstquery.c: (gst_query_new_latency):
7876         Remove old structure field.
7877
7878 2007-02-02  Stefan Kost  <ensonic@users.sf.net>
7879
7880         * tools/gst-launch.1.in:
7881           Give example for network streaming (#351998)
7882
7883 2007-02-02  Wim Taymans  <wim@fluendo.com>
7884
7885         * docs/gst/gstreamer-sections.txt:
7886         Add docs for new methods.
7887
7888         * gst/gstevent.c: (gst_event_new_latency),
7889         (gst_event_parse_latency):
7890         * gst/gstevent.h:
7891         Add new LATENCY event to configure latency in a pipeline.
7892         API: gst_event_new_latency
7893         API: gst_event_parse_latency
7894
7895         * gst/gstmessage.c: (gst_message_new_buffering),
7896         (gst_message_new_lost_preroll), (gst_message_new_prerolled),
7897         (gst_message_new_latency), (gst_message_parse_buffering),
7898         (gst_message_parse_lost_preroll):
7899         * gst/gstmessage.h:
7900         Added messages used in draft-latency.
7901         API: gst_message_new_lost_preroll
7902         API: gst_message_parse_lost_preroll
7903         API: gst_message_new_prerolled
7904         API: gst_message_new_latency
7905
7906         * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
7907         (gst_query_parse_latency):
7908         * gst/gstquery.h:
7909         Implemented new latency query as in design doc.
7910         API: gst_query_new_latency
7911         API: gst_query_set_latency
7912         API: gst_query_parse_latency
7913
7914 2007-02-02  Wim Taymans  <wim@fluendo.com>
7915
7916         * docs/design/draft-latency.txt:
7917         Slight redesign to allow for dynamic latency adjustments.
7918
7919         * docs/design/part-negotiation.txt:
7920         Fix some typos.
7921
7922 2007-02-02  Sebastian Dröge  <slomo@circular-chaos.org>
7923
7924         reviewed by: Wim Taymans <wim@fluendo.com>
7925
7926         * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7927         * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7928         Allow file://localhost/foo/bar URLs and correctly fail for every other
7929         hostname that one sets. This was gnomevfssrc is linked for those if
7930         installed as it can handle it (#403172)
7931
7932 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
7933
7934         reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7935
7936         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7937         (unref_data), (gst_collect_pads_add_pad_full):
7938         * libs/gst/base/gstcollectpads.h:
7939         Don't put the previously added destroy notify in the GstCollectData
7940         struct as all it's padding is already used and we don't want to break
7941         ABI. Instead put in the pad's GObject data for now. This should be
7942         cleaned up for 0.11 (#402393).
7943
7944 2007-02-01  Sebastian Dröge  <slomo@circular-chaos.org>
7945
7946         reviewed by: Wim Taymans <wim@fluendo.com>
7947
7948         * docs/libs/gstreamer-libs-sections.txt:
7949         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7950         (unref_data), (gst_collect_pads_add_pad),
7951         (gst_collect_pads_add_pad_full):
7952         * libs/gst/base/gstcollectpads.h:
7953         API: Add function to specify a destroy notification for custom
7954         GstCollectData when adding new pads in GstCollectPads (#402393).
7955
7956 2007-02-01  Tim-Philipp Müller  <tim at centricular dot net>
7957
7958         * po/sv.po:
7959           Update Swedish translation (#378255).
7960
7961 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
7962
7963         * docs/design/draft-klass.txt:
7964           Fix the previous change, this is a list of categories and not a hierarchy.
7965
7966 2007-01-31  Stefan Kost  <ensonic@users.sf.net>
7967
7968         * docs/design/draft-klass.txt:
7969           Add info about how to get a list of used classes.
7970
7971 2007-01-30  Tim-Philipp Müller  <tim at centricular dot net>
7972
7973         * plugins/elements/gsttypefindelement.c:
7974         (gst_type_find_element_chain_do_typefinding),
7975         (gst_type_find_element_change_state):
7976           Don't leak found caps in chain function (no idea why that never
7977           showed up as a leak anywhere).
7978
7979 2007-01-30  Stefan Kost  <ensonic@users.sf.net>
7980
7981         * gst/gstplugin.h:
7982           Fix and expand GstPluginDesc API docs.
7983
7984 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
7985
7986         * gst/gstcaps.c:
7987         * gst/gstelementfactory.c:
7988         * gst/gstpadtemplate.h:
7989           api doc fixes
7990
7991         * libs/gst/controller/gstcontroller.c:
7992         (gst_controlled_property_new):
7993         * tests/examples/controller/audio-example.c:
7994           comment fixes
7995
7996 2007-01-29  Stefan Kost  <ensonic@users.sf.net>
7997
7998         * configure.ac:
7999           comment about refining the xml deps
8000
8001         * docs/manuals.mak:
8002           comments about moving away from jade for docs
8003         
8004         * gst/gst.c:
8005           recommit the ifdefs to use the binary registry
8006         
8007         * gst/gstbin.c: (gst_bin_change_state_func):
8008           this break is obsolete
8009
8010         * gst/gstelementfactory.h:
8011           better GST_ELEMENT_DETAILS docs, add comment about translation
8012
8013         * gst/gstinfo.h:
8014           remove eol slash
8015
8016         * gst/gstobject.c: (gst_signal_object_get_type):
8017           add G_UNLIKELY as usual
8018
8019         * gst/gstpad.c: (gst_pad_event_default):
8020           add fall trhu comment
8021
8022         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8023         (gst_registry_binary_initialize_magic),
8024         (gst_registry_binary_save_string),
8025         (gst_registry_binary_save_pad_template),
8026         (gst_registry_binary_save_feature),
8027         (gst_registry_binary_save_plugin),
8028         (gst_registry_binary_write_cache),
8029         (gst_registry_binary_check_magic),
8030         (gst_registry_binary_load_pad_template),
8031         (gst_registry_binary_load_feature),
8032         (gst_registry_binary_load_plugin),
8033         (gst_registry_binary_read_cache):
8034           comment typo and formatting
8035
8036         * gst/gstutils.c: (gst_element_state_get_name),
8037         (gst_element_state_change_return_get_name):
8038           remove obsolete breaks
8039
8040         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8041           add FIXME 0.11 and remove cpp comment
8042
8043 2007-01-29  Edward Hervey  <edward@fluendo.com>
8044
8045         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8046         Fix print statement in an even more portable way.
8047
8048 2007-01-29  Tim-Philipp Müller  <tim at centricular dot net>
8049
8050         * docs/gst/gstreamer-sections.txt:
8051         * gst/gstutils.h:
8052           API: add GST_ROUND_DOWN_* macros (#401781).
8053
8054 2007-01-27  Tim-Philipp Müller  <tim at centricular dot net>
8055
8056         * docs/gst/gstreamer.types.in:
8057         * gst/gstregistry.c: (gst_registry_class_init):
8058           Document registry signals and make gtk-doc pick them up (#401381).
8059
8060 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8061
8062         * docs/pwg/building-testapp.xml:
8063           Add some audioconverts and audioresample to the pipeline, and some
8064           more comments and error handling.
8065
8066 2007-01-26  Tim-Philipp Müller  <tim at centricular dot net>
8067
8068         * docs/manual/manual.xml:
8069         * docs/pwg/pwg.xml:
8070           Fix typo (#400987).
8071
8072 2007-01-26  Wim Taymans  <wim@fluendo.com>
8073
8074         * gst/gstcaps.c: (gst_static_caps_get):
8075         Init caps flags too.
8076
8077 2007-01-25  Sebastian Dröge  <slomo@circular-chaos.org>
8078
8079         Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8080
8081         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8082         If not using mmap'ed files try to seek to the end instead of the
8083         start to determine whether we can seek at all. This fixes the case
8084         of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8085         seeks for everything afterwards fail. Fixes #400656
8086
8087 2007-01-25  Wim Taymans  <wim@fluendo.com>
8088
8089         * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8090         Add some refcount debugging.
8091         Make gst_static_caps_get threadsafe, which is needed when autoplugging
8092         in multiple streaming threads.
8093
8094 2007-01-25  Wim Taymans  <wim@fluendo.com>
8095
8096         Patch by: David Schleef <ds at schleef dot org>
8097
8098         * docs/libs/gstreamer-libs-sections.txt:
8099         * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8100         * libs/gst/base/gstadapter.h:
8101         API: gst_adapter_copy() that can reduce the amount of memcpy when
8102         getting data from the adapter. Fixes #388201.
8103
8104 2007-01-25  Edward Hervey  <edward@fluendo.com>
8105
8106         * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8107         In print statements, "%x" is for guint. Fixes build on macosx.
8108
8109 2007-01-24  Edward Hervey  <edward@fluendo.com>
8110
8111         * plugins/elements/gstmultiqueue.c:
8112         (gst_multi_queue_loop):
8113         Small fix.
8114         (single_queue_overrun_cb), (single_queue_underrun_cb),
8115         (single_queue_check_full), (gst_single_queue_new):
8116         Implement single queue growth system.
8117         This uses the extra-size properties, and will grow single queues by
8118         that much if one goes full whereas there are others empty. This is
8119         called extra-mode in the code.
8120         When a single queue's levels go back below the initial max-size
8121         limits, it is no longer in extra-mode. This is to ensure we don't
8122         consume too much memory.
8123         Fixes #399875
8124
8125 2007-01-23  Tim-Philipp Müller  <tim at centricular dot net>
8126
8127         * gst/gst.c: (gst_init_get_option_group):
8128           Make warning about late g_thread_init() calls a bit more explicit,
8129           so that it's more obvious to application developers what they need
8130           to do if a user files a bug against their application.
8131
8132 2007-01-22  Edward Hervey  <edward@fluendo.com>
8133
8134         * plugins/elements/gstmultiqueue.c:
8135         (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8136         Remove previous hack of unsetting the flushing flag for the source pad
8137         instead of activating it. Instead, fix the source pad activate function
8138         so that it no longer depends on having a parent set or not.
8139
8140 2007-01-22  Tim-Philipp Müller  <tim at centricular dot net>
8141
8142         Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8143
8144         * docs/manual/basics-bus.xml:
8145           Fix example code, gst_element_unref() doesn't exist any longer.
8146
8147 2007-01-21  Tim-Philipp Müller  <tim at centricular dot net>
8148
8149         Patch by: Mark Nauwelaerts <manauw at skynet be>
8150
8151         * gst/gstpad.c:
8152           Fix two docs typoes (#399094).
8153
8154 2007-01-19  Edward Hervey  <edward@fluendo.com>
8155
8156         * docs/faq/gst-uninstalled:
8157         Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8158         depending on libgstbaseutils can work in uninstalled environment.
8159
8160 2007-01-18  Stefan Kost  <ensonic@users.sf.net>
8161
8162         * gst/gsttaglist.h:
8163         * gst/gsttagsetter.c:
8164         Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8165         statement for new tag.
8166
8167 2007-01-17  Edward Hervey  <edward@fluendo.com>
8168
8169         * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8170         When dynamically creating single queues, activate sinkpad before adding
8171         it.
8172         We should be doing the same thing for the source pad, but we can't
8173         since it would call a method which needs the parent to be set in order
8174         to work propertly. Instead of activating the source pad, we just unset
8175         the flushing flag, which is the minimal requirement for adding a pad
8176         to an element in a state greater than READY.
8177
8178 2007-01-17  Edward Hervey  <edward@fluendo.com>
8179
8180         * docs/faq/gst-uninstalled:
8181         Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8182         Mac OS X.
8183
8184 2007-01-17  Tim-Philipp Müller  <tim at centricular dot net>
8185
8186         * tests/check/gst/gstabi.c:
8187         * tests/check/gst/struct_hppa.h:
8188         * tests/check/libs/libsabi.c:
8189         * tests/check/libs/struct_hppa.h:
8190           Add ABI structs for HPPA (see #393796).
8191
8192 2007-01-16  Tim-Philipp Müller  <tim at centricular dot net>
8193
8194         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8195           Actually write ABI structs to the file specified in the GST_ABI
8196           environment variable, as the message we print claims we would.
8197
8198 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8199
8200         * tests/check/gst/gsttask.c:
8201           Fix header comment.
8202
8203 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8204
8205         * gst/gsttaglist.c: (_gst_tag_initialize):
8206           Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8207           previous two entries.
8208
8209 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8210
8211         * docs/gst/gstreamer-sections.txt:
8212         * gst/gsttaglist.c: (_gst_tag_initialize):
8213         * gst/gsttaglist.h:
8214           Add tag support for beat-per-minute.
8215
8216 2007-01-15  Stefan Kost  <ensonic@users.sf.net>
8217
8218         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8219         (gst_registry_binary_initialize_magic),
8220         (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8221         (gst_registry_binary_save_pad_template),
8222         (gst_registry_binary_save_feature),
8223         (gst_registry_binary_save_plugin),
8224         (gst_registry_binary_write_cache),
8225         (gst_registry_binary_check_magic),
8226         (gst_registry_binary_load_pad_template),
8227         (gst_registry_binary_load_feature),
8228         (gst_registry_binary_load_plugin),
8229         (gst_registry_binary_read_cache):
8230         * gst/gstregistrybinary.h:
8231           Use glib types, cleanup comments, impement interfaces and uri-types.
8232
8233 2007-01-13  Andy Wingo  <wingo@pobox.com>
8234
8235         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8236         getrange() to return buffers with other caps, while we fix
8237         demuxers and typefind, or otherwise change part-negotiation.txt.
8238
8239 2007-01-12  Andy Wingo  <wingo@pobox.com>
8240
8241         * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8242         Factor start/stop into this private function instead of partially
8243         in activate functions and partially in the change_state function.
8244         Fixes setup before the element has changed from READY->PAUSED, as
8245         is the case in pull-mode pipelines.
8246         (gst_base_transform_sink_activate_push)
8247         (gst_base_transform_src_activate_pull): Refactor to use
8248         gst_base_transform_activate().
8249         (gst_base_transform_change_state): Removed, not needed any more.
8250
8251         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8252         Truncate before fixating.
8253         
8254         * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8255         Don't set_caps() if the result of fixating is ANY, as it's not
8256         supported, and not necessary in the case of a link with no
8257         template caps on either side. Fixes tests/check/libs/basesrc in
8258         some pull-mode tests.
8259
8260         * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8261         (gst_base_transform_init, gst_base_transform_sink_activate_push)
8262         (gst_base_transform_src_activate_pull): 
8263         Track the activation mode.
8264         (gst_base_transform_setcaps): In pull mode, when activating the
8265         src pad, after activating the sink pad, activate the sink pad's
8266         peer, as discussed in part-negotiation.txt.
8267
8268         * libs/gst/base/gstbasesrc.h: 
8269         * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8270         vmethod, as in basesink.
8271
8272         * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8273
8274         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8275         mode, first proxy the setcaps to the peer pad.
8276         (gst_base_sink_pad_fixate): Add a fixate function that calls the
8277         new fixate vmethod.
8278         (gst_base_sink_default_activate_pull): Rename from
8279         gst_base_sink_activate_pull.
8280         (gst_base_sink_negotiate_pull): New function, performs negotiation
8281         in pull mode before calling ::activate_pull().
8282         (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8283         vmethod instead of the default implementation. I have no idea how
8284         this worked before. Negotiate before calling activate_pull.
8285
8286         * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8287         sink pads in pull mode. In addition to being correct, fixes
8288         filesrc ! decodebin ! identity ! fakesink.
8289         (gst_pad_get_range, gst_pad_pull_range): Don't call
8290         gst_pad_set_caps() if the caps changes; instead error out with
8291         GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8292
8293 2007-01-12  Andy Wingo  <wingo@pobox.com>
8294
8295         * docs/design/part-negotiation.txt: Update with more policy.
8296
8297 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8298
8299         * libs/gst/check/gstbufferstraw.h:
8300         * libs/gst/check/gstcheck.h:
8301           Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8302           belongs.
8303
8304 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8305
8306         * tests/check/Makefile.am:
8307         * tests/check/gst/.cvsignore:
8308         * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8309         (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8310         (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8311         (GST_START_TEST), (gst_tag_setter_suite):
8312           Add minimal unit test for beforementioned GstTagSetter bug.
8313
8314 2007-01-12  Tim-Philipp Müller  <tim at centricular dot net>
8315
8316         Patch by: René Stadler <mail at renestadler dot de>
8317
8318         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8319           gst_tag_list_merge() returns a new list, so it's not the best idea
8320           to ingore its return value. Effectively meant that tags could only
8321           be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8322           Also add function guard to require a non-NULL taglist as input (has
8323           always been so due to gst_tag_list_copy(), just making it explicit).
8324
8325 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8326
8327         * docs/random/draft-missing-plugins.txt:
8328           Some additions: mention new API that is supposed to be used at the
8329           various stages; short blob about new gst-inspect introspection
8330           option; mention potential future problem with plugins that have
8331           a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8332
8333 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8334
8335         * tools/gst-inspect.c:
8336         (print_plugin_automatic_install_info_codecs),
8337         (print_plugin_automatic_install_info_protocols),
8338         (print_plugin_automatic_install_info), (main):
8339         Add --print-plugin-auto-install-info option to gst-inspect, so we can
8340         introspect plugin files and get machine-parsable output that corresponds
8341         to the last bit of the missing-plugin installer string (small gotcha:
8342         doesn't take into account ranks).
8343
8344 2007-01-11  Stefan Kost  <ensonic@users.sf.net>
8345
8346         * configure.ac:
8347         * docs/gst/gstreamer-sections.txt:
8348         * gst/Makefile.am:
8349         * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8350         (gst_registry_lookup_locked):
8351         * gst/gstregistry.h:
8352         * gst/gstregistrybinary.c: (gst_registry_binary_write),
8353         (gst_registry_binary_initialize_magic),
8354         (gst_registry_binary_save_string),
8355         (gst_registry_binary_save_pad_template),
8356         (gst_registry_binary_save_feature),
8357         (gst_registry_binary_save_plugin),
8358         (gst_registry_binary_write_cache),
8359         (gst_registry_binary_check_magic),
8360         (gst_registry_binary_load_pad_template),
8361         (gst_registry_binary_load_feature),
8362         (gst_registry_binary_load_plugin),
8363         (gst_registry_binary_read_cache):
8364         * gst/gstregistrybinary.h:
8365         * gst/gstregistryxml.c: (load_feature),
8366         (gst_registry_xml_read_cache):
8367           commit binary registry (disabled by default, see #359653)
8368
8369 2007-01-11  Tim-Philipp Müller  <tim at centricular dot net>
8370
8371         * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8372           Fix 'make check' too.
8373
8374 2007-01-10  Andy Wingo  <wingo@pobox.com>
8375
8376         * docs/design/part-negotiation.txt: Fix a typo, add a couple
8377         notes.
8378         
8379         * docs/design/part-negotiation.txt: Update with, um, one way that
8380         pull-mode negotiation might work?
8381
8382         * gst/gstpad.h: 
8383         * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8384         that the pad must be a src pad; makes sense to call it the other
8385         way in pull mode, and the logic is symmetric anyway.
8386
8387 2007-01-10  Tim-Philipp Müller  <tim at centricular dot net>
8388
8389         * plugins/elements/gstfilesink.c:
8390           Include <stdio.h> for fseeko().
8391
8392 2007-01-10  Wim Taymans  <wim@fluendo.com>
8393
8394         * gst/gstevent.c:
8395         * gst/gstevent.h:
8396         Reserve LATENCY event.
8397
8398 2007-01-09  Wim Taymans  <wim@fluendo.com>
8399
8400         * docs/design/draft-latency.txt:
8401         Updates.
8402
8403 2007-01-09  Wim Taymans  <wim@fluendo.com>
8404
8405         * docs/design/draft-latency.txt:
8406         Updates.
8407
8408         * gst/gstelement.h:
8409         * gst/gststructure.c:
8410         * gst/gsttrace.c:
8411         Small typo fixes.
8412
8413 2007-01-09  Tim-Philipp Müller  <tim at centricular dot net>
8414
8415         * tests/check/.cvsignore:
8416           Ignore test-registry.xml as well.
8417
8418 2007-01-09  Wim Taymans  <wim@fluendo.com>
8419
8420         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8421         unref data at the end when we are done with the pad.
8422
8423 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8424
8425         * docs/gst/gstreamer-sections.txt:
8426         * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8427         (init_post), (gst_deinit), (gst_update_registry):
8428         * gst/gst.h:
8429           API: add gst_update_registry() (#391296).
8430
8431         * tests/check/Makefile.am:
8432         * tests/check/gst/gstregistry.c:
8433         * tests/check/gst/.cvsignore:
8434           Simple unit test for the above.
8435
8436 2007-01-08  Tim-Philipp Müller  <tim at centricular dot net>
8437
8438         * gst/gstregistry.c: (gst_registry_scan_path_level):
8439           Plugin extension on HP-UX is .sl, add that to the list of approved
8440           plugin extensions (see #393796).
8441
8442         * tests/check/gst/gstpad.c: (GST_START_TEST):
8443           ulong => gulong. Fixes compilation with HP-UX compiler.
8444
8445         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8446           Fix compilation if valgrind headers are not available.
8447
8448 2007-01-07  Sébastien Moutte  <sebastien@moutte.net>
8449
8450         * win32/common/libgstreamer.def: 
8451           Add new exported function.
8452         * win32/vs6/libgstbase.dsp: 
8453           Add gstdataqueue.c to the build.
8454         * win32/vs6/libgstcoreelements.dsp:
8455           Add gstmultiqueue.c to the build.
8456         
8457 2007-01-06  Andy Wingo  <wingo@pobox.com>
8458
8459         * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8460         activate_pull(), providing for a way to specialize the process of
8461         spawning a thread to pull on the sink pad. There is a default
8462         implementation.
8463
8464         * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8465         (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8466         (gst_base_sink_init): Renamed pad activation functions (inserting
8467         "_pad" in their names). Refactor to use the new activate_pull
8468         vmethod, as appropriate.
8469         (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8470         default activate_pull function to start a task pulling from the
8471         sink pad, as before.
8472
8473         * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8474         on the pads if necessary, as in push()/chain(). Update docs.
8475         Shouldn't affect existing pull() usage as it is currently only
8476         being used on buffers without caps.
8477
8478 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8479
8480         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8481         (init_pre):
8482           Call g_thread_init() first thing in gst_init() / gst_check_init().
8483           When initialisation is done via gst_init_get_option_group() and
8484           GOption parsing, issue a warning if the GLib thread system has not
8485           been initialised yet by the time gst_init_get_option_group() is
8486           called, as it's quite likely other GLib functions such as
8487           g_option_context_new() have been called already then, and
8488           g_thread_init() must be called before any other GLib function. The
8489           application in question must be fixed in that case, since memory
8490           corruption might happen otherwise.
8491           We issue the warning because even if the GLib folks decide to work
8492           around the problem on their end in future, this is still an issue
8493           with all GLib versions >= 2.10.0, so we should warn until we depend
8494           on a GLib version we know to be safe.
8495           Update documentation as well.
8496           Closes bug #391278.
8497
8498 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8499
8500         * tools/gst-inspect.c: (main):
8501         * tools/gst-launch.c: (main):
8502         * tools/gst-typefind.c: (main):
8503         * tools/gst-xmlinspect.c: (main):
8504           Call g_thread_init() really really early, before any other GLib
8505           function (see #342564 and recent discussion on gtk-devel-list).
8506
8507 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8508
8509         Patch by: Vincent Torri  <vtorri at univ-evry dot fr>
8510
8511         * gst/gst_private.h:
8512         * gst/gstconfig.h.in:
8513         * gst/gstinfo.h:
8514           On win32, all the __declspec stuff for symbol exporting is
8515           apparently only needed with MSVC, but doesn't work with MingW.
8516           Fixes compilation with MingW and #391909.
8517
8518 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>
8519
8520         * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8521           Change some GST_ERROR_OBJECT that aren't really errors to
8522           GST_WARNING_OBJECT in order to reduce terminal spam.
8523
8524 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8525
8526         * tests/check/Makefile.am:
8527           disable test again, as there seem to be still race problems
8528
8529 2007-01-04  Stefan Kost  <ensonic@users.sf.net>
8530
8531         * tests/check/Makefile.am:
8532         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8533         (GST_START_TEST), (queue_suite):
8534           enable queue test again, add tests for the leaky behaviour
8535
8536 2007-01-02  Tim-Philipp Müller  <tim at centricular dot net>
8537
8538         * configure.ac:
8539         * tests/examples/Makefile.am:
8540           Compile adapter test/example only if the required headers are
8541           available (fixes #391915).
8542
8543 2007-01-01  David Schleef  <ds@schleef.org>
8544
8545         * gst/gstplugin.c:
8546           Restore the previous signal handler for SIGSEGV instead of
8547           setting to default, since we may have stolen it away from
8548           someone.  (i.e., Mono)
8549
8550 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8551
8552         * docs/random/draft-missing-plugins.txt:
8553           Some small additions and clarifications.
8554
8555 2006-12-26  Tim-Philipp Müller  <tim at centricular dot net>
8556
8557         * gst/gstregistryxml.c: (gst_registry_save_escaped):
8558           Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8559           since that can lead to random memory corruptions and crashes
8560           (may or may not be related to #383244, #386711, and #386711).
8561
8562 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8563
8564         * tests/check/.cvsignore:
8565         * tests/check/Makefile.am:
8566           sync .cvsignome and CLEANFILES
8567
8568 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8569
8570         * tests/check/Makefile.am:
8571           fix distcheck
8572
8573 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8574
8575         * docs/design/part-states.txt:
8576           two tiny additional comments
8577         
8578         * gst/gststructure.c:
8579           doc fixing
8580
8581         * tests/check/Makefile.am:
8582         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8583         (GST_START_TEST):
8584           disable test for now, unless it gets fixed
8585
8586 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8587
8588         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8589         (GST_START_TEST):
8590           fix race in underrun test
8591
8592 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8593
8594         * tests/check/elements/.cvsignore:
8595           ignore more
8596
8597         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8598         (GST_START_TEST):
8599           try to narrow test failure
8600
8601 2006-12-21  David Schleef  <ds@schleef.org>
8602
8603         * plugins/elements/gstfakesrc.c:
8604           Use g_random_int_range(), since it produces better random
8605           numbers in a range than almost-correct floating point code.
8606
8607 2006-12-21  Stefan Kost  <ensonic@users.sf.net>
8608
8609         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8610         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8611         (gst_check_teardown_sink_pad):
8612           do not automatically (de)activate pads
8613
8614         * tests/check/Makefile.am:
8615         * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8616         (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8617           add new, yet simple tests for queue
8618
8619         * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8620         * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8621         * tests/check/elements/filesrc.c: (cleanup_filesrc),
8622         (GST_START_TEST):
8623         * tests/check/elements/identity.c: (cleanup_identity):
8624           consistent pad (de)activation
8625
8626 2006-12-20  Tim-Philipp Müller  <tim at centricular dot net>
8627
8628         Patch by: Sebastian Dröge  <slomo ubuntu com>
8629
8630         * libs/gst/base/gstcollectpads.c:
8631           Fix two doc typos (#387866).
8632
8633 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8634
8635         * docs/manual/advanced-dparams.xml:
8636           Fix typo (g_object_control_properties() doesn't exist).
8637
8638 2006-12-19  Edward Hervey  <edward@fluendo.com>
8639
8640         * gst/gstsegment.c: (gst_segment_set_seek):
8641         Fine tune the cases where the segment start/stop values are really
8642         updated.
8643         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8644         Add tests for the return values of gst_segment_set_seek().
8645
8646 2006-12-19  Tim-Philipp Müller  <tim at centricular dot net>
8647
8648         * gst/gst.c:
8649           Docs typo fix.
8650
8651         * plugins/elements/gstqueue.c: (gst_queue_class_init),
8652         (gst_queue_init):
8653           Fix incorrect documentation and flesh it out a bit more.
8654           Set default values for the max properties on the GParamSpec as well,
8655           so it shows up correctly in gst-inspect.
8656
8657 2006-12-18  Stefan Kost  <ensonic@users.sf.net>
8658
8659         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8660           Correct docs of queue, add more detail and crosslink it more.
8661
8662 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8663
8664         * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8665           Print additional debug info when the stream isn't perfectly
8666           timestamped; don't try to use invalid durations.
8667
8668 2006-12-16  Tim-Philipp Müller  <tim at centricular dot net>
8669
8670         * docs/design/Makefile.am:
8671           Dist new design docs.
8672
8673 2006-12-16  Wim Taymans  <wim@fluendo.com>
8674
8675         Patch by: Sjoerd Simons <sjoerd at luon dot net>
8676
8677         * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8678         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8679         (gst_collect_pads_stop), (gst_collect_pads_event),
8680         (gst_collect_pads_chain):
8681         * libs/gst/base/gstcollectpads.h:
8682         Add refcounting to the collectpads data so we can track when it's safe
8683         to free the data. Fixes #383382.
8684
8685 2006-12-15  Wim Taymans  <wim@fluendo.com>
8686
8687         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8688         (gst_collect_pads_remove_pad):
8689         Automatically activate/deactivate pads when they are added to a
8690         started/stoped collectpads.
8691
8692 2006-12-15  Wim Taymans  <wim@fluendo.com>
8693
8694         * gst/gstelement.c: (gst_element_add_pad):
8695         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8696         * gst/gstpad.c: (gst_pad_init):
8697         Set pads to FLUSHING when they are created. Check, warn and fix when a
8698         demuxer adds an inactive pad to itself when running. Fixes #339326.
8699
8700 2006-12-15  Wim Taymans  <wim@fluendo.com>
8701
8702         * gst/gstelement.c: (gst_element_class_init),
8703         (gst_element_default_send_event), (gst_element_send_event),
8704         (gst_element_default_query), (gst_element_query):
8705         Expose default element send_event and query handling as vmethods that
8706         subclasses can chain up to.
8707
8708 2006-12-15  Wim Taymans  <wim@fluendo.com>
8709
8710         * gst/gstelement.c: (gst_element_set_state_func):
8711         Small documentation fixes.
8712
8713 2006-12-15  Wim Taymans  <wim@fluendo.com>
8714
8715         * docs/design/draft-latency.txt:
8716         Checked in draft for handling latency in pipelines.
8717
8718 2006-12-15  Thomas Vander Stichele  <thomas at apestaart dot org>
8719
8720         * Makefile.am:
8721         * gstreamer.doap:
8722         * gstreamer.spec.in:
8723           adding .doap file
8724
8725 2006-12-14  Tim-Philipp Müller  <tim at centricular dot net>
8726
8727         * gst/gst.c: (init_pre), (init_post):
8728           init_pre() and init_post() might be called via our GOptionGroup or
8729           from gst_init(), and we should skip both of them if we've already
8730           been initialised, otherwise we will init some things twice or add
8731           two default log functions.
8732
8733 2006-12-13  Edward Hervey  <edward@fluendo.com>
8734
8735         * docs/manual/basics-bus.xml:
8736         No, gst_main_loop does not exist. Its g_main_loop.
8737         Discovered by somebody who abused the copy-paste technique of coding :)
8738
8739 2006-12-13  Tim-Philipp Müller  <tim at centricular dot net>
8740
8741         * gst/gstghostpad.c:
8742           Log ghostpad debug stuff to the GST_PADS category as well rather
8743           than just to the default category.
8744
8745 2006-12-12  Tim-Philipp Müller  <tim at centricular dot net>
8746
8747         * configure.ac:
8748         * gst/gst.c: (init_pre):
8749           Add some basic system details such as OS and architecture
8750           to the debug output if possible, courtesy of uname().
8751
8752 2006-12-11  Tim-Philipp Müller  <tim at centricular dot net>
8753
8754         * docs/gst/running.xml:
8755           Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8756           environment variables.
8757
8758 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
8759
8760         * tests/check/gst/gstbin.c: (GST_START_TEST):
8761         It is acceptable to have a refcount of 2 or 3 at this point in the
8762         test, because the pipeline might be just posting its state_change
8763         message. The next line then waits for that message to appear using
8764         bus_poll, so that should be fine too.
8765
8766 2006-12-09  Jan Schmidt  <thaytan@mad.scientist.com>
8767
8768         * gst/gst.c: (ensure_current_registry_forking):
8769         Ignore EINTR when reading from the child registry pipe.
8770         Explicitly ignore the return value from close, since it makes no
8771         difference.
8772
8773         * gst/gstminiobject.c: (gst_mini_object_ref),
8774         (gst_mini_object_unref):
8775         When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8776
8777         * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8778         When removing cached plugins, remove their features too, so they're
8779         not visible after they've disappeared.
8780
8781         * gst/gstutils.c: (prepare_link_maybe_ghosting):
8782         In the unlikely case that we are linking pads with no parents, don't
8783         crash trying to get the non-existent parent bin.
8784
8785         * gst/parse/grammar.y:
8786         Output debug in the PIPELINE category
8787
8788 2005-03-08  Wim Taymans  <wim@fluendo.com>
8789
8790         Patch by: René Stadler <mail at renestadler dot de>
8791
8792         * gst/gstclock.c: (gst_clock_new_periodic_id):
8793         Reject invalid clock times for interval of periodic ids.
8794         Fixes ##383506.
8795
8796 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
8797
8798         * gst/gstelementfactory.c: (gst_element_factory_create):
8799         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8800         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8801         * tools/gst-inspect.c: (print_element_info):
8802         Fix refcounting of gst_plugin_feature_load to match the docs. 
8803         Fixes: #380129
8804
8805 2006-12-07  Wim Taymans  <wim@fluendo.com>
8806
8807         * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8808         (gst_base_sink_get_position):
8809         Improve debugging of events.
8810
8811 2006-12-07  Wim Taymans  <wim@fluendo.com>
8812
8813         Patch by: René Stadler <mail at renestadler dot de>
8814
8815         * gst/gstclock.c: (gst_clock_id_wait):
8816         Make period ids add the interval to the origial requested time instead
8817         of the possibly updated time which can be wrong when there are multiple
8818         waiters for the same id. Fixes #382592.
8819
8820         * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8821         (gst_system_clock_id_wait_jitter_unlocked),
8822         (gst_system_clock_id_wait_jitter):
8823         Fix restart in the async notify thread when an async entry is added to
8824         the front of the list. Fixes #381492. 
8825
8826         * tests/check/gst/gstsystemclock.c: (store_callback),
8827         (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8828         Added test for multiple async waits.
8829         Added test for async wait order.
8830
8831 2006-12-07  Wim Taymans  <wim@fluendo.com>
8832
8833         * gst/gstbin.c: (gst_bin_query):
8834         Add some more docs about the POSITION query.
8835
8836 2006-12-07  Jan Schmidt  <thaytan@mad.scientist.com>
8837
8838         * configure.ac:
8839         Bump version nano - back to CVS.
8840
8841 === release 0.10.11 ===
8842
8843 2006-12-06  Jan Schmidt <thaytan@mad.scientist.com>
8844
8845         * configure.ac:
8846           releasing 0.10.11, "Love never runs on time"
8847
8848 2006-12-01  Jan Schmidt  <thaytan@mad.scientist.com>
8849
8850         * win32/common/libgstbase.def:
8851         * win32/common/libgstreamer.def:
8852         * win32/vs8/libgstbase.vcproj:
8853         * win32/vs8/libgstcoreelements.vcproj:
8854         * win32/vs8/libgstreamer.vcproj:
8855         Fix compilation on win32 under VS8
8856         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8857         Partially fixes #381175
8858
8859 2006-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
8860
8861         * gst/gstvalue.c: (gst_value_compare_fraction):
8862         If someone is foolish enough to compare 2 fractions with denominator =
8863         0, return UNORDERED rather than aborting.
8864
8865 2006-11-28  Edward Hervey  <edward@fluendo.com>
8866
8867         * libs/gst/base/Makefile.am:
8868         * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
8869         (gst_data_queue_base_init), (gst_data_queue_class_init),
8870         (gst_data_queue_init), (gst_data_queue_new),
8871         (gst_data_queue_cleanup), (gst_data_queue_finalize),
8872         (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
8873         (gst_data_queue_locked_is_full), (gst_data_queue_flush),
8874         (gst_data_queue_is_empty), (gst_data_queue_is_full),
8875         (gst_data_queue_set_flushing), (gst_data_queue_push),
8876         (gst_data_queue_pop), (gst_data_queue_drop_head),
8877         (gst_data_queue_set_property), (gst_data_queue_get_property):
8878         * libs/gst/base/gstdataqueue.h:
8879         New GstDataQueue object for threadsafe queueing. Most useful for
8880         elements that need some queueing functionnality.
8881         * docs/libs/gstreamer-libs-docs.sgml:
8882         * docs/libs/gstreamer-libs-sections.txt:
8883         Insert documentation for GstDataQueue
8884         * plugins/elements/Makefile.am:
8885         * plugins/elements/gstelements.c:
8886         * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
8887         (gst_multi_queue_class_init), (gst_multi_queue_init),
8888         (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8889         (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
8890         (gst_multi_queue_release_pad), (gst_single_queue_push_one),
8891         (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8892         (gst_multi_queue_loop), (gst_multi_queue_chain),
8893         (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8894         (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
8895         (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
8896         (gst_multi_queue_src_event), (gst_multi_queue_src_query),
8897         (wake_up_next_non_linked), (compute_next_non_linked),
8898         (single_queue_overrun_cb), (single_queue_underrun_cb),
8899         (single_queue_check_full), (gst_single_queue_new):
8900         * plugins/elements/gstmultiqueue.h:
8901         New multiqueue element, using GstDataQueue. Used for queuing multiple
8902         streams.
8903         Closes #344639 and #347785
8904
8905 2006-11-22  Stefan Kost  <ensonic@users.sf.net>
8906
8907         * docs/pwg/advanced-types.xml:
8908           add more missing type details
8909
8910         * tools/gst-run.c: (main):
8911           remove unused variable
8912
8913 2006-11-21  Stefan Kost  <ensonic@users.sf.net>
8914
8915         * docs/libs/Makefile.am:
8916         * docs/libs/gstreamer-libs.types:
8917           add types of base classes to enable gobject specific stuff in the docs
8918
8919         * docs/random/ensonic/embedded.txt:
8920           more ideas about isolating platform specific things
8921
8922 2006-11-20  Wim Taymans  <wim@fluendo.com>
8923
8924         Patch by: Sebastian Dröge <slomo at ubuntu dot com>
8925
8926         * libs/gst/check/gstcheck.h:
8927         Fix compilation and running against 0.9.4. Fixes #377332.
8928
8929 2006-11-20  Wim Taymans  <wim@fluendo.com>
8930
8931         * gst/gstsegment.c: (gst_segment_set_seek),
8932         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8933         (gst_segment_to_running_time):
8934         Fix boundary checking in to_running_time() and to_stream_time().
8935         Fixes #377183.
8936
8937         * tests/check/gst/gstsegment.c: (GST_START_TEST):
8938         stream and running time can now be calculated for the complete
8939         clipped segment.
8940
8941 2006-11-15  Tim-Philipp Müller  <tim at centricular dot net>
8942
8943         * gst/gstpad.c: (gst_pad_push_event):
8944           Can't access event structure after giving away ownership of
8945           the event.
8946
8947 2006-11-15  Stefan Kost  <ensonic@users.sf.net>
8948
8949         * docs/random/ensonic/embedded.txt:
8950         * docs/random/ensonic/profiling.txt:
8951         * docs/random/ensonic/receipies.txt:
8952           more thinking
8953
8954 2006-11-13  Wim Taymans  <wim@fluendo.com>
8955
8956         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8957
8958         * gst/gstpad.c:
8959         Fix documentation for gst_pad_dispatcher. Fixes #374475.
8960
8961 2006-11-13  Wim Taymans  <wim@fluendo.com>
8962
8963         Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
8964
8965         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8966         Store new length in segment duration so we don't keep on calling the
8967         potentially expensize get_size() call. Fixes #370865.
8968
8969 2006-11-10  Tim-Philipp Müller  <tim at centricular dot net>
8970
8971         Patch by: Sergey Scobich  <sergey.scobich at gmail com>
8972
8973         * win32/common/libgstreamer.def:
8974           Add two missing symbols (#366492).
8975
8976 2006-11-10  Jan Schmidt  <thaytan@mad.scientist.com>
8977
8978         * libs/gst/base/gstadapter.c: (gst_adapter_flush),
8979         (gst_adapter_take_buffer):
8980         Fix format string to use all its arguments.
8981         Remove useless >= check on a guint
8982
8983 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
8984
8985         * tests/examples/adapter/.cvsignore:
8986         Ignore build file as commanded by the build-bot
8987
8988 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
8989
8990         * tests/examples/adapter/Makefile.am:
8991         * tests/examples/adapter/adapter_test.c: (run_test_take),
8992         (run_test_take_buffer), (run_tests), (main):
8993
8994         Add new files from the previous commit
8995
8996 2006-11-09  Jan Schmidt  <thaytan@mad.scientist.com>
8997
8998         * Makefile.am:
8999         * configure.ac:
9000         * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9001         (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9002         (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9003         * libs/gst/base/gstadapter.h:
9004         * tests/check/libs/adapter.c: (create_and_fill_adapter),
9005         (GST_START_TEST), (gst_adapter_suite):
9006         * tests/examples/Makefile.am:
9007         Do some optimisation work in GstAdapter to avoid copies in more cases.
9008         It could still do slightly better by merging buffers when
9009         gst_buffer_is_span_fast is true, but is already faster. 
9010
9011         Also, avoid traversing a single-linked list to append each incoming 
9012         buffer inside the adapter.
9013
9014         Add simple test app that times the adapter behaviour in different
9015         situations, and extend the unit test to check that bytes enter and
9016         exit the adapter in their original order.
9017
9018 2006-11-08  Tim-Philipp Müller  <tim at centricular dot net>
9019
9020         * docs/random/draft-missing-plugins.txt:
9021           Update: use element message instead of adding a new message
9022           type to the core; don't provide GStreamer API to initiate the
9023           plugin download, just provide API to compose the strings needed
9024           and let an external libgimmestuff handle the rest.
9025
9026 2006-11-08  Jan Schmidt  <thaytan@mad.scientist.com>
9027
9028         * tools/gst-inspect.c: (print_element_properties_info):
9029         Print a string instead of 'unknown type' for GValueArray properties
9030
9031 2006-11-08  Christian F.K. Schaller  <christian@fluendo.com>
9032
9033         * docs/random/draft-missing-plugins.txt:
9034         More small fixes.
9035
9036 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9037
9038         * tests/examples/typefind/typefind.c: (type_found), (main):
9039           Make typefind element example work again (#371894); add a
9040           license header.
9041
9042 2006-11-07  Tim-Philipp Müller  <tim at centricular dot net>
9043
9044         * docs/random/draft-missing-plugins.txt:
9045           Commit initial draft about how to deal with missing plugins,
9046           needs work (API too).
9047
9048 2006-11-07  Stefan Kost  <ensonic@users.sf.net>
9049
9050         * docs/pwg/advanced-types.xml:
9051           documents the new caps elements (see #363118)
9052
9053 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9054
9055         * gst/gstplugin.c: (gst_plugin_load_file):
9056         * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9057         (gst_file_src_map_region), (gst_file_src_start):
9058         * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9059         (gst_file_index_commit):
9060           Use g_strerror() instead of strerror() - we want UTF-8.
9061
9062 2006-11-06  Tim-Philipp Müller  <tim at centricular dot net>
9063
9064         Patch by: Peter Kjellerstedt <pkj at axis com>
9065
9066         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9067           Another printf fix (#371493).
9068
9069 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9070
9071         * tests/check/gst/gsttag.c:
9072           relicence (okay with author=company)
9073
9074 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9075
9076         * gst/gstpad.c: (gst_pad_event_default_dispatch),
9077         (gst_pad_push_event):
9078           Enhance debug and improve docs
9079         
9080         * gst/gsturi.c:
9081           Fix docs
9082
9083 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9084
9085         * docs/random/ensonic/distributed.txt:
9086         * docs/random/ensonic/profiling.txt:
9087           more ideas
9088
9089 2006-11-06  Stefan Kost  <ensonic@users.sf.net>
9090
9091         * docs/gst/gstreamer-sections.txt:
9092           add new API and fix the build
9093           
9094         * gst/gstbin.c: (gst_bin_recalc_state):
9095         * gst/gstelement.c: (gst_element_message_full),
9096         (gst_element_get_state_func), (gst_element_set_state_func):
9097           use new API and improve logging
9098         
9099         * gst/gstutils.c: (gst_element_state_change_return_get_name):
9100         * gst/gstutils.h:
9101           API: add function to get StateChangereturn names to improve logs 
9102
9103 2006-11-04  Thomas Vander Stichele  <thomas at apestaart dot org>
9104
9105         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9106           I'm considering shooting the next person to put strerror stuff
9107           in the translateable part of the message.
9108
9109 2006-11-03  Wim Taymans  <wim@fluendo.com>
9110
9111         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9112         Get the type and printf conversion specifiers right.
9113
9114 2006-11-03  Wim Taymans  <wim@fluendo.com>
9115
9116         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9117
9118         * gst/gstpad.c: (gst_pad_init), (pre_activate),
9119         (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9120         (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9121         Some small cleanups. Improve debugging.
9122         * gst/gstpad.h:
9123         Signal all waiting threads with a broadcast instead of just one.
9124         Fixes #369942.
9125
9126 2006-11-03  Wim Taymans  <wim@fluendo.com>
9127
9128         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9129         (gst_fd_src_create):
9130         Add some debugging. 
9131         Only update fd when it's different from the old.
9132
9133 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9134
9135         * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9136           Printf fixes for PPC/OSX, take two (#369366).
9137
9138 2006-11-02  Tim-Philipp Müller  <tim at centricular dot net>
9139
9140         Based on patch by: Jan David Mol  <j.j.d.mol at tudelft nl>
9141
9142         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9143         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9144         (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9145           Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9146           don't cast to long long for portability reasons, but use
9147           GLib's types instead.
9148
9149 2006-10-30  Michael Smith  <msmith@fluendo.com>
9150
9151         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9152           Get the arguments to lseek() the right way around.
9153           Fixes 367677.
9154
9155 2006-10-30  Wim Taymans  <wim@fluendo.com>
9156
9157         Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9158
9159         * gst/gstinfo.h:
9160         _declspec should be __declspec (two underscores, not one). Fixes 366572.
9161
9162 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9163
9164         Patch by: Kjartan Maraas  <kmaraas at gnome org>
9165
9166         * docs/design/part-MT-refcounting.txt:
9167         * docs/random/wtay/capsnego2-docs:
9168         * gst/gstclock.c:
9169         * gst/gstxml.c:
9170           Typo fixes (#366212).
9171
9172 2006-10-28  Wim Taymans  <wim@fluendo.com>
9173
9174         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9175
9176         * gst/gst.c:
9177         * win32/common/libgstbase.def:
9178         * win32/common/libgstreamer.def:
9179         * win32/vs8/libgstbase.vcproj:
9180         * win32/vs8/libgstcontroller.vcproj:
9181         Add needed entries in .def files.
9182         Use HAVE_UNISTD_H.
9183         Rearrange def files in vs8 solutions. Fixes #366286.
9184
9185 2006-10-28  Tim-Philipp Müller  <tim at centricular dot net>
9186
9187         * win32/common/gstconfig.h:
9188           Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9189           hand-made win32 gstconfig.h. Fixes #366321.
9190
9191 2006-10-27  Wim Taymans  <wim@fluendo.com>
9192
9193         * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9194         (gst_ghost_pad_new_full):
9195         Make acceptcaps return TRUE when we don't have a target, just like
9196         setcaps does.
9197
9198 2006-10-27  Wim Taymans  <wim@fluendo.com>
9199
9200         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9201         Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9202
9203 2006-10-26  Tim-Philipp Müller  <tim at centricular dot net>
9204
9205         * gst/gststructure.c: (gst_structure_id_set_value):
9206           If someone tries to set a non-UTF8 string field on a structure,
9207           don't just print a warning, but also ignore the request and do
9208           not change/add that field to the structure.
9209
9210         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9211           Test for the above.
9212
9213 2006-10-25  David Schleef  <ds@schleef.org>
9214
9215         * gst/gstinfo.c:
9216           g_hash_table_insert() needs a cast to a non-const pointer duh.
9217
9218 2006-10-25  David Schleef  <ds@schleef.org>
9219
9220         * gst/gstinfo.c:
9221         * gst/gstinfo.h:
9222           Change name parameter of _gst_debug_register_funcptr to const
9223           to reflect the constness of its use in the function as well
9224           as to quiet a gcc warning.
9225
9226 2006-10-25  Edward Hervey  <edward@fluendo.com>
9227
9228         * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9229         Don't push the buffer if it's empty.
9230         Closes #363095
9231
9232 2006-10-24  Wim Taymans  <wim@fluendo.com>
9233
9234         * gst/gstevent.h:
9235         Add small comment.
9236
9237         * libs/gst/base/gstbasetransform.c:
9238         (gst_base_transform_sink_eventfunc):
9239         Debug segment values *after* updating them as this is more
9240         interesting.
9241
9242 2006-10-23  Wim Taymans  <wim@fluendo.com>
9243
9244         * docs/design/part-events.txt:
9245         Update some docs.
9246
9247         * docs/design/part-block.txt:
9248         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9249         (gst_pad_push_event):
9250         Revert BLOCKING patch, it tries to be smart without really having a
9251         clear idea what or how. So, now we discard all FLUSHING events again on
9252         a blocking pad. Should fix gnonlin again.
9253
9254 2006-10-23  Wim Taymans  <wim@fluendo.com>
9255
9256         Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9257
9258         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9259         (gst_base_src_start), (gst_base_src_activate_push):
9260         Make sure size is always initialized. Fixes #364388.
9261
9262 2006-10-20  Stefan Kost  <ensonic@users.sf.net>
9263
9264         * docs/random/ensonic/distributed.txt:
9265           add some ideas about doing distributed processing
9266
9267         * docs/random/ensonic/profiling.txt:
9268           get_rusage look promising
9269
9270 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9271
9272         * docs/manual/basics-helloworld.xml:
9273           Add a cast in example to fix compile warning
9274
9275 2006-10-18  Wim Taymans  <wim@fluendo.com>
9276
9277         * gst/gstsegment.c: (gst_segment_set_last_stop),
9278         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9279         Relax arg checking again, -1 is allowed.
9280
9281 2006-10-18  Wim Taymans  <wim@fluendo.com>
9282
9283         * gst/gstsegment.c: (gst_segment_set_last_stop),
9284         (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9285         _set_last_stop() must be with a value != -1
9286         A _TYPE_SET to -1 means seek to 0.
9287         Calc last_stop correctly for negative rates.
9288         Make sure we work with positive durations when updating a segment.
9289
9290 2006-10-18  Wim Taymans  <wim@fluendo.com>
9291
9292         * docs/design/part-live-source.txt:
9293         * gst/gstclock.h:
9294         Small docs fixes.
9295
9296 2006-10-18  Tim-Philipp Müller  <tim at centricular dot net>
9297
9298         * gst/gstbuffer.h:
9299           Add an explicit cast to GstBuffer** to keep old code that added an
9300           explicit cast to GstMiniObject** for gst_mini_object_replace()
9301           compiling without warning.
9302
9303 2006-10-18  Stefan Kost  <ensonic@users.sf.net>
9304
9305         * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9306           check for validity of dates
9307
9308 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9309
9310         * docs/gst/gstreamer-sections.txt:
9311           Forgot this one, makes gtk-doc shut up.
9312
9313 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9314
9315         Patch by: Peter Kjellerstedt <pkj at axis com>
9316
9317         * gst/gstobject.h:
9318           Don't define xmlNodePtr to gpointer if the core was built with
9319           --disable-loadsave and --disable-registry, this will break
9320           applications that want to use libxml2 but are buildling against a
9321           core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9322           instead so we don't have to mess with the libxml2 namespace
9323           (#361675).
9324
9325 2006-10-17  Tim-Philipp Müller  <tim at centricular dot net>
9326
9327         * gst/gstbuffer.h:
9328           Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9329           type-punned pointer warnings.
9330
9331 2006-10-16  Tim-Philipp Müller  <tim at centricular dot net>
9332
9333         * gst/gstelement.h:
9334           Add casts to the correct return type to state <=> state transition
9335           macros.
9336
9337 2006-10-16  Stefan Kost  <ensonic@users.sf.net>
9338
9339         * docs/design/part-live-source.txt:
9340           describe howto handle latency
9341         
9342         * docs/random/ensonic/profiling.txt:
9343           more ideas
9344
9345         * tools/gst-plot-timeline.py:
9346           fix log parsing for solaris, remove unused function
9347
9348 2006-10-16  Wim Taymans  <wim@fluendo.com>
9349
9350         * docs/design/part-trickmodes.txt:
9351         * gst/gstevent.c:
9352         Update some docs regarding reverse playback.
9353
9354 2006-10-15  Tim-Philipp Müller  <tim at centricular dot net>
9355
9356         Patch by: Marcus Granado  <mrc dot gran at gmail com>
9357
9358         * win32/vs8/grammar.vcproj:
9359           Error out with a warning if glib-genmarshal.exe is not in path,
9360           instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9361
9362 2006-10-13  Wim Taymans  <wim@fluendo.com>
9363
9364         * gst/gstsegment.c: (gst_segment_set_seek):
9365         When seeking to stop -1, set last_stop (current position) to the
9366         duration of the segment.
9367
9368 2006-10-13  Wim Taymans  <wim@fluendo.com>
9369
9370         * gst/gstelement.h:
9371         Clarify _NO_PREROLL a bit more.
9372
9373         * gst/gstevent.c:
9374         Fix docs.
9375
9376         * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9377         (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9378         (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9379         Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9380         due to wrong locking order. Fixes #361769.
9381         Remove some redundant/misplaced checks in pad_block.
9382
9383         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9384         For negative rates, count backwards from the duration.
9385
9386 2006-10-13  Tim-Philipp Müller  <tim at centricular dot net>
9387
9388         * gst/gsterror.c: (_gst_library_errors_init):
9389           Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9390           up with something better).
9391
9392 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9393
9394         * win32/vs6/libgstreamer.dsp:
9395         * win32/vs7/libgstreamer.vcproj:
9396         * win32/vs8/libgstreamer.vcproj:
9397           Don't reference glib-compat.c which is currently not used and not
9398           disted; add gstquark.c which was recently added. Fixes #361730.
9399
9400 2006-10-12  Tim-Philipp Müller  <tim at centricular dot net>
9401
9402         * win32/common/libgstbase.def:
9403         * win32/common/libgstcontroller.def:
9404         * win32/common/libgstreamer.def:
9405           Add gst_caps_merge() and a bunch of other recently-added functions.
9406           Fixes #361732.
9407
9408 2006-10-11  Wim Taymans  <wim@fluendo.com>
9409
9410         * docs/plugins/gstreamer-plugins.args:
9411         * docs/plugins/inspect/plugin-coreelements.xml:
9412         * docs/plugins/inspect/plugin-coreindexers.xml:
9413         Update element args.
9414
9415         * gst/gstsystemclock.c:
9416         Small comment update.
9417
9418         * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9419         (gst_tee_request_new_pad), (gst_tee_release_pad),
9420         (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9421         (gst_tee_sink_activate_pull):
9422         * plugins/elements/gsttee.h:
9423         Some tee loving:
9424         Add default property defines.
9425         Implement release pad function.
9426         Give properties better blubs etc.
9427         Activate pads before adding them to a running tee.
9428         Do simple buffer_alloc on the first requested pad.
9429         Post error when activation fails.
9430
9431 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9432
9433         * gst/gst.c: (ensure_current_registry_forking):
9434           Check return value of write() to make compiler happy.
9435
9436 2006-10-11  Wim Taymans  <wim@fluendo.com>
9437
9438         Patch by: Sjoerd Simons <sjoerd at luon dot net>
9439
9440         * plugins/elements/gstqueue.c: (gst_queue_chain):
9441         Recheck queue filledness after signalling the overrun when we're about
9442         to leak downstream because we released the lock when emitting the signal
9443         and the queue could be empty again. Fixes #352345.
9444
9445 2006-10-11  Tim-Philipp Müller  <tim at centricular dot net>
9446
9447         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9448           Fix refcounting here too, just like we did for _new_valist() a few
9449           days ago (#357180) (thanks to René Stadler). Also remove all those
9450           'Since: 0.9' from the gtk-doc blobs.
9451
9452         * tests/check/libs/controller.c: (controller_refcount_new_list),
9453         (gst_controller_suite):
9454           Unit test for the above.
9455
9456 2006-10-10  Wim Taymans  <wim@fluendo.com>
9457
9458         Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9459
9460         * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9461         (gst_pad_save_thyself):
9462         Update some docs.
9463         Write pad direction in XML output. Fixes #345496.
9464
9465 2006-10-10  Wim Taymans  <wim@fluendo.com>
9466
9467         Patch by: René Stadler <mail at renestadler dot de>
9468
9469         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9470         (gst_controller_new_list), (_gst_controller_dispose),
9471         (_gst_controller_finalize), (_gst_controller_class_init):
9472         Take ref to controlled object so that it cannot disappear. 
9473         Fixes #357432.
9474
9475 2006-10-10  Wim Taymans  <wim@fluendo.com>
9476
9477         * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9478         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9479         (gst_check_teardown_sink_pad):
9480         Activate/deactivate pads in setup/teardown respectively.
9481
9482 2006-10-10  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9483
9484         Patch by: Josep Torra Valles <josep@fluendo.com>
9485
9486         * gst/Makefile.am:
9487         Cast values when making gstenumtypes.h.  This pacifies Forte
9488         so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9489         in the enumeration.
9490
9491 2006-10-09  Wim Taymans  <wim@fluendo.com>
9492
9493         * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9494         Rename some more @cur to @start to fix docs. 
9495
9496         * gst/gstsegment.c: (gst_segment_set_seek):
9497         Fix typo.
9498         time and start must always stay in sync as defined in design doc.
9499
9500         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9501         Rename param to fix docs.
9502
9503         * tests/check/gst/gstsegment.c: (GST_START_TEST):
9504         Check that start and time are in sync.
9505
9506         * tests/check/pipelines/parse-launch.c:
9507         (gst_parse_test_element_change_state):
9508         Activate pad before adding to the element.
9509
9510 2006-10-09  Wim Taymans  <wim@fluendo.com>
9511
9512         * docs/design/part-qos.txt:
9513         Fix typo.
9514
9515         * gst/gstevent.c:
9516         * gst/gstevent.h:
9517         Update seek event docs regarding negative rates.
9518         Rename @cur to @start. 
9519
9520         * gst/gstsegment.c: (gst_segment_set_seek):
9521         * gst/gstsegment.h:
9522         Update set_seek docs regarding negative rates.
9523         Correctly update last_stop to @stop when dealing with negative
9524         rates.
9525         Rename @cur to @start. 
9526
9527         * tests/check/gst/gstpad.c: (GST_START_TEST):
9528         Activate pads before trying to use them.
9529
9530         * tests/check/gst/gstsegment.c: (GST_START_TEST),
9531         (gst_segment_suite):
9532         Add simple check for segments and negative rates.
9533
9534 2006-10-09  Tim-Philipp Müller  <tim at centricular dot net>
9535
9536         * gst/gsttaglist.c: (gst_tag_list_is_empty):
9537         * gst/gsttaglist.h:
9538         * docs/gst/gstreamer-sections.txt:
9539           API: add gst_tag_list_is_empty() (#360467).
9540
9541         * tests/check/gst/gsttag.c: (GST_START_TEST):
9542           And a test case.
9543
9544 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9545
9546         * gst/gstmessage.h:
9547         Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9548         a value that doesn't fit on enumeration.
9549
9550 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9551
9552         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9553         Remove local debugging system and use Gstreamer's instead.
9554
9555 2006-10-09  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9556
9557         Patch by: Josep Torra Valles <josep@fluendo.com>
9558
9559         * common/m4/gst-error.m4:
9560         Disable warning of statement not reached on Forte.
9561         * gst/gstmessage.h:
9562         Fix warning on Forte (value doesn't fit on enumeration).
9563         * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9564         Fix warning on Forte (value doesn't fit on enumeration).
9565         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9566         DEBUG macro says it takes minimum of 2 args and so Forte
9567         complains about the use with just 1 arg.
9568         * plugins/elements/gstfdsink.c:
9569         * plugins/elements/gstfdsrc.c:
9570         * plugins/elements/gstfilesink.c:
9571         * plugins/elements/gstfilesrc.c:
9572         Use correct return type for the uri handler implementations.
9573
9574         All these fix warnings in Forte.  Fixes bug #360860.
9575
9576 2006-10-08  Tim-Philipp Müller  <tim at centricular dot net>
9577
9578         * gst/gstelement.h:
9579           gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9580           format string, so don't use G_GNUC_PRINTF for those versions.
9581
9582 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9583
9584         * gst/gsttaglist.c: (gst_is_tag_list):
9585         * gst/gsttaglist.h:
9586           Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9587
9588         * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9589           Small test for the above.
9590
9591 2006-10-07  Tim-Philipp Müller  <tim at centricular dot net>
9592
9593         * gst/gsttaglist.h:
9594           Less tabs, more spaces.
9595
9596 2006-10-06  Tim-Philipp Müller  <tim at centricular dot net>
9597
9598         * gst/gstinfo.h:
9599           Those two function declarations do actually belong there, revert
9600           commit from yesterday that turned them intro macros.
9601
9602 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9603
9604         Patch by: Josep Torra Valles <josep@fluendo.com>
9605
9606         * gst/gst.c: (gst_init_get_option_group):
9607         Fix empty declaration and type mismatch.
9608         * gst/gstbin.c: (gst_bin_change_state_func):
9609         Fix type mismatch.
9610         * gst/gstelement.c: (gst_element_continue_state),
9611         (gst_element_set_state_func), (gst_element_change_state),
9612         (gst_element_change_state_func):
9613         Fix type mismatches.
9614         * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9615         (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9616         Cast as appropriate.
9617         * gst/gstobject.c: (gst_class_signal_connect):
9618         Cast as appropriate.  The function pointer parameter really
9619         has the wrong type but would break API if we change it.
9620         * gst/gstquery.c:
9621         Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9622         order of including string.h.
9623         * gst/gstutils.c: (gst_element_state_get_name):
9624         Remove unreachable line.
9625         * gst/gstxml.c: (gst_xml_parse_doc):
9626         Fix type mismatch.
9627         All these caught by Forte.
9628
9629 2006-10-06  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9630
9631         Patch by: Josep Torra Valles <josep@fluendo.com>
9632
9633         * common/m4/gst-error.m4:
9634         Fixed bug #360151.
9635         We need to disable warnings on Forte for empty declarations
9636         due to gst-indent adding ;s to lines that just use macros
9637         where the macro actually doesn't need a ; at end to end
9638         statement.
9639
9640 2006-10-06  Wim Taymans  <wim@fluendo.com>
9641
9642         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9643         (gst_file_sink_close_file), (gst_file_sink_event),
9644         (gst_file_sink_render):
9645         Add some FIXME for the NEWSEGMENT handling.
9646
9647 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9648
9649         * gst/parse/grammar.y:
9650         Remove static function gst_parse_element_lock as all it does
9651         is return.  Looks like cruft from 0.8.
9652
9653 2006-10-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
9654
9655         Patch by: Josep Torra Valles <josep@fluendo.com>
9656
9657         * common/m4/gst-error.m4:
9658         * configure.ac:
9659         * libs/gst/net/Makefile.am:
9660         Fix a compilation issue with Forte on Solaris.  inet_aton is in
9661         libresolv.
9662
9663 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9664
9665         * gst/gstpad.c: (pre_activate):
9666         * gst/gstregistry.c: (gst_registry_scan_path_level):
9667         * gst/gstregistryxml.c: (load_plugin):
9668         * libs/gst/controller/gstcontroller.c:
9669         (gst_controlled_property_set_interpolation_mode):
9670         * libs/gst/dataprotocol/dataprotocol.c:
9671         (gst_dp_packet_from_event_1_0):
9672         * libs/gst/net/gstnetclientclock.c:
9673         (gst_net_client_clock_observe_times):
9674         * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9675           Printf fixes.
9676
9677 2006-10-05  Tim-Philipp Müller  <tim at centricular dot net>
9678
9679         * configure.ac:
9680         * docs/gst/gstreamer-sections.txt:
9681         * gst/gstconfig.h.in:
9682         * gst/gstelement.h:
9683         * gst/gstinfo.h:
9684           Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9685           whether we can use G_GNUC_PRINTF in other header files and at
9686           least check the printf format/arguments of debug messages and
9687           GST_ELEMENT_ERROR messages when the printf extension is not
9688           being used.
9689           Replace more tabs with spaces in gstinfo.h and remove two spurious
9690           function declarations in GST_DISABLE_DEBUG part with macros.
9691
9692 2006-10-03  Tim-Philipp Müller  <tim at centricular dot net>
9693
9694         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9695           More docs for the sync-message signal (mention that it is not
9696           emitted by default); log message structures of messages posted on
9697           the bus as well.
9698
9699 2006-10-03  Jan Schmidt  <thaytan@mad.scientist.com>
9700
9701         * gst/gst.c: (ensure_current_registry_forking):
9702         Use a pipe pair to receive status results from the forked child, and
9703         ignore the result from waitpid. Fixes #355499
9704
9705 2006-10-02  Wim Taymans  <wim@fluendo.com>
9706
9707         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9708         (gst_ghost_pad_suite):
9709         Fix leak in check.
9710
9711 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9712
9713         * gst/gstpad.c:
9714           Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9715
9716 2006-10-02  Edward Hervey  <edward@fluendo.com>
9717
9718         * docs/design/part-block.txt:
9719         Further explain the use of flushing on blocked pads.
9720         * docs/gst/gstreamer-sections.txt:
9721         * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9722         (gst_pad_push_event):
9723         * gst/gstpad.h:
9724         Added new GstPadFlag : GST_PAD_BLOCKING.
9725         Adds the notion of pads really blocking, which enables to properly
9726         handle FLUSH_START/FLUSH_STOP events on blocked pads.
9727         Fixes #358999
9728         API: gst_pad_is_blocking()
9729         API: GST_PAD_IS_BLOCKING() macro
9730         API: GST_PAD_BLOCKING GstPadFlag
9731         
9732 2006-10-02  Wim Taymans  <wim@fluendo.com>
9733
9734         Patch by: mrcgran <mrc.gran at gmail dot com>
9735
9736         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9737         Filter the proxied caps against the padtemplate if we have one.
9738
9739         * gst/gstquery.c: (gst_query_new_segment):
9740         Add include for gstinfo.h so that compilation with
9741         -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9742
9743 2006-10-02  Wim Taymans  <wim@fluendo.com>
9744
9745         Patch by: Alessandro Decina  <alessandro at nnva org>
9746
9747         * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9748         (gst_file_sink_set_location), (gst_file_sink_open_file),
9749         (gst_file_sink_close_file), (gst_file_sink_event),
9750         (gst_file_sink_render):
9751         Set file to NULL when closing filesink so that we can set a new filename
9752         in READY. Fixes #358613.
9753
9754 2006-10-02  Tim-Philipp Müller  <tim at centricular dot net>
9755
9756         Patch by: Alessandro Decina  <alessandro at nnva org>
9757
9758         * gst/gstevent.c: (_gst_event_copy):
9759           Fix gst_mini_object_make_writable() and gst_event_copy() for events
9760           with event structures by setting the parent refcount address of the
9761           copied structure to the address of the refcount member of the newly
9762           copied event rather than the address of the refcount member of the
9763           original event. Fixes #358737.
9764
9765         * tests/check/gst/gstevent.c: (GST_START_TEST):
9766           Unit test for the above.
9767
9768 2006-09-29  Stefan Kost  <ensonic@users.sf.net>
9769
9770         * docs/design/Makefile.am:
9771           Dist some more files.
9772
9773 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9774
9775         * tests/check/libs/controller.c: (GST_START_TEST),
9776         (gst_controller_suite):
9777           Add test for the previous fix; add some more tests
9778           for correct refcounting behaviour; fix a few leaks
9779           in test cases; call gst_controller_init() at start
9780           of all tests.
9781
9782 2006-09-29  Tim-Philipp Müller  <tim at centricular dot net>
9783
9784         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9785         (gst_controller_set_from_list):
9786           Don't g_return_val_if_fail() on timed values with invalid timestamps
9787           inside a critical section without unlocking the mutex. Spotted by
9788           René Stadler. (#357617)
9789           Also, fix up refcounting properly: when returning an existing
9790           controller, we should increase the reference only once and not
9791           once per property and when trying to control a property again
9792           we should also increase the refcount.
9793
9794 2006-09-29  Wim Taymans  <wim@fluendo.com>
9795
9796         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9797         * libs/gst/net/gstnettimeprovider.c:
9798         (gst_net_time_provider_thread):
9799         Stop reading commands when EOF as well.
9800
9801         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9802         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9803         * plugins/elements/gstidentity.c: (gst_identity_class_init):
9804         Unify description of the dump property.
9805
9806 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9807
9808         * tests/examples/manual/.cvsignore:
9809         OK, so it's actually cvsignore that needs changing. Stop laughing.
9810
9811 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9812
9813         * tests/examples/manual/Makefile.am:
9814         Gah, declare vars *before* using them
9815
9816 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9817
9818         * gst/gst.c: (init_pre), (scan_and_update_registry),
9819         (ensure_current_registry_nonforking),
9820         (ensure_current_registry_forking), (ensure_current_registry),
9821         (init_post), (gst_debug_help), (gst_deinit):
9822         * gst/gst_private.h:
9823         * gst/gstregistry.c: (gst_registry_finalize),
9824         (gst_registry_remove_features_for_plugin_unlocked),
9825         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9826         (gst_registry_scan_path),
9827         (_priv_gst_registry_remove_cache_plugins),
9828         (_priv_gst_registry_cleanup):
9829         * gst/gstregistry.h:
9830         Re-commit the registry changes, along with an extra fix:
9831           When a cached plugin is encountered at a different file path,
9832           update the stored path in the registry cache so that the parent
9833           process knows where it actually is now when it re-reads the registry
9834           cache. Fixes the thing that broke distcheck with the previous commit.
9835
9836         * tests/check/Makefile.am:
9837         Clean up files named 'core' too when running make clean.
9838
9839         * tests/examples/manual/Makefile.am:
9840         Set up a registry path for running these tests, and clean it properly
9841         for distcheck.
9842
9843 2006-09-28  Jan Schmidt  <thaytan@mad.scientist.com>
9844
9845         * configure.ac:
9846         Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9847         want gmodule-no-export-2.0.pc instead so that we don't drag in
9848         --export-dynamic on every project that links to GStreamer.
9849
9850         Also, make our export regex only match the start of symbols, rather 
9851         than any symbol that contains '_gst' somewhere.
9852
9853         * libs/gst/check/Makefile.am:
9854         The libgstcheck we build does however need export-dynamic, as it
9855         produces some symbols that don't match our _gst... style regex.
9856         Fixes: #318031
9857
9858 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
9859
9860         * gst/gst.c: (init_pre), (scan_and_update_registry),
9861         (ensure_current_registry_nonforking),
9862         (ensure_current_registry_forking), (ensure_current_registry),
9863         (init_post), (gst_debug_help), (gst_deinit):
9864         * gst/gst_private.h:
9865         * gst/gstregistry.c: (gst_registry_finalize),
9866         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9867         (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
9868         (_gst_registry_cleanup):
9869         * gst/gstregistry.h:
9870           Revert previous change until I figure out why it breaks distcheck.
9871
9872 2006-09-27  Jan Schmidt  <thaytan@mad.scientist.com>
9873
9874         * gst/gst.c: (init_pre), (scan_and_update_registry),
9875         (ensure_current_registry_nonforking),
9876         (ensure_current_registry_forking), (ensure_current_registry),
9877         (init_post), (gst_debug_help), (gst_deinit):
9878
9879           Make init_pre and init_post take the full complement of GOptionFunc
9880           args so they can return useful GErrors. Make the registry updating
9881           functions do so.
9882
9883           Call _priv_gst_registry_remove_cache_plugins after scanning files to
9884           ensure that the registry we're about to write out doesn't contain
9885           stale information about old-deleted plugin files.
9886
9887           Make _priv_gst_registry_remove_cache_plugins return a boolean so
9888           that deletion of plugin files is considered a registry change.
9889
9890         * gst/gst_private.h:
9891         * gst/gstregistry.c: (gst_registry_finalize),
9892         (gst_registry_remove_features_for_plugin_unlocked),
9893         (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9894         (gst_registry_scan_path),
9895         (_priv_gst_registry_remove_cache_plugins),
9896         (_priv_gst_registry_cleanup):
9897         * gst/gstregistry.h:
9898         Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
9899         by adding _priv prefix, so that they won't appear in the global
9900         symbol table. They still do atm though because of #318031. Move the
9901         prototypes to gst_private.h
9902
9903         When removing a plugin, remove all features for that plugin too. 
9904         Fixes #340878.
9905
9906 2006-09-27  Wim Taymans  <wim@fluendo.com>
9907
9908         * docs/random/moving-plugins:
9909         Make it clear that the "compiled-in descriptions" really mean
9910         the element details.
9911
9912         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9913         (gst_base_sink_wait_preroll):
9914         Update docs.
9915
9916         * docs/libs/gstreamer-libs-sections.txt:
9917         * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9918         (gst_base_src_get_range), (gst_base_src_activate_push):
9919         * libs/gst/base/gstbasesrc.h:
9920         Added function to block while waiting for PLAYING, this function
9921         is used by live sources that block on the clock.
9922         API: gst_base_src_wait_playing()
9923
9924 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9925
9926         Patch by: Peter Kjellerstedt <pkj at axis com>
9927
9928         * Makefile.am:
9929           gst-element-check.m4 is generated and should therefore be
9930           copied from the build dir rather than the source dir (#357593).
9931           'make distcheck' hasn't noticed this because we were disting
9932           the file as well, so stop doing that.
9933
9934 2006-09-27  Tim-Philipp Müller  <tim at centricular dot net>
9935
9936         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9937           Add some tests for gst_caps_intersect().
9938
9939         * tools/gst-launch.c: (event_loop):
9940           Print all buffering percentages we get, even the 100% one.
9941
9942 2006-09-26  Wim Taymans  <wim@fluendo.com>
9943
9944         * tools/gst-inspect.c: (print_element_properties_info),
9945         (print_signal_info):
9946         Fix printing of flags to match the look of enums.
9947
9948 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9949
9950         * gst/gstelementfactory.c:
9951           Fix typo in docs blurb.
9952
9953 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9954
9955         * gst/gsturi.c: (search_by_entry):
9956           Don't assert/crash here if a uri handler doesn't return any
9957           supported protocols. The list of protocols could be generated
9958           dynamically at runtime or at plugin registration, and an error
9959           in the underlying library shouldn't be fatal (#353301).
9960
9961 2006-09-25  Tim-Philipp Müller  <tim at centricular dot net>
9962
9963         * gst/gstinfo.c:
9964           Fix warning if HAVE_PRINTF_EXTENSION is undefined
9965           (spotted by Peter Kjellerstedt).
9966
9967 2006-09-23  Wim Taymans  <wim@fluendo.com>
9968
9969         Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
9970
9971         * libs/gst/base/gstbasesrc.c:
9972         (gst_base_src_default_check_get_range), (gst_base_src_start),
9973         (gst_base_src_activate_push), (gst_base_src_activate_pull),
9974         (gst_base_src_change_state):
9975         Match _start/_stop calls in the activate functions. Remove redundant
9976         _stop call from the state change function. Fixes #356910.
9977         Turn failure DEBUG into ERROR. 
9978
9979 2006-09-22  Wim Taymans  <wim@fluendo.com>
9980
9981         * docs/design/part-buffering.txt:
9982         * gst/gstmessage.c: (gst_message_new_buffering),
9983         (gst_message_parse_buffering):
9984         Update docs about buffering.
9985
9986         * docs/design/part-trickmodes.txt:
9987         Fix typo.
9988
9989 2006-09-22  Stefan Kost  <ensonic@users.sf.net>
9990
9991         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9992         (gst_controller_new_list):
9993           Ref instances when returning them again (fixes #357180)
9994
9995 2006-09-22  Tim-Philipp Müller  <tim at centricular dot net>
9996
9997         * gst/gstghostpad.c: (gst_ghost_pad_set_target):
9998           Don't forget to release proxy lock when there's an error.
9999
10000 2006-09-20  Jan Schmidt  <thaytan@mad.scientist.com>
10001
10002         * gst/gstcaps.h:
10003           Add extra initialisers for Caps things, to fix some plugin warnings
10004           when using -Wextra
10005
10006 2006-09-18  Wim Taymans  <wim@fluendo.com>
10007
10008         * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10009           Also set template on the internal pad so that a getcaps from the 
10010           target pad returns the template caps.
10011
10012 2006-09-18  Wim Taymans  <wim@fluendo.com>
10013
10014         * gst/gstelement.c: (gst_element_post_message),
10015         (gst_element_dispose):
10016         Use _DEBUG_OBJECT some more.
10017
10018         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10019         Avoid typechecks.
10020
10021         * tools/gst-launch.c: (main):
10022         If the toplevel element is not a GstPipeline, it must be put in a
10023         pipeline so that a bus and clock is selected.
10024
10025 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10026
10027         * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10028           JITTER, RATE, and LATENCY query should be handled by the
10029           default case and not by the CONVERT query code.
10030
10031 2006-09-17  Tim-Philipp Müller  <tim at centricular dot net>
10032
10033         * gst/gstformat.c: (gst_format_register):
10034           Fix locking order (must take lock before using n_values).
10035
10036         * gst/gstvalue.c: (gst_value_serialize_enum),
10037         (gst_value_deserialize_enum_iter_cmp),
10038         (gst_value_deserialize_enum):
10039           Fix serialisation/deserialisation of custom registered GstFormats.
10040
10041         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10042           Unit test for custom format serialisation/deserialisation.
10043
10044 2006-09-17  Stefan Kost  <ensonic@users.sf.net>
10045
10046         * docs/pwg/building-boiler.xml:
10047         * plugins/elements/gstcapsfilter.c:
10048         More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10049         section.
10050
10051 2006-09-16  Edward Hervey  <edward@fluendo.com>
10052
10053         * libs/gst/base/gstbasetransform.c:
10054         (gst_base_transform_buffer_alloc):
10055         Check if requested caps are the same as the sinks caps IF
10056         ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10057         is FALSE.
10058         This fixes the renegotiation issues stated in #352827.
10059
10060 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10061
10062         * configure.ac:
10063         * docs/manual/advanced-autoplugging.xml:
10064         * tests/examples/Makefile.am:
10065         * tests/examples/manual/.cvsignore:
10066         * tests/examples/manual/Makefile.am:
10067         * tests/examples/manual/extract.pl:
10068           Extract the manual examples again like we used to do.
10069           Fix one of them.
10070
10071 2006-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
10072
10073         * win32/common/config.h:
10074           update for version
10075
10076 2006-09-16  Stefan Kost  <ensonic@users.sf.net>
10077
10078         * gst/gsterror.c:
10079           Documents how to receive errors.
10080
10081 2006-09-15  Wim Taymans  <wim@fluendo.com>
10082
10083         * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10084         (event_loop), (main):
10085         Added some comments here and there.
10086         Post an application message when an interrupt is caught instead of doing
10087         an uncontrolled state change.
10088         Clean up the event loop.
10089         Handle buffering messages, pause/resume the pipeline.
10090         Make shutdown because of an interrupt more reliable.
10091
10092 2006-09-15  Wim Taymans  <wim@fluendo.com>
10093
10094         * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10095         (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10096         (gst_base_sink_preroll_object):
10097         Make sure that our internal state is correct when we commit our state
10098         asynchronously. This solves a race where a state change to PLAYING
10099         could cause the sink to remain blocked in preroll in some situations.
10100
10101 2006-09-15  Wim Taymans  <wim@fluendo.com>
10102
10103         * tools/gst-inspect.c: (print_element_properties_info),
10104         (print_signal_info):
10105         List flags as hex so it's easier to deal with.
10106
10107 2006-09-15  Wim Taymans  <wim@fluendo.com>
10108
10109         * docs/libs/gstreamer-libs-sections.txt:
10110         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10111         (gst_base_sink_do_sync):
10112         * libs/gst/base/gstbasesink.h:
10113         Expose logic to wait for preroll so that subclasses such as audiosink
10114         can also use this method.
10115         API: gst_base_sink_wait_preroll()
10116
10117 2006-09-15  Wim Taymans  <wim@fluendo.com>
10118
10119         * gst/gstobject.c: (gst_object_set_parent):
10120         * gst/gstpipeline.c: (do_pipeline_seek):
10121         Small cleanups in docs and code.
10122
10123         * gst/gstsegment.c: (gst_segment_clip):
10124         * tests/check/gst/gstsegment.c: (GST_START_TEST):
10125         if stop == start and start is in the segment, no clipping should be
10126         done. Also add a test for this.
10127
10128 2006-09-15  Wim Taymans  <wim@fluendo.com>
10129
10130         * docs/design/part-buffering.txt:
10131         * docs/gst/gstreamer-sections.txt:
10132         * gst/gstmessage.c: (gst_message_new_buffering),
10133         (gst_message_parse_buffering):
10134         * gst/gstmessage.h:
10135         Added methods to create and parse BUFFERING messages.
10136         Added preliminary docs about buffering.
10137         API: gst_message_new_buffering
10138         API: gst_message_parse_buffering
10139
10140 2006-09-06  Wim Taymans  <wim@fluendo.com>
10141
10142         * gst/gstbin.c:
10143         Update documentation.
10144
10145         * gst/gstelement.c: (gst_element_class_init),
10146         (gst_element_release_request_pad), (gst_element_set_clock),
10147         (gst_element_get_index), (gst_element_add_pad),
10148         (gst_element_remove_pad), (gst_element_get_random_pad),
10149         (gst_element_send_event), (gst_element_get_query_types),
10150         (gst_element_query), (gst_element_post_message),
10151         (gst_element_message_full), (gst_element_continue_state),
10152         (gst_element_lost_state), (gst_element_save_thyself),
10153         (gst_element_restore_thyself):
10154         Documentation updates.
10155         Rename last bit of the new-pad -> pad-added signal rename.
10156         Fix the case where an element query would only work if the source
10157         pad was linked.
10158         Avoid some useless type checking in message handling.
10159
10160         * gst/gstevent.c:
10161         * gst/gstevent.h:
10162         * gst/gstutils.c:
10163         Documentation updates.
10164
10165 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10166
10167         * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10168           add an INFO line for when we actually update the fd
10169
10170 2006-09-14  Thomas Vander Stichele  <thomas at apestaart dot org>
10171
10172         * configure.ac:
10173           back to TRUNK
10174
10175 === release 0.10.10 ===
10176
10177 2006-09-14  Thomas Vander Stichele <thomas at apestaart dot org>
10178
10179         * configure.ac:
10180           releasing 0.10.10, "Pais"
10181
10182 2006-09-05  Tim-Philipp Müller  <tim at centricular dot net>
10183
10184         * docs/manual/advanced-position.xml:
10185           Fix typo in sample code.
10186
10187 2006-09-05  Wim Taymans  <wim@fluendo.com>
10188
10189         * libs/gst/net/gstnetclientclock.c: (inet_aton),
10190         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10191         (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10192         * libs/gst/net/gstnetclientclock.h:
10193         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10194         * libs/gst/net/gstnettimepacket.h:
10195         * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10196         (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10197         (gst_net_time_provider_thread), (gst_net_time_provider_new):
10198         * libs/gst/net/gstnettimeprovider.h:
10199         Make stuff compile on windows. Fixes #345295.
10200
10201 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10202
10203         * gst/gst.c: (ensure_current_registry_forking):
10204           Print better details when child was terminated by signal.
10205
10206 2006-09-03  Tim-Philipp Müller  <tim at centricular dot net>
10207
10208         * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10209           Print a warning rather than g_assert() if a plugin feature
10210           is a URI handler but returns no protocols (#353976).
10211
10212 2006-09-02  Stefan Kost  <ensonic@users.sf.net>
10213
10214         * docs/random/moving-plugins:
10215         Fix two typos.         
10216
10217 2006-09-01  Tim-Philipp Müller  <tim at centricular dot net>
10218
10219         * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10220           Fix locking order, handle NULL function values properly.
10221
10222         * gst/gstinfo.h:
10223           Fix docs.
10224
10225         * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10226           Initialise variable before using it and fix debug statement to
10227           print the address of the function rather than the address of the
10228           variable on the stack holding the address of the function.
10229
10230 2006-09-01  Wim Taymans  <wim@fluendo.com>
10231
10232         * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10233         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10234         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10235         (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10236         (gst_ghost_pad_parent_unset),
10237         (gst_ghost_pad_internal_do_activate_push),
10238         (gst_ghost_pad_internal_do_activate_pull),
10239         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10240         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10241         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10242         (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10243         (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10244         (gst_ghost_pad_new_no_target_from_template),
10245         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10246         More cleanups.
10247         Avoid needless typechecking in macros.
10248         Since the internal pad is always present and never changes, there is
10249         no need to locking or ref when retrieving it.
10250         Improve debugging a bit.
10251         Handle link errors when setting the target. Fixes #341029.
10252
10253 2006-09-01  Wim Taymans  <wim@fluendo.com>
10254
10255         * docs/libs/gstreamer-libs-sections.txt:
10256         * docs/plugins/gstreamer-plugins-sections.txt:
10257         Fix docs some more.
10258
10259         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10260         (gst_collect_pads_event):
10261         * libs/gst/base/gstcollectpads.h:
10262         Documentation updates.
10263         Free queued buffer when removing a pad.
10264
10265 2006-08-31  Michael Smith  <msmith@fluendo.com>
10266
10267         * gst/gstutils.c: (gst_element_link_pads),
10268         (gst_element_link_pads_filtered):
10269           Ensure that we set a capsfilter to NULL if we failed to link it
10270           when doing filtered linking, to avoid criticals.
10271
10272           No need to check for unreffing srcpad, which is explicly NULLed
10273           above (a trivial code cleanup).
10274
10275 2006-08-31  Wim Taymans  <wim@fluendo.com>
10276
10277         * docs/design/part-gstghostpad.txt:
10278         Update ascii art in documentation.
10279
10280         * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10281         (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10282         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10283         (gst_ghost_pad_internal_do_activate_push),
10284         (gst_ghost_pad_internal_do_activate_pull),
10285         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10286         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10287         (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10288         (gst_ghost_pad_set_target):
10289         Small cleanups and leak fixes.
10290         Remove some checks now that the internal pad is never NULL.
10291         Fix the case where linking pads without a target would create nasty
10292         criticals. Fixes #341029.
10293         Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10294         value of _set_target().
10295
10296         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10297         (gst_ghost_pad_suite):
10298         Some more tests for creating and linking untargeted ghostpads.
10299
10300 2006-08-31  Edward Hervey  <edward@fluendo.com>
10301
10302         * docs/gst/gstreamer-sections.txt:
10303         * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10304         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10305         (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10306         (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10307         (gst_ghost_pad_new_from_template),
10308         (gst_ghost_pad_new_no_target_from_template):
10309         * gst/gstghostpad.h:
10310         Refactored *_new() functions.
10311         Templates are now used as a g_object_new() parameter.
10312         Use template in _do_getcaps() if we don't have a target.
10313         Small documentation cleanups.
10314         Added two new constructors:
10315         gst_ghost_pad_new_from_template()
10316         gst_ghost_pad_new_no_target_from_template()
10317         * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10318         (gst_ghost_pad_suite):
10319         Added tests for new ghostpad instanciation functions.
10320
10321         API additions: gst_ghost_pad_new_from_template,
10322         gst_ghost_pad_new_no_target_from_template
10323
10324 2006-08-30  Stefan Kost  <ensonic@users.sf.net>
10325
10326         * docs/random/ensonic/profiling.txt:
10327           Ideas about qos profiling.
10328
10329 2006-08-29  Wim Taymans  <wim@fluendo.com>
10330
10331         * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10332         Code cleanups.
10333         Fix memleak.
10334
10335 2006-08-29  Tim-Philipp Müller  <tim at centricular dot net>
10336
10337         * gst/gstxml.c:
10338           Improve and detypofy docs.
10339
10340         * tests/check/Makefile.am:
10341         * tests/check/gst/.cvsignore:
10342         * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10343           Add a basic test suite for GstXML.
10344
10345 2006-08-29  Wim Taymans  <wim@fluendo.com>
10346
10347         * gst/gstelement.c: (activate_pads), (clear_caps),
10348         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10349         Clear the pad caps when the element shut down all of the pads and
10350         is not streaming data that could modify the caps. 
10351         Fixes #352958.
10352
10353 2006-08-28  Michael Smith  <msmith@fluendo.com>
10354
10355         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10356           Revert previous change; I misunderstood single-segment mode.
10357
10358 2006-08-28  Michael Smith  <msmith@fluendo.com>
10359
10360         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10361           Unset DISCONT on buffers when using single-segment mode.
10362
10363 2006-08-28  Wim Taymans  <wim@fluendo.com>
10364
10365         * gst/gstcaps.c: (gst_caps_merge_structure):
10366         * gst/gstcaps.h:
10367         Fix docs and indentation again.
10368
10369         * tests/check/gst/gstquery.c: (GST_START_TEST):
10370         Fix leak in tests and add some more tests.
10371
10372 2006-08-28  Edward Hervey  <edward@fluendo.com>
10373
10374         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10375         Inform GstSegment of the last stop position in order for the current
10376         segment to have a proper duration if it doesn't have a specific stop
10377         position from which a duration could be calculated.
10378         This bug was noticeable when a non-flushing, non-update new segment was
10379         followed by another segment (all buffers from the new segment were being
10380         dropped).
10381
10382 2006-08-28  Wim Taymans  <wim@fluendo.com>
10383
10384         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10385         Small comment update.
10386
10387         * plugins/elements/gstidentity.c: (gst_identity_class_init),
10388         (gst_identity_transform_ip):
10389         Drop-probability is broken, mention this in the code with a 
10390         FIXME and also in the property description.
10391         Make silent also be silent about the drop messages.
10392
10393 2006-08-28  Tim-Philipp Müller  <tim at centricular dot net>
10394
10395         * docs/manual/appendix-win32.xml:
10396           Remove mention of popt, we don't depend on that any
10397           longer (#353136). Add some comments pointing out that
10398           this section is slightly outdated.
10399
10400 2006-08-28  Wim Taymans  <wim@fluendo.com>
10401
10402         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10403
10404         * gst/gstquery.c: (gst_query_new_segment):
10405         * tests/check/gst/gstquery.c: (GST_START_TEST):
10406         Initialize variables when creating a new segment query.
10407         Fixes #353121.
10408
10409 2006-08-28  Wim Taymans  <wim@fluendo.com>
10410
10411         Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10412
10413         * gst/gstelement.c: (gst_element_get_bus):
10414         * tests/check/gst/gstelement.c: (GST_START_TEST):
10415         Check for NULL before _reffing the bus. Fixes #353122.
10416
10417 2006-08-25  Tim-Philipp Müller  <tim at centricular dot net>
10418
10419         * docs/manual/basics-bus.xml:
10420           Docs update: fix wrong callback return value explanation; add
10421           some lines about the implicit relationship between main loop
10422           and main context; remove duplicate main loop variable declaration.
10423
10424 2006-08-24  Tim-Philipp Müller  <tim at centricular dot net>
10425
10426         * tests/check/gst/gstcaps.c: (GST_START_TEST):
10427           Don't leak caps in unit test; add a few more simple
10428           checks. 
10429
10430 2006-08-24  Stefan Kost  <ensonic@users.sf.net>
10431
10432         * docs/gst/gstreamer-sections.txt:
10433         * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10434         (gst_caps_structure_is_subset), (gst_caps_merge),
10435         (gst_caps_merge_structure):
10436         * gst/gstcaps.h:
10437         * libs/gst/base/gstbasetransform.c:
10438         (gst_base_transform_transform_caps):
10439         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10440           implement caps merging (fixes #352580)
10441
10442 2006-08-23  Stefan Kost  <ensonic@users.sf.net>
10443
10444         * tools/Makefile.am:
10445         * tools/gst-plot-timeline.py:
10446           add debug-log plotting developer tool (#340674)
10447
10448 2006-08-23  Wim Taymans  <wim@fluendo.com>
10449
10450         * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10451         (gst_pad_stop_task):
10452         Improve debugging for task functions.
10453
10454         * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10455         (gst_task_start), (gst_task_pause), (gst_task_join):
10456         Make sure that the task function started and finished after a 
10457         join(). 
10458         Don't try to push the task function on the threadpool multiple
10459         times.
10460         Improve the g_warning message with some useful suggestions
10461         about how to fix the problem. 
10462
10463 2006-08-23  Wim Taymans  <wim@fluendo.com>
10464
10465         * gst/gstutils.c: (gst_pad_proxy_getcaps):
10466         Handle RESYNC correctly in _proxy_getcaps.
10467
10468 2006-08-21  Tim-Philipp Müller  <tim at centricular dot net>
10469
10470         * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10471         (gst_xml_parse_memory), (gst_xml_get_element):
10472           Chain up to parent class in dispose function and also
10473           unref the elements in the toplevel_elements GList.
10474           Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10475           Always return a reference in gst_xml_get_element() rather
10476           than only sometimes.
10477
10478         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10479           Don't leak GstXml object.
10480
10481 2006-08-21  Stefan Kost  <ensonic@users.sf.net>
10482
10483         * docs/gst/gstreamer-sections.txt:
10484         * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10485         (gst_caps_merge):
10486         * gst/gstcaps.h:
10487         * libs/gst/base/gstbasetransform.c:
10488         (gst_base_transform_transform_caps):
10489           API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10490           in a better way
10491
10492 2006-08-21  Edward Hervey  <edward@fluendo.com>
10493
10494         * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10495         Implement GObject::dispose virtual method in GstXML so we can free the
10496         top_elements GList.
10497
10498 2006-08-21  Wim Taymans  <wim@fluendo.com>
10499
10500         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10501         (gst_buffer_create_sub):
10502         Copy duration/offset_end/caps when creating a subbuffer of the
10503         complete parent.
10504         Make the subbuffer read-only when we make the metadata writable for
10505         now. Fixes #351768.
10506
10507         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10508         Added check for metadata copy when creating subbuffers.
10509
10510 2006-08-21  Edward Hervey  <edward@fluendo.com>
10511
10512         * libs/gst/base/gstbasetransform.c:
10513         (gst_base_transform_buffer_alloc):
10514         Only call downstream buffer_alloc if transform element is passthrough
10515         or always_in_place. Closes #350449.
10516
10517 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10518
10519         * ChangeLog:
10520           ChangeLog surgery to add comments to previous changes
10521
10522 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10523
10524         * gst/gst.c:
10525           Add comments
10526
10527         * gst/gstpad.c: (gst_pad_set_active):
10528           Be more verbose in the log
10529
10530         * libs/gst/base/gstbasetransform.c:
10531         (gst_base_transform_transform_caps):
10532           Simplify caps to get rid of duplicates, fixes #345444
10533
10534 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10535
10536         * gst/gstvalue.c:
10537         * gst/gstvalue.h:
10538           Use these optimizations only internally.
10539
10540 2006-08-20  Stefan Kost  <ensonic@users.sf.net>
10541
10542         * gst/gstvalue.c: (gst_value_compare_list),
10543         (gst_value_compare_fraction_range),
10544         (gst_value_intersect_fraction_fraction_range),
10545         (gst_value_intersect_fraction_range_fraction_range),
10546         (gst_value_subtract_fraction_fraction_range),
10547         (gst_value_subtract_fraction_range_fraction_range),
10548         (gst_value_get_compare_func), (gst_value_compare),
10549         (gst_value_compare_with_func):
10550         * gst/gstvalue.h:
10551           Saves the expensive lookup of the compare function in many cases
10552          (#345444)
10553
10554 2006-08-18  Edward Hervey  <edward@fluendo.com>
10555
10556         * tests/check/gst/gstinfo.c: (gst_info_suite):
10557         Disable test that require gstdebug if it wasn't built in core.
10558
10559 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10560
10561         * docs/random/ensonic/logging.txt:
10562           update ideas
10563           
10564         * gst/gstinfo.c: (gst_debug_log_default):
10565           reorder fields, save some columns, add optional color codes for log
10566           levels
10567
10568 2006-08-18  Stefan Kost  <ensonic@users.sf.net>
10569
10570         * docs/random/ensonic/logging.txt:
10571           add ideas about making the logs a bit more useful
10572
10573 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10574
10575         * docs/pwg/advanced-events.xml:
10576         * docs/pwg/titlepage.xml:
10577           Update for 0.10 API (#340627). Add myself
10578           to authors list.
10579
10580 2006-08-17  Tim-Philipp Müller  <tim at centricular dot net>
10581
10582         * docs/libs/gstreamer-libs-docs.sgml:
10583         * docs/libs/gstreamer-libs-sections.txt:
10584         * libs/gst/check/gstbufferstraw.c:
10585           Make gstcheck stuff show up in docs (still needs to
10586           be documented properly though).
10587
10588 2006-08-16  Jan Schmidt  <thaytan@mad.scientist.com>
10589
10590         * docs/gst/gstreamer-sections.txt:
10591         * gst/Makefile.am:
10592         * gst/gst.c: (init_post):
10593         * gst/gst_private.h:
10594         * gst/gstquark.c: (_priv_gst_quarks_initialize):
10595         * gst/gstquark.h:
10596         * gst/gstquery.c: (gst_query_new_position),
10597         (gst_query_set_position), (gst_query_parse_position),
10598         (gst_query_new_duration), (gst_query_set_duration),
10599         (gst_query_parse_duration), (gst_query_new_convert),
10600         (gst_query_set_convert), (gst_query_parse_convert),
10601         (gst_query_new_segment), (gst_query_set_segment),
10602         (gst_query_parse_segment), (gst_query_new_seeking),
10603         (gst_query_set_seeking), (gst_query_parse_seeking):
10604         Add internal helpers for pre-registering quarks from static strings
10605         and using the quark values directly instead of looking them up when
10606         creating and parsing queries. Can be used for event construction too.
10607         Closes #350432.
10608
10609 2006-08-16  Wim Taymans  <wim@fluendo.com>
10610
10611         * gst/gstbin.c:
10612         Fix bogus docs.
10613
10614 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10615
10616         * gst/gstutils.c: (gst_util_set_value_from_string):
10617           Fix memleak (#351502).
10618
10619         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10620           Add unit test for most of gst_util_set_value_from_string()
10621           (not that one would want to encourage use of this function).
10622
10623 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10624
10625         * libs/gst/check/gstcheck.h:
10626           Use const gchar * variables in fail_unless_equals_string
10627           macro to avoid compiler warnings (and don't use tabs for
10628           indenting).
10629
10630 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10631
10632         * tools/gst-launch.c: (print_tag):
10633           More space on the left for the tag names, to cater
10634           for the 'extended comment' tag (not touching the
10635           string for the first line since it's translated).
10636
10637 2006-08-15  Tim-Philipp Müller  <tim at centricular dot net>
10638
10639         * libs/gst/check/gstcheck.h:
10640           Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10641           print something when they fail.
10642
10643 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10644
10645         * docs/gst/gstreamer-sections.txt:
10646         * gst/gsttaglist.c: (_gst_tag_initialize):
10647         * gst/gsttaglist.h:
10648           API: add GST_TAG_EXTENDED_COMMENT (#350935).
10649           Also change merge function for GST_TAG_COMMENT to
10650           use_first.
10651
10652 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10653
10654         * gst/gstinfo.c: (gst_debug_print_object):
10655           Make GST_PTR_FORMAT print messages as well.
10656
10657         * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10658         (GST_START_TEST), (gst_info_suite):
10659           More tests.
10660
10661 2006-08-14  Edward Hervey  <edward@fluendo.com>
10662
10663         * gst/gstelementfactory.c: (gst_element_register):
10664         If the GstElementClass doesn't have a GstElementDetails with all fields
10665         filled up correctly (longname, description AND author), then error out
10666         nicely instead of crashing.
10667
10668 2006-08-14  Tim-Philipp Müller  <tim at centricular dot net>
10669
10670         * gst/gststructure.c:
10671           Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10672
10673         * gst/gstvalue.h:
10674           Expand on the difference between arrays and lists as we use them.
10675           
10676 2006-08-14  Wim Taymans  <wim@fluendo.com>
10677
10678         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10679         If the parent state change function failed, don't assume we can safely
10680         stop the source, this will be done when the pads are deactivated.
10681
10682 2006-08-14  Wim Taymans  <wim@fluendo.com>
10683
10684         * gst/gstbuffer.c:
10685         * gst/gsttask.c: (gst_task_join):
10686         Small doc updates.
10687
10688         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10689         (gst_pad_stop_task):
10690         When pad (de)activation failed for some reason, restore the old
10691         activation mode and set the pad to flushing instead of assuming the
10692         pad is deactivated.
10693         If the _task_join() failed, reinstall the task on the pad so that it can
10694         be stopped later and return an error.
10695
10696 2006-08-11  Andy Wingo  <wingo@pobox.com>
10697
10698         * configure.ac:
10699         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10700         * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10701         is only for users of API that don't want to see deprecated
10702         functions in the headers; people that want to compile out
10703         deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10704         CFLAGS. Fixes the build of multifdsink, or will soon..
10705
10706 2006-08-11  Wim Taymans  <wim@fluendo.com>
10707
10708         * docs/gst/gstreamer-sections.txt:
10709         Add GstClockClass vmethod docs.
10710
10711         * gst/gstcaps.h:
10712         Mark #endif with comment for associated #if
10713
10714         * gst/gstclock.c: (gst_clock_id_wait):
10715         * gst/gstclock.h:
10716         Add vmethod wait_jitter to avoid an unneeded _get_time() for
10717         most clock implementations.
10718         Document vmethods.
10719         Flesh out docs about resolution methods.
10720         API: GstClockClass::wait_jitter
10721
10722         * gst/gstsystemclock.c: (gst_system_clock_class_init),
10723         (gst_system_clock_async_thread),
10724         (gst_system_clock_id_wait_jitter_unlocked),
10725         (gst_system_clock_id_wait_jitter):
10726         Use base class wait_jitter variant for improved performance
10727         due to less clock polling.
10728
10729 2006-08-11  Edward Hervey  <edward@fluendo.com>
10730
10731         * gst/gst.c: (gst_init_check), (init_post):
10732         Set gst as being initialized before scanning/updating the registry,
10733         since there might be my python plugin loader that calls gst_init() and
10734         we don't want to loop back in.
10735         Closes #350879
10736
10737 2006-08-11  Wim Taymans  <wim@fluendo.com>
10738
10739         * docs/design/part-qos.txt:
10740         Bring docs in line with the code. Mostly the sign of the jitter was
10741         wrong in the docs. Fixes #349943.
10742
10743         * gst/gstclock.c:
10744         Fix the docs for the jitter.
10745
10746         * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10747         (gst_event_parse_tag), (gst_event_new_buffer_size),
10748         (gst_event_parse_buffer_size), (gst_event_parse_qos),
10749         (gst_event_new_seek), (gst_event_parse_seek),
10750         (gst_event_new_navigation):
10751         Make sure the GstStructure has no parent when creating custom
10752         events.
10753         Add some more argument checking so that we avoid 0.0 rates.
10754         Flesh out the docs for the QoS event some more.
10755
10756 2006-08-11  Wim Taymans  <wim@fluendo.com>
10757
10758         * docs/gst/gstreamer-sections.txt:
10759         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10760         (ensure_current_registry_forking), (ensure_current_registry),
10761         (parse_one_option), (parse_goption_arg), (gst_deinit),
10762         (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10763         * gst/gst.h:
10764         Doc updates.
10765         Added API and command line option to disable registry forking in
10766         addition to the environment variable.
10767         Constify some static arrays.
10768         Added some more debug.
10769         Don't deinit twice.
10770         API: gst_registry_fork_is_enabled()
10771         API: gst_registry_fork_set_enabled()
10772         API: --gst-disable-registry-fork command line option
10773         Fixes #348918.
10774
10775 2006-08-11  Tim-Philipp Müller  <tim at centricular dot net>
10776
10777         * gst/gst.c: (gst_init):
10778           Fix typo in error message.
10779
10780 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
10781
10782         * libs/gst/controller/gstcontroller.h:
10783           fix ABI size-correction
10784
10785         * tests/check/libs/gdp.c: (gst_dp_suite):
10786           make tests that use deprecated API conditional
10787
10788 2006-08-10  Stefan Kost  <ensonic@users.sf.net>
10789
10790         * docs/libs/gstreamer-libs-sections.txt:
10791         * libs/gst/controller/gstcontroller.c:
10792         (_gst_controller_get_property), (_gst_controller_set_property),
10793         (_gst_controller_init), (_gst_controller_class_init):
10794         * libs/gst/controller/gstcontroller.h:
10795         * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10796         (gst_object_set_control_rate):
10797           API: add gst_object_{s,g}et_control_rate(), add private data section,
10798           fix docs
10799
10800         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10801         * libs/gst/dataprotocol/dataprotocol.h:
10802           add deprecation guards to make gtk-doc happy and allow disabling cruft
10803
10804 2006-08-09  Tim-Philipp Müller  <tim at centricular dot net>
10805
10806         * tests/check/Makefile.am:
10807         * tests/check/gst/.cvsignore:
10808           Let's enable the new unit test as well.
10809
10810 2006-08-08  Tim-Philipp Müller  <tim at centricular dot net>
10811
10812         * configure.ac:
10813         * docs/gst/gstreamer-sections.txt:
10814         * gst/gstconfig.h.in:
10815         * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10816         (_gst_info_printf_extension_ptr),
10817         (_gst_info_printf_extension_segment):
10818           API: add GST_SEGMENT_FORMAT, which is a printf extension we
10819           register that lets us easily dump GstSegments into debug
10820           logs (#350419).
10821
10822         * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10823         (info_segment_format_printf_extension), (gst_info_suite):
10824           Add simple unit test that logs a bunch of different segments (not
10825           valgrinded at the moment because of leaks in
10826           gst_debug_add_log_function).
10827
10828 2006-08-09  Edward Hervey  <edward@fluendo.com>
10829
10830         * libs/gst/base/gstbasetransform.c:
10831         (gst_base_transform_buffer_alloc):
10832         Even if we can't figure out the proper format to request downstream,
10833         call buffer_alloc() downstream with the input parameters without setting
10834         the caps on the srcpad. This will force negotiation in the chain
10835         function.
10836         Closes #350449
10837
10838 2006-08-08  Edward Hervey  <edward@fluendo.com>
10839
10840         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10841         Unlinking from a pad without a target is now a perfectly valid case
10842         which should NOT raise an assertion.
10843         This case would happen if a linked ghostpad its target set to NULL after
10844         it was previously linked.
10845
10846 2006-08-08  Edward Hervey  <edward@fluendo.com>
10847
10848         * tests/check/libs/gdp.c:
10849         Also comment out the test (see below).
10850
10851 2006-08-08  Edward Hervey  <edward@fluendo.com>
10852
10853         * tests/check/libs/gdp.c: (gst_dp_suite):
10854         Use the architecture information from config.h and not gcc macros
10855         in order to properly disable a test that fails on PPC64.
10856
10857 2006-08-04  Tim-Philipp Müller  <tim at centricular dot net>
10858
10859         * gst/gstelement.c: (gst_element_remove_pad):
10860           Don't crash printing the warning if the pad has no parent.
10861
10862 2006-08-02  Wim Taymans  <wim@fluendo.com>
10863
10864         * libs/gst/dataprotocol/dataprotocol.c:
10865         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10866         (gst_dp_crc), (gst_dp_header_payload_length),
10867         (gst_dp_header_payload_type), (gst_dp_packet_from_event),
10868         (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
10869         (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
10870         (gst_dp_event_from_packet), (gst_dp_validate_header),
10871         (gst_dp_validate_payload):
10872         Make debug category static
10873         Constify the crc table.
10874         Do some more arg checking in public functions.
10875         Fix some docs and do some small cleanups.
10876
10877         * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
10878         Add some more checks to see if GDP deals with bogus input.
10879
10880 2006-07-31  Wim Taymans  <wim@fluendo.com>
10881
10882         * gst/gstvalue.c: (gst_value_compare_list):
10883         Fix GstValueList comparison code. Fixes #347293.
10884
10885         * tests/check/gst/gstvalue.c: (GST_START_TEST):
10886         Check to test GstValueList comparison.
10887
10888 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
10889
10890         * gst/gstelementfactory.c: (gst_element_factory_create):
10891         Remove unnecessary ref/unref pair
10892
10893         * gst/parse/grammar.y:
10894         Make sure to free the parse buffer on all code paths.
10895         Move a g_free up to the error handler where it's easier to see.
10896
10897         * tests/check/gst/gstevent.c: (test_event):
10898         Extending timeout for downstream travelling events to 10 seconds to
10899         hopefully avoid intermittent failure on the buildbots.
10900
10901         * tests/check/pipelines/parse-launch.c: (run_delayed_test):
10902         Don't manually set the state of the src element - it will happen as a
10903         natural consequence of the pipeline changing state, and that way it
10904         will do it in the right order too.
10905
10906 2006-07-31  Wim Taymans  <wim@fluendo.com>
10907
10908         * libs/gst/base/gstbasetransform.c:
10909         (gst_base_transform_buffer_alloc):
10910         Use OBJECT_LOCK and refcounting to get the pad caps in the
10911         buffer_alloc function because the caps could change while we are
10912         busy with them. Fixes #349105
10913
10914 2006-07-31  Wim Taymans  <wim@fluendo.com>
10915
10916         * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
10917         Protect _PAD_CAPS with OBJECT_LOCK.
10918
10919 2006-07-31  Wim Taymans  <wim@fluendo.com>
10920
10921         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10922         (gst_pad_get_property), (gst_pad_activate_pull),
10923         (gst_pad_activate_push), (gst_pad_set_blocked_async),
10924         (gst_pad_set_activate_function),
10925         (gst_pad_set_activatepull_function),
10926         (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
10927         (gst_pad_set_getrange_function),
10928         (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
10929         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10930         (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
10931         (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
10932         (gst_pad_set_acceptcaps_function),
10933         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10934         (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
10935         (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
10936         (gst_pad_peer_get_caps), (gst_pad_accept_caps),
10937         (gst_pad_peer_accept_caps), (gst_pad_set_caps),
10938         (gst_pad_configure_sink), (gst_pad_configure_src),
10939         (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
10940         (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
10941         (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
10942         (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
10943         (gst_pad_send_event):
10944         Use _DEBUG_OBJECT when it makes sense.
10945         Protect GST_PAD_CAPS with the OBJECT_LOCK.
10946         Small cleanups and code reflows.
10947         Avoid caps refcounting in _accept_caps.
10948         Refactor alloc_buffer so that the code performed on the peer is in a
10949         separate function. Also if the pad does not implement a buffer alloc
10950         function, we should still check if the pad is flushing before falling
10951         back to the default allocator.
10952
10953 2006-07-31  Jan Schmidt  <thaytan@mad.scientist.com>
10954
10955         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10956         Make all uses of identity and fakesink have silent=true to avoid
10957         serialising every passing data structure, which is breaking tests
10958         on FC4 for some unknown reason.
10959
10960 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
10961
10962         * gst/parse/Makefile.am:
10963         * gst/parse/grammar.y:
10964         * gst/parse/parse.l:
10965           Reverted previous patch as it required to bump the flex dependency to
10966           2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
10967
10968 2006-07-30  Stefan Kost  <ensonic@users.sf.net>
10969
10970         Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
10971
10972         * gst/parse/Makefile.am:
10973         * gst/parse/grammar.y:
10974         * gst/parse/parse.l:
10975           push & pop the state of the lexer for reentrant use case
10976           Fixes #349180
10977
10978 2006-07-29  Tim-Philipp Müller  <tim at centricular dot net>
10979
10980         * libs/gst/base/gstbasesrc.h:
10981           Note in the docs that the ::newsegment vfunc is not actually used by
10982           GstBaseSrc.
10983
10984 2006-07-28  Wim Taymans  <wim@fluendo.com>
10985
10986         * libs/gst/base/gstcollectpads.c:
10987         (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
10988         (gst_collect_pads_clear), (gst_collect_pads_flush),
10989         (gst_collect_pads_event), (gst_collect_pads_chain):
10990         When flushing a pad, also clear the queued buffer so that we don't
10991         accidentally use it when we shouldn't.
10992         Fix leaks by inreffing incomming buffer.
10993         Flush out queued buffers in case of errors.
10994         Fixes #347452.
10995
10996 2006-07-28  Wim Taymans  <wim@fluendo.com>
10997
10998         * docs/random/phonon-gst:
10999         Random notes about a Phonon backend.
11000
11001 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11002
11003         * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11004         Extra debug output
11005         * tests/check/libs/gdp.c: (gst_dp_suite):
11006         Take a whack at fixing the ppc compile using a different define to
11007         disable the broken test.
11008
11009         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11010         Remove excess g_print()
11011
11012 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11013
11014         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11015         Oops, meant to uncomment this line too to dampen the noise a bit.
11016
11017 2006-07-27  Jan Schmidt <thaytan@mad.scientist.com>
11018
11019         * gst/parse/grammar.y:
11020         * gst/parse/parse.l:
11021         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11022         (GST_START_TEST), (parse_suite):
11023         Fix some of the leaks exposed by extending the parse-launch testsuite,
11024         and move the 3 I can't figure out into a separate test that won't run
11025         the pipelines unless the appropriate line is uncommented.
11026
11027 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11028
11029         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11030           Requesting 0 bytes before the end of the file should result in
11031           FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11032           unit test.
11033
11034 2006-07-27  Wim Taymans  <wim@fluendo.com>
11035
11036         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11037         Fix useless assert, a uint is always positive.
11038
11039         * gst/gststructure.c: (gst_structure_nth_field_name),
11040         (gst_structure_foreach), (gst_structure_map_in_place):
11041         Check input arguments for public functions to avoid obvious crashes.
11042
11043         * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11044         * plugins/elements/gstfakesink.h:
11045         Do less useless typechecking.
11046
11047 2006-07-27  Tim-Philipp Müller  <tim at centricular dot net>
11048
11049         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11050           Do not use mmap() by default since there are a number of error
11051           conditions that we would like to handle in a non-fatal way that
11052           will result in a SIGBUS if we use mmap(). Examples: external
11053           devices (USB harddrive, portable music player) being unplugged
11054           while in use; file on mounted CD/DVD that can't be read because
11055           the medium is partly damaged. Fixes #348455 and #348475.
11056
11057 2006-07-27  Jan Schmidt  <thaytan@mad.scientist.com>
11058
11059         * gst/gstquery.h:
11060         Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11061         rates are a gdouble
11062
11063 2006-07-26  Stefan Kost  <ensonic@users.sf.net>
11064
11065         * gst/gstregistry.c:
11066           Move big documentation comment into class section header, so that it
11067           appears in the API docs.
11068
11069 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11070
11071         * docs/gst/gstreamer-sections.txt:
11072         Oops. Commit the docs additions too for new API.
11073         Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11074
11075 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11076
11077         * gst/gststructure.c: (gst_structure_id_set),
11078         (gst_structure_id_set_valist):
11079         * gst/gststructure.h:
11080         Add API for setting values into structures without performing
11081         a quark lookup, if the appropriate quark is already known.
11082
11083         API: gst_structure_id_set
11084         API: gst_structure_id_set_valist
11085
11086         * gst/parse/grammar.y:
11087         * gst/parse/parse.l:
11088         Remove some dead code shown by the coverage information.
11089         Don't throw a critical g_warning when encountering a syntax error,
11090         just warn and let the normal error path handle it.
11091
11092         * plugins/elements/gstelements.c:
11093         Bump the rank of filesink up to PRIMARY so that it is preferred over
11094         gnomevfssink for file:// sink uri's
11095
11096         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11097         (GST_START_TEST), (run_delayed_test),
11098         (gst_parse_test_element_base_init),
11099         (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11100         (gst_parse_test_element_change_state),
11101         (gst_register_parse_element), (parse_suite):
11102         Beef up the tests for parse syntax to check that more error cases
11103         fail as they are supposed to. Increases the test coverage a bit.
11104
11105 2006-07-26  Tim-Philipp Müller  <tim at centricular dot net>
11106
11107         * docs/manual/basics-elements.xml:
11108           Fix gst_element_link() example.
11109
11110         * gst/gstutils.c:
11111           Mention in API docs that one should usually gst_bin_add()
11112           elements to a bin or pipeline before doing the linking.
11113           
11114 2006-07-26  Wim Taymans  <wim@fluendo.com>
11115
11116         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11117         (gst_subbuffer_get_type), (gst_buffer_create_sub):
11118         Avoid function call for known types by keeping the buffer and
11119         subbuffer GType global.
11120
11121         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11122         Random silly optimisations in read() path.
11123
11124 2006-07-26  Jan Schmidt  <thaytan@mad.scientist.com>
11125
11126         * tools/gst-launch.c: (main):
11127           If the top-level of the parse is a normal bin, it doesn't do the
11128           right logic to run as a top-level element, so place it inside a
11129           pipeline.
11130
11131 2006-07-25  Tim-Philipp Müller  <tim at centricular dot net>
11132
11133         * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11134           Remove superfluous g_object_notify() calls, GObject does
11135           that for us automatically.
11136
11137 2006-07-25  Stefan Kost  <ensonic@users.sf.net>
11138
11139         * gst/gstinfo.h:
11140           on Win32, use dllspec to export the debug category symbols
11141
11142 2006-07-24  Tim-Philipp Müller  <tim at centricular dot net>
11143
11144         * gst/gsttaglist.c: (_gst_tag_initialize):
11145           Allow more than one GST_TAG_IMAGE per taglist.
11146
11147 2006-07-24  Thomas Vander Stichele  <thomas at apestaart dot org>
11148
11149         * gst/gstminiobject.c:
11150           update docs
11151         * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11152         (gst_fd_src_create):
11153           log recurring events at LOG level
11154           add more debug for when the fd gets set
11155
11156 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11157
11158         * gst/gstparse.c: (gst_parse_launch):
11159           Also remove reentrance checks if flex is MT safe (#348179)
11160          Fix my empty ChangeLog entry below
11161
11162 2006-07-21  Andy Wingo  <wingo@pobox.com>
11163
11164         * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11165
11166         * libs/gst/check/Makefile.am
11167         (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11168         (libgstcheck_@GST_MAJORMINOR@_la_SOURCES): 
11169         * libs/gst/check/gstbufferstraw.h:
11170         * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11171         functions, thus proving I am still a GStreamer haxor. OK I wrote
11172         them a long time ago, but anyways.
11173
11174 2006-07-21  Stefan Kost  <ensonic@users.sf.net>
11175
11176         * configure.ac:
11177         * gst/gstparse.c: (gst_parse_launch):
11178           Check for flex version and omit mutex if we have a MT save flex
11179           (fixes #348179)
11180
11181 2006-07-21  Wim Taymans  <wim@fluendo.com>
11182
11183         * gst/gstparse.c: (gst_parse_launch):
11184         Protect recursive calls to _parse with a recursive mutex
11185         and busy flag.
11186
11187 2006-07-21  Wim Taymans  <wim@fluendo.com>
11188
11189         * tests/check/gst/gstpad.c: (GST_START_TEST):
11190         Fix leak in test.
11191
11192 2006-07-20  Stefan Kost  <ensonic@users.sf.net>
11193
11194         * gst/gstparse.c: (gst_parse_launch):
11195           Do not hang on recursive usage of gst_parse_launch()
11196
11197 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11198
11199         * gst/gsttaglist.c:
11200           Add some more docs, comments and FIXME 0.11s here and there
11201           and also fix some typos.
11202
11203 2006-07-20  Tim-Philipp Müller  <tim at centricular dot net>
11204
11205         * gst/gstsegment.h:
11206           Convert tabs to spaces for better readability. 
11207
11208 2006-07-20  Edward Hervey  <edward@fluendo.com>
11209
11210         * tests/check/libs/gdp.c: (gst_dp_suite):
11211         the test_buffer test fails at line 140 on ppc64 at the following
11212         check:
11213         fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11214                 GST_BUFFER_FLAG_IN_CAPS),
11215                 "GST_BUFFER_IN_CAPS flag should have been copied !");
11216         See bug #348114 for more details.
11217
11218 2006-07-19  Tim-Philipp Müller  <tim at centricular dot net>
11219
11220         * docs/pwg/advanced-scheduling.xml:
11221         * gst/gstpad.c:
11222           Fix typos (#348000).
11223
11224 2006-07-18  Tim-Philipp Müller  <tim at centricular dot net>
11225
11226         * docs/pwg/intro-basics.xml:
11227           Fix wrong links (#347927).
11228
11229 2006-07-18  Stefan Kost  <ensonic@users.sf.net>
11230
11231         * gst/gstregistry.h:
11232         * gst/gstregistryxml.c: (load_feature),
11233         (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11234         * win32/common/config.h:
11235           make --disable-index work (#342564)
11236
11237 2006-07-18  Wim Taymans  <wim@fluendo.com>
11238
11239         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11240
11241         * gst/Makefile.am:
11242         * gst/gsttrace.h:
11243         The attached patch adds two missing defines to gsttrace.h when tracing
11244         is disabled.  It also corrects one existing define.
11245         Fixes #347756.
11246
11247 2006-07-17  Wim Taymans  <wim@fluendo.com>
11248
11249         * docs/gst/gstreamer-sections.txt:
11250         * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11251         * gst/gst.h:
11252         * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11253         Add two functions to check and change the SIGSEGV behaviour
11254         when loading plugins.
11255         Don't mess with the SIGSEGV handler when we were told not to.
11256         Fixes #347794.
11257         API: gst_segtrap_is_enabled
11258         API: gst_segtrap_set_enabled
11259
11260 2006-07-14  Wim Taymans  <wim@fluendo.com>
11261
11262         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11263         * tests/check/elements/filesrc.c: (GST_START_TEST):
11264         Revert fix for regression in #347408 after release.
11265
11266 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>
11267
11268         Patch by: Antoine Tremblay <hexa00 at gmail com>
11269
11270         * gst/gstutils.c: (gst_element_unlink):
11271           Free iterator when done (#347311).
11272
11273         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11274           And add a test case for this.
11275
11276 2006-07-14  Jan Schmidt  <thaytan@mad.scientist.com>
11277
11278         * configure.ac:
11279         Bump nano back to CVS
11280
11281 === release 0.10.9 ===
11282
11283 2006-07-13  Jan Schmidt <thaytan@mad.scientist.com>
11284
11285         * configure.ac:
11286           releasing 0.10.9, "On the road again"
11287
11288 2006-07-13  Wim Taymans  <wim@fluendo.com>
11289
11290         * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11291         * tests/check/elements/filesrc.c: (GST_START_TEST):
11292         Revert pull-0 fix for release. Disable check. Fixes #347408.
11293
11294 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11295
11296         * libs/gst/dataprotocol/dataprotocol.c:
11297         (gst_dp_event_from_packet_1_0):
11298           Fixes #347337: failure to deserialize event packets with
11299           empty payload (only event type)
11300
11301 2006-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11302
11303         * gst/Makefile.am:
11304           do not install a .c file in the header directory
11305
11306 2006-07-13  Edward Hervey  <edward@fluendo.com>
11307
11308         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11309         GhostPad no longer implicitely use the padtemplates of the targets.
11310         Fixes #347384
11311
11312 2006-07-11  Jan Schmidt  <thaytan@mad.scientist.com>
11313
11314         * gst/gstvalue.c: (gst_value_compare_list),
11315         (gst_value_compare_array), (_gst_value_initialize):
11316         * tests/check/gst/gstvalue.c: (GST_START_TEST):
11317         Make GstValueArray comparison be order dependent as designed.
11318         Add checks for value lists and value array comparisons.
11319         Fixes #347221
11320
11321 2006-07-11  Edward Hervey  <edward@fluendo.com>
11322
11323         * gst/gstbin.c: (activate_pads),
11324         (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11325         (gst_bin_change_state_func):
11326         (de)activate src pads before calling state_change on the childs.
11327         This is to avoid the case where a src ghostpad is blocked (holding the
11328         stream lock), which would block the deactivation of the ghostpad's
11329         target pad.
11330         * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11331         (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11332         (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11333         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11334         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11335         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11336         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11337         (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11338         (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11339         (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11340         (gst_ghost_pad_class_init),
11341         (gst_ghost_pad_internal_do_activate_push),
11342         (gst_ghost_pad_internal_do_activate_pull),
11343         (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11344         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11345         (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11346         (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11347         GhostPads now create their internal GstProxyPad at creation (and not
11348         when they're linked, as it was being done previously).
11349         The internal and target pads are linked straight away.
11350         The data will also travel through the other pad in order to make
11351         pad blocking and probes non-hackish (the probe/block now really happens
11352         on the GhostPad and not on the target).
11353         * gst/gstpad.c: (gst_pad_set_blocked_async),
11354         (gst_pad_link_prepare), (gst_pad_push_event):
11355         Remove previous ghostpad cruft.
11356         * gst/gstutils.c: (gst_pad_add_data_probe),
11357         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11358         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11359         (gst_pad_remove_buffer_probe):
11360         Remove previous ghost pad cruft.
11361         Added more detailed debug statements.
11362         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11363         Fix the testsuite for refcounting changes.
11364         The comments about who has references were correct, but the refcount
11365         being checked wasn't the same (!?!).
11366
11367         Fixes #341029
11368
11369 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11370
11371         * docs/gst/gstreamer-sections.txt:
11372         * gst/gstconfig.h.in:
11373         More docs for configuration options, add docs to gtk-doc.
11374
11375 2006-07-10  Stefan Kost  <ensonic@users.sf.net>
11376
11377         * gst/Makefile.am:
11378         * gst/gstconfig.h.in:
11379         * win32/common/config.h:
11380         Fix build when disabling tracing (fixes #344016). Also start to document
11381         the defines that disable the sub-systems.
11382
11383 2006-07-10  Edward Hervey  <edward@fluendo.com>
11384
11385         * gst/gst.c: (ensure_current_registry_forking):
11386         let's make valgrind happy...
11387
11388 2006-07-09  Wim Taymans  <wim@fluendo.com>
11389
11390         * gst/gstelement.c: (activate_pads),
11391         (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11392         Better pad activation code: Reset the collect value too on resync.
11393         Add some comments.
11394
11395 2006-07-09  Wim Taymans  <wim@fluendo.com>
11396
11397         * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11398         (gst_pad_activate_push):
11399         Use some more macros where it makes sense.
11400         Allow pad mode switching instead of asserting. When a pad
11401         is activated in one mode and we activate it in another, 
11402         deactivate it first before activating it in a different mode.
11403         Fixes #329198.
11404
11405 2006-07-08  Andy Wingo  <wingo@pobox.com>
11406
11407         * tools/gst-launch.c (main): Handle err == NULL.
11408
11409         * gst/gst.c (init_post, ensure_current_registry)
11410         (ensure_current_registry_forking)
11411         (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11412         factoring out the registry scanning into separate functions. Don't
11413         fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11414         Better environment var name/interface suggestions accepted.
11415
11416 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11417
11418         * gst/gstobject.c: (gst_object_set_name_default),
11419         (gst_object_set_name):
11420           Random micro-optimisation: don't use a hash table
11421           with strings as keys and the usual strdup/strcmp
11422           involved, but rather just use the GQuark of the
11423           type name as key, since it needs to be looked up
11424           anyway to get the type name string.
11425
11426         * tests/check/gst/gstobject.c: (GST_START_TEST):
11427           Fix various leaks.
11428
11429 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11430
11431         * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11432         (gst_bin_iterate_all_by_interface):
11433           Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11434           GTypes are gulongs and thus the top 4 bytes might be cut
11435           off on some platforms when doing GPOINTER_TO_INT, leading
11436           to invalid GTypes and bad things happening (see RH bug #179654).
11437           Also add a check to make sure the type passed in is really
11438           an interface type.
11439
11440 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11441
11442         * .cvsignore:
11443           Ignore more.
11444
11445 2006-07-07  Tim-Philipp Müller  <tim at centricular dot net>
11446
11447         * Makefile.am:
11448         * configure.ac:
11449         * gst-element-check.m4:
11450         * gst-element-check.m4.in:
11451           Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11452           instead of the unversioned gst-inspect (#324176, #168659).
11453
11454 2006-07-06  Wim Taymans  <wim@fluendo.com>
11455
11456         * gst/gstmessage.h:
11457         Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11458         warnings.
11459
11460 2006-07-06  Wim Taymans  <wim@fluendo.com>
11461
11462         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11463         (gst_base_src_wait), (gst_base_src_update_length),
11464         (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11465         (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11466         (gst_base_src_loop), (gst_base_src_start),
11467         (gst_base_src_activate_pull):
11468         Update docs.
11469         blocksize == 0 now means the default blocksize when working in push
11470         based mode.
11471         Remove some pointless asserts in _wait function.
11472         Fix offset/length calculations and EOS handling. We can now pull 0
11473         bytes as well, which is allowed.
11474         use _check_get_range() to decide if we can operate in _pull based
11475         mode.
11476         Fix refcounting leak when check_get_range function was not 
11477         implemented.
11478         API GstBaseSrc::blocksize range can be 0 too now (default)
11479
11480         * tests/check/elements/filesrc.c: (GST_START_TEST),
11481         (filesrc_suite):
11482         Added check to test _get_range() behaviour.
11483
11484 2006-07-06  Wim Taymans  <wim@fluendo.com>
11485
11486         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11487         (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11488         (gst_pad_pull_range):
11489         * gst/gstpad.h:
11490         Lots of comments and docs added to the pad functions.
11491         Flesh out the expected behaviour of the get_range() functions.
11492
11493 2006-07-06  Wim Taymans  <wim@fluendo.com>
11494
11495         * gst/gstbus.h:
11496         * gst/gstclock.h:
11497         * gst/gstevent.h:
11498         * gst/gstiterator.h:
11499         * gst/gstpad.h:
11500         * gst/gstplugin.h:
11501         * gst/gsttask.h:
11502         Remove comma at end of enumerator list. 
11503
11504 2006-07-05  Sebastien Moutte  <sebastien@moutte.net>
11505
11506         * win32/common/libgstbase.def:
11507         * win32/common/libgstdataprotocol.def:
11508         * win32/common/libsgtreamer.def:
11509         Add new exported functions.
11510
11511 2006-07-05  Wim Taymans  <wim@fluendo.com>
11512
11513         * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11514         Add some more docs here and there.
11515
11516 2006-07-05  Wim Taymans  <wim@fluendo.com>
11517
11518         * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11519         (gst_base_sink_loop), (gst_base_sink_get_position):
11520         When operating in pull mode update the offset so that we
11521         read sequentially.
11522
11523 2006-07-05  Wim Taymans  <wim@fluendo.com>
11524
11525         * gst/gstregistryxml.c: (read_string):
11526         Avoid strdup. (will happen in libxml, but hey!)
11527
11528         * gst/gsturi.c:
11529         Add some more docs.
11530
11531 2006-07-05  Wim Taymans  <wim@fluendo.com>
11532
11533         * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11534         * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11535         (gst_buffer_suite):
11536         No point in checking if the size of the subbuffer > 0, the
11537         code handles it correclty as demonstrated by unit test.
11538         Also add a unit test for the zero sized _new_and_alloc and
11539         _copy. Fixes #346663.
11540
11541 2006-07-05  Wim Taymans  <wim@fluendo.com>
11542
11543         * libs/gst/base/gstbasetransform.c:
11544         (gst_base_transform_prepare_output_buffer),
11545         (gst_base_transform_buffer_alloc),
11546         (gst_base_transform_handle_buffer):
11547         Make sure the buffer we pass to transform_ip has a refcount of
11548         1 and thus is writable. Fixes #343196
11549
11550 2006-07-04  Jan Schmidt  <thaytan@mad.scientist.com>
11551
11552         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11553         (gst_file_src_init), (gst_file_src_set_property),
11554         (gst_file_src_get_property), (gst_file_src_map_region):
11555         * plugins/elements/gstfilesrc.h:
11556         Add "sequential" property, off by default, to use madvise and hint
11557         to the kernel that sequential access is desired.
11558         Touch all retrieved pages by default to ensure they are pulled
11559         into memory. (Closes #345720)
11560
11561 2006-07-03  Wim Taymans  <wim@fluendo.com>
11562
11563         * docs/design/part-block.txt:
11564         * docs/design/part-dynamic.txt:
11565         Small docs updates.
11566
11567 2006-07-03  Wim Taymans  <wim@fluendo.com>
11568
11569         * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11570         (gst_caps_unref), (gst_static_caps_get),
11571         (gst_caps_append_structure):
11572         * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11573         Use GSlice when the glib we build against is >= 2.10
11574
11575 2006-07-03  Wim Taymans  <wim@fluendo.com>
11576
11577         * gst/gstelement.c: (gst_element_pads_activate):
11578         Small cleanup in pad activation code.
11579
11580 2006-07-03  Wim Taymans  <wim@fluendo.com>
11581
11582         Patch by: Peter Kjellerstedt <pkj at axis dot com>
11583
11584         * gst/gst-i18n-app.h:
11585         * gst/gst-i18n-lib.h:
11586         * tools/gst-inspect.c: (print_signal_info):
11587         The attached patch will make the inclusion of gettext.h unconditional in
11588         gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11589         libintl.h in tools/gst-inspect.c.
11590         This allows use of --disable-nls again and fixes #344642.
11591
11592 2006-07-03  Edward Hervey  <edward@fluendo.com>
11593
11594         * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11595         Implement pad blocking on events according to part-block.txt.
11596         More comments on behaviour.
11597         * tests/check/gst/gstevent.c: (test_event):
11598         Send event to peer pad of blocked pad (else it will block).
11599
11600 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11601
11602         * libs/gst/check/gstcheck.c: (gst_check_message_error),
11603         (gst_check_run_suite):
11604           if we get the wrong message, give us the types as string
11605         * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11606           Fix a translatable
11607         * tests/check/elements/filesrc.c: (GST_START_TEST):
11608           add a test for trying to open a non-existing file
11609
11610 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11611
11612         * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11613           add a test for adding self
11614
11615 2006-07-03  Thomas Vander Stichele  <thomas at apestaart dot org>
11616
11617         * libs/gst/check/gstcheck.h:
11618           add some assert_ as alias for fail_unless_*
11619         * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11620           increase test coverage
11621
11622 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11623
11624         * Makefile.am:
11625           include lcov.mak for lcov coverage generation
11626         * tools/Makefile.am:
11627           add to CLEANFILES
11628
11629 2006-07-02  Edward Hervey  <edward@fluendo.com>
11630
11631         * tests/check/elements/.cvsignore:
11632         moaping
11633
11634 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11635
11636         * configure.ac:
11637           don't set CFLAGS and friends for gcov, done from GST_GCOV now
11638         * tests/check/Makefile.am:
11639           clean up gcov files
11640
11641 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11642
11643         * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11644           remove gst_caps_simplify; it was not declared and not used
11645           and deprecated in 0.8
11646
11647 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11648
11649         * docs/faq/gst-uninstalled:
11650           don't put empty paths on PYTHONPATH
11651         * docs/gst/gstreamer-sections.txt:
11652           remove some symbols that are not there
11653
11654 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11655
11656         * gst/gstcaps.c: (gst_caps_compare_structures):
11657           whitespace fixes
11658         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11659         * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11660           add more tests
11661
11662 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11663
11664         * libs/gst/dataprotocol/Makefile.am:
11665           build dataprotocol test by linking to the lib, instead of
11666           compiling the source, so we get coverage
11667         * tests/check/Makefile.am:
11668         * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11669         (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11670           add a test for filesrc
11671
11672 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11673
11674         * tests/check/gst/gststructure.c: (GST_START_TEST),
11675         (gst_structure_suite):
11676           Push coverage from 59.04% to 70.00%
11677
11678 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11679
11680         * tests/check/Makefile.am:
11681           gst-inspect every element; this makes sure that we also get
11682           coverage on element's get/set functions
11683
11684 2006-07-02  Thomas Vander Stichele  <thomas at apestaart dot org>
11685
11686         * configure.ac:
11687           set CFLAGS and friends to -O0 if gcov is being used
11688           add GCOV LIBS
11689         * gst/Makefile.am:
11690         * libs/gst/base/Makefile.am:
11691         * libs/gst/check/Makefile.am:
11692         * libs/gst/controller/Makefile.am:
11693         * libs/gst/dataprotocol/Makefile.am:
11694         * libs/gst/net/Makefile.am:
11695         * plugins/elements/Makefile.am:
11696         * plugins/indexers/Makefile.am:
11697           add makefile rules to generate gcov data and clean up
11698         * tests/check/Makefile.am:
11699           add a coverage target that generates an html overview
11700           of coverage data
11701
11702 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11703
11704         * tests/check/elements/fakesink.c:
11705         * tests/check/elements/fakesrc.c:
11706         * tests/check/elements/fdsrc.c:
11707         * tests/check/elements/identity.c:
11708         * tests/check/generic/sinks.c: (gst_sinks_suite):
11709         * tests/check/generic/states.c:
11710         * tests/check/gst/gst.c:
11711         * tests/check/gst/gstabi.c:
11712         * tests/check/gst/gstbin.c:
11713         * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11714         * tests/check/gst/gstbus.c: (gst_bus_suite):
11715         * tests/check/gst/gstcaps.c: (GST_START_TEST):
11716         * tests/check/gst/gstelement.c:
11717         * tests/check/gst/gstevent.c: (gst_event_suite):
11718         * tests/check/gst/gstghostpad.c:
11719         * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11720         * tests/check/gst/gstmessage.c: (gst_message_suite):
11721         * tests/check/gst/gstminiobject.c:
11722         * tests/check/gst/gstobject.c:
11723         * tests/check/gst/gstpad.c:
11724         * tests/check/gst/gstpipeline.c:
11725         * tests/check/gst/gstplugin.c:
11726         * tests/check/gst/gstquery.c: (gst_query_suite):
11727         * tests/check/gst/gstsegment.c: (gst_segment_suite):
11728         * tests/check/gst/gststructure.c:
11729         * tests/check/gst/gstsystemclock.c:
11730         * tests/check/gst/gsttag.c:
11731         * tests/check/gst/gsttask.c: (gst_task_suite):
11732         * tests/check/gst/gstutils.c:
11733         * tests/check/gst/gstvalue.c:
11734         * tests/check/libs/adapter.c:
11735         * tests/check/libs/basesrc.c:
11736         * tests/check/libs/collectpads.c:
11737         * tests/check/libs/controller.c:
11738         * tests/check/libs/gdp.c: (gst_dp_suite):
11739         * tests/check/libs/gstnetclientclock.c:
11740         * tests/check/libs/gstnettimeprovider.c:
11741         * tests/check/libs/libsabi.c: (libsabi_suite):
11742         * tests/check/libs/typefindhelper.c:
11743         * tests/check/pipelines/cleanup.c:
11744         * tests/check/pipelines/parse-launch.c:
11745         * tests/check/pipelines/simple-launch-lines.c:
11746         * tests/check/pipelines/stress.c: (stress_suite):
11747           use the new macro
11748
11749 2006-07-01  Thomas Vander Stichele  <thomas at apestaart dot org>
11750
11751         * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11752         * libs/gst/check/gstcheck.h:
11753           create a macro and function so that the simple unit test
11754           case can be just one macro to create main()
11755
11756 2006-06-30  Tim-Philipp Müller  <tim at centricular dot net>
11757
11758         * gst/gstbin.c: (gst_bin_restore_thyself):
11759         * gst/gstxml.c: (gst_xml_make_element):
11760           Fix deserialisation from XML. Set parent manually
11761           instead of using gst_bin_add(), since gst_bin_add()
11762           will unlink all pads of the element being added.
11763           Fixes #341667.
11764
11765 2006-06-28  Tim-Philipp Müller  <tim at centricular dot net>
11766
11767         Patch by: Peter Kjellerstedt <pkj at axis com>
11768
11769         * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11770           Fix missing g_strdup() and double free when using the
11771           --gst-plugin-load command line option (#346097).
11772
11773 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
11774
11775         * gst/gstinfo.c:
11776           Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11777
11778         * libs/gst/net/gstnetclientclock.c:
11779         * libs/gst/net/gstnettimeprovider.c:
11780           Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11781
11782 2006-06-23  Tim-Philipp Müller  <tim at centricular dot net>
11783
11784         * docs/manual/advanced-dataaccess.xml:
11785           Fix buffer probe example compilation in
11786           ADM (#345708).
11787         
11788 2006-06-22  Edward Hervey  <edward@fluendo.com>
11789
11790         * gst/gstelement.c: (gst_element_pads_activate):
11791         We need to deactivate src pads first and then sink pads.
11792         The reason is the src pads might be blocking while holding the streaming
11793         lock, so we need to deactivate them first so that deactivating the sink
11794         pads doesn't block (since it will require the streaming lock).
11795
11796 2006-06-22  Wim Taymans  <wim@fluendo.com>
11797
11798         * libs/gst/base/gstbasetransform.c:
11799         (gst_base_transform_buffer_alloc):
11800         Forgot to remove two unneeded unrefs.
11801         Simplify a check _is_equal allready checks the obvious case.
11802
11803 2006-06-22  Wim Taymans  <wim@fluendo.com>
11804
11805         * docs/design/part-block.txt:
11806         Some docs about what pad_block should do.
11807
11808 2006-06-22  Wim Taymans  <wim@fluendo.com>
11809
11810         * gst/gstcaps.c: (gst_caps_replace):
11811         Fix crasher when passed NULL. Doc clarification.
11812         Optimize for the trivial case.
11813
11814         * gst/gstpipeline.c: (gst_pipeline_change_state):
11815         Small cleanups.
11816
11817         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11818         Small documentation cleanup.
11819
11820         * libs/gst/base/gstbasetransform.c:
11821         (gst_base_transform_buffer_alloc):
11822         Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11823         is what we need and it avoids a whole lot of redundant 
11824         refcount operations.
11825
11826 2006-06-22  Tim-Philipp Müller  <tim at centricular dot net>
11827
11828         Patch by: Philip Jägenstedt  <philip at lysator liu se>
11829
11830         * docs/manual/advanced-dataaccess.xml:
11831           Fix 'Embedding static elements' section to use
11832           GST_PLUGIN_DEFINE_STATIC (#345607).
11833
11834 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11835
11836         * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11837           Attempt to 'fix' spuriously failing test case: it seems like the
11838           timeout of half a second is simply too small when the system is under
11839           load otherwise, and the timeout doesn't really seem to serve any
11840           particular purpose here. Give the pipeline a few seconds to preroll
11841           first, and then give it another half a second to go from PAUSED to
11842           PLAYING and marshal the message into the main thread.
11843
11844 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11845
11846         * tools/gst-feedback-m.m:
11847           Don't only use unversioned tools, try versioned tools as well
11848           (#345086).
11849
11850 2006-06-21  Tim-Philipp Müller  <tim at centricular dot net>
11851
11852         * gst/gstbus.c: (gst_bus_class_init):
11853           Fix some typos, make docs more explicit.
11854
11855 2006-06-20  Wim Taymans  <wim@fluendo.com>
11856
11857         * tests/check/gst/gstghostpad.c: (block_callback),
11858         (GST_START_TEST), (gst_ghost_pad_suite):
11859         Added some more ghostpad tests, mainly blocking
11860         and probes.
11861
11862 2006-06-16  Wim Taymans  <wim@fluendo.com>
11863
11864         * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11865         (gst_file_sink_close_file), (gst_file_sink_do_seek),
11866         (gst_file_sink_event), (gst_file_sink_render):
11867         * plugins/elements/gstfilesink.h:
11868         Check if we can seek in the file instead of assuming
11869         we always can. Post an error when we are asked to seek in a
11870         non-seekable file (like a fifo). Fixes #343312.
11871         Some cleanups.
11872
11873 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
11874
11875         * tools/gst-launch.1.in:
11876           Un-garble (fourcc) bit in filtered caps section.
11877
11878 2006-06-16  Tim-Philipp Müller  <tim at centricular dot net>
11879
11880         * docs/manual/advanced-autoplugging.xml:
11881         * docs/manual/basics-helloworld.xml:
11882         * docs/manual/highlevel-components.xml:
11883           Don't leak bus reference in sample code.
11884
11885 2006-06-15  Tim-Philipp Müller  <tim at centricular dot net>
11886
11887         * autogen.sh:
11888           Add default for new --enable-plugin-docs switch.
11889
11890         * configure.ac:
11891           Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
11892           Fixes #344039.
11893
11894         * docs/Makefile.am:
11895           Use new ENABLE_PLUGIN_DOCS conditional.
11896
11897 2006-06-14  Wim Taymans  <wim@fluendo.com>
11898
11899         * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
11900         Make it clear with a FIXME and a real define what the #if 0
11901         previously disabled.
11902
11903 2006-06-14  Wim Taymans  <wim@fluendo.com>
11904
11905         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11906         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
11907         * libs/gst/base/gstbasetransform.c:
11908         (gst_base_transform_sink_eventfunc):
11909         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11910         Don't randomly and silently reset a segment when the format 
11911         changes as this is a bug somewhere upstream. Fixes #330379.
11912
11913 2006-06-14  Tim-Philipp Müller  <tim at centricular dot net>
11914
11915         Patch by: Wouter Paesen  <wouter at kangaroot net>
11916
11917         * libs/gst/controller/gstcontroller.c:
11918         (gst_controlled_property_new):
11919           Fix controlling of float properties (#344849).
11920
11921         * tests/check/libs/controller.c:
11922         (gst_test_mono_source_get_property),
11923         (gst_test_mono_source_set_property),
11924         (gst_test_mono_source_class_init), (GST_START_TEST):
11925           While we're at it, add some float stuff to unit test.
11926
11927 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11928
11929         * docs/README:
11930         * docs/images/gdp-header.svg:
11931           add a gdp image
11932         * docs/libs/Makefile.am:
11933         * docs/libs/gdp-header.png:
11934         * libs/gst/dataprotocol/dataprotocol.c:
11935           add it to the API docs
11936         * docs/manual/intro-motivation.xml:
11937           fix typo
11938
11939 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
11940
11941         * gst/gst.c: (scan_and_update_registry), (init_post):
11942           If the fork()'ed child process can't write the updated registry cache
11943           file to disk for some reason, make it exit with a failure exit code,
11944           so that the parent can then re-scan the plugins itself and update the
11945           registry structures in memory and work with that (rather than failing
11946           when creating elements because seemingly no plugins are available).
11947           Refactor registry scanning code into separate function for this and
11948           also separate fork() and non-fork() code paths. Fixes #344748.
11949
11950 2006-06-13  Wim Taymans  <wim@fluendo.com>
11951
11952         * docs/manual/advanced-dataaccess.xml:
11953         Fix wrong PluginDesc. Fixes #344755.
11954
11955 2006-06-13  Tim-Philipp Müller  <tim at centricular dot net>
11956
11957         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11958           Fix silly bug that prevented us from creating
11959           ~/.gstreamer-0.10 and writing the registry in one
11960           go (the first call to g_mkstemp() would overwrite the
11961           placeholder in the template string, so the second call
11962           to g_mkstemp() after creating the missing directory
11963           would then error out with 'invalid argument').
11964
11965 2006-06-13  Edward Hervey  <edward@fluendo.com>
11966
11967         * gst/gst.c: (init_post):
11968         Free string.
11969
11970 2006-06-13  Thomas Vander Stichele  <thomas at apestaart dot org>
11971
11972         * gst/glib-compat-private.h:
11973         * gst/glib-compat.c:
11974         * gst/glib-compat.h:
11975         * gst/gstvalue.c: (gst_value_serialize_flags):
11976           remove GLib 2.6 compatibility code
11977
11978 2006-06-12  Tim-Philipp Müller  <tim at centricular dot net>
11979
11980         * gst/parse/Makefile.am:
11981           Fix build with 'make -j N' even more (#340016).
11982
11983 2006-06-12  Wim Taymans  <wim@fluendo.com>
11984
11985         * docs/gst/gstreamer-sections.txt:
11986         Fix docs.
11987
11988 2006-06-12  Wim Taymans  <wim@fluendo.com>
11989
11990         * gst/gstsegment.c: (gst_segment_set_duration),
11991         (gst_segment_set_last_stop), (gst_segment_set_seek),
11992         (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
11993         (gst_segment_to_running_time), (gst_segment_clip):
11994         Use G_UNLIKELY to help the compiler a bit.
11995
11996 2006-06-12  Wim Taymans  <wim@fluendo.com>
11997
11998         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
11999
12000         * gst/gstevent.c: (gst_event_get_type):
12001         * gst/gstmessage.c:
12002         * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12003         (gst_pad_push):
12004         constify quark registration strings. Fixes #344115
12005         Avoid unneeded type checking is _pad_push() by internally
12006         calling gst_pad_chain_unchecked().
12007
12008 2006-06-12  Wim Taymans  <wim@fluendo.com>
12009
12010         * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12011         (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12012         (gst_subbuffer_finalize), (gst_buffer_create_sub),
12013         (gst_buffer_is_span_fast), (gst_buffer_span):
12014         Init _type for consistency.
12015         Use _FLAGS macro to avoid type check.
12016         Avoid unneeded type checks in subbufer code.
12017
12018 2006-06-12  Wim Taymans  <wim@fluendo.com>
12019
12020         * gst/gst.c: (gst_debug_help):
12021         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12022         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12023         (gst_plugin_feature_list_free):
12024         * gst/gstregistry.c: (gst_registry_add_plugin),
12025         (gst_registry_add_feature), (gst_registry_plugin_filter),
12026         (gst_registry_feature_filter), (gst_registry_find_plugin),
12027         (gst_registry_find_feature), (gst_registry_get_plugin_list),
12028         (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12029         * gst/gstregistryxml.c: (load_feature),
12030         (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12031         * gst/gstminiobject.c: (gst_mini_object_unref),
12032         (gst_mini_object_replace), (gst_value_mini_object_free),
12033         (gst_value_mini_object_copy):
12034         Use _CAST macros to avoid unneeded type checking.
12035         Added some more G_UNLIKELY.
12036
12037 2006-06-12  Wim Taymans  <wim@fluendo.com>
12038
12039         * gst/gstbuffer.h:
12040         Avoid unneeded type checking.
12041         API: GST_BUFFER_IS_DISCONT
12042
12043         * gst/gstminiobject.h:
12044         Avoid type check in flag accessor.
12045
12046         * gst/gstelementfactory.h:
12047         * gst/gstplugin.h:
12048         * gst/gstpluginfeature.h:
12049         Add _CAST macros.
12050         API: GST_ELEMENT_FACTORY_CAST
12051         API: GST_PLUGIN_CAST
12052         API: GST_PLUGIN_FEATURE_CAST
12053
12054 2006-06-12  Wim Taymans  <wim@fluendo.com>
12055
12056         * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12057         (gst_object_unref):
12058         Add G_UNLIKELY in type registration.
12059         Avoid type check in _ref/_unref since that is also
12060         done in glib.
12061
12062 2006-06-12  Wim Taymans  <wim@fluendo.com>
12063
12064         * gst/gsterror.c: (gst_g_error_get_type):
12065         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12066         (gst_static_pad_template_get_type):
12067         * gst/gsttaglist.c: (gst_tag_list_get_type):
12068         * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12069         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12070         * gst/gsturi.c: (gst_uri_handler_get_type):
12071         * gst/gstvalue.c: (gst_date_get_type):
12072         * gst/gstxml.c: (gst_xml_get_type):
12073         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12074         (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12075         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12076         Add G_UNLIKELY in type registration.
12077
12078 2006-06-12  Wim Taymans  <wim@fluendo.com>
12079
12080         * tools/gst-inspect.c: (print_signal_info):
12081         Properly print enum values.
12082
12083 2006-06-12  Wim Taymans  <wim@fluendo.com>
12084
12085         * gst/gstinfo.c: (gst_debug_set_active),
12086         (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12087         * gst/gstinfo.h:
12088         Add some G_[UN]LIKELY.
12089         Maintain __gst_debug_min to avoid formatting the arguments of
12090         debug messages that will be dropped anyway to avoid a lot of 
12091         overhead from the debugging system.
12092
12093 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12094
12095         * po/POTFILES.in:
12096         * po/POTFILES.skip:
12097           add missing files containing translatable strings, tell intltool about
12098           one exception
12099
12100 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12101
12102         * tests/check/libs/.cvsignore:
12103         add test-binary to ignore list
12104
12105 2006-06-11  Stefan Kost  <ensonic@users.sf.net>
12106
12107         * docs/libs/gstreamer-libs-docs.sgml:
12108         reorder (put dp into a chapter) and indent
12109
12110 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12111
12112         * configure.ac:
12113           back to HEAD
12114
12115 === release 0.10.8 ===
12116
12117 2006-06-10  Thomas Vander Stichele <thomas at apestaart dot org>
12118
12119         * configure.ac:
12120           releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12121
12122 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12123
12124         * gst/gst.c: (init_post):
12125           move pid declaration to declaration block
12126
12127 2006-06-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12128
12129         * gst/gst.c: (init_post):
12130           use _exit() instead of exit() in our forked child; this ensures
12131           that none of the registered exit handlers from whatever is using
12132           GStreamer get executed.  This fixes gnome-mixer-applet failing
12133           to load, because ORBit would shut down.
12134           Spotted by: Edward Hervey  <edward@fluendo.com>
12135           Fix suggested by: Tim-Philipp Müller  <tim at centricular dot net>
12136           Fixes #344474
12137
12138 2006-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
12139
12140         * configure.ac:
12141           back to TRUNK
12142
12143 === release 0.10.7 ===
12144
12145 2006-06-09  Thomas Vander Stichele <thomas at apestaart dot org>
12146
12147         * configure.ac:
12148           releasing 0.10.7, "Soepeke, ik zie ou"
12149
12150 2006-06-07  Thomas Vander Stichele  <thomas at apestaart dot org>
12151
12152         * configure.ac:
12153         * po/af.po:
12154         * po/az.po:
12155         * po/bg.po:
12156         * po/ca.po:
12157         * po/cs.po:
12158         * po/de.po:
12159         * po/en_GB.po:
12160         * po/fr.po:
12161         * po/it.po:
12162         * po/nb.po:
12163         * po/nl.po:
12164         * po/ru.po:
12165         * po/sq.po:
12166         * po/sr.po:
12167         * po/sv.po:
12168         * po/tr.po:
12169         * po/uk.po:
12170         * po/vi.po:
12171         * po/zh_CN.po:
12172         * po/zh_TW.po:
12173         * win32/common/config.h:
12174           0.10.6.2 prerelease
12175
12176 2006-06-07  Wim Taymans  <wim@fluendo.com>
12177
12178         * gst/gstindex.c: (gst_index_gtype_resolver):
12179         * tools/gst-xmlinspect.c: (print_plugin_info):
12180         Fix leak spotted by coverity checker. Fixes #343827
12181         Fix another other leak found by paolo borelli.
12182
12183 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12184
12185         * libs/gst/dataprotocol/dataprotocol.c:
12186         (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12187         (gst_dp_version_get_type), (gst_dp_init),
12188         (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12189         (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12190         (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12191         (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12192         (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12193         (gst_dp_packetizer_free):
12194         * libs/gst/dataprotocol/dataprotocol.h:
12195           API: add a GstDPPacketizer object, and create/free functions
12196           API: add GstDPVersion enum
12197           Add 1.0 event function that uses the string serialization
12198           Serialize more useful buffer flags
12199           Fixes #343988
12200
12201 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12202
12203         * tests/check/Makefile.am:
12204         * tests/check/gst/gstabi.c:
12205         * tests/check/gst/struct_ppc64.h:
12206         * tests/check/libs/libsabi.c:
12207         * tests/check/libs/struct_ppc64.h:
12208           add ppc64 structure sizes
12209
12210 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12211
12212         * tests/check/Makefile.am:
12213         * tests/check/gst/gstabi.c:
12214         * tests/check/gst/struct_x86_64.h:
12215         * tests/check/libs/libsabi.c:
12216         * tests/check/libs/struct_x86_64.h:
12217           generate and add structure size lists for x86_64
12218
12219 2006-06-06  Thomas Vander Stichele  <thomas at apestaart dot org>
12220
12221         * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12222         * libs/gst/check/gstcheck.h:
12223           factor out the method from tests that checks size of structures,
12224           and add code to generate the header containing these sizes
12225         * tests/check/gst/gstabi.c: (GST_START_TEST):
12226         * tests/check/gst/struct_i386.h:
12227         * tests/check/libs/libsabi.c: (GST_START_TEST):
12228         * tests/check/libs/struct_i386.h:
12229           use it
12230
12231 2006-06-06  Michael Smith  <msmith@fluendo.com>
12232
12233         * gst/gstsegment.h:
12234           Don't use c++-style comments, fixes #343929
12235
12236 2006-06-05  Edward Hervey  <edward@fluendo.com>
12237
12238         * gst/gst.c:
12239         plugin_paths is not used if we build without registry support.
12240
12241         * gst/gstsegment.c: (gst_segment_copy): 
12242         _copy() was always returning NULL...
12243
12244 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12245
12246         * libs/gst/dataprotocol/dataprotocol.c:
12247         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12248         (gst_dp_packet_from_event):
12249           factor out CRC code
12250
12251 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12252
12253         * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12254           make sure we unset caps
12255
12256 2006-06-02  Michael Smith  <msmith@fluendo.com>
12257
12258         * libs/gst/check/gstcheck.c: (gst_check_init),
12259         (gst_check_chain_func):
12260         * libs/gst/check/gstcheck.h:
12261           Add a cond/mutex to the check support lib, signal this whenever we
12262           add to the buffers list. This will allow tests to not busy-wait on
12263           the buffer-list.
12264
12265 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12266
12267         * libs/gst/dataprotocol/dataprotocol.c:
12268         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12269         (gst_dp_packet_from_event):
12270           factor out some common header init code
12271
12272 2006-06-02  Thomas Vander Stichele  <thomas at apestaart dot org>
12273
12274         * docs/libs/gstreamer-libs-sections.txt:
12275         * docs/libs/tmpl/gstdataprotocol.sgml:
12276         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12277         * libs/gst/dataprotocol/dataprotocol.h:
12278           API: make gst_dp_crc() public
12279
12280 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12281
12282         * plugins/indexers/gstindexers.c: (plugin_init):
12283         conditionally register fileindexer (fixes #343598)
12284
12285 2006-06-01  Stefan Kost  <ensonic@users.sf.net>
12286
12287         * gst/gsttagsetter.h:
12288         Can't cast ifaces to a class
12289
12290         * libs/gst/net/gstnetclientclock.h:
12291         * libs/gst/net/gstnettimeprovider.h:
12292         * plugins/elements/gstfakesink.h:
12293         * plugins/elements/gstfakesrc.h:
12294         * plugins/elements/gstfdsink.h:
12295         * plugins/elements/gstfdsrc.h:
12296         * plugins/elements/gstfilesink.h:
12297         * plugins/elements/gstfilesrc.h:
12298         * plugins/elements/gstidentity.h:
12299         * plugins/elements/gstqueue.h:
12300         * plugins/elements/gsttee.h:
12301         * plugins/indexers/gstfileindex.c:
12302         * plugins/indexers/gstmemindex.c:
12303         * tests/old/examples/plugins/example.h:
12304         Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12305
12306 2006-06-01  Thomas Vander Stichele  <thomas at apestaart dot org>
12307
12308         * libs/gst/dataprotocol/dataprotocol.c:
12309         (gst_dp_header_from_buffer):
12310           make sure we zero the whole ABI-compatible area
12311
12312 2006-06-01  Wim Taymans  <wim@fluendo.com>
12313
12314         Patch by: Alessandro Decina <alessandro at nnva dot org>
12315
12316         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12317         Make sure the EOS flag is cleared from pads after a flush
12318         or stop. Fixes #343538.
12319
12320         * tests/check/libs/collectpads.c: (GST_START_TEST),
12321         (gst_collect_pads_suite):
12322         Added test for collectpads reusage after EOS.
12323
12324 2006-05-30  Sebastien Moutte  <sebastien@moutte.net>
12325
12326         * gst/gst.c:
12327          set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12328         * win32/common/libgstbase.def:
12329          export gst_collect_pads_set_flushing
12330         * win32/common/libgstreamer.def:
12331          export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12332          gst_value_fraction_multiply
12333         * win32/vs6/gst_inspect.dsp:
12334          add a link to intl.lib
12335
12336 2006-05-30  Wim Taymans  <wim@fluendo.com>
12337
12338         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12339         (gst_collect_pads_chain):
12340         Handle the case where a pad is removed from the collection
12341         that could cause the other pads to become collectable.
12342
12343 2006-05-30  Wim Taymans  <wim@fluendo.com>
12344
12345         * gst/gstelement.c:
12346         Clarify the use of _release_request_pad() and
12347         _get_request_pad() a bit better.
12348
12349         * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12350         (gst_adapter_take_buffer):
12351         Fix some doc and comment typos.
12352
12353 2006-05-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
12354
12355         * docs/gst/gstreamer-sections.txt:
12356         * docs/libs/gstreamer-libs-sections.txt:
12357           add declared symbols
12358
12359 2006-05-30  Jan Schmidt  <thaytan@mad.scientist.com>
12360
12361         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12362         Add debug that can be enabled using a #define at the top of the file,
12363         for dumping stats about how late/early we were when waking up from
12364         waiting on the clock.
12365
12366 2006-05-30  Wim Taymans  <wim@fluendo.com>
12367
12368         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12369         When rebuilding the pad list, don't leak the previous list.
12370
12371 2006-05-30  Wim Taymans  <wim@fluendo.com>
12372
12373         Patch by: Lutz Mueller <lutz at topfrose dot de>
12374
12375         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12376         (gst_base_src_get_query_types), (gst_base_src_update_length):
12377         Publish supported query types.
12378         Update last_stop field in get_range mode so the position
12379         query works. Fixes #342321.
12380
12381 2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
12382
12383         * docs/gst/gstreamer-sections.txt:
12384         * gst/gsttaglist.c: (_gst_tag_initialize):
12385         * gst/gsttaglist.h:
12386           API: add GST_TAG_PREVIEW_IMAGE (#343341).
12387
12388 2006-05-30  Wim Taymans  <wim@fluendo.com>
12389
12390         Patch by: Alessandro Decina <alessandro at nnva dot org>
12391
12392         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12393         Unlock mutex when removing an unknown pad.
12394         Fixes #343334.
12395
12396         * tests/check/Makefile.am:
12397         * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12398         (push_event), (setup), (teardown), (GST_START_TEST),
12399         (gst_collect_pads_suite), (main):
12400         Added collecpads check, disabled for now as check crashes for
12401         some reason.
12402
12403 2006-05-29  Wim Taymans  <wim@fluendo.com>
12404
12405         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12406         Don't leak pads lists.
12407
12408 2006-05-29  Wim Taymans  <wim@fluendo.com>
12409
12410         * docs/libs/gstreamer-libs-sections.txt:
12411         * libs/gst/base/gstcollectpads.c:
12412         (gst_collect_pads_set_flushing_unlocked),
12413         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12414         (gst_collect_pads_stop):
12415         * libs/gst/base/gstcollectpads.h:
12416         API: gst_collect_pads_set_flushing()
12417         Added api to set the pads to flushing, useful for seeking
12418         code in elements using collectpads.
12419         Clear segment when receiving a flush.
12420
12421 2006-05-29  Tim-Philipp Müller  <tim at centricular dot net>
12422
12423         * gst/gst.c: (add_path_func), (init_post):
12424           Don't scan registry paths passed via --gst-plugin-path immediately
12425           (will crash, because absolutely nothing is set up and no types are
12426           registered etc.); do this later in init_post(). Fixes #343057.
12427
12428 2006-05-28  Thomas Vander Stichele  <thomas at apestaart dot org>
12429
12430         * gst/gst.c: (init_post):
12431           if we have fork, fork while reading/rebuilding the registry
12432           so the parent doesn't take the hit of having all plugins loaded
12433           in memory.  Fixes #342777.
12434         * configure.ac:
12435           Check if we have fork()
12436         * win32/common/config.h.in:
12437           no fork() on win32
12438
12439 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12440
12441         * plugins/elements/gstelements.c:
12442         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12443         (gst_file_src_init), (gst_file_src_set_property),
12444         (gst_file_src_get_property), (gst_file_src_start):
12445         * plugins/elements/gstfilesrc.h:
12446           API: GstFileSrc::use-mmap
12447
12448         Add a use-mmap property to enable easier testing of all code paths.
12449         Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12450         in the absence of gnomevfssrc. (Closes #340501)
12451
12452 2006-05-26  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
12453
12454         * tools/gst-inspect.c:
12455         Add missing include, removes warning of ngettext not being defined on
12456         some arches.
12457
12458 2006-05-26  Jan Schmidt  <thaytan@mad.scientist.com>
12459
12460         * gst/gstvalue.c: (gst_value_deserialize_fraction):
12461         Handle NULL input and output pointers silently as a failed conversion,
12462         rather than g_warnings.
12463
12464 2006-05-25  Wim Taymans  <wim@fluendo.com>
12465
12466         * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12467         Initialize variable before using. Fixes #342820.
12468
12469 2006-05-24  Tim-Philipp Müller  <tim at centricular dot net>
12470
12471         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12472           Fix off-by-one bug that would only allow peeks of N-1 bytes
12473           from the start even if the buffer to typefind on contains
12474           in fact N bytes of data (makes vorbis typefinding from a
12475           vorbis identification header buffer work).
12476
12477         * tests/check/Makefile.am:
12478         * tests/check/libs/.cvsignore:
12479         * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12480         (gst_typefindhelper_suite), (main), (foobar_typefind),
12481         (plugin_init):
12482           Add very basic unit test for gst_type_find_helper_for_buffer()
12483           that checks for the problem fixed above.
12484
12485 2006-05-24  Thomas Vander Stichele  <thomas at apestaart dot org>
12486
12487         * tools/gst-inspect.c: (print_interfaces),
12488         (print_element_properties_info), (print_element_list), (main):
12489           add more translatable strings
12490
12491 2006-05-23  Tim-Philipp Müller  <tim at centricular dot net>
12492
12493         Patch by: Julien Moutte  <julien at moutte net>
12494
12495         * docs/gst/gstreamer-sections.txt:
12496           Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12497           
12498         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12499         (gst_fake_sink_preroll):
12500         * plugins/elements/gstfakesink.h:
12501           API: Add new GstFakeSink::preroll-handoff signal (#337100).
12502
12503 2006-05-23  Wim Taymans  <wim@fluendo.com>
12504
12505         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12506         * gst/gstpad.h:
12507         Added _CUSTOM error and success GstFlowReturn that can be
12508         used be elements internally. 
12509         Added macro to check for SUCCESS flowreturns.
12510         API: GST_FLOW_CUSTOM_SUCCESS
12511         API: GST_FLOW_CUSTOM_ERROR
12512         API: GST_FLOW_IS_SUCCESS
12513
12514         * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12515         Added check for GstFlowReturn sanity.
12516
12517 2006-05-23  Wim Taymans  <wim@fluendo.com>
12518
12519         Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12520
12521         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12522         (gst_collect_pads_event):
12523         clear/reset segment info in FLUSH_STOP.
12524         Fixes #336929.
12525
12526 2006-05-22  Stefan Kost  <ensonic@users.sf.net>
12527
12528         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12529         (gst_collect_pads_check_collected):
12530         Flush queued buffer on _stop(), fixes playing again (#342454)
12531
12532 2006-05-22  Thomas Vander Stichele  <thomas at apestaart dot org>
12533
12534         * tests/check/gst/gststructure.c: (GST_START_TEST),
12535         (gst_structure_suite):
12536           add a test for a complete structure
12537
12538 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12539
12540         * docs/faq/developing.xml:
12541         * docs/faq/faq.xml:
12542         * docs/faq/troubleshooting.xml:
12543         * docs/faq/using.xml:
12544           Some minor FAQ updates that won't change the fact that
12545           our FAQ is badly structured, full of information hardly
12546           anyone new to GStreamer needs to know and lacking lots
12547           of information people constantly ask for.
12548           
12549 2006-05-19  Jan Schmidt  <thaytan@mad.scientist.com>
12550
12551         * gst/gstpad.c: (gst_pad_set_caps):
12552           Short-circuit gst_pad_set_caps if setting the existing
12553           caps pointer again, and avoid printing debug and 
12554           reffing/unreffing the caps.
12555
12556         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12557           There's actually no need to set the caps before pushing -
12558           the acceptcaps method will handle it anyway.
12559
12560 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>
12561
12562         * docs/gst/gstreamer-sections.txt:
12563         * win32/common/libgstreamer.def:
12564         * gst/gstutils.c: (gst_element_seek_simple):
12565         * gst/gstutils.h:
12566           API: add gst_element_seek_simple() (#342238).
12567
12568 2006-05-18  Edward Hervey  <edward@fluendo.com>
12569
12570         * gst/gsttypefind.c: (gst_type_find_get_type):
12571         * gst/gsttypefind.h:
12572         Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12573         registered for GstTypeFind pointers. This allows wrapping the structure
12574         in bindings (i.e. gst-python).
12575
12576 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12577
12578         * gst/gsttagsetter.c:
12579           Docs additions and fixes (see #339918).
12580
12581 2006-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
12582
12583         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12584         The caps intersection algorithm can produce multiple copies of the
12585         caps. Until that is fixed, we need to simplify the result to be
12586         sure whether the allowed caps are fixed or not.
12587
12588         * plugins/elements/gstqueue.c: (gst_queue_init),
12589         (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12590         (gst_queue_push_one):
12591         Proxied buffer alloc should not set the caps on the source pad.
12592         When pushing buffers, we always accept the caps change that triggers.
12593         This prevents negotiation errors caused by caps changing mid-stream 
12594         and then being refused on our source pad (because upstream is now
12595         refusing those caps).
12596
12597 2006-05-18  Tim-Philipp Müller  <tim at centricular dot net>
12598
12599         * tests/examples/helloworld/helloworld.c: (main):
12600           Must plug audioconvert and audioresample between decoder
12601           and audio sink.
12602
12603 2006-05-17  Jan Schmidt  <thaytan@mad.scientist.com>
12604
12605         * gst/gstregistryxml.c: (read_string), (load_pad_template),
12606         (load_feature), (load_plugin):
12607         Allow empty strings for some of the plugin fields so we don't 
12608         drop valid plugin entries that were written out correctly
12609         (Fixes #341479)
12610
12611 2006-05-17  Sebastien Moutte  <sebastien@moutte.net>
12612         
12613         * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12614           Use g_remove and g_rename instead of remove and rename that don't 
12615           handle utf8 characters. rename was failing for users who had specific
12616           characters in their name then the registry was built at each 
12617           gstreamer init.
12618         * win32/vs6/gst_inspect.dsp:
12619         * win32/vs6/gst_launch.dsp:
12620         * win32/vs6/libgstbase.dsp:
12621         * win32/vs6/libgstcoreelements.dsp:
12622         * win32/vs6/libgstreamer.dsp:
12623           Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG 
12624           build of libgstreamer and clean unused libraries in projects link 
12625           settings.
12626
12627 2006-05-17  Edward Hervey  <edward@fluendo.com>
12628
12629         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12630         The queue is not responsible for pushing an EOS when receiving a fatal
12631         flow error. It's up to the real element driving the pipeline to do that.
12632
12633 2006-05-16  Edward Hervey  <edward@fluendo.com>
12634
12635         * plugins/elements/gstqueue.c: (gst_queue_push_one):
12636         The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12637         buffer returned a fatal error. It should just send an EOS and stop
12638         its task.
12639         Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12640         when pushing buffers on the queue and will be able to handle the event.
12641
12642 2006-05-16  Tim-Philipp Müller  <tim at centricular dot net>
12643
12644         * docs/manual/basics-bins.xml:
12645         * docs/manual/basics-init.xml:
12646           Fix typos and minor errors in sample code (#341856).
12647
12648 2006-05-16  Wim Taymans  <wim@fluendo.com>
12649
12650         * docs/design/part-qos.txt:
12651         Fix indexes in formulas to make more sense.
12652
12653 2006-05-15  Wim Taymans  <wim@fluendo.com>
12654
12655         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12656         Don't report POSITION based on clock time if sync is
12657         disabled in a sink.
12658
12659 2006-05-15  Tim-Philipp Müller  <tim at centricular dot net>
12660
12661         * gst/gstobject.h:
12662           Add cast to make compiler happy - refcount variable was a gint
12663           in GstObject but is a guint in GObject and g_atomic_int_get()
12664           wants a gint *.
12665
12666 2006-05-15  Thomas Vander Stichele  <thomas at apestaart dot org>
12667
12668         * gst/parse/Makefile.am:
12669           chain commands using &&, which also makes parallel make work
12670
12671 2006-05-14  Tim-Philipp Müller  <tim at centricular dot net>
12672
12673         * docs/gst/gstreamer-sections.txt:
12674         * gst/gstevent.c:
12675         * gst/gstevent.h:
12676         * gst/gstmessage.h:
12677           Minor docs fixes.
12678
12679 === release 0.10.6 ===
12680
12681 2006-05-14  Jan Schmidt <thaytan@mad.scientist.com>
12682
12683         * configure.ac:
12684           releasing 0.10.6, "Take the cannoli"
12685
12686 2006-05-13  Tim-Philipp Müller  <tim at centricular dot net>
12687
12688         * tools/gst-launch.c: (print_tag):
12689           Fix use of uninitialized variable in the hypothetical
12690           case that some broken plugin creates a GST_TAG_IMAGE
12691           tag containing a NULL buffer (#341667).
12692
12693 2006-05-12  Tim-Philipp Müller  <tim at centricular dot net>
12694
12695         * tools/gst-launch.c: (print_tag):
12696           Print something more intelligible for image tags when
12697           using the -t switch (#341556).
12698
12699 2006-05-12  Thomas Vander Stichele  <thomas at apestaart dot org>
12700
12701         * Makefile.am:
12702           updates for win32
12703         * configure.ac:
12704           define GST_MAJORMINOR so we have it available in win32/common/config.h
12705           Possibly remove it from our Makefile.am files later
12706         * win32/common/config.h:
12707         * win32/common/config.h.in:
12708           added GST_MAJORMINOR
12709         * win32/common/gstenumtypes.c: (register_gst_resource_error):
12710         * win32/common/gstversion.h:
12711           updated
12712
12713 2006-05-12  Sebastien Moutte  <sebastien@moutte.net>
12714
12715         * win32/MANIFEST:
12716           Update win32 files listing.
12717         * win32/common/gstversion.h:
12718           Add GST_MAJORMINOR definition.
12719         * win32/common/libgstreamer.def:
12720           Add new exported functions.
12721           
12722 2006-05-12  Michael Smith  <msmith@fluendo.com>
12723
12724         * gst/gstplugin.c: (gst_plugin_load_file):
12725           If an so file has no plugin entry point, unload the module.
12726
12727 2006-05-11  Wim Taymans  <wim@fluendo.com>
12728
12729         * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12730         (gst_queue_set_property):
12731         Don't forget to signal the _chain or _loop function 
12732         when the queue size or thresholds change since that might
12733         cause them to make progres again.
12734
12735 2006-05-11  Stefan Kost  <ensonic@users.sf.net>
12736
12737         * gst/gstclock.c: (gst_clock_class_init):
12738         * gst/gstindex.c: (gst_index_class_init):
12739         * gst/gstobject.c: (gst_object_class_init):
12740         * gst/gstpad.c: (gst_pad_class_init):
12741         * gst/gstpipeline.c: (gst_pipeline_class_init):
12742         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12743         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12744         * libs/gst/base/gstbasetransform.c:
12745         (gst_base_transform_class_init):
12746         * libs/gst/net/gstnetclientclock.c:
12747         (gst_net_client_clock_class_init):
12748         * libs/gst/net/gstnettimeprovider.c:
12749         (gst_net_time_provider_class_init):
12750         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12751         * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12752         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12753         * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12754         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12755         * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12756         * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12757         * plugins/elements/gstidentity.c: (gst_identity_class_init):
12758         * plugins/elements/gsttee.c: (gst_tee_class_init):
12759         * tests/old/examples/plugins/example.c: (gst_example_class_init):
12760         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12761           G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12762
12763 2006-05-11  Wim Taymans  <wim@fluendo.com>
12764
12765         * gst/gstbuffer.c: (_gst_buffer_initialize):
12766         Register subbufer along with the buffer type so that
12767         it does not accidentally gets registered from N
12768         different streaming threads in a non threadsafe way.
12769
12770 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
12771
12772         * gst/gstbuffer.h:
12773         * gst/gstevent.h:
12774         * gst/gstmessage.h:
12775           Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12776           gst_event_ref() and gst_message_ref() functions again
12777           (ugly hack, please do fix if there's a better way besides
12778           overrides.txt, which doesn't seem to work).
12779
12780 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12781
12782         * libs/gst/check/gstcheck.h:
12783           add an assert for setting state to avoid lots of repetitive code
12784           in the future
12785
12786 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12787
12788         * gst/gstvalue.c: (gst_value_serialize_flags):
12789           fix a leak if no flags are set
12790         * tests/check/gst/gstvalue.c: (GST_START_TEST):
12791           fix leak in tests
12792
12793 2006-05-10  Tim-Philipp Müller  <tim at centricular dot net>
12794
12795         * docs/manual/basics-pads.xml:
12796           Expand a bit on caps and filtered links and update
12797           examples that were still using the no longer existing
12798           gst_pad_link_filtered() (#338206).
12799
12800 2006-05-10  Wim Taymans  <wim@fluendo.com>
12801
12802         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12803         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12804         (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12805         (gst_collect_pads_stop):
12806         * libs/gst/base/gstcollectpads.h:
12807         No need to call _stop in _finalize.
12808         Iterate the main pad list in _finalize.
12809         Added some more debug.
12810         Free lists and data in the right order.
12811         Also free data whem doing _remove_pad when stopped for
12812         backward compatibility protect ::started with PAD_LOCK as
12813         well.
12814
12815 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12816
12817         * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12818         (gst_structure_parse_value):
12819           add some comments
12820           rename a method so that it actually says what it does better
12821
12822 2006-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
12823
12824         * gst/gstevent.c: (_gst_event_initialize):
12825         * gst/gstformat.c: (_gst_format_initialize):
12826           make sure some essential types used by events are registered
12827           as part of gst_init()
12828         * gst/gstvalue.c: (gst_value_serialize_flags):
12829           if no flags are set, serialize them to a value that represents NONE
12830           so that deserializing them works
12831         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12832           add tests for serialization and deserialization of flags
12833
12834 2006-05-10  Wim Taymans  <wim@fluendo.com>
12835
12836         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12837         (gst_collect_pads_collect_range), (gst_collect_pads_available),
12838         (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12839         (gst_collect_pads_event), (gst_collect_pads_chain):
12840         Update docs.
12841         Better debug info.
12842         Catch and return errors from the collect function
12843         Refuse data on eos pads.
12844
12845 2006-05-10  Edward Hervey  <edward@fluendo.com>
12846
12847         * gst/gstinterface.h:
12848         GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12849         GInterface type checking.
12850         They were previously using non-defined macros.
12851
12852 2006-05-09  Wim Taymans  <wim@fluendo.com>
12853
12854         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12855         (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12856         (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12857         (gst_collect_pads_start), (gst_collect_pads_stop),
12858         (gst_collect_pads_peek), (gst_collect_pads_pop),
12859         (gst_collect_pads_available), (gst_collect_pads_read),
12860         (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12861         (gst_collect_pads_is_collected), (gst_collect_pads_event),
12862         (gst_collect_pads_chain):
12863         * libs/gst/base/gstcollectpads.h:
12864         Clean up the mess that is collectpads, add comments and
12865         FIXMEs where needed.
12866         Maintain a separate pad list so we can add pads while
12867         collecting the other ones. For this we need a new separate 
12868         lock (see comics).
12869         Fix memory leak in finalize.
12870         Refactor some weird code to set/unset pad flushing flags, mark
12871         with comments.
12872         Don't crash in _available, _read, _flush when we're EOS.
12873
12874         * tests/check/libs/.cvsignore:
12875         Ignore adapter check binary.
12876
12877 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12878
12879         * gst/gstindex.c: (gst_index_resolver_get_type):
12880         * plugins/elements/gstfakesink.c:
12881         (gst_fake_sink_state_error_get_type):
12882         * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12883         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
12884         * plugins/elements/gstqueue.c: (queue_leaky_get_type):
12885           Const-ify GEnumValue arrays.
12886
12887 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12888
12889         * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12890           Add test case for flags + gst_buffer_make_metadata_writable().
12891
12892 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12893
12894         * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
12895           gst_buffer_make_metadata_writable() should maintain the
12896           buffer flags (those that make sense at least) (see #340859).
12897
12898 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12899
12900         * tools/gst-inspect.c:
12901         * tools/gst-launch.c:
12902         * tools/gst-typefind.c:
12903         * tools/gst-xmlinspect.c:
12904         * tools/tools.h:
12905           Fix up includes: need to include stdlib.h in tools.h for exit().
12906
12907 2006-05-09  Tim-Philipp Müller  <tim at centricular dot net>
12908
12909         * gst/gsttaglist.c: (_gst_tag_initialize):
12910         * gst/gsttaglist.h:
12911           API: add GST_TAG_IMAGE tag (#340721).
12912
12913 2006-05-08  Wim Taymans  <wim@fluendo.com>
12914
12915         * gst/gstquery.c:
12916         Added some docs for the segment query.
12917
12918 2006-05-08  Wim Taymans  <wim@fluendo.com>
12919
12920         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12921         (gst_base_src_loop), (gst_base_src_change_state):
12922         Always push non-flushing serialized events in the streaming 
12923         thread.
12924
12925 2006-05-08  Thomas Vander Stichele  <thomas at apestaart dot org>
12926
12927         * gst/gsterror.c: (_gst_stream_errors_init):
12928           Add a missing error string.
12929
12930 2006-05-08  Jan Schmidt  <thaytan@mad.scientist.com>
12931
12932         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
12933         Add applied_rate to the debug
12934
12935         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12936         Copy applied_rate into the outgoing NEWSEGMENT event
12937
12938 2006-05-08  Wim Taymans  <wim@fluendo.com>
12939
12940         Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
12941
12942         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
12943         (gst_base_sink_change_state):
12944         call ::unlock before taking the PREROLL_LOCK so we can safely
12945         handle elements that lock in ::render.
12946         Fixes #340174.
12947
12948 2006-05-08  Edward Hervey  <edward@fluendo.com>
12949
12950         * autogen.sh: (CONFIGURE_DEF_OPT): 
12951         Darwin's libtoolize is in fact called glibtoolize.
12952         Adding glibtoolize to the list of accepted names for libtoolize.
12953
12954 2006-05-08  Wim Taymans  <wim@fluendo.com>
12955
12956         * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12957         Unify error handling, don't post an error message
12958         when a push() returns EOS but perform our normal EOS
12959         handling code. Fixes #340772.
12960
12961 2006-05-08  Wim Taymans  <wim@fluendo.com>
12962
12963         * docs/design/part-overview.txt:
12964         Make upsteam/downstream concepts more clear.
12965         Give an example of serialized/non-serialized events.
12966
12967         * docs/design/part-events.txt:
12968         * docs/design/part-streams.txt:
12969         Mention applied_rate.
12970
12971         * docs/design/part-trickmodes.txt:
12972         Mention applied rate, flesh out some more use cases.
12973
12974         * gst/gstevent.c: (gst_event_new_new_segment),
12975         (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
12976         (gst_event_parse_new_segment_full), (gst_event_new_tag),
12977         (gst_event_parse_tag), (gst_event_new_buffer_size),
12978         (gst_event_parse_buffer_size), (gst_event_new_qos),
12979         (gst_event_parse_qos), (gst_event_parse_seek),
12980         (gst_event_new_navigation):
12981         * gst/gstevent.h:
12982         Add applied_rate field to NEWSEGMENT event.
12983         API: gst_event_new_new_segment_full()
12984         API: gst_event_parse_new_segment_full()
12985
12986         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
12987         (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
12988         (gst_segment_to_stream_time), (gst_segment_to_running_time):
12989         * gst/gstsegment.h:
12990         Add applied_rate to GstSegment structure.
12991         Make calculation of stream_time and running_time more correct
12992         wrt rate/applied_rate.
12993         Add some more docs.
12994         API: GstSegment::applied_rate field
12995         API: gst_segment_set_newsegment_full();
12996
12997         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12998         (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
12999         * libs/gst/base/gstbasetransform.c:
13000         (gst_base_transform_sink_eventfunc),
13001         (gst_base_transform_handle_buffer):
13002         Parse and use applied_rate in the GstSegment field.
13003
13004         * tests/check/gst/gstevent.c: (GST_START_TEST):
13005         Add check for applied_rate field.
13006
13007         * tests/check/gst/gstsegment.c: (GST_START_TEST),
13008         (gstsegments_suite):
13009         Add more checks for various GstSegment operations.
13010
13011 2006-05-08  Wim Taymans  <wim@fluendo.com>
13012
13013         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13014         (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13015         (gst_base_sink_get_position), (gst_base_sink_change_state):
13016         Store the sync time of the buffer end position separatly in a
13017         new variable eos_rtime so we can properly sync the EOS event.
13018         Fixes #340697.
13019         Fix the docs for gst_base_sink_set_qos_enabled().
13020         Don't set segment start to invalid value when we receive a 
13021         non TIME newsegment.
13022         get closer to handling position reporting for negative rates 
13023         correctly.
13024
13025 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13026
13027         * gst/gstcaps.c:
13028         Docs about how to print caps for debug purposes.
13029
13030         * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13031         use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13032
13033 2006-05-07  Stefan Kost  <ensonic@users.sf.net>
13034
13035         * gst/gstelement.c:
13036           use full enum names and preprend a '%' in docs strings to make recent 
13037           gtk-doc turn that into a link
13038
13039 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13040
13041         * docs/manual/basics-bins.xml:
13042         * docs/manual/basics-bus.xml:
13043         * docs/manual/basics-pads.xml:
13044           Some typo fixes, some additions, some clarifications. 
13045
13046 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13047
13048         * tools/gst-inspect.c: (main):
13049         * tools/gst-launch.c: (main):
13050         * tools/gst-run.c: (main):
13051         * tools/gst-typefind.c: (main):
13052         * tools/gst-xmlinspect.c: (main):
13053           Use the string passed to g_option_context_new() for
13054           what it's intended for - the program name is already
13055           printed elsewhere.
13056
13057 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13058
13059         * tools/Makefile.am:
13060         * tools/gst-inspect.c: (main):
13061         * tools/gst-launch.c: (main):
13062         * tools/gst-xmlinspect.c: (main):
13063         * tools/tools.h:
13064           Add back --version command line option (#340460).
13065
13066         * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13067           Add --version option and use GOption for argument parsing; refactor a
13068           bit; accept directories as arguments and recurse into them; lastly,
13069           print a decent error message when things go wrong.
13070
13071 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13072
13073         * docs/manual/basics-bins.xml:
13074         Don't mention GstThread (#340611)
13075         * docs/manual/basics-elements.xml:
13076         Update link to GObject tutorial (#340607)
13077         
13078 2006-05-05  Wim Taymans  <wim@fluendo.com>
13079
13080         * gst/gstbuffer.h:
13081         * gst/gstminiobject.c:
13082         Add note about refcounting and miniobject/buffer writeability
13083         to docs. Fixes #340604
13084
13085         * gst/gstelementfactory.h:
13086         Added some explanation about @klass.
13087
13088 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13089
13090         * docs/manual/intro-motivation.xml:
13091         * docs/manual/manual.xml:
13092         Avoid CORBA & Bonobo references (#340598)
13093
13094 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13095
13096         * docs/manual/basics-bus.xml:
13097         * docs/manual/basics-pads.xml:
13098         Fix up some inaccuracies and omissions (#340609)
13099         
13100 2006-05-05  Maciej Katafiasz  <mathrick@freedesktop.org>
13101
13102         * gst/gstghostpad.c:
13103           Small typo in docs (#340625)
13104
13105 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13106
13107         * gst/parse/Makefile.am:
13108           Make 'make -j' proof (see #340698).
13109
13110 2006-05-05  Tim-Philipp Müller  <tim at centricular dot net>
13111
13112         * configure.ac:
13113           Require GLib-2.8 here as well.
13114
13115 2006-05-05  Wim Taymans  <wim@fluendo.com>
13116
13117         * gst/glib-compat.c:
13118         * gst/gst.c: (init_pre):
13119         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13120         (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13121         (gst_object_dispatch_properties_changed):
13122         * gst/gstobject.h:
13123         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13124         * gst/gststructure.c: (gst_structure_set_valist):
13125         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13126         Remove pre glib2.8 compatibility, fixes #340508
13127
13128 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13129
13130         * gst/gsttaglist.h:
13131           Mention type of tags in doc blurbs.
13132
13133 2006-05-04  Jan Schmidt  <thaytan@mad.scientist.com>
13134
13135         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13136         (gst_pad_configure_src), (gst_pad_push):
13137         Restore acceptcaps checking behaviour now that good plugins have
13138         been released.
13139
13140 2006-05-04  Tim-Philipp Müller  <tim at centricular dot net>
13141
13142         Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13143
13144         * gst/gst.c:
13145         * gst/gstbus.c:
13146         * gst/gstclock.c:
13147         * gst/gstevent.c:
13148         * gst/gstformat.c:
13149         * gst/gstmessage.c:
13150         * gst/gstparse.c:
13151         * gst/gstquery.c:
13152         * gst/gstutils.c:
13153         * gst/parse/Makefile.am:
13154         * libs/gst/base/gstadapter.c:
13155         * libs/gst/base/gstbasesrc.c:
13156         * libs/gst/base/gstpushsrc.c:
13157         * libs/gst/base/gsttypefindhelper.c:
13158         * plugins/elements/gstfakesrc.c:
13159         * plugins/elements/gstidentity.c:
13160           Make sure gstprivate.h and/or config.h are
13161           always included first, otherwise some of our
13162           defines (like _FILE_OFFSET_BITS) might be
13163           redefined in the system headers. Fixes build
13164           on opensolaris (#340016).
13165
13166 2006-05-04  Wim Taymans  <wim@fluendo.com>
13167
13168         * docs/libs/gstreamer-libs-sections.txt:
13169         API: addition: gst_adapter_take_buffer()
13170         
13171         * libs/gst/base/gstadapter.c: (gst_adapter_push),
13172         (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13173         (gst_adapter_available_fast):
13174         * libs/gst/base/gstadapter.h:
13175         Prepare for optimizing the hell out of this hugely inefficient
13176         piece of code. 
13177         Added gst_adapter_take_buffer() so we can at least start thinking
13178         about subbuffering and merging.
13179         Added some comments.
13180
13181         * tests/check/Makefile.am:
13182         * tests/check/libs/adapter.c: (GST_START_TEST),
13183         (gst_adapter_suite), (main):
13184         Added GstAdapter check.
13185
13186 2006-05-04  Wim Taymans  <wim@fluendo.com>
13187
13188         * docs/design/part-overview.txt:
13189         Fix some typos, add blurb about buffer flags.
13190
13191 2006-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
13192
13193         * docs/libs/gstreamer-libs-sections.txt:
13194           make sure GstBaseTransformClass shows up in the docs
13195         * libs/gst/base/gstbasetransform.c:
13196         * libs/gst/base/gstbasetransform.h:
13197           move docs so gtk-doc picks it up now
13198
13199 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13200
13201         * docs/libs/gstreamer-libs-sections.txt:
13202           add missing symbols to docs
13203
13204 2006-05-02  Stefan Kost  <ensonic@users.sf.net>
13205
13206         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13207           back out the newsegment handling change, see #340060 for ongoing
13208           discussion
13209
13210 2006-04-30  Tim-Philipp Müller  <tim at centricular dot net>
13211
13212         * tools/gst-run.c: (get_candidates), (main):
13213           Fix wrong g_file_test() usage (see glib docs for why it doesn't
13214           work); fix typo in error message. Fixes #340079.
13215
13216 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13217
13218         * common/Makefile.am:
13219         * docs/Makefile.am:
13220         * docs/faq/Makefile.am:
13221         * docs/gst/Makefile.am:
13222         * docs/libs/Makefile.am:
13223         * docs/manual/Makefile.am:
13224         * docs/plugins/Makefile.am:
13225         * docs/pwg/Makefile.am:
13226         * docs/slides/Makefile.am:
13227         * docs/upload.mak:
13228         * common/upload.mak:
13229           move upload.mak to common
13230
13231 2006-04-29  Thomas Vander Stichele  <thomas at apestaart dot org>
13232
13233         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13234           add more asserts on refcounts
13235           do more cleanup at end of tests
13236           fix test leaks showing in FC5
13237
13238 2006-04-29  Stefan Kost  <ensonic@users.sf.net>
13239
13240         * plugins/elements/gsttypefindelement.c:
13241         (gst_type_find_element_handle_event):
13242         reverted wrong change and reflowed code to avoid others falling into
13243         this trap
13244
13245 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13246
13247         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13248           fix changelog entry about last collectpads change,
13249           add notes about proper fix
13250
13251 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13252
13253         * gst/gst.c:
13254         * gst/gstregistry.c: (gst_registry_scan_path_level),
13255         (gst_registry_scan_path):
13256         * gst/gstregistry.h:
13257           only write out registry if it has changed, fixes #338339
13258
13259 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13260
13261         * gst/gstbin.c:
13262         * gst/gstpipeline.c:
13263         * plugins/elements/gstcapsfilter.c:
13264         * plugins/elements/gstfakesink.c:
13265         * plugins/elements/gstfakesrc.c:
13266         * plugins/elements/gstfdsink.c:
13267         * plugins/elements/gstfdsrc.c:
13268         * plugins/elements/gstfilesink.c:
13269         * plugins/elements/gstfilesrc.c:
13270         * plugins/elements/gstidentity.c:
13271         * plugins/elements/gstqueue.c:
13272         * plugins/elements/gsttee.c:
13273         * plugins/elements/gsttypefindelement.c:
13274         (gst_type_find_element_handle_event):
13275           make GstElementDetails const
13276
13277 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13278
13279         * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13280         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13281         (gst_collect_pads_is_collected), (gst_collect_pads_event):
13282           more detailed debug and formatting cleanup,
13283           forward newsegments to src-pad (so that e.g. adder not eats them)
13284
13285 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13286
13287         * gst/gstutils.c: (gst_element_link_pads):
13288           cleanup double code
13289
13290 2006-04-28  Stefan Kost  <ensonic@users.sf.net>
13291
13292         * libs/gst/controller/gstcontroller.c:
13293         (gst_controller_sync_values):
13294           some little tuning
13295         * tests/check/libs/controller.c: (GST_START_TEST),
13296         (gst_controller_suite):
13297           a new test for live value handling
13298
13299 2006-04-28  Wim Taymans  <wim@fluendo.com>
13300
13301         * gst/gstutils.c: (push_and_ref):
13302         Added some more docs.
13303         Fix refcount issue whith gst_element_found_tags() helper 
13304         function. Fixes #338335
13305
13306         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13307         Added testsuite for gst_element_found_tags().
13308
13309 2006-04-28  Michael Smith  <msmith@fluendo.com>
13310
13311         * gst/gstvalue.c: (gst_value_serialize_flags):
13312           Avoid NULL dereference when trying to serialize flags containing
13313           invalid values.
13314
13315 2006-04-28  Michael Smith  <msmith@fluendo.com>
13316
13317         * plugins/elements/gsttypefindelement.c:
13318         (gst_type_find_element_handle_event):
13319           If we get EOS before any data is accumulated, don't use
13320           uninitialised local variables.
13321
13322 2006-04-28  Michael Smith  <msmith@fluendo.com>
13323
13324         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13325         (gst_dp_event_from_packet):
13326           Fixes in reading/writing events over GDP (not currently used?) - 
13327           dereferencing NULL events for unknown/invalid event types, memory
13328           leak, and change g_warning to GST_WARNING.
13329
13330 2006-04-28  Wim Taymans  <wim@fluendo.com>
13331
13332         * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13333         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13334         (gst_base_sink_get_position), (gst_base_sink_change_state):
13335         When frame dropping is enabled, we should not ignore frames
13336         without a duration.
13337         Update some documentation.
13338
13339 2006-04-28  Wim Taymans  <wim@fluendo.com>
13340
13341         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13342         (gst_base_src_send_event), (gst_base_src_change_state):
13343         Documentation updates.
13344
13345 2006-04-28  Wim Taymans  <wim@fluendo.com>
13346
13347         * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13348         (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13349         handle EAGAIN, EINTR and short writes correctly. Also clean
13350         up some error cases, avoid a deadlock on bad file descriptors and
13351         use GST_DEBUG_OBJECT.
13352         Fixes #339843
13353
13354 2006-04-28  Wim Taymans  <wim@fluendo.com>
13355
13356         * gst/gstvalue.c: (gst_value_serialize_buffer),
13357         (gst_value_deserialize_buffer):
13358         Don't try to serialize a GValue with a NULL buffer. 
13359         Fixes #339821.
13360
13361         * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13362         Added check for serialisation of NULL buffers.
13363
13364 2006-04-28  Wim Taymans  <wim@fluendo.com>
13365
13366         * gst/gstminiobject.c: (gst_value_take_mini_object):
13367         Taking a NULL miniobject is valid, fix the case where
13368         we try to unref the NULL miniobject.
13369
13370 2006-04-28  Wim Taymans  <wim@fluendo.com>
13371
13372         Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13373
13374         * gst/gstbin.c: (gst_bin_handle_message_func):
13375         Update docs.
13376         Don't leak bin refcount when a state recalc is
13377         in progress and we delay another one #339808.
13378
13379 2006-04-28  Wim Taymans  <wim@fluendo.com>
13380
13381         * docs/design/part-TODO.txt:
13382         Mention QoS as an ongoing work item.
13383
13384         * docs/design/part-buffering.txt:
13385         New doc about buffering that needs to be fleshed out
13386         at some point.
13387
13388         * docs/design/part-qos.txt:
13389         More QoS policy for decoders/demuxers/transforms
13390
13391         * docs/design/part-trickmodes.txt:
13392         Small update.
13393
13394 2006-04-28  Thomas Vander Stichele  <thomas at apestaart dot org>
13395
13396         * configure.ac:
13397           back to HEAD
13398
13399 === release 0.10.5 ===
13400
13401 2006-04-28  Thomas Vander Stichele <thomas at apestaart dot org>
13402
13403         * configure.ac:
13404           releasing 0.10.5, "Fogo"
13405
13406 2006-04-22  Thomas Vander Stichele  <thomas at apestaart dot org>
13407
13408         patch by: Wim Taymans
13409
13410         * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13411         (gst_pad_configure_src), (gst_pad_push):
13412         * gst/gstpipeline.c: (gst_pipeline_init):
13413           Fix internal data flow errors.  Fixes #338711.
13414
13415 2006-04-12  Wim Taymans  <wim@fluendo.com>
13416
13417         * tests/check/gst/gstelement.c: (GST_START_TEST):
13418         Don't leak the factory.
13419
13420 2006-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
13421
13422         * configure.ac:
13423         * win32/common/config.h:
13424           prerelease
13425
13426 2006-04-12  Tim-Philipp Müller  <tim at centricular dot net>
13427
13428         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13429         (gst_controller_unset_all):
13430           Free allocated GstTimedValues when freeing list nodes.
13431           Should fix leaks 'make check-valgrind' complains about.
13432
13433         * win32/common/libgstcontroller.def:
13434           Add gst_controller_unset_all.
13435
13436 2006-04-11  Stefan Kost  <ensonic@users.sf.net>
13437
13438         * docs/libs/gstreamer-libs-sections.txt:
13439         * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13440         (gst_controller_unset_all):
13441         * libs/gst/controller/gstcontroller.h:
13442         API: Added new method gst_controller_unset_all()
13443         fixed gst_controller_unset()
13444         * tests/check/libs/controller.c: (GST_START_TEST),
13445         (gst_controller_suite):
13446         Added two testcases for new and fixed method
13447
13448 2006-04-11  Tim-Philipp Müller  <tim at centricular dot net>
13449
13450         * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13451           MSG_DONTWAIT is not defined on Cygwin, so work
13452           around that (fixes #317048).
13453           
13454 2006-04-11  Wim Taymans  <wim@fluendo.com>
13455
13456         * gst/gstelementfactory.c: (gst_element_register),
13457         (gst_element_factory_create), (gst_element_factory_make):
13458         Some cleanups.
13459         Fixed a FIXME.
13460         Updated docs (Fixes #131079)
13461
13462         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13463         Small cleanups.
13464
13465         * tests/check/gst/gstelement.c: (GST_START_TEST),
13466         (gst_element_suite):
13467         Added testcase for elementfactory class field.
13468
13469 2006-04-10  Wim Taymans  <wim@fluendo.com>
13470
13471         * gst/gstsegment.c:
13472         Added some more docs.
13473
13474         * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13475         (gst_base_sink_reset_qos):
13476         Calculate more accurate rate values.
13477
13478 2006-04-09  Sebastien Moutte  <sebastien@moutte.net>
13479
13480         * gst/gst_private.h:
13481           add a new #ifdef to use __declspec(dllimport) only for
13482           other modules and not for gstreamer core
13483         * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13484           use gst_guint64_to_gdouble for conversion
13485         * win32/common/libgstreamer.def:
13486           add new exported functions
13487         * win32/vs6/gst_inspect.dsp:
13488         * win32/vs6/gst_launch.dsp:
13489         * win32/vs6/libgstbase.dsp:
13490         * win32/vs6/libgstcontroller.dsp:
13491         * win32/vs6/libgstcoreelements.dsp:
13492         * win32/vs6/libgstdataprotocol.dsp:
13493         * win32/vs6/libgstnet.dsp:
13494           update project files
13495
13496 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13497
13498         * gst/gstbuffer.c: (gst_subbuffer_class_init):
13499         * gst/gstclock.c: (gst_clock_class_init):
13500         * gst/gstelement.c: (gst_element_class_init):
13501         * gst/gstindex.c: (gst_index_class_init):
13502         * gst/gstindexfactory.c: (gst_index_factory_class_init):
13503         * gst/gstobject.c: (gst_object_class_init),
13504         (gst_signal_object_class_init):
13505         * gst/gstpad.c: (gst_pad_class_init):
13506         * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13507         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13508         * gst/gstregistry.c: (gst_registry_class_init):
13509         * gst/gstsystemclock.c: (gst_system_clock_class_init):
13510         * gst/gsttask.c: (gst_task_class_init):
13511         * gst/gstxml.c: (gst_xml_class_init):
13512         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13513         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13514         (gst_base_src_loop):
13515         * libs/gst/controller/gstcontroller.c:/
13516         (_gst_controller_class_init):
13517         * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13518         * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13519         * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13520         * tests/old/examples/plugins/example.c: (gst_example_class_init):
13521         * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13522         Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13523
13524 2006-04-08  Tim-Philipp Müller  <tim at centricular dot net>
13525
13526         * gst/gstpad.c: (gst_pad_link):
13527           Must set peer pads before calling the link function, otherwise
13528           a task started from a link function might get a flow-not-linked
13529           result when trying to push because the other thread where the
13530           linking happens hasn't had a chance to set the peers yet. This
13531           might happen for example when a queue gets linked to a downstream
13532           element, as queue starts a streaming task when its source pad
13533           gets linked. Happens in real life when playing back flac/musepack
13534           files in playbin (#332390).
13535           
13536 2006-04-08  Stefan Kost  <ensonic@users.sf.net>
13537
13538         * gst/gstindex.h:
13539         * gst/gstxml.h:
13540         * libs/gst/base/gstadapter.h:
13541         * libs/gst/base/gstbasesink.h:
13542         * libs/gst/base/gstbasesrc.h:
13543         * libs/gst/base/gstbasetransform.h:
13544         * libs/gst/base/gstcollectpads.h:
13545         * libs/gst/base/gstpushsrc.h:
13546         Fix broken GObject macros
13547
13548 2006-04-07  Wim Taymans  <wim@fluendo.com>
13549
13550         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13551         Initialize start and stop times, thanks valgrind.
13552
13553 2006-04-07  Wim Taymans  <wim@fluendo.com>
13554
13555         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13556         Be a bit nicer to badly behaving upstream elements that expect
13557         us to deal with non TIME segments and timestamps (such as fakesrc
13558         in the testsuite).
13559
13560 2006-04-07  Wim Taymans  <wim@fluendo.com>
13561
13562         * gst/gstbus.c:
13563         Small documentation clarification about the signal watch.
13564
13565         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13566         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13567         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13568         (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13569         (gst_base_sink_get_position_last),
13570         (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13571         Convert and store timestamps in stream time and running time, the
13572         raw timestamps are not useful, also document this better.
13573         Use different window sizes for good and bad QoS observations so
13574         we react to badness a little quicker.
13575         Keep track of the amount of rendered and dropped buffers.
13576         Send QoS timestamps in running time.
13577
13578         * libs/gst/base/gstbasetransform.c:
13579         (gst_base_transform_sink_eventfunc),
13580         (gst_base_transform_handle_buffer):
13581         Compare QoS timestamps against running time.
13582
13583 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13584
13585         * gst/gstpad.c:
13586           Typo fixes in docs.
13587
13588 2006-04-06  Michael Smith  <msmith@fluendo.com>
13589
13590         * gst/gstpad.c: (gst_pad_set_property):
13591           Use g_value_get_object() instead of g_value_dup_gst_object(),
13592           to avoid double-reffing the pad template (which we then sink,
13593           so this worked previously if (and only if) the pad template
13594           was floating.
13595
13596         * gst/gstpadtemplate.c: (gst_pad_template_init),
13597         (gst_pad_template_pad_created):
13598           Never return floating references to pad templates, create
13599           them as initially-sunken.
13600
13601           Document an extra function (and make this stop sinking our
13602           pad template, since that is now guaranteed to do nothing,
13603           since we created it sunken).
13604
13605         * gst/gstghostpad.c:
13606           Fix docs typo.
13607
13608 2006-04-06  Tim-Philipp Müller  <tim at centricular dot net>
13609
13610         * gst/gstinfo.c: (__gst_in_valgrind):
13611           Add some newlines.
13612
13613         * plugins/elements/gsttypefindelement.c:
13614         (gst_type_find_element_chain):
13615           Don't leak buffer caps.
13616
13617 2006-04-06  Michael Smith  <msmith@fluendo.com>
13618
13619         * gst/parse/grammar.y:
13620           Fix a leak in parse-launch for any source-or-sink named element 
13621           references used.
13622
13623         * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13624           Unref the pipeline if it exists after we've failed parsing.
13625
13626 2006-04-05  Michael Smith  <msmith@fluendo.com>
13627
13628         * gst/gstpipeline.c: (gst_pipeline_init):
13629           When we create a pipeline bus, initially create it in flushing mode.
13630           Fixes leaks in at least one test, and makes a new pipeline work the
13631           same as one that has gone to READY and then back to NULL.
13632
13633         * gst/gstelement.c:
13634           Typo fix in docs.
13635
13636 2006-04-05  Michael Smith  <msmith@fluendo.com>
13637
13638         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13639           Unref a pad we reffed.
13640         * tests/check/gst/gstutils.c: (GST_START_TEST):
13641           Unref bins
13642
13643 2006-04-05  Michael Smith  <msmith@fluendo.com>
13644
13645         * gst/gstquery.c: (gst_query_set_formats),
13646         (gst_query_set_formatsv):
13647           Fix leaking GValues in queries, as shown by valgrind/testsuite.
13648
13649 2006-04-05  Michael Smith  <msmith@fluendo.com>
13650
13651         * tests/check/generic/sinks.c: (GST_START_TEST):
13652           Fix a variety of memleaks in sinks check, which are only sometimes 
13653           shown by running the tests under valgrind (weird?).
13654
13655 2006-04-05  Jan Schmidt  <thaytan@mad.scientist.com>
13656
13657         * docs/version.entities.in:
13658           Fix the substituted entity name after thomas' changes on the
13659           weekend.
13660
13661 2006-04-05  Zaheer Abbas Merali  <zaheerabbas at merali dot org>
13662
13663         * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13664         VALGRIND_PRINTF
13665         
13666 2006-04-05  Andy Wingo  <wingo@pobox.com>
13667
13668         * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13669
13670         * libs/gst/base/gstbasetransform.c
13671         (gst_base_transform_sink_eventfunc): When resetting our segment on
13672         FLUSH_STOP, also update the flag saying we haven't seen a
13673         newsegment.
13674
13675 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13676
13677         Patch by: Paolo Borelli  <pborelli at katamail dot com>
13678
13679         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13680         (gst_plugin_check_license):
13681           minor clean-ups: G_DEFINE_TYPE already takes care of the
13682           parent_class stuff, no need to do it twice. Mark array of
13683           license strings as constant. (#337103)
13684           
13685 2006-04-04  Michael Smith  <msmith@fluendo.com>
13686
13687         * tools/gst-inspect.c: (print_element_list):
13688           Free the right plugin list; fixes a memory leak.
13689
13690 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13691
13692         Patch by: Mark Nauwelaerts  <manauw at skynet dot be>
13693
13694         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13695           Don't error out on empty buffers (#336945).
13696           
13697 2006-04-04  Jan Schmidt  <thaytan@mad.scientist.com>
13698
13699         * docs/libs/gstreamer-libs-sections.txt:
13700         * gst/gsttaglist.c:
13701         * libs/gst/base/gstbasesink.c:
13702         * libs/gst/base/gstbasesink.h:
13703         * libs/gst/base/gstbasesrc.c:
13704         * libs/gst/base/gstbasesrc.h:
13705           Documentation updates. Make BaseSink and BaseSrc docs contain the
13706           class structure so that people can actually see the prototypes for
13707           virtual functions they're supposed to be overriding.
13708
13709 2006-04-04  Tim-Philipp Müller  <tim at centricular dot net>
13710
13711         * plugins/elements/gsttypefindelement.c:
13712         (gst_type_find_element_chain):
13713           More debug info; when skipping typefinding, send cached
13714           events in all cases.
13715
13716 2006-04-01  Thomas Vander Stichele  <thomas at apestaart dot org>
13717
13718         * configure.ac:
13719           use new AS_VERSION and AS_NANO macros
13720         * gst/gst-i18n-lib.h:
13721         * gst/gst.c:
13722         * gst/gsterror.c:
13723         * gst/gstversion.h.in:
13724         * win32/common/config.h:
13725         * win32/common/config.h.in:
13726           update accordingly
13727
13728 2006-03-31  Michael Smith  <msmith@fluendo.com>
13729
13730         * plugins/elements/gsttypefindelement.c:
13731         (gst_type_find_element_chain):
13732           Do not typefind content if the buffers already have caps.
13733           Neccesary for icydemux (#333657), and the right thing to do anyway.
13734
13735 2006-03-30  Wim Taymans  <wim@fluendo.com>
13736
13737         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13738         (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13739         (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13740         (gst_base_sink_record_qos_observation),
13741         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13742         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13743         (gst_base_sink_change_state):
13744         More QoS measurements as described in the design doc.
13745         Get rid of ringbuffer with observations, running average is
13746         more simple and equally good.
13747         Calculates valid proportion now.
13748         Added beginning of flood measurement.
13749
13750 2006-03-29  Wim Taymans  <wim@fluendo.com>
13751
13752         * docs/design/part-qos.txt:
13753         * gst/gstclock.c:
13754         Small documentation updates and additions.
13755
13756 2006-03-29  Wim Taymans  <wim@fluendo.com>
13757
13758         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13759         (gst_base_src_send_event), (gst_base_src_loop),
13760         (gst_base_src_change_state):
13761         Perform the EOS logic when we reach the segment stop position.
13762         Fix compilation on gcc4.1
13763
13764 2006-03-29  Wim Taymans  <wim@fluendo.com>
13765
13766         Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13767
13768         * plugins/elements/gstqueue.c: (gst_queue_init),
13769         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13770         (gst_queue_set_property):
13771         * plugins/elements/gstqueue.h:
13772         In queue, when EOS is received, if minimum threshold > max_size -
13773         current_level, there is chance that queue blocks forever in conditional
13774         item del wait. This is because the queue is not emptied completely due
13775         to minimum threshold.  Here is another approach. Instead of setting
13776         cur_levels to max in EOS, just zero all minimum threshold levels. This
13777         should make sure that queue gives out all data. When going to READY
13778         (stop) state, just reset the original minimum threshold levels.
13779         Fixes #336336.
13780
13781 2006-03-29  Tim-Philipp Müller  <tim at centricular dot net>
13782
13783         * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13784         (gst_type_find_element_handle_event),
13785         (gst_type_find_element_send_cached_events),
13786         (gst_type_find_element_change_state):
13787         * plugins/elements/gsttypefindelement.h:
13788           When typefinding is done in push mode, we should cache
13789           events we receive during typefinding instead of just
13790           dropping them (e.g. newsegment, custom events from
13791           dvdreadsrc etc.) and then send them out once we've
13792           determined the type of the stream (and decodebin
13793           has had a chance to plug in a decoder/demuxer).
13794           
13795 2006-03-27  Wim Taymans  <wim@fluendo.com>
13796
13797         * docs/design/part-qos.txt:
13798         First QoS ideas.
13799
13800 2006-03-27  Wim Taymans  <wim@fluendo.com>
13801
13802         Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13803
13804         * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13805         (gst_base_src_send_event), (gst_base_src_change_state):
13806         Handle element seek correctly when we are streaming.
13807         Fixes #326998.
13808
13809 2006-03-24  Michael Smith  <msmith@fluendo.com>
13810
13811         * docs/faq/gst-uninstalled:
13812           Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13813           allow you to correctly run intalled applications built against old 
13814           core, using plugins that require updated core (e.g. running
13815           installed totem against a full uninstalled gstreamer stack)
13816
13817 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13818
13819         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13820         more debug details
13821
13822 2006-03-24  Wim Taymans  <wim@fluendo.com>
13823
13824         * docs/gst/gstreamer-sections.txt:
13825         Rearrange the order of the methods so that related methods
13826         are grouped together in sections.
13827
13828 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13829
13830         * gst/gstelement.c:
13831           Little clarification in the docs
13832
13833 2006-03-24  Stefan Kost  <ensonic@users.sf.net>
13834
13835         * docs/README:
13836         formatting fix
13837         * plugins/elements/gstidentity.c:
13838         * plugins/elements/gstqueue.c:
13839         * plugins/elements/gsttee.c:
13840         * plugins/elements/gsttypefindelement.c:
13841         GST_ELEMENT_DETAILS formatting
13842
13843 2006-03-24  Wim Taymans  <wim@fluendo.com>
13844
13845         * libs/gst/base/gstbasesink.h:
13846         Only add fields, not insert or we break ABI.
13847
13848 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13849
13850         * win32/common/libgstbase.def:
13851         * win32/common/libgstreamer.def:
13852           Update, add recently added functions.
13853
13854 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13855
13856         * docs/gst/gstreamer-sections.txt:
13857         * gst/gstutils.c: (gst_pad_query_peer_position),
13858         (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13859         * gst/gstutils.h:
13860           API: add some new utility functions:
13861            - gst_pad_query_peer_position()
13862            - gst_pad_query_peer_duration()
13863            - gst_pad_query_peer_convert()
13864           
13865 2006-03-23  Wim Taymans  <wim@fluendo.com>
13866
13867         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13868         (gst_base_sink_init), (gst_base_sink_finalize),
13869         (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
13870         (gst_base_sink_set_property), (gst_base_sink_get_property),
13871         (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
13872         (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13873         (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
13874         (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13875         (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13876         (gst_base_sink_preroll_object), (gst_base_sink_event),
13877         (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
13878         (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
13879         (gst_base_sink_query), (gst_base_sink_change_state):
13880         Decouple max-lateness and the fact that QoS messages are generated
13881         with a new property (qos).
13882         added API: GstBaseSink::async_play()
13883         Add vmethod so subclasses can be notified of ASYNC playing
13884         state changes.
13885         Collect timestamp start and stop to report better current
13886         position in EOS/PLAYING/PAUSED/READY/NULL.
13887         Refactor QoS/frame dropping and other measurements.
13888         API: GstBaseSrc::qos
13889         Fixes #326311
13890
13891         * libs/gst/base/gstbasesink.h:
13892         Added Private struct.
13893         API: gst_base_sink_set_qos_enabled()
13894         API: gst_base_sink_is_qos_enabled()
13895
13896 2006-03-23  Tim-Philipp Müller  <tim at centricular dot net>
13897
13898         * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13899           If compiling against GLib-2.8 or newer, try to read the
13900           registry file using GMappedFile first before falling back
13901           to fopen() + fread() (#332151).
13902
13903 2006-03-22  Wim Taymans  <wim@fluendo.com>
13904
13905         * gst/gstinfo.c: (gst_debug_set_active),
13906         (gst_debug_category_set_threshold):
13907         Disable debugging unless explicitly activated.
13908         Fixes #335480.
13909
13910 2006-03-22  Wim Taymans  <wim@fluendo.com>
13911
13912         * gst/gstelement.c: (gst_element_set_locked_state),
13913         (gst_element_dispose):
13914         Cleanup the error case.
13915
13916         * gst/gstobject.c: (gst_object_dispose):
13917         print a critical when some object was disposed with
13918         a parent, also revive the object since it might
13919         crash the parent.
13920
13921 2006-03-22  Tim-Philipp Müller  <tim at centricular dot net>
13922
13923         * tools/gst-launch.1.in:
13924           Fix another typo.
13925
13926 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13927
13928         * configure.ac:
13929         * tests/check/Makefile.am:
13930           disable some tests when we don't have a registry
13931         * tests/check/gst/gstutils.c: (gst_utils_suite):
13932           don't build the part that needs parsing
13933
13934 2006-03-21  Thomas Vander Stichele  <thomas at apestaart dot org>
13935
13936         * gst/Makefile.am
13937         * tests/examples/Makefile.am:
13938           fix --disable-parse build
13939
13940 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13941
13942         * tools/gst-feedback.1.in:
13943           Fix typo: s/feeback/feedback/ (#133494).
13944
13945 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13946
13947         * tools/Makefile.am:
13948         * tools/gst-launch.1.in:
13949           Add FILES section and correct entry about GST_REGISTRY_PATH
13950           environment variable (#133495; #133494).
13951
13952 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13953
13954         * tools/Makefile.am:
13955         * tools/gst-md5sum.1.in:
13956         * tools/gst-md5sum.c:
13957           Remove gst-md5sum and man page (the md5sink element
13958           required was removed ages ago)
13959
13960 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13961
13962         * gst/gststructure.c: (gst_structure_id_set_value):
13963           Make sure that string fields in structures/taglists
13964           contain valid UTF-8 - we don't want to pass rubbish to
13965           applications because of a buggy plugin (cp. #334167).
13966
13967 2006-03-21  Edward Hervey  <edward@fluendo.com>
13968
13969         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13970         (gst_bin_handle_message_func):
13971         * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
13972         * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
13973         (gst_element_set_bus_func):
13974         * gst/gstghostpad.c: (gst_proxy_pad_dispose):
13975         * gst/gstminiobject.c: (gst_value_set_mini_object),
13976         (gst_value_take_mini_object):
13977         * gst/gstpad.c: (gst_pad_set_pad_template):
13978         * gst/gstpipeline.c: (gst_pipeline_dispose),
13979         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13980         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
13981         (gst_collect_pads_chain):
13982         * libs/gst/net/gstnettimeprovider.c:
13983         (gst_net_time_provider_set_property):
13984         Series of fixes for dereferenced pointers that gcc 4.1 complains about.
13985         It's in fact all issues with gst_*object_replace().
13986
13987 2006-03-21  Tim-Philipp Müller  <tim at centricular dot net>
13988
13989         Patch by: Loïc Minier  <lool + gnome at via dot ecp dot fr>
13990         
13991         * pkgconfig/gstreamer-check-uninstalled.pc.in:
13992         * pkgconfig/gstreamer-check.pc.in:
13993           Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
13994
13995 2006-03-21  Edward Hervey  <edward@fluendo.com>
13996
13997         * gst/gstbuffer.h:
13998         * gst/gstevent.h:
13999         * gst/gstmessage.h:
14000         gst_[buffer|event|message]_ref() macros are replaced by a static
14001         inline functions because gcc-4.1 will about if the return value
14002         isn't used.
14003         * tests/check/gst/gstevent.c: (event_probe):
14004         gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14005
14006 2006-03-20  Jan Schmidt  <thaytan@mad.scientist.com>
14007
14008         * gst/gstutils.h:
14009         Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14010         the type' case. (Closes: #335195 for now). In the future, when we
14011         depend on GLib 2.10, we could also intern the type name using
14012         g_intern_static_string()
14013
14014 2006-03-20  Wim Taymans  <wim@fluendo.com>
14015
14016         * gst/gstbin.c: (gst_bin_handle_message_func),
14017         (bin_query_max_init), (bin_query_position_fold),
14018         (bin_query_position_done), (gst_bin_query):
14019         Position query should also take max of all streams.
14020
14021 2006-03-20  Wim Taymans  <wim@fluendo.com>
14022
14023         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14024         (gst_fake_src_finalize):
14025         Fix leaks in fakesrc.
14026
14027         * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14028         Fix leaks in the testcase.
14029
14030 2006-03-19  Sebastien Moutte  <sebastien@moutte.net>
14031
14032         * gst/gst_private.h:
14033           add win32 specific import decoration(__declspec(dllimport)) 
14034           for all extern GstDebugCategory * variables
14035         * win32/common/libgstbase.def:
14036         * win32/common/libgstcontroller.def:
14037         * win32/common/libgstreamer.def:
14038           Add some exports, remove empty lines
14039         * win32/common/libgstdataprotocol.def:
14040         * win32/common/libgstdataprotocol.dsp:
14041         * win32/common/libgstnet.def:
14042         * win32/common/libgstnet.dsp:
14043           new project files and exportation files added
14044         
14045 2006-03-19  Wim Taymans  <wim@fluendo.com>
14046
14047         * tests/check/libs/basesrc.c: (eos_event_counter):
14048         Use proper return value for probe.
14049
14050 2006-03-17  Wim Taymans  <wim@fluendo.com>
14051
14052         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14053         (gst_pad_push):
14054         Don't leak buffers, caps and pads on negotiation errors.
14055
14056 2006-03-16  Stefan Kost  <ensonic@users.sf.net>
14057
14058         * docs/faq/cvs.xml:
14059         * docs/faq/dependencies.xml:
14060         * docs/faq/developing.xml:
14061         * docs/faq/faq.xml:
14062         * docs/faq/general.xml:
14063         * docs/faq/getting.xml:
14064         * docs/faq/legal.xml:
14065         * docs/faq/troubleshooting.xml:
14066         * docs/faq/using.xml:
14067         Faq review and update.
14068
14069 2006-03-16  Jan Schmidt  <thaytan@mad.scientist.com>
14070
14071         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14072         (gst_pad_push):
14073         Don't pound the cpu to pieces by checking get_caps when accept_caps
14074         is called with the same caps as the pad already has.
14075         Use GST_DEBUG_OBJECT when outputting caps change information.
14076
14077 2006-03-15  Wim Taymans  <wim@fluendo.com>
14078
14079         * gst/gstclock.c: (gst_clock_class_init):
14080         Fix docs.
14081
14082 2006-03-15  Jan Schmidt  <thaytan@mad.scientist.com>
14083
14084         * gst/gstbuffer.h:
14085         Documentation fix.
14086
14087         * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14088         (gst_pad_accept_caps), (gst_pad_configure_sink),
14089         (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14090         Make the default acceptcaps behaviour be to check the requested 
14091         caps against the gst_pad_get_caps output. 
14092
14093         Ensure that gst_pad_accept_caps is used to check caps when a pad
14094         doesn't have a setcaps function, so that pads automatically refuse 
14095         caps that they don't allow in their pad template. (Fixes #332986)
14096
14097         When a buffer with attached caps is pushed, ensure that the source 
14098         pad receives those caps even if the element didn't call
14099         gst_pad_set_caps first.
14100
14101 2006-03-15  Wim Taymans  <wim@fluendo.com>
14102
14103         * libs/gst/base/gstadapter.c:
14104         Add some docs.
14105
14106 2006-03-15  Tim-Philipp Müller  <tim at centricular dot net>
14107
14108         * win32/common/libgstbase.def:
14109         * win32/common/libgstcontroller.def:
14110         * win32/common/libgstreamer.def:
14111           Add a whole bunch of missing functions (#334434).
14112
14113 2006-03-14  Wim Taymans  <wim@fluendo.com>
14114
14115         * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14116         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14117         (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14118         Better debug info when we receive a segment event.
14119         Reorganize a bit so we can pass the get_times() results around.
14120         Use the segment format when calculating the running time.
14121         Don't do QoS is sync is disabled or we have no clock or the
14122         element does not want us to sync to the clock.
14123         Don't drop buffers if QoS is disabled for now.
14124
14125 2006-03-14  Wim Taymans  <wim@fluendo.com>
14126
14127         * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14128         Marked the stats property as unimplemented so people don't get
14129         wild ideas.
14130         Add debug message when regression goes wrong.
14131         Added some more docs.
14132
14133 2006-03-14  Wim Taymans  <wim@fluendo.com>
14134
14135         * gst/gstsegment.c: (gst_segment_to_stream_time):
14136         Return correct return type in case of errors.
14137
14138 2006-03-14  Wim Taymans  <wim@fluendo.com>
14139
14140         * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14141           Don't segfault on invalid formats.
14142
14143 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14144
14145         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14146           Can't use gst_segment_to_running_time() when the segment
14147           is not in GST_TIME_FORMAT (like with filesink, for example).
14148           Stops flac encoding pipelines from spewing critical warnings
14149           at EOS (#331248).
14150           
14151 2006-03-14  Tim-Philipp Müller  <tim at centricular dot net>
14152
14153         * gst/gstpipeline.c: (gst_pipeline_class_init):
14154           Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14155
14156         * plugins/elements/gsttypefindelement.c:
14157         (gst_type_find_element_handle_event):
14158           Don't try to typefind empty streams.
14159
14160 2006-03-14  Wim Taymans  <wim@fluendo.com>
14161
14162         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14163         (gst_base_sink_do_qos):
14164         Separate QoS calculation.
14165         Only drop buffers when lateness is bigger than the 
14166         duration of the buffer.
14167
14168 2006-03-13  Wim Taymans  <wim@fluendo.com>
14169
14170         * gst/gstpipeline.c: (gst_pipeline_set_property),
14171         (gst_pipeline_get_property), (do_pipeline_seek),
14172         (gst_pipeline_change_state), (gst_pipeline_set_delay),
14173         (gst_pipeline_get_delay):
14174         Don't deadlock when reading properties.
14175
14176 2006-03-13  Wim Taymans  <wim@fluendo.com>
14177
14178         * libs/gst/base/gstbasetransform.c:
14179         (gst_base_transform_class_init), (gst_base_transform_init),
14180         (gst_base_transform_sink_event),
14181         (gst_base_transform_sink_eventfunc),
14182         (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14183         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14184         (gst_base_transform_set_property),
14185         (gst_base_transform_get_property),
14186         (gst_base_transform_change_state), (gst_base_transform_update_qos),
14187         (gst_base_transform_set_qos_enabled),
14188         (gst_base_transform_is_qos_enabled):
14189         * libs/gst/base/gstbasetransform.h:
14190         Make basetransform virtual method for src events too.
14191         Handle QOS in basetransform.
14192         API: gst_base_transform_update_qos()
14193         API: gst_base_transform_set_qos_enabled()
14194         API: gst_base_transform_is_qos_enabled()
14195
14196 2006-03-13  Wim Taymans  <wim@fluendo.com>
14197
14198         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14199         (gst_base_sink_do_sync):
14200         Small cleanups.
14201         Use QOS debug category.
14202
14203 2006-03-13  Wim Taymans  <wim@fluendo.com>
14204
14205         * plugins/elements/gstqueue.c:
14206         Very small doc update.
14207
14208 2006-03-13  Wim Taymans  <wim@fluendo.com>
14209
14210         * gst/gst_private.h:
14211         * gst/gstinfo.c: (_gst_debug_init):
14212         Added QOS debug category
14213
14214 2006-03-13  Wim Taymans  <wim@fluendo.com>
14215
14216         * docs/gst/gstreamer-sections.txt:
14217         * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14218         * gst/gstbin.h:
14219         * gst/gstbus.c: (gst_bus_class_init):
14220         * gst/gstbus.h:
14221         * gst/gstclock.c:
14222         * gst/gstelement.c: (gst_element_set_locked_state):
14223         * gst/gstsegment.c:
14224         Documentation updates.
14225
14226         * gst/gstpipeline.c: (gst_pipeline_get_type),
14227         (gst_pipeline_class_init), (gst_pipeline_init),
14228         (gst_pipeline_dispose), (gst_pipeline_set_property),
14229         (gst_pipeline_get_property), (do_pipeline_seek),
14230         (gst_pipeline_send_event), (gst_pipeline_change_state),
14231         (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14232         (gst_pipeline_get_delay):
14233         * gst/gstpipeline.h:
14234         Added methods for setting the delay.
14235         API: gst_pipeline_set_delay()
14236         API: gst_pipeline_get_delay()
14237         Add pipeline debug category
14238         Various cleanups.
14239         Updated docs.
14240         Don't reset stream time when seek failed.
14241
14242 2006-03-13  Wim Taymans  <wim@fluendo.com>
14243
14244         * docs/design/draft-klass.txt:
14245         * docs/design/part-clocks.txt:
14246         * docs/design/part-events.txt:
14247         * docs/design/part-gstbin.txt:
14248         * docs/design/part-gstpipeline.txt:
14249         * docs/design/part-messages.txt:
14250         * docs/design/part-negotiation.txt:
14251         * docs/design/part-overview.txt:
14252         * docs/design/part-preroll.txt:
14253         * docs/design/part-seeking.txt:
14254         * docs/design/part-states.txt:
14255         * docs/design/part-streams.txt:
14256         Documentation updates.
14257
14258 2006-03-12  Julien MOUTTE  <julien@moutte.net>
14259
14260         * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14261         us to leak strings...
14262
14263 2006-03-12  Thomas Vander Stichele  <thomas at apestaart dot org>
14264
14265         * libs/gst/net/gstnettimeprovider.c:
14266           fix docs
14267         * win32/common/config.h:
14268           update
14269
14270 2006-03-12  Tim-Philipp Müller  <tim at centricular dot net>
14271
14272         Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14273
14274         * configure.ac:
14275           Don't check for libgnomeui (leftover from old examples
14276           that aren't built or disted any longer) (#334303).
14277           
14278 2006-03-11  Tim-Philipp Müller  <tim at centricular dot net>
14279
14280         * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14281         * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14282           Emit RESOURCE_NO_SPACE_LEFT error here as well when
14283           there's no space left on the device.
14284
14285 2006-03-10  Tim-Philipp Müller  <tim at centricular dot net>
14286
14287         * gst/gstclock.h:
14288           Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14289           to cast the input to GstClockTime before comparing with
14290           another GstClockTime value.
14291
14292 2006-03-10  Thomas Vander Stichele  <thomas at apestaart dot org>
14293
14294         * configure.ac:
14295           back to trunk
14296
14297 === release 0.10.4 ===
14298
14299 2006-03-10  Thomas Vander Stichele <thomas at apestaart dot org>
14300
14301         * configure.ac:
14302           releasing 0.10.4, "Light"
14303
14304 2006-03-10  Michael Smith  <msmith@fluendo.com>
14305
14306         * libs/gst/dataprotocol/dataprotocol.c:
14307           Fix docs for dataprocotol to not get the return types completely
14308           wrong for a few functions.
14309
14310 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14311
14312         * docs/gst/gstreamer-sections.txt:
14313         * gst/gstpipeline.c: (gst_pipeline_class_init),
14314         (gst_pipeline_init), (gst_pipeline_set_property),
14315         (gst_pipeline_get_property), (gst_pipeline_change_state),
14316         (gst_pipeline_set_auto_flush_bus),
14317         (gst_pipeline_get_auto_flush_bus):
14318         * gst/gstpipeline.h:
14319           Add new API: gst_pipeline_set_auto_flush_bus() and
14320           gst_pipeline_get_auto_flush_bus() to disable automatic
14321           flushing of the pipeline's GstBus when going from READY
14322           to NULL state (#332045).
14323
14324 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14325
14326         * docs/gst/gstreamer-sections.txt:
14327         * gst/gsturi.c: (gst_uri_has_protocol):
14328         * gst/gsturi.h:
14329            Add new API: gst_uri_has_protocol() (#333779).
14330
14331 2006-03-09  Wim Taymans  <wim@fluendo.com>
14332
14333         * gst/gstclock.c: (gst_clock_entry_new),
14334         (gst_clock_id_compare_func), (gst_clock_id_wait),
14335         (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14336         (gst_clock_init), (gst_clock_get_internal_time),
14337         (gst_clock_set_master), (do_linear_regression),
14338         (gst_clock_add_observation), (gst_clock_set_property):
14339         * gst/gstclock.h:
14340         Review docs.
14341         Small cleanups.
14342         Fix a possible segfault when the window-size is made smaller.
14343         Calculate jitter before performing the clock wait. Ideally
14344         the clock implementation should calculate jitter but we need
14345         API breakage for that.
14346
14347         * gst/gstsystemclock.c: (gst_system_clock_init):
14348         Docs review.
14349         
14350         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14351         Remove leftover else
14352
14353         * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14354         (gst_systemclock_suite):
14355         Added check to test GST_CLOCK_DIFF.
14356
14357 2006-03-09  Tim-Philipp Müller  <tim at centricular dot net>
14358
14359         * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14360         (gst_type_find_helper_get_range):
14361           If we are provided with the size, we should implement
14362           GstTypeFind::get_length, so that typefind functions who
14363           want to can actually peek at the middle of a file.
14364
14365 2006-03-08  Tim-Philipp Müller  <tim at centricular dot net>
14366
14367         * docs/manual/advanced-dataaccess.xml:
14368           Add some very very basic error checking.
14369
14370         * docs/pwg/appendix-checklist.xml:
14371           Some updates to the list of things to check when writing an element.
14372
14373 2006-03-08  Wim Taymans  <wim@fluendo.com>
14374
14375         * docs/design/part-element-transform.txt:
14376         Added some docs about the design of tranform elements.
14377
14378         * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14379         (gst_base_src_loop), (gst_base_src_change_state):
14380         Mark buffers with the DISCONT flag.
14381
14382 2006-03-08  Michael Smith  <msmith@fluendo.com>
14383
14384         * gst/gstregistry.h:
14385         * gst/gstregistryxml.c: (gst_registry_save),
14386         (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14387         (gst_registry_xml_save_pad_template),
14388         (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14389         (gst_registry_xml_write_cache):
14390           Rewrite registry-saving to avoid race conditions and check for
14391           failed writes.
14392
14393 2006-03-08  Wim Taymans  <wim@fluendo.com>
14394
14395         * libs/gst/base/gstbasetransform.c:
14396         (gst_base_transform_transform_caps),
14397         (gst_base_transform_transform_size),
14398         (gst_base_transform_prepare_output_buffer),
14399         (gst_base_transform_get_unit_size),
14400         (gst_base_transform_buffer_alloc),
14401         (gst_base_transform_handle_buffer),
14402         (gst_base_transform_change_state):
14403         Cleanups, separate normal flow from errors, add sensible
14404         DEBUG lines.
14405         Don't try to renegotiate when allocating an output buffer.
14406         Also copy DISCONT buffer flag when copying a buffer.
14407         Reset the transform after we finish streaming, not during.
14408
14409 2006-03-08  Wim Taymans  <wim@fluendo.com>
14410
14411         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14412         Use last buffer timestamp in qos message.
14413
14414 2006-03-07  Wim Taymans  <wim@fluendo.com>
14415
14416         Patch by: Christophe Fergeau
14417
14418         * docs/pwg/advanced-tagging.xml:
14419         * docs/pwg/building-pads.xml:
14420           fixes #333416
14421
14422 2006-03-07  Wim Taymans  <wim@fluendo.com>
14423
14424         * docs/libs/gstreamer-libs-sections.txt:
14425         Added basesink new methods.
14426
14427         * gst/gstevent.c:
14428         * gst/gstevent.h:
14429         Docs updates. Flesh out the QoS docs.
14430
14431         * libs/gst/base/gstadapter.c:
14432         Small doc clarification about ownership and flushing.
14433
14434         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14435         (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14436         (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14437         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14438         * libs/gst/base/gstbasesink.h:
14439         API additions: 
14440         Added new methods to allow subclass to control max-lateness 
14441         and sync.
14442         Generate very basic QoS events based on last sync observation.
14443         Updated docs, fix typo, added some QoS blurb.
14444
14445         * libs/gst/base/gstbasesrc.c:
14446         Remove obsolete _get_state() calls from docs.
14447
14448 2006-03-07  Wim Taymans  <wim@fluendo.com>
14449
14450         * docs/libs/gstreamer-libs-sections.txt:
14451         * libs/gst/base/gstbasetransform.h:
14452         API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14453         Fix docs for GstBaseSrc.
14454
14455 2006-03-07  Wim Taymans  <wim@fluendo.com>
14456
14457         * docs/gst/gstreamer-sections.txt:
14458         * gst/gstbuffer.h:
14459         * gst/gstvalue.c:
14460         * libs/gst/base/gstbasetransform.h:
14461         Small documentation fixes.
14462
14463 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14464
14465         * gst/gstvalue.c:
14466           Document thread-unsafety of gst_value_register_foo_func()
14467           when used at the same time as gst_value_foo() (#322628).
14468
14469 2006-03-07  Tim-Philipp Müller  <tim at centricular dot net>
14470
14471         * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14472         (gst_push_src_check_get_range):
14473           Push sources don't support pull mode by default.
14474
14475 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14476
14477         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14478         (gst_base_src_init), (gst_base_src_pad_check_get_range),
14479         (gst_base_src_default_check_get_range):
14480         * libs/gst/base/gstbasesrc.h:
14481           API addition:  Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14482           provide default implementation, and rename
14483           gst_base_src_check_get_range() to
14484           gst_base_src_pad_check_get_range() for clarity.
14485
14486 2006-03-06  Wim Taymans  <wim@fluendo.com>
14487
14488         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14489         Make property overridable.
14490
14491 2006-03-06  Wim Taymans  <wim@fluendo.com>
14492
14493         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14494         (gst_base_sink_init), (gst_base_sink_set_property),
14495         (gst_base_sink_get_property), (gst_base_sink_do_sync):
14496         * libs/gst/base/gstbasesink.h:
14497         API addition: Make max-lateness a property.
14498
14499 2006-03-06  Wim Taymans  <wim@fluendo.com>
14500
14501         * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14502         (gst_base_sink_do_sync), (gst_base_sink_render_object):
14503         Don't ever draw a frame that is >10ms late.
14504
14505 2006-03-06  Michael Smith  <msmith@fluendo.com>
14506
14507         * gst/gstmessage.c: (_gst_message_copy):
14508           When copying a message, set the parent_refcount of the enclosed
14509           structure to point at the copy, not the original message.
14510
14511 2006-03-06  Tim-Philipp Müller  <tim at centricular dot net>
14512
14513         Patch by: Christophe Fergeau
14514
14515         * gst/gstutils.h:
14516           Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14517           usable in c++ code (#333417)
14518
14519 2006-03-06  Thomas Vander Stichele  <thomas at apestaart dot org>
14520
14521         * gst/gstclock.h:
14522           Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14523
14524 2006-03-05  Tim-Philipp Müller  <tim at centricular dot net>
14525
14526         * libs/gst/base/gstbasetransform.c:
14527         (gst_base_transform_transform_caps):
14528           Make sure caps are writable before passing them to
14529           gst_caps_append().
14530
14531 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14532
14533         * gst/gsterror.h:
14534           Fix some minor docs errors.
14535
14536 2006-03-04  Tim-Philipp Müller  <tim at centricular dot net>
14537
14538           Patch by: Ross Burton <ross at burtonini dot com>
14539
14540         * gst/gsterror.c: (_gst_resource_errors_init):
14541         * gst/gsterror.h:
14542           Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14543
14544 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14545
14546         * gst/gst.c:
14547         Add a check and output a g_warning when GStreamer is built
14548         against GLib 2.6 but running against 2.8 or higher, and vice 
14549         versa. (Closes: #323542)
14550
14551 2006-03-03  Jan Schmidt  <thaytan@mad.scientist.com>
14552
14553         * gst/parse/parse.l:
14554           Commit patch for parse_launch syntax from #331255. Removes 
14555           support for quoted strings and mimetypes when writing filtered 
14556           caps. See the bug report for more details - I'm pretty sure this
14557           obscure feature is not in use by _anyone_ anywhere.
14558
14559           With this simple change, the size of the gstreamer.so here 
14560           drops from 2193KB to 1565KB.
14561
14562 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14563
14564         * plugins/elements/gsttypefindelement.h:
14565         * plugins/elements/gsttypefindelement.c:
14566         (gst_type_find_element_src_event), (start_typefinding),
14567         (stop_typefinding), (gst_type_find_element_handle_event),
14568         (gst_type_find_element_chain),
14569         (gst_type_find_element_chain_do_typefinding):
14570           Use gst_type_find_helper_for_buffer() for chain-based
14571           typefinding.
14572
14573 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14574
14575         * plugins/elements/gsttypefindelement.c:
14576         (gst_type_find_element_class_init),
14577         (gst_type_find_element_set_property),
14578         (gst_type_find_element_get_property):
14579           Deprecate "maximum" property (not only was it only taken into
14580           account for typefinding in push-mode anyway, it also was never
14581           actually possible to set it in the first place because the
14582           property was registered with the numeric property ID for the
14583           "minimum" property). Register "maximum" property correctly,
14584           for the sake of future copy'n'pasters. Remove some cruft
14585           from property get/set functions.
14586
14587 2006-03-03  Tim-Philipp Müller  <tim at centricular dot net>
14588
14589         * plugins/elements/gsttypefindelement.c:
14590         (gst_type_find_element_activate):
14591           Use gst_type_find_helper_get_range() here, so we
14592           can honour the "minimum" property and also emit
14593           the signal with the correct probability of the found caps.
14594
14595 2006-03-02  Tim-Philipp Müller  <tim at centricular dot net>
14596
14597         * docs/libs/gstreamer-libs-sections.txt:
14598         * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14599         (helper_find_suggest), (gst_type_find_helper_get_range),
14600         (gst_type_find_helper):
14601         * libs/gst/base/gsttypefindhelper.h:
14602           New API: gst_type_find_helper_get_range() (#333042).
14603
14604 2006-03-02  Michael Smith  <msmith@fluendo.com>
14605
14606         * gst/gstregistryxml.c: (load_feature):
14607           Asserting on a failure to read part of the registry is Not Cool.
14608           Just log a warning and return NULL (which is already handled)
14609
14610 2006-02-28  Sebastien Moutte  <sebastien@moutte.net>
14611
14612         * win32/common/libgstbase.def:
14613           added export of gst_type_find_helper_for_buffer
14614         * win32/common/libgstbase.def:
14615           added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14616           gst_ghost_pad_get_target
14617
14618 2006-02-28  Wim Taymans  <wim@fluendo.com>
14619
14620         * docs/design/draft-klass.txt:
14621         We use Filter now.
14622         Added Connector to mark elements that are only used to
14623         allow pipeline connections.
14624         Moved Debug to extra feature since most of them are 
14625         functionally something else.
14626
14627 2006-02-28  Wim Taymans  <wim@fluendo.com>
14628
14629         * docs/design/draft-klass.txt:
14630         Some updates and clarifications.
14631
14632 2006-02-28  Wim Taymans  <wim@fluendo.com>
14633
14634         * docs/design/draft-klass.txt:
14635         Proposal for klass field values.
14636
14637         * docs/design/part-streams.txt:
14638         Start of a doc describing stream anatomy.
14639
14640 2006-02-28  Wim Taymans  <wim@fluendo.com>
14641
14642         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14643         Help the compiler a bit with type registration.
14644         Use existing forward cod path instead of duplicating it when 
14645         handling a message.
14646         
14647         * gst/gstbus.c: (gst_bus_get_type):
14648         * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14649         * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14650         * gst/gstclock.c: (gst_clock_get_type):
14651         * gst/gstelement.c: (gst_element_get_type),
14652         * gst/gstelementfactory.c: (gst_element_factory_get_type):
14653         * gst/gstindexfactory.c: (gst_index_factory_get_type):
14654         * gst/gstminiobject.c: (gst_mini_object_get_type):
14655         * gst/gstpad.c: (gst_pad_get_type):
14656         * gst/gstsegment.c: (gst_segment_get_type):
14657         * gst/gststructure.c: (gst_structure_get_type):
14658         * gst/gstsystemclock.c: (gst_system_clock_get_type):
14659         * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14660         * gst/gstvalue.c:
14661         Help compiler with type registration.
14662
14663         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14664         Small doc update.
14665
14666 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14667
14668         * plugins/elements/gsttypefindelement.c:
14669         (gst_type_find_element_handle_event):
14670           When we get an EOS event and have not found a type yet
14671           (most likely because we had not yet accumulated
14672           TYPE_FIND_MIN_SIZE of data yet), try to determine the
14673           type given the data we have so far. Fixes typefinding
14674           for very short streams again, most notably quicktime
14675           redirections as used on Apple's trailer site (#331701).
14676
14677 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14678
14679         * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14680         (gst_type_find_helper):
14681           Try typefinding factories with the highest rank first.
14682
14683 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14684
14685         * docs/libs/gstreamer-libs-docs.sgml:
14686         * docs/libs/gstreamer-libs-sections.txt:
14687         * libs/gst/base/gsttypefindhelper.c:
14688           Add section for typefind helper and add documentation
14689           for the old and the new function.
14690
14691 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14692
14693         * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14694         (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14695         (gst_type_find_helper_for_buffer):
14696         * libs/gst/base/gsttypefindhelper.h:
14697           New API: gst_type_find_helper_for_buffer() (#332723).
14698           
14699 2006-02-27  Michael Smith  <msmith@fluendo.com>
14700
14701         Patch by: Loïc Minier
14702
14703         * configure.ac:
14704         * docs/Makefile.am:
14705         * docs/slides/Makefile.am:
14706           prevent CVS directories getting disted.
14707
14708 2006-02-27  Tim-Philipp Müller  <tim at centricular dot net>
14709
14710         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14711           Use the REFCOUNTING category for caps refcounting.
14712           
14713 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14714
14715         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14716           This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14717
14718 2006-02-26  Tim-Philipp Müller  <tim at centricular dot net>
14719
14720         * plugins/elements/gsttypefindelement.c:
14721         (gst_type_find_element_activate):
14722           Use gst_pad_check_pull_range() before _activate_pull()
14723           to avoid unnecessary open/close (see #331690).
14724
14725 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14726
14727         * gst/gstutils.c:
14728           Docs enhancement: make it crystal clear what the
14729           gst_pad_add_*_probe() callbacks should look like.
14730
14731 2006-02-24  Tim-Philipp Müller  <tim at centricular dot net>
14732
14733         * libs/gst/base/gstbasesrc.c:
14734           Document how applications can stop recording from
14735           live sources (see #330996).
14736
14737 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14738
14739         * tests/check/Makefile.am:
14740         * tests/check/libs/basesrc.c: (eos_event_counter),
14741         (basesrc_eos_events_pull), (basesrc_eos_events_push),
14742         (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14743         (gst_basesrc_suite), (main):
14744           ... and add some tests for the base source EOS stuff.
14745
14746 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14747
14748         * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14749           Test case originally showed the problem fixed below,
14750           but was then amended. Add checks back at the place
14751           where they used to be.
14752
14753 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14754
14755         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14756         (gst_base_src_init), (gst_base_src_loop),
14757         (gst_base_src_activate_push), (gst_base_src_activate_pull),
14758         (gst_base_src_change_state):
14759         * libs/gst/base/gstbasesrc.h:
14760           Don't unconditionally send EOS when going from PAUSED to
14761           READY state, esp. make sure we don't send two EOS events
14762           in some cases (e.g. one when reaching EOS and one when
14763           going from PAUSED to READY). Also, we don't want to send
14764           EOS events when operating in pull mode. However, we do
14765           want to send an EOS event when shutting down a live
14766           source explicitly, for example (fixes #330996).
14767           
14768 2006-02-23  Tim-Philipp Müller  <tim at centricular dot net>
14769
14770         * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14771           Update src->read_position after a seek when not using mmap.
14772           Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14773
14774 2006-02-21  Jan Schmidt  <thaytan@mad.scientist.com>
14775
14776         * gst/Makefile.am:
14777         * gst/gstparse.h:
14778         * gst/gstutils.c:
14779         * gst/gstutils.h:
14780         Make things work with --disable-parse as they do with 
14781         --disable-load-save - the symbols involved disappear, but the
14782         header is still installed and GST_DISABLE_PARSE is included via
14783         gstconfig.h
14784
14785 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14786
14787         * libs/gst/base/gstbasetransform.c:
14788         (gst_base_transform_change_state): Fix a stupid bug. I was 
14789         sure I compiled that.
14790
14791 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14792
14793         * gst/gstpad.c: (gst_pad_set_blocked_async):
14794         * gst/gstutils.c: (gst_pad_add_data_probe),
14795         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14796         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14797         (gst_pad_remove_buffer_probe): Make those function act on the
14798         ghostpad target when it's a ghostpad. (Closes #331727)
14799
14800 2006-02-20  Julien MOUTTE  <julien@moutte.net>
14801
14802         * libs/gst/base/gstbasetransform.c:
14803         (gst_base_transform_change_state): Make basetransform reusable.
14804         (Closes #331898)
14805
14806 2006-02-20  Jan Schmidt  <thaytan@mad.scientist.com>
14807
14808         * docs/random/release:
14809         Move the current documentation of how to do a release to the top
14810         of the file.
14811
14812         * gst/gstbin.c: (gst_bin_class_init),
14813         (gst_bin_handle_message_func):
14814         Allow multiple state-recalculation threads. (Closes #328873)
14815
14816 2006-02-19  Julien MOUTTE  <julien@moutte.net>
14817
14818         * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14819         * gst/gstpad.c: (gst_pad_set_event_function),
14820         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14821         (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14822         2 strings. You can't use the STR_NULL macro on that.
14823
14824 2006-02-19  Sebastien Moutte <sebastien@moutte.net>
14825
14826         * gst/gstpad.c: (gst_pad_set_event_function),
14827         (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14828         (gst_pad_set_getcaps_function)
14829         * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14830           Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14831           So now, we can use --gst-debug-level=5 on Windows
14832         * win32/common/libgstcontroller.def:
14833           Added export of gst_controller_init
14834         * win32/vs6/libgstcontroller.dsp:
14835           Fixed Release post build configuration
14836
14837 2006-02-17  Wim Taymans  <wim@fluendo.com>
14838
14839         * tests/check/gst/gstquery.c: (GST_START_TEST):
14840         Added another check.
14841
14842 2006-02-15  Tim-Philipp Müller  <tim at centricular dot net>
14843
14844         * plugins/elements/gsttypefindelement.c: (find_peek):
14845           We can do peeks at non-zero offsets, as long as they
14846           fall within the buffer we have.
14847
14848 2006-02-15  Jan Schmidt  <thaytan@mad.scientist.com>
14849
14850         * tests/check/Makefile.am:
14851         * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14852         (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14853         (parse_suite), (main):
14854           Add testsuite for parse launch syntax
14855
14856 2006-02-14  Tim-Philipp Müller  <tim at centricular dot net>
14857
14858         * plugins/elements/gsttypefindelement.c:
14859         (gst_type_find_element_chain):
14860           When typefinding is unsuccessful in the chain function, don't
14861           error out immediately. Only error out with NO_CAPS_FOUND if
14862           the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14863           otherwise simply wait for more data so we can try typefinding
14864           again with more data later. Also, don't attempt to typefind
14865           if we have less than MIN_TYPEFIND_SIZE data available. Overall,
14866           this should improve typefinding from network sources where the
14867           size of the first buffer can be somewhat random.
14868
14869 2006-02-14  Wim Taymans  <wim@fluendo.com>
14870
14871         * docs/gst/gstreamer-sections.txt:
14872         * gst/gstpadtemplate.c:
14873         * gst/gstpadtemplate.h:
14874         Fix padtemplate docs, fixes #328805.
14875
14876 2006-02-14  Wim Taymans  <wim@fluendo.com>
14877
14878         * tools/gst-launch.c: (main):
14879         NO_PREROLL is not an ERROR so don't send confusing messages
14880         to the user.
14881
14882 2006-02-14  Wim Taymans  <wim@fluendo.com>
14883
14884         Patch by: Torsten Schoenfeld
14885
14886         * gst/gstregistry.c: (gst_registry_get_default),
14887         (_gst_registry_cleanup):
14888         Protect default registry with lock and ref/sink it.
14889         Fixes #324818
14890
14891 2006-02-14  Wim Taymans  <wim@fluendo.com>
14892
14893         * gst/gstbuffer.c:
14894         * gst/gstquery.c: (gst_query_list_add_format),
14895         (gst_query_set_formatsv), (gst_query_parse_formats_length),
14896         (gst_query_parse_formats_nth):
14897         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14898         Docs fixes.
14899
14900 2006-02-14  Wim Taymans  <wim@fluendo.com>
14901
14902         * docs/gst/gstreamer-sections.txt:
14903         Reworked query docs.
14904
14905         * gst/gstquery.c: (gst_query_new_formats),
14906         (gst_query_list_add_format), (gst_query_set_formats),
14907         (gst_query_set_formatsv), (gst_query_parse_formats_length),
14908         (gst_query_parse_formats_nth):
14909         * gst/gstquery.h:
14910         Flesh out formats query, added some new methods.
14911         Fix part of #324398.
14912
14913         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
14914         Added query creation tests.
14915
14916 2006-02-14  Jan Schmidt  <thaytan@mad.scientist.com>
14917
14918         * gst/gstpad.c: (fixate_value):
14919         Add a default fixation for fraction lists.
14920
14921 2006-02-13  Wim Taymans  <wim@fluendo.com>
14922
14923         * gst/gsttask.c: (gst_task_init), (gst_task_func),
14924         (gst_task_set_lock), (gst_task_start), (gst_task_pause),
14925         (gst_task_join):
14926         * gst/gsttask.h:
14927         Detect and warn for obvious deadlocks. fixes #320340
14928         Fix error case where lock was not released.
14929
14930         * tests/check/Makefile.am:
14931         * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
14932         (task_func), (gst_element_suite), (main):
14933         Add task check.
14934
14935 2006-02-13  Wim Taymans  <wim@fluendo.com>
14936
14937         * docs/gst/gstreamer-sections.txt:
14938         * gst/gstbus.c:
14939         Add new functions to docs.
14940
14941 2006-02-13  Wim Taymans  <wim@fluendo.com>
14942
14943         * docs/design/part-TODO.txt:
14944         Updated TODO list, basesrc supports seeking to non-bytes
14945         formats.
14946
14947         * docs/design/part-element-sink.txt:
14948         Update docs.
14949
14950         * gst/gstbin.c: (bin_replace_message),
14951         (gst_bin_handle_message_func):
14952         * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
14953         * gst/gstevent.c: (gst_event_finalize):
14954         * gst/gstpad.c: (gst_pad_event_default_dispatch),
14955         (gst_pad_send_event):
14956         Use shiny new _TYPE_NAME macros.
14957
14958         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14959         Move debug statement up.
14960
14961         * gst/gstelement.c: (gst_element_set_locked_state):
14962         Add some debugging.
14963
14964 2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>
14965
14966         * docs/gst/gstreamer-sections.txt:
14967         * gst/gstmessage.h:
14968         * gst/gstquery.h:
14969           New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
14970           macros (#330906). Also, document the already existing
14971           GST_QUERY_TYPE macro.
14972
14973 2006-02-13  Wim Taymans  <wim@fluendo.com>
14974
14975         * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
14976         (event_probe), (GST_START_TEST):
14977         Only events up to the pipeline EOS are counted, there are
14978         some more when going to NULL currently which we don't care
14979         about for now.
14980
14981 2006-02-13  Wim Taymans  <wim@fluendo.com>
14982
14983         * gst/gstpad.c: (gst_pad_send_event):
14984         Correctly check flushing and emit probes. fixes #330125
14985
14986 2006-02-10  Andy Wingo  <wingo@pobox.com>
14987
14988         * gst/gstbus.c (gst_bus_class_init): Declare our private data
14989         structure.
14990         (gst_bus_init): Cache the location of the private data in the
14991         instance structure.
14992         (gst_bus_enable_sync_message_emission) 
14993         (gst_bus_disable_sync_message_emission): Implement new public
14994         functions.
14995         (gst_bus_post): Emit the sync-message signal if the user asked for
14996         it. Fixes #330684.
14997
14998         * gst/gstbus.h (GstBus): Use a padding pointer to cache the
14999         location of the bus-private structure.
15000         (gst_bus_enable_sync_message_emission)
15001         (gst_bus_disable_sync_message_emission): API addition
15002
15003 2006-02-10  Jan Schmidt  <thaytan@mad.scientist.com>
15004
15005         Patch by: Vincent Torri
15006
15007         * docs/pwg/building-boiler.xml:
15008         PWG patch from #326800
15009
15010 2006-02-09  Tim-Philipp Müller  <tim at centricular dot net>
15011
15012         * configure.ac:
15013         * docs/Makefile.am:
15014         * docs/design/Makefile.am:
15015           Dist design docs.
15016
15017 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15018
15019         * configure.ac:
15020           back to CVS
15021
15022 === release 0.10.3 ===
15023
15024 2006-02-08  Jan Schmidt <thaytan@mad.scientist.com>
15025
15026         * configure.ac:
15027           releasing 0.10.3, "Like a virgin"
15028
15029 2006-02-08  Jan Schmidt  <thaytan@mad.scientist.com>
15030
15031         * configure.ac:
15032           2nd prerelease of 0.10.3
15033           Bump libtool versioning.
15034
15035 2006-02-07  Andy Wingo  <wingo@pobox.com>
15036
15037         * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15038         update last_stop if we're in TIME format and the timestamp is
15039         valid.
15040
15041         * libs/gst/base/gstcollectpads.c (gst_collect_pads_event) 
15042         * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc): 
15043         * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15044         If we get a new newsegment with a different format, adapt
15045         accordingly.
15046
15047         * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15048         of 0. Not a problem, really.
15049
15050         * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15051         warn if sync=true.
15052
15053 2006-02-06  Jan Schmidt  <thaytan@mad.scientist.com>
15054
15055         * configure.ac:
15056           Prelease of 0.10.3
15057
15058 2006-02-06  Sebastien Moutte  <sebastien@moutte.net>
15059
15060         * win32/vs7:
15061           project files updated to the default vs7 configuration
15062         * win32/common/libgstbase.def:
15063         * win32/common/libgstreamer.def:
15064           added new symbols,
15065           removed empty lines,
15066           sorted all exported symbols alphabetically
15067         * win32/common/dirent.c:
15068         * win32/common/dirent.h:
15069         * win32/common/gchar.h:
15070           use windows line end.
15071           
15072 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15073
15074         * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15075           Send EOS event when stopping.
15076
15077 2006-02-06  Tim-Philipp Müller  <tim at centricular dot net>
15078
15079         * docs/README:
15080           Tell folks what to do if the plugin-foobar.xml file
15081           hasn't been generated for a newly-added plugin.
15082
15083 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15084
15085         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15086         (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15087         (gst_collect_pads_start), (gst_collect_pads_stop),
15088         (gst_collect_pads_event): Collectpads now holds a reference
15089         to the GstPad that was added. Indeed we don't want to look
15090         at pads that might just go away with no warning...
15091
15092 2006-02-05  Julien MOUTTE  <julien@moutte.net>
15093
15094         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15095         (gst_collect_pads_start), (gst_collect_pads_stop),
15096         (gst_collect_pads_event), (gst_collect_pads_chain):
15097         * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15098         Mark Nauwelaerts's patch on bug #328491.
15099
15100 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15101
15102         * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15103         (gst_utils_suite):
15104           Add some simple tests for gst_parse_bin_from_description() and
15105           gst_bin_find_unconnected_pad() (#329069).
15106
15107 2006-02-04  Tim-Philipp Müller  <tim at centricular dot net>
15108
15109         * tools/gst-launch.c: (event_loop), (main):
15110           Catch errors during preroll (#320084).
15111
15112 2006-02-03  Tim-Philipp Müller  <tim at centricular dot net>
15113
15114         * plugins/elements/gsttypefindelement.c:
15115         (gst_type_find_element_activate):
15116           Post TYPE_NOT_FOUND error message when typefinding
15117           is unsuccessful in the activate function as well.
15118
15119 2006-02-02  Wim Taymans  <wim@fluendo.com>
15120
15121         * docs/design/part-element-sink.txt:
15122         Updated doc.
15123
15124 2006-02-02  Wim Taymans  <wim@fluendo.com>
15125
15126         * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15127         (gst_base_sink_render_object),
15128         (gst_base_sink_queue_object_unlocked):
15129         Only keep track of prerollable items when we are 
15130         prerolling.
15131         Before rendering after preroll, always check if we
15132         have queued items.
15133         Added some more debugging.
15134
15135 2006-02-02  Wim Taymans  <wim@fluendo.com>
15136
15137         * gst/gstelement.c: (gst_element_continue_state),
15138         (gst_element_set_state_func), (gst_element_change_state):
15139         Fixed #326576, been running this for quite some time with
15140         no regressions at all.
15141
15142 2006-02-02  Wim Taymans  <wim@fluendo.com>
15143
15144         * common/gst.supp:
15145         Added more suppressions
15146
15147 2006-02-02  Wim Taymans  <wim@fluendo.com>
15148
15149         * docs/design/part-element-sink.txt:
15150         Updated document.
15151
15152         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15153         (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15154         (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15155         (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15156         (gst_base_sink_do_sync), (gst_base_sink_render_object),
15157         (gst_base_sink_preroll_object),
15158         (gst_base_sink_queue_object_unlocked),
15159         (gst_base_sink_queue_object), (gst_base_sink_event),
15160         (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15161         (gst_base_sink_loop), (gst_base_sink_activate_pull),
15162         (gst_base_sink_get_position), (gst_base_sink_change_state):
15163         * libs/gst/base/gstbasesink.h:
15164         Totally refactored matching the design doc.
15165         Use two segments, one to clip incomming buffers and another to
15166         perform sync.
15167         Handle queueing correctly, bypass the queue when playing.
15168         Make EOS cancelable.
15169         Handle errors correctly when operating in pull based mode.
15170
15171         * tests/check/elements/fakesink.c: (GST_START_TEST),
15172         (fakesink_suite):
15173         Added new check for sinks.
15174
15175 2006-02-02  Wim Taymans  <wim@fluendo.com>
15176
15177         * gst/gstsegment.c: (gst_segment_clip):
15178         No reason to refuse to clip when start == -1
15179
15180 2006-02-02  Stefan Kost  <ensonic@users.sf.net>
15181
15182         * docs/README:
15183         * docs/manual/intro-basics.xml:
15184         * docs/manual/intro-preface.xml:
15185         * docs/manual/manual.xml:
15186         * docs/pwg/advanced-dparams.xml:
15187         * docs/pwg/intro-basics.xml:
15188         * docs/pwg/intro-preface.xml:
15189         * docs/pwg/pwg.xml:
15190           describe dparams (controller) for plugins
15191           unify docs a little more
15192
15193 2006-02-02  Tim-Philipp Müller  <tim at centricular dot net>
15194
15195         * docs/gst/gstreamer-sections.txt:
15196         * gst/gstutils.c: (element_find_unconnected_pad),
15197         (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15198         * gst/gstutils.h:
15199           Add new API: gst_parse_bin_from_description() and
15200           gst_bin_find_unconnected_pad() (#329069).
15201
15202 2006-02-01  Stefan Kost  <ensonic@users.sf.net>
15203
15204         * docs/manual/README:
15205           uncover a nasty detail of the docs build
15206
15207 2006-01-31  Wim Taymans  <wim@fluendo.com>
15208
15209         * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15210         Don't cache duration messages if we're not going to use or
15211         free them.
15212
15213 2006-01-31  Stefan Kost  <ensonic@users.sf.net>
15214
15215         * docs/manual/advanced-dparams.xml:
15216         * docs/pwg/advanced-dparams.xml:
15217           more dparam docs
15218         * gst/gstindex.c:
15219           fix docs
15220         * libs/gst/controller/lib.c: (gst_controller_init):
15221           init just once
15222
15223 2006-01-31  Thomas Vander Stichele  <thomas at apestaart dot org>
15224
15225         * gst/gstelement.c: (gst_element_message_full):
15226           also show file/line/func if no additional debug was given
15227
15228 2006-01-31  Sebastien Moutte  <sebastien@moutte.net>
15229         
15230         * win32/vs7/grammar.vcproj:
15231           activate copy of autogenerated files for Release mode
15232
15233 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15234         
15235         * win32/common/libgstreamer.def:
15236           export gst_value_compare
15237
15238 2006-01-30  Jan Schmidt  <thaytan@mad.scientist.com>
15239
15240         * plugins/elements/Makefile.am:
15241         * plugins/elements/gstelements.c:
15242         * plugins/elements/gstfdsink.c: (_do_init),
15243         (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15244         (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15245         (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15246         (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15247         (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15248         (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15249         (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15250         * plugins/elements/gstfdsink.h:
15251         Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15252
15253 2006-01-30  Stefan Kost  <ensonic@users.sf.net>
15254
15255         * docs/manual/advanced-dparams.xml:
15256           describe controller
15257         * docs/manual/advanced-position.xml:
15258         * docs/manual/basics-init.xml:
15259         * docs/manual/manual.xml:
15260         * docs/manual/titlepage.xml:
15261         * docs/pwg/pwg.xml:
15262         * docs/pwg/titlepage.xml:
15263           cleanup xml (more to come)
15264         * libs/gst/controller/gstcontroller.c:
15265           fix typo
15266
15267 2006-01-30  Sebastien Moutte  <sebastien@moutte.net>
15268         
15269         * win32/vs6/grammar.dsp:
15270           add autogen of gstmarshal.c,h for Release mode
15271                 
15272 2006-01-30  Wim Taymans  <wim@fluendo.com>
15273
15274         * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15275         (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15276         (gst_base_sink_handle_object), (gst_base_sink_event),
15277         (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15278         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15279         (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15280         (gst_base_sink_deactivate), (gst_base_sink_activate),
15281         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15282         (gst_base_sink_query), (gst_base_sink_change_state):
15283         Basesink cleanups, remove some old code.
15284         Handle the case where a subclass can preroll in the render
15285         method (mostly audiosinks).
15286         Handle more events.
15287         Remove some locks around variables that are now protected
15288         with the PREROLL_LOCK (clock_id, flushing, ..).
15289         Optimize position query some more, do correct locking.
15290         Remove old code to push queue in state change, this is not
15291         needed anymore since preroll blocks on all prerollable items 
15292         now.
15293         Almost implemented as described in design doc.
15294
15295 2006-01-30  Wim Taymans  <wim@fluendo.com>
15296
15297         * tests/check/gst/gstbin.c: (GST_START_TEST):
15298         Wait for refcount to settle down before checking.
15299
15300 2006-01-30  Wim Taymans  <wim@fluendo.com>
15301
15302         * docs/design/part-element-sink.txt:
15303         Pseudo code overview of desired sink behaviour regarding
15304         preroll.
15305
15306 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15307         * win32/vs6/grammar.dsp:
15308           fix some bugs in Release mode for autogenerated files
15309                 
15310 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15311         * win32/common/libgstbase.def:
15312         * win32/common/libgstreamer.def:
15313           export some new symbols: gst_base_src_set_format,
15314           gst_iterator_next, gst_structure_set_valist
15315
15316 2006-01-29  Julien MOUTTE  <julien@moutte.net>
15317
15318         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15319         Set pad functions unconditionally. Fixes #329105.
15320
15321 2006-01-29  Sebastien Moutte  <sebastien@moutte.net>
15322         * win32/vs8:
15323           add vs8 project files created by Sergey Scobich
15324
15325 2006-01-28  Jan Schmidt  <thaytan@mad.scientist.com>
15326
15327         * gst/gstutils.c: (gst_element_unlink_pads):
15328         Don't leak pad references.
15329
15330         * tests/check/elements/fakesink.c: (GST_START_TEST):
15331         * tests/check/generic/sinks.c: (GST_START_TEST):
15332         * tests/check/generic/states.c: (GST_START_TEST):
15333         * tests/check/gst/gstbin.c: (GST_START_TEST):
15334         * tests/check/gst/gstcaps.c: (GST_START_TEST):
15335         * tests/check/gst/gstelement.c: (GST_START_TEST):
15336         * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15337         * tests/check/gst/gstiterator.c: (GST_START_TEST):
15338         * tests/check/gst/gstvalue.c: (GST_START_TEST):
15339         Fix a bunch of leaks. Make generic/sinks.c
15340         use a bit less cpu by slowing the buffer rate
15341         between fakesrc and fakesink.
15342         
15343 2006-01-27  Stefan Kost  <ensonic@users.sf.net>
15344         * gst/gstcaps.c:
15345         * gst/gstelement.c: (gst_element_send_event):
15346         * gst/gstevent.c:
15347         * gst/gstinfo.c:
15348         * gst/gstiterator.c:
15349         * gst/gstiterator.h:
15350         * gst/gstpad.c: (gst_pad_send_event):
15351         * gst/gststructure.c:
15352         * gst/gsturi.c:
15353         * gst/gstutils.c:
15354         * gst/gstvalue.c:
15355         * libs/gst/base/gstadapter.c:
15356           doc fixes, to link to function, just write gst_cool_function(), don't
15357           prefix with '#'
15358
15359 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15360
15361         * plugins/elements/gsttee.c: (gst_tee_do_push),
15362         (gst_tee_handle_buffer):
15363         Always prefer an actual return value from a src
15364         pad in place of NOT_LINKED. This means we return
15365         WRONG_STATE when all src pads are WRONG_STATE
15366         instead of NOT_LINKED.
15367
15368         Lock when replacing the last message to prevent
15369         racing with the get_property method.
15370
15371         Add debug output
15372
15373 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15374
15375         * tests/check/Makefile.am:
15376         * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15377         (main):
15378         Add a very simple check that should have caught the memleak I fixed
15379         last night (if not for the slice allocator hiding it)
15380
15381 2006-01-27  Jan Schmidt  <thaytan@mad.scientist.com>
15382
15383         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15384         (gst_bin_remove_func), (gst_bin_handle_message_func),
15385         (bin_query_duration_fold), (bin_query_generic_fold):
15386         Clean up references to the clock provider when disposed or when
15387         handling a clock-lost message from it.
15388
15389         Unref sinks when performing a query via gst_iterator_fold, as the
15390         gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15391
15392         * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15393         (gst_clock_set_master):
15394         Drop our reference to the master clock, if any, when we are disposed.
15395
15396         * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15397         Chain up in dispose. 
15398
15399 2006-01-26  Wim Taymans  <wim@fluendo.com>
15400
15401         * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15402         Add some debugging.
15403
15404 2006-01-26  Julien MOUTTE  <julien@moutte.net>
15405
15406         * plugins/elements/gsttee.c: (gst_tee_do_push),
15407         (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15408         handles pad being NOT_LINKED or in WRONG_STATE.
15409
15410 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15411
15412         * win32/MANIFEST:
15413           more updating
15414
15415 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15416
15417         * win32/MANIFEST:
15418           remove obsolete entry
15419
15420 2006-01-26  Stefan Kost  <ensonic@users.sf.net>
15421
15422         * docs/gst/gstreamer-sections.txt:
15423         * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15424         (gst_bin_iterate_sources), (gst_bin_send_event):
15425         * gst/gstbin.h:
15426         * gst/gstelement.c: (gst_element_send_event):
15427         * gst/gstevent.c:
15428         * gst/gstpad.c: (gst_pad_send_event):
15429           added code for downstream events, reviewed docs in gstevent.c
15430
15431 2006-01-25  Julien MOUTTE  <julien@moutte.net>
15432
15433         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15434         We only query position using the clock in the playing state.
15435         Query peer in the other cases.
15436         * win32/common/config.h: Updates.
15437
15438 2006-01-24  Wim Taymans  <wim@fluendo.com>
15439
15440         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15441         A clock entry that is scheduled for the exact time of the
15442         clock is still in time.
15443
15444         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15445         (gst_base_sink_do_sync):
15446         Add some more debug info.
15447
15448 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15449
15450         * win32/vs7:
15451           Add new vs7 project files and solution.
15452
15453 2006-01-23  Sebastien Moutte  <sebastien@moutte.net>
15454
15455         * win32/vs7:
15456           all files removed as they were out-dated.
15457
15458 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15459
15460         * docs/random/release:
15461           update notes
15462         * gst/gstbin.c: (gst_bin_init):
15463         * gst/gstbus.c: (gst_bus_new):
15464         * gst/gstbus.h:
15465         * gst/gstpipeline.c: (gst_pipeline_init):
15466           use gst_bus_new(), improve logging, fix docs
15467         * win32/common/config.h:
15468           update for cvs build
15469
15470 2006-01-20  Thomas Vander Stichele  <thomas at apestaart dot org>
15471
15472         * autogen.sh:
15473           up required version of automake to 1.7
15474
15475 2006-01-20  Sebastien Moutte  <sebastien@moutte.net>
15476
15477         * win32/common/libgstreamer.def:
15478           export gst_buffer_is_metadata_writable
15479
15480 2006-01-20  Tim-Philipp Müller  <tim at centricular dot net>
15481
15482         * docs/gst/gstreamer-sections.txt:
15483         * gst/gstevent.h:
15484           Add gst_event_replace() (#327001)
15485
15486 2006-01-20  Wim Taymans  <wim@fluendo.com>
15487
15488         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15489         Make it actually compile too..
15490
15491 2006-01-20  Wim Taymans  <wim@fluendo.com>
15492
15493         * gst/gstcaps.c:
15494         Clarify behaviour of _is_equal() when passing NULL parameters.
15495
15496         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15497         (gst_pad_set_caps):
15498         Cleanups. Don't unref NULL caps.
15499         When setting the same caps, protect caps of the pad with
15500         proper lock.
15501         Use full functionality of _is_equal() when comparing caps.
15502
15503 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15504
15505         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15506         Don't loop infinitely if there are no buffers to present. Partially
15507         fixes #327197, but collectpads is just broken for reusing elements
15508         to do multiple encodes atm.
15509
15510 2006-01-20  Jan Schmidt  <thaytan@mad.scientist.com>
15511
15512         * tools/gst-inspect.c: (print_element_features):
15513         * tools/gst-xmlinspect.c: (main):
15514         URL_HANDLER is not a plugin feature we can search for in
15515         the registry.
15516
15517 2006-01-19  Edward Hervey  <edward@fluendo.com>
15518
15519         * gst/gstelement.c: (gst_element_pads_activate): 
15520         When activating, do src pads first, then sink pads.
15521         When de-activating, do sink pads first, then src pads.
15522
15523 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15524
15525         * docs/gst/gstreamer-sections.txt:
15526         Add gst_index_add_associationv to the docs
15527
15528 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15529
15530         * gst/gstevent.c:
15531           Fix docs typo
15532
15533         * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15534         (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15535           Do some refactoring. Doesn't actually change functionality,
15536           but makes landing the DRAIN event easier later.
15537
15538 2006-01-19  Tim-Philipp Müller  <tim at centricular dot net>
15539
15540         * docs/pwg/advanced-scheduling.xml:
15541           Update from 0.9.x to 0.10 API and make example a bit
15542           clearer.
15543
15544 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15545
15546         * docs/gst/gstreamer-sections.txt:
15547         Add gst_buffer_(is|make)_metadata_writable methods.
15548
15549 2006-01-19  Jan Schmidt  <thaytan@mad.scientist.com>
15550
15551         * docs/design/part-sparsestreams.txt:
15552         Update sparse streams doc, hopefully for greater clarity
15553
15554 2006-01-18  Jan Schmidt  <thaytan@mad.scientist.com>
15555
15556         * docs/design/part-events.txt:
15557         Remove mention of FILLER events.
15558         Add DRAIN event.
15559
15560         * docs/design/part-sparsestreams.txt:
15561         Write some things about using NEWSEGMENT to keep sparse streams
15562         flowing.
15563
15564 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15565
15566         * gst/gstbin.c: (gst_bin_dispose):
15567           Guard gst_object_unref call against a NULL object (dispose
15568           can theoretically be called multiple times).
15569           
15570 2006-01-18  Wim Taymans  <wim@fluendo.com>
15571
15572         * gst/gstbin.c: (gst_bin_element_set_state):
15573         * gst/gstclock.c: (gst_clock_id_wait):
15574         Added some more debug info.
15575
15576         * libs/gst/base/gstadapter.c:
15577         Added more docs.
15578
15579         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15580         (gst_base_sink_do_sync), (gst_base_sink_chain):
15581         Added some comments.
15582
15583 2006-01-18  Wim Taymans  <wim@fluendo.com>
15584
15585         * tests/check/Makefile.am:
15586         * tests/check/elements/fakesink.c: (chain_async_buffer),
15587         (chain_async), (chain_async_return), (GST_START_TEST),
15588         (fakesink_suite), (main):
15589         Added fakesink test that checks prerolling and clipping
15590         behaviour.
15591
15592         * tests/check/gst/gstutils.c: (GST_START_TEST):
15593         Make check run faster so that buildbots don't timeout.
15594
15595 2006-01-18  Wim Taymans  <wim@fluendo.com>
15596
15597         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15598         (gst_base_sink_do_sync):
15599         Some cleanups.
15600         When the sink finishes blocking on the preroll buffer, it can
15601         immediatly render it instead of rendering when the next buffer
15602         arrives.
15603
15604 2006-01-18  Wim Taymans  <wim@fluendo.com>
15605
15606         * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15607         (gst_base_sink_get_property), (gst_base_sink_do_sync),
15608         (gst_base_sink_chain):
15609         Small cleanups.
15610         GST_ELEMENT_CLOCK and sync are protected with LOCK.
15611         Don't store _last_stop if the buffer is dropped.
15612
15613 2006-01-18  Tim-Philipp Müller  <tim at centricular dot net>
15614
15615         * plugins/elements/gsttypefindelement.c:
15616         (gst_type_find_element_class_init):
15617           'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15618           object method handler that sets the caps on the pad and we want
15619           that to happen before we emit the signal (fixes e.g. feeding a
15620           plain text file to decodebin).
15621
15622 2006-01-18  Christian Schaller  <Christian@fluendo.com>
15623
15624         * gst/gstplugin.c: Add MPL and Proprietary as license options
15625
15626 2006-01-18  Andy Wingo  <wingo@pobox.com>
15627
15628         * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15629         symbol was exported before, it appears this was just an oversight.
15630         Fixes #168703.
15631         Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15632
15633         * gst/gstindex.c (gst_index_add_associationv): Changed int in
15634         prototype to gint. OK since this prototype was not in the header.
15635
15636 2006-01-17  Andy Wingo  <wingo@pobox.com>
15637
15638         * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15639         registry while we remove plugins.
15640
15641         * tools/gst-inspect.c (print_element_info): Don't unref the
15642         factory arg, that should be the responsibility of whatever code
15643         received the ref. Fixes a double-free when called from
15644         print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15645         (main): Unref the factory if we have one.
15646         (print_element_list): No change -- relies on the
15647         plugin_feature_list_free to free the list of features.
15648
15649 2006-01-17  Jan Schmidt  <thaytan@mad.scientist.com>
15650
15651         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15652         (gst_buffer_make_metadata_writable):
15653         * gst/gstbuffer.h:
15654         * libs/gst/base/gstbasetransform.c:
15655         (gst_base_transform_prepare_output_buf):
15656         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15657         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15658           Replace gst_buffer_(make|is)_metadata_writable patch now
15659           that the release is out.
15660
15661 2006-01-17  Andy Wingo  <wingo@pobox.com>
15662
15663         * gst/gstregistry.c: Reflow design comment. Update so as to speak
15664         in the present tense without reference to versions.
15665
15666         * gst/gstregistry.c (gst_registry_add_plugin)
15667         (gst_registry_remove_plugin, gst_registry_remove_feature)
15668         (gst_registry_find_feature, gst_registry_get_feature_list)
15669         (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15670         (gst_registry_lookup, gst_registry_scan_path)
15671         (_gst_registry_remove_cache_plugins)
15672         (gst_registry_get_feature_list_by_plugin): Add argument
15673         validation.
15674
15675 === release 0.10.2 ===
15676
15677 2006-01-16  Thomas Vander Stichele <thomas at apestaart dot org>
15678
15679         * configure.ac:
15680           releasing 0.10.2, "If man is five"
15681
15682 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15683
15684         * gst/gstbuffer.c:
15685         * gst/gstbuffer.h:
15686         * libs/gst/base/gstbasetransform.c:
15687         (gst_base_transform_prepare_output_buf):
15688         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15689         * tests/check/gst/gstbuffer.c: (gst_test_suite):
15690           Back out patch until after the release.
15691
15692 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15693
15694         * gst/gstminiobject.c:
15695           Spelling fix in docs.
15696         * ChangeLog - remove conflict indicator
15697
15698 2006-01-16  Jan Schmidt  <thaytan@mad.scientist.com>
15699
15700         Reviewed By: Andy Wingo
15701
15702         * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15703         (gst_buffer_make_metadata_writable):
15704         * gst/gstbuffer.h:
15705           Add gst_buffer_(is|make)_metadata_writable as analogues of
15706           gst_buffer_(is|make)_writable.
15707
15708         * libs/gst/base/gstbasetransform.c:
15709         (gst_base_transform_prepare_output_buf):
15710         * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15711           Use name gst_buffer_(is|make)_metadata_writable functions.
15712
15713         * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15714           Test gst_buffer_(is|make)_metadata_writable
15715         
15716           (Closes: #324162)
15717
15718 2006-01-14  Thomas Vander Stichele  <thomas at apestaart dot org>
15719
15720         * docs/manual/Makefile.am:
15721           don't do parallel make
15722         * configure.ac:
15723           AC_SUBST HOST_CPU
15724         * win32/common/config.h.in:
15725           add generations for HOST_CPU and GST_MAJORMINOR
15726         * win32/common/config.h:
15727           commit generated result
15728
15729 2006-01-13  Tim-Philipp Müller  <tim at centricular dot net>
15730
15731         * docs/manual/appendix-integration.xml:
15732           Update GNOME integration section to use gst_init_get_option_group()
15733           instead of the old popt stuff (#322911). Also, GNOME applications
15734           should  now use gconf*sink and gconf*src instead of the old gconf
15735           helper lib we had.
15736
15737 2006-01-13  Stefan Kost  <ensonic@users.sf.net>
15738
15739
15740         * docs/gst/gstreamer-docs.sgml:
15741         * docs/gst/gstreamer-sections.txt:
15742         * docs/libs/gstreamer-libs-sections.txt:
15743           add new API entries to the docs
15744         * libs/gst/controller/Makefile.am:
15745         * libs/gst/controller/gstcontroller.c:
15746         * libs/gst/controller/gstcontroller.h:
15747         * libs/gst/controller/gstcontrollerprivate.h:
15748         * libs/gst/controller/gsthelper.c:
15749         * libs/gst/controller/gstinterpolation.c:
15750           move private structs to private header
15751         * po/README:
15752           gstreamer-0.7 -> gstreamer-0.10
15753         * tests/check/libs/struct_i386.h:
15754           remove private structs
15755
15756 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15757
15758         * plugins/indexers/Makefile.am:
15759           Fixes as part of #317048
15760
15761 2006-01-13  Thomas Vander Stichele  <thomas at apestaart dot org>
15762
15763         * plugins/indexers/Makefile.am:
15764           fix #316086 - compilation when mmap is missing
15765
15766 2006-01-12  Sebastien Moutte  <sebastien@moutte.net>
15767
15768         * libs/gst/base/gstbasesink.c:
15769           *cur = (now - base) * basesink->segment.abs_rate + time; replaced by 
15770           *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15771         * win32/common/config.h:
15772           added some defines GST_MAJORMINOR and HOST_CPU
15773         * win32/common/libgstbase.def:
15774         * win32/common/libgstreamer.def:
15775           added some exported functions.
15776
15777 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
15778
15779         * libs/gst/controller/gstcontroller.c:
15780         (gst_controlled_property_set_interpolation_mode),
15781         (gst_controlled_property_new):
15782         * libs/gst/controller/gstcontroller.h:
15783         * libs/gst/controller/gstinterpolation.c:
15784         (interpolate_none_get_string_value_array):
15785           make G_TYPE_STRING controlable
15786
15787 2006-01-12  Stefan Kost  <ensonic@users.sf.net>
15788
15789         * tools/README:
15790         * tools/gst-feedback.1.in:
15791         * tools/gst-inspect.1.in:
15792         * tools/gst-launch.1.in:
15793         * tools/gst-md5sum.1.in:
15794         * tools/gst-typefind.1.in:
15795         * tools/gst-xmlinspect.1.in:
15796         * tools/gst-xmllaunch.1.in:
15797           cleanup man-pages, remove reference to gst-register, document env-vars
15798
15799 2006-01-12  Jan Schmidt  <thaytan@mad.scientist.com>
15800
15801         * gst/gstbuffer.c: (gst_buffer_span):
15802           gst_buffer_span should copy the timestamp of the first buffer
15803           if they were both originally overlapping subbuffers of the 
15804           same parent, using the same logic as the 'slow copy' case.
15805
15806 2006-01-11  Jan Schmidt  <thaytan@mad.scientist.com>
15807
15808         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15809           Need to awaken ALL the pads when we pop a buffer, otherwise
15810           collectpads only works when there is 2 input streams.
15811
15812 2006-01-11  Stefan Kost  <ensonic@users.sf.net>
15813
15814         * docs/random/ensonic/media-device-daemon.txt:
15815           more ideas (dbus)
15816         * gst/gstbuffer.c:
15817           fix doc example, add clarification
15818         * tools/gst-launch.1.in:
15819           add initial info about GST_PLUGIN_PATH, needs more work
15820
15821 2006-01-11  Tim-Philipp Müller  <tim at centricular dot net>
15822
15823         * docs/manual/basics-bins.xml:
15824         * docs/manual/basics-elements.xml:
15825         * docs/manual/intro-basics.xml:
15826           Some more minor docs additions and updates.
15827
15828 2006-01-11  Wim Taymans  <wim@fluendo.com>
15829
15830         * docs/manual/basics-bins.xml:
15831         * docs/manual/basics-elements.xml:
15832         Some small fixes as pointed out by Ser-ver on IRC.
15833
15834 2006-01-10  Edward Hervey  <edward@fluendo.com>
15835
15836         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15837         Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15838         the single-segment mode.
15839
15840 2006-01-10  Brian Cameron  <brian dot cameron at sun dot com>
15841
15842         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15843
15844         * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15845         (gst_base_src_perform_seek), (gst_base_src_send_event),
15846         (gst_base_src_set_property), (gst_base_src_get_property),
15847         (gst_base_src_loop), (gst_base_src_start),
15848         (gst_base_src_activate_push):
15849         * libs/gst/base/gstbasesrc.h:
15850           Name (private) union; makes Sun's Forte compiler happy (#324900).
15851
15852 2006-01-09  Tim-Philipp Müller  <tim at centricular dot net>
15853
15854         * README:
15855           gst-register is gone.
15856
15857 2006-01-07  Thomas Vander Stichele  <thomas at apestaart dot org>
15858
15859         * gst/gstvalue.c: (_gst_value_initialize):
15860           make the G_TYPE_DATE instantiation work if debug is disabled
15861
15862 2006-01-06  Tim-Philipp Müller  <tim at centricular dot net>
15863
15864         * gst/gstmessage.c: (gst_message_parse_tag),
15865         (gst_message_parse_error), (gst_message_parse_warning):
15866           Don't crash when return location for error/warning debug
15867           string is NULL; add fact that return locations can be
15868           NULL to docs where appropriate.
15869
15870 2006-01-05  Wim Taymans  <wim@fluendo.com>
15871
15872         * gst/gstplugin.c: (gst_plugin_load_file):
15873         Replace strdup by g_strdup.
15874
15875 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15876
15877         * docs/pwg/advanced-types.xml:
15878           fix doc borkage
15879
15880 2006-01-05  Thomas Vander Stichele  <thomas at apestaart dot org>
15881
15882         submitted by: Abel Cheung
15883
15884         * po/LINGUAS:
15885         * po/zh_TW.po:
15886           Added Chinese (traditional) translation
15887
15888 2006-01-04  Wim Taymans  <wim@fluendo.com>
15889
15890         * docs/manual/basics-pads.xml:
15891         * docs/plugins/Makefile.am:
15892         * docs/plugins/gstreamer-plugins-docs.sgml:
15893         * docs/plugins/gstreamer-plugins-sections.txt:
15894         * docs/pwg/advanced-clock.xml:
15895         * docs/pwg/advanced-scheduling.xml:
15896         * docs/pwg/advanced-types.xml:
15897         * plugins/elements/gstfdsink.c:
15898         * plugins/elements/gstfdsrc.c:
15899         * plugins/elements/gstfdsrc.h:
15900         * plugins/elements/gstidentity.c: (gst_identity_class_init):
15901         * plugins/elements/gstidentity.h:
15902         * plugins/elements/gstqueue.h:
15903         * plugins/elements/gsttee.c:
15904         * plugins/elements/gsttee.h:
15905         * plugins/elements/gsttypefindelement.c:
15906         (gst_type_find_element_class_init):
15907         * plugins/elements/gsttypefindelement.h:
15908         Small updates to various docs.
15909         Added core plugins to docs.
15910
15911 2006-01-03  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
15912
15913         * common/gst.supp:
15914           add a suppression for liboil's uninitialized variable
15915
15916 2006-01-02  James Livingston  <jrl at ids dot org dot au>
15917
15918         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
15919
15920         * gst/gstutils.h:
15921           Add prototype for _get_type() function to GST_BOILERPLATE_FULL
15922           macro, so that gcc doesn't complain if the -Wmissing-prototypes
15923           compiler switch is being used (#325429).
15924
15925 2005-12-29  Tim-Philipp Müller  <tim at centricular dot net>
15926
15927         * gst/gstbin.c: (gst_bin_query):
15928           Disable duration query caching in bins until it gets
15929           fixed (see #324807).
15930
15931 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
15932
15933         * tools/gst-inspect.c: (print_element_properties_info):
15934           Handle properties of POINTER and BOXED type.
15935
15936 2005-12-27  Tim-Philipp Müller  <tim at centricular dot net>
15937
15938         * gst/gst.c: (init_post):
15939           Init tags stuff and some other things before loading
15940           any static plugins (there may be other static plugins
15941           than just the GStreamer ones, and they may want to
15942           register their own tags or formats or whatever, and
15943           preferably without segfaulting).
15944
15945         * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
15946           Print at least a warning in the debug logs if we drop a
15947           query just because we don't know how to adjust the value
15948           in the particular format.
15949
15950 2005-12-24  David Schleef  <ds@schleef.org>
15951
15952         * tools/gstreamer-completion:
15953           Replacement for gst-complete written in sh and sed.  Only
15954           completes names of features, but that's 90% of what I want
15955           it for.  Properties are not available in registry.xml.  (Maybe
15956           they should be...)
15957
15958 === release 0.10.1 ===
15959
15960 2005-12-23  Thomas Vander Stichele <thomas at apestaart dot org>
15961
15962         * configure.ac:
15963           releasing 0.10.1, "Nollaig chridheil"
15964
15965 2005-12-22  Tim-Philipp Müller  <tim at centricular dot net>
15966
15967         * docs/faq/cvs.xml:
15968           Add missing quote, should be make ERROR_CFLAGS="".
15969
15970 2005-12-20  Wim Taymans  <wim@fluendo.com>
15971
15972         * docs/design/part-trickmodes.txt:
15973         More documentation on trickmodes.
15974
15975 2005-12-20  Edward Hervey  <edward@fluendo.com>
15976
15977         * gst/gstcaps.c: (gst_static_caps_get_type):
15978         * gst/gstcaps.h:
15979           API addition: GST_TYPE_STATIC_CAPS
15980         Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
15981         * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
15982         * gst/gstpadtemplate.h:
15983           API addition: GST_TYPE_STATIC_PAD_TEMPLATE
15984         Added gpointer GType for GstStaticPadTemplate so we can wrap them in
15985         bindings.
15986
15987 2005-12-18  Wim Taymans  <wim@fluendo.com>
15988
15989         * libs/gst/base/gstadapter.c:
15990         * libs/gst/base/gstadapter.h:
15991         * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
15992         (gst_base_sink_get_position):
15993         * libs/gst/base/gstbasesink.h:
15994         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
15995         (gst_base_src_default_query), (gst_base_src_default_do_seek),
15996         (gst_base_src_do_seek), (gst_base_src_perform_seek),
15997         (gst_base_src_send_event), (gst_base_src_update_length),
15998         (gst_base_src_get_range), (gst_base_src_loop),
15999         (gst_base_src_start):
16000         * libs/gst/base/gstbasesrc.h:
16001         * libs/gst/base/gstbasetransform.h:
16002         * libs/gst/base/gstcollectpads.h:
16003         * libs/gst/base/gstpushsrc.c:
16004         * libs/gst/base/gstpushsrc.h:
16005         * libs/gst/dataprotocol/dataprotocol.c:
16006         * libs/gst/dataprotocol/dataprotocol.h:
16007         * libs/gst/net/gstnetclientclock.h:
16008         * libs/gst/net/gstnettimeprovider.h:
16009         Documentation updates.
16010
16011 2005-12-18  Tim-Philipp Müller  <tim at centricular dot net>
16012
16013         * docs/manual/basics-helloworld.xml:
16014           Remove superfluous closing bracket in helloworld example.
16015
16016 2005-12-17  Tim-Philipp Müller  <tim at centricular dot net>
16017
16018         * tools/gst-launch.1.in:
16019           Update gst-launch man page; add a section with useful
16020           environment variables. Fixes #323882.
16021
16022 2005-12-16  Stefan Kost  <ensonic@users.sf.net>
16023
16024         * gst/gst.c:
16025         * gst/gst_private.h:
16026           change some char* into char[]
16027
16028 2005-12-16  Wim Taymans  <wim@fluendo.com>
16029
16030         * gst/gstregistryxml.c: (load_feature):
16031         Cleanups.
16032         Don't use g_object_unref on GstObjects so that we avoid
16033         leaks on unsafe glibs.
16034
16035 2005-12-16  Wim Taymans  <wim@fluendo.com>
16036
16037         * gst/gstbin.c: (gst_bin_recalc_state):
16038         Small doc updates.
16039
16040 2005-12-16  Wim Taymans  <wim@fluendo.com>
16041
16042         * common/check.mak:
16043         Added make forever target for check.
16044
16045 2005-12-16  Thomas Vander Stichele  <thomas at apestaart dot org>
16046
16047         * gst/gst.c: (init_post):
16048           make the registry cache file HOST_CPU-dependent
16049
16050 2005-12-16  Andy Wingo  <wingo@pobox.com>
16051
16052         * plugins/elements/gstbufferstore.c
16053         (gst_buffer_store_cleared_func): Pay attention to g_list_append
16054         return value.
16055
16056         * tests/check/gst/gstobject.c
16057         (test_fake_object_name_threaded_unique): Pay attention to
16058         g_list_sort return value.
16059
16060 2005-12-16  Tim-Philipp Müller  <tim at centricular dot net>
16061
16062         * tools/gst-feedback-m.m:
16063           Update for 0.9/0.10 (fixes #323870).
16064
16065 2005-12-15  Tim-Philipp Müller  <tim at centricular dot net>
16066
16067         * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16068           Fix lcopy for mini objects, the mini object needs to be ref'ed.
16069           
16070         * tests/check/gst/gstminiobject.c: (my_foo_init),
16071         (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16072         (test_value_collection), (gst_mini_object_suite):
16073           Add test to ensure refcounts end up as expected when passing
16074           GstMiniObjects through g_object_get() and g_object_set().
16075
16076 2005-12-14  Julien MOUTTE  <julien@moutte.net>
16077
16078         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16079         (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16080         (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16081         of collectpads. This version removes a lot of races without
16082         touching API/ABI. Yay !
16083
16084 2005-12-14  Jan Schmidt  <thaytan@mad.scientist.com>
16085
16086         * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16087           Don't allow activation of a srcpad in pull_range if it has no
16088           getrange function.
16089           Change some debug statements to be a little clearer
16090
16091         * plugins/elements/gsttypefindelement.c:
16092         (gst_type_find_handle_src_query):
16093           Check that we have a peer before executing queries thereupon.
16094
16095         * tests/examples/metadata/read-metadata.c: (message_loop):
16096           Use gst_bus_pop instead of gst_bus_poll when we just want it to
16097           immediately return us any available message with 0 timeout.
16098
16099 2005-12-12  Michael Smith  <msmith@fluendo.com>
16100
16101         * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16102           Don't unref factories after calling them.
16103         * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16104         * plugins/elements/gsttypefindelement.c:
16105         (gst_type_find_element_chain):
16106           Free lists of factories after using them. Fixing typefinding memory
16107           leaks.
16108
16109 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16110
16111         * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16112         (gst_plugin_feature_load):
16113           more meaningful debug output
16114         * configure.ac:
16115         * tests/Makefile.am:
16116         * tests/old/examples/Makefile.am:
16117           make make distcheck happy again
16118
16119 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16120
16121         * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16122           Catch the special case where we are operating chain-based,
16123           but the downstream peer pad has no chain function. Emit a
16124           custom error message in this case instead of letting the
16125           core generate one implying that this is some sort of core
16126           bug. It's not, it just means that whatever got plugged
16127           into the pipeline downstream when we announced the type
16128           can only operate pull-based, while our source can only
16129           operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16130           Error string has not been marked for translation yet, as
16131           it probably needs some more work first.
16132
16133         (gst_type_find_element_get_best_possibility):
16134           Add helper function to find the best of all available
16135           found possibilities that qualify given the min. threshold.
16136
16137         (gst_type_find_element_handle_event):
16138           Fix the case where we get an EOS while still in TYPEFIND
16139           mode (we want to chose the best of all possible types,
16140           not just the first type that happens to be in our unsorted
16141           list of possible types).
16142
16143         (gst_type_find_element_chain):
16144           Make sure we return GST_FLOW_ERROR when we errored out
16145           in stop_typefinding(); also, don't just find the best of
16146           all found type entries and then use the last examined
16147           type entry, but actually use the best entry.
16148
16149 2005-12-12  Tim-Philipp Müller  <tim at centricular dot net>
16150
16151         * tests/examples/typefind/typefind.c: (type_found):
16152         * tests/examples/xml/runxml.c: (xml_loaded):
16153           More gcc4 fixes and a mem leak fix.
16154
16155 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16156
16157         * tests/examples/xml/createxml.c: (object_saved):
16158           gcc 4 fixes
16159
16160 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16161
16162         * tests/Makefile.am:
16163           enable the examples even more
16164
16165 2005-12-12  Andy Wingo  <wingo@pobox.com>
16166
16167         * libs/gst/net/gstnettimeprovider.c
16168         (gst_net_time_provider_class_init, gst_net_time_provider_init)
16169         (gst_net_time_provider_set_property)
16170         (gst_net_time_provider_get_property):
16171         API addition: Export "active" as a GObject property.
16172         (gst_net_time_provider_thread): Only respond to time queries if
16173         the time provider is active.
16174
16175         * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16176         NetTimeProvider, preserving binary compat.
16177
16178 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16179
16180         * tests/examples/controller/audio-example.c: (main):
16181         * tests/examples/launch/Makefile.am:
16182           convert comments again
16183
16184 2005-12-12  Wim Taymans  <wim@fluendo.com>
16185
16186         * libs/gst/base/gstpushsrc.c:
16187         Fix typo.
16188
16189 2005-12-12  Wim Taymans  <wim@fluendo.com>
16190
16191         * docs/libs/gstreamer-libs-sections.txt:
16192         Added new symbol to docs.
16193
16194         * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16195         (gst_base_src_init), (gst_base_src_set_format),
16196         (gst_base_src_default_query), (gst_base_src_query),
16197         (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16198         (gst_base_src_perform_seek), (gst_base_src_send_event),
16199         (gst_base_src_default_event), (gst_base_src_event_handler),
16200         (gst_base_src_set_property), (gst_base_src_get_property),
16201         (gst_base_src_wait), (gst_base_src_do_sync),
16202         (gst_base_src_update_length), (gst_base_src_get_range),
16203         (gst_base_src_check_get_range), (gst_base_src_loop),
16204         (gst_base_src_default_negotiate), (gst_base_src_start),
16205         (gst_base_src_activate_push), (gst_base_src_activate_pull),
16206         (gst_base_src_change_state):
16207         * libs/gst/base/gstbasesrc.h:
16208         Implement seeking to other formats than _BYTES.
16209         Implement more seeking methods correctly.
16210         Doc updates.
16211         Added query vmethod.
16212         Added do_seek vmethod to make life easier for subclasses
16213         when seeking.
16214         API addition: gst_base_src_set_format()
16215
16216 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16217
16218         * tests/examples/Makefile.am:
16219           added that too
16220
16221 2005-12-12  Stefan Kost  <ensonic@users.sf.net>
16222
16223         * configure.ac:
16224         * docs/random/ensonic/media-device-daemon.txt:
16225         * tests/examples/controller/.cvsignore:
16226         * tests/examples/controller/Makefile.am:
16227         * tests/examples/controller/audio-example.c: (main):
16228         * tests/examples/helloworld/.cvsignore:
16229         * tests/examples/helloworld/Makefile.am:
16230         * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16231         * tests/examples/launch/.cvsignore:
16232         * tests/examples/launch/Makefile.am:
16233         * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16234         * tests/examples/metadata/.cvsignore:
16235         * tests/examples/metadata/Makefile.am:
16236         * tests/examples/metadata/read-metadata.c: (message_loop),
16237         (make_pipeline), (print_tag), (main):
16238         * tests/examples/queue/.cvsignore:
16239         * tests/examples/queue/Makefile.am:
16240         * tests/examples/queue/queue.c: (event_loop), (main):
16241         * tests/examples/typefind/.cvsignore:
16242         * tests/examples/typefind/Makefile.am:
16243         * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16244         (main):
16245         * tests/examples/xml/.cvsignore:
16246         * tests/examples/xml/Makefile.am:
16247         * tests/examples/xml/createxml.c: (object_saved), (main):
16248         * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16249         * tests/old/examples/Makefile.am:
16250         * tests/old/examples/TODO:
16251         * tests/old/examples/controller/.cvsignore:
16252         * tests/old/examples/controller/Makefile.am:
16253         * tests/old/examples/controller/audio-example.c:
16254         * tests/old/examples/helloworld/.cvsignore:
16255         * tests/old/examples/helloworld/Makefile.am:
16256         * tests/old/examples/helloworld/helloworld.c:
16257         * tests/old/examples/launch/.cvsignore:
16258         * tests/old/examples/launch/Makefile.am:
16259         * tests/old/examples/launch/mp3parselaunch.c:
16260         * tests/old/examples/launch/mp3play:
16261         * tests/old/examples/manual/Makefile.am:
16262         * tests/old/examples/metadata/Makefile.am:
16263         * tests/old/examples/metadata/read-metadata.c:
16264         * tests/old/examples/queue/.cvsignore:
16265         * tests/old/examples/queue/Makefile.am:
16266         * tests/old/examples/queue/queue.c:
16267         * tests/old/examples/typefind/.cvsignore:
16268         * tests/old/examples/typefind/Makefile.am:
16269         * tests/old/examples/typefind/typefind.c:
16270         * tests/old/examples/xml/.cvsignore:
16271         * tests/old/examples/xml/Makefile.am:
16272         * tests/old/examples/xml/createxml.c:
16273         * tests/old/examples/xml/runxml.c:
16274           applied some simple fixing to some examples
16275           re-enabled the working examples
16276
16277 2005-12-12  Wim Taymans  <wim@fluendo.com>
16278
16279         * gst/gstsegment.c: (gst_segment_init),
16280         (gst_segment_set_last_stop), (gst_segment_set_seek),
16281         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16282         (gst_segment_to_running_time):
16283         Added more documentation.
16284         Make sure the last_pos value is updated properly.
16285         Make sure to_stream_time and to_running_time don't
16286         operate on wrong values.
16287
16288         * tests/check/gst/gstsegment.c: (GST_START_TEST):
16289         Update check.
16290
16291 2005-12-12  Michael Smith  <msmith@fluendo.com>
16292
16293         * plugins/elements/gsttypefindelement.c: (free_entry),
16294         (gst_type_find_element_chain):
16295           Now that we're not leaking factories, make sure we keep references
16296           to them while we need them.
16297
16298 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16299
16300         * tests/check/gst/struct_i386.h:
16301           ifdef out the XML structs
16302
16303 2005-12-12  Thomas Vander Stichele  <thomas at apestaart dot org>
16304
16305         * gst/gstvalue.c: (gst_value_transform_double_fraction):
16306           floor is not needed, F is always positive; this obviates the
16307           need for adding -lm when building without libxml
16308
16309 2005-12-12  Wim Taymans  <wim@fluendo.com>
16310
16311         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16312         Take current playback rate into account when reporting
16313         the position.
16314
16315 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16316
16317         * docs/manual/mime-world.fig:
16318           Let's try this again, this time with a file that is
16319           actually in XFig format.
16320
16321 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16322
16323         * docs/manual/mime-world.fig:
16324           Add audioconvert element to diagram so that it
16325           matches the text and the code (fixes #319526).
16326
16327 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16328
16329         * docs/pwg/building-chainfn.xml:
16330         * docs/pwg/building-pads.xml:
16331         * docs/pwg/building-state.xml:
16332         * docs/pwg/other-source.xml:
16333           Update state change stuff for 0.10 (fixes #322969).
16334
16335 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16336
16337         * docs/manual/advanced-dataaccess.xml:
16338         * docs/manual/appendix-checklist.xml:
16339         * docs/manual/appendix-programs.xml:
16340         * docs/manual/basics-pads.xml:
16341         * docs/manual/highlevel-components.xml:
16342         * docs/manual/manual.xml:
16343           Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16344           add converters in front of pipelines; remove curly
16345           brackets for threads stuff, they no longer exist; use
16346           GST_TYPE_FRACTION for framerates; update some pieces of
16347           code to 0.10, but there's plenty more to do.
16348
16349         * docs/manual/appendix-porting.xml:
16350           Expand on asynchroneous state changes; s/0.9/0.10/;
16351           mention disappearance of gst_init_get_popt_table()
16352           (fixes #322916).
16353
16354 2005-12-11  Tim-Philipp Müller  <tim at centricular dot net>
16355
16356         * docs/faq/using.xml:
16357           Spider no longer exists, and neither does gst-launch-ext.
16358           Update examples to use decodebin and playbin and put
16359           converters in front of sinks (fixes #323726).
16360
16361 2005-12-09  Michael Smith  <msmith@fluendo.com>
16362
16363         * plugins/elements/gsttypefindelement.c: (find_peek),
16364         (gst_type_find_element_chain):
16365           Fix leaking element factories in typefinding.
16366           Fix problem where we forgot about a probable type on non-seekable
16367           files, and thus later mis-typefound it.
16368
16369 2005-12-09  Michael Smith  <msmith@fluendo.com>
16370
16371         * common/m4/gst-makecontext.m4:
16372         * common/m4/gst-mcsc.m4:
16373         * configure.ac:
16374         * win32/common/config.h:
16375         * win32/common/config.h.in:
16376           Remove makecontext stuff; not used in 0.10 and causes problems on
16377           HPUX according to bug #322441
16378
16379 2005-12-07  Wim Taymans  <wim@fluendo.com>
16380
16381         * tests/check/Makefile.am:
16382         * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16383         (main):
16384         * tests/check/libs/struct_i386.h:
16385         Added ABI check for libs
16386
16387 2005-12-07  Wim Taymans  <wim@fluendo.com>
16388
16389         * tests/check/Makefile.am:
16390         And add the struct_i386.h to dist.
16391
16392 2005-12-07  Wim Taymans  <wim@fluendo.com>
16393
16394         * tests/check/Makefile.am:
16395         * tests/check/gst/.cvsignore:
16396         * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16397         (main):
16398         * tests/check/gst/struct_i386.h:
16399         Added check for ABI compatibility.
16400
16401 2005-12-07  Wim Taymans  <wim@fluendo.com>
16402
16403         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16404         (gst_fake_src_get_times), (gst_fake_src_create):
16405         Fix broken sync option, fixes #323259
16406
16407 2005-12-07  Wim Taymans  <wim@fluendo.com>
16408
16409         * gst/gstbuffer.c:
16410         Small docs update.
16411
16412         * gst/gstcaps.c: (gst_caps_is_equal):
16413         Don't assert on NULL <--> X. Fixes #323260
16414
16415         * gst/gstminiobject.c: (gst_mini_object_replace):
16416         If we're doing atomic operations, we might just as well use
16417         the proper way to get an atomic pointer.
16418
16419         * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16420         Clean up debugging.
16421
16422 2005-12-07  Michael Smith  <msmith@fluendo.com>
16423
16424         * gst/parse/grammar.y:
16425           Remove handling of { } for threads.
16426
16427 2005-12-06  David Schleef  <ds@schleef.org>
16428
16429         * libs/gst/base/gstbasetransform.c: speling fix.
16430
16431 2005-12-06  Thomas Vander Stichele  <thomas at apestaart dot org>
16432
16433         * docs/libs/tmpl/gstdataprotocol.sgml:
16434         * docs/random/omega/testing/gstobject.c:
16435         * gst/gst.c:
16436         * gst/gstclock.c:
16437         * gst/gstelement.c:
16438         * gst/gstelementfactory.c:
16439         * gst/gsterror.c:
16440         * gst/gstevent.c:
16441         * gst/gstghostpad.c:
16442         * gst/gstinfo.c:
16443         * gst/gstpadtemplate.c:
16444         * gst/gstregistryxml.c:
16445         * gst/gsttaglist.c:
16446         * gst/gsttagsetter.c:
16447         * gst/gsttypefind.c:
16448         * gst/gstvalue.c:
16449         * libs/gst/base/gstbasesrc.c:
16450         * libs/gst/net/gstnetclientclock.c:
16451         * libs/gst/net/gstnettimeprovider.c:
16452         * plugins/elements/gstfakesrc.c:
16453         * plugins/elements/gstfdsrc.c:
16454         * plugins/elements/gstfilesrc.c:
16455         * plugins/elements/gstidentity.c:
16456         * plugins/elements/gstqueue.c:
16457         * plugins/elements/gsttypefindelement.c:
16458         * plugins/indexers/gstfileindex.c:
16459         * plugins/indexers/gstmemindex.c:
16460         * tests/check/gst/gsttag.c:
16461         * tests/old/examples/cutter/cutter.c:
16462         * tests/old/examples/mixer/mixer.c:
16463         * tests/old/examples/xml/runxml.c: (main):
16464         * tests/old/testsuite/caps/normalisation.c:
16465         * tests/old/testsuite/debug/global.c:
16466         * tests/old/testsuite/parse/parse1.c:
16467         * tools/gst-xmlinspect.c:
16468         * win32/common/dirent.c:
16469           expand tabs
16470
16471 === release 0.10.0 ===
16472
16473 2005-12-05  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16474
16475         * configure.ac:
16476           releasing 0.10.0, "Maroilles"
16477
16478 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16479
16480         submitted by: Funda Wang <fundawang@linux.net.cn>
16481
16482         * po/LINGUAS:
16483         * po/zh_CN.po:
16484           added Chinese (Traditional) translation
16485
16486 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16487
16488         * docs/gst/gstreamer-sections.txt:
16489         * docs/libs/tmpl/gstdataprotocol.sgml:
16490         * docs/random/thomasvs/TODO:
16491         * gst/gstutils.c:
16492         * gst/gstutils.h:
16493           fix docs
16494
16495 2005-12-05  Andy Wingo  <wingo@pobox.com>
16496
16497         patch by: Wim Taymans <wim@fluendo.com>
16498
16499         * libs/gst/base/gstbasetransform.c
16500         (gst_base_transform_prepare_output_buf)
16501         (gst_base_transform_buffer_alloc):
16502         * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16503         alloc_buffer_and_set_caps.
16504
16505         * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16506         set_caps on the source pad.
16507         (gst_pad_alloc_buffer_and_set_caps): New function, does what
16508         alloc_buffer used to do. Fixes #322874.
16509
16510         * docs/gst/gstreamer-sections.txt: 
16511         * docs/design/part-negotiation.txt: 
16512         * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16513         changes.
16514
16515 2005-12-05  Thomas Vander Stichele  <thomas at apestaart dot org>
16516
16517         patch by: Sebastien Moutte
16518
16519         * win32/MANIFEST:
16520         * win32/common/config.h.in:
16521         * win32/vs6/libgstcontroller.dsp:
16522           win32 build fixes
16523
16524 2005-12-05  Wim Taymans  <wim@fluendo.com>
16525
16526         * gst/gstcaps.c: (gst_caps_is_equal):
16527         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16528         (gst_fake_src_create):
16529         Back out previous code changes, leave doc updates, file bugs 
16530         instead. 
16531
16532 2005-12-05  Wim Taymans  <wim@fluendo.com>
16533
16534         * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16535         (gst_fake_src_get_times), (gst_fake_src_create):
16536         * plugins/elements/gstfakesrc.h:
16537         Fix broken sync code.
16538
16539 2005-12-05  Wim Taymans  <wim@fluendo.com>
16540
16541         * gst/gstcaps.c: (gst_caps_is_equal):
16542         Comparing NULL against !NULL yields different caps, not a
16543         failure.
16544
16545 2005-12-05  Wim Taymans  <wim@fluendo.com>
16546
16547         * gst/gstpipeline.c:
16548         Fix small typo in docs.
16549
16550 2005-12-05  Andy Wingo  <wingo@pobox.com>
16551
16552         patch by: Thomas Vander Stichele  <thomas at apestaart dot org>
16553
16554         * gst/gst.c (init_post): remove hard-coded 0.9 location for
16555         registries/plugins with a MAJORMINOR one.
16556         (plugin_desc): Rename library from gstcoreleements to
16557         staticelements. Fixes #323222.
16558
16559 2005-12-05  Tim-Philipp Müller  <tim at centricular dot net>
16560
16561         * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16562           Change debug category to 'collectpads' from 'collect_pads'
16563           (fixes #323250).
16564
16565 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16566
16567         patch by: Sebastien Moutte
16568
16569         * libs/gst/controller/gstinterpolation.c:
16570           use convert function for uint64/double
16571         * win32/vs6/libgstcontroller.dsp:
16572           link to GLib
16573
16574 2005-12-04  Thomas Vander Stichele  <thomas at apestaart dot org>
16575
16576         * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16577         (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16578         * gst/gstutils.h:
16579         * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16580           add tests that seem to show that the guint64/gdouble conversions
16581           are correct.
16582
16583 2005-12-02  Wim Taymans  <wim@fluendo.com>
16584
16585         * gst/gstregistry.c: (gst_registry_add_path):
16586         * gst/gstregistry.h:
16587         * gst/gstregistryxml.c:
16588         Fix docs again.
16589
16590 2005-12-02  Wim Taymans  <wim@fluendo.com>
16591
16592         * gst/gstutils.c: (gst_util_uint64_scale_int64),
16593         (gst_util_uint64_scale_int):
16594         Small cleanup.
16595
16596         * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16597         Add debug log line.
16598
16599         * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16600         Add FIXME.
16601
16602 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16603
16604         * win32/MANIFEST:
16605         * win32/common/config.h:
16606         * win32/vs6/gstreamer.dsw:
16607         * win32/vs6/libgstcoreelements.dsp:
16608         * win32/vs6/libgstelements.dsp:
16609           renamed core elements plugin
16610
16611 2005-12-02  Thomas Vander Stichele  <thomas at apestaart dot org>
16612
16613         * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16614         (get_candidates):
16615           do piece-wise major/minor comparison so 0.9 < 0.10
16616           also allow .exe extensions for tools
16617
16618 2005-12-02  Michael Smith  <msmith@fluendo.com>
16619
16620         * gst/gst.c:
16621           Escape a % to make gtkdoc happier; bug 322958.
16622
16623 === release 0.9.7 ===
16624
16625 2005-12-01  Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16626
16627         * configure.ac:
16628           releasing 0.9.7, "My Dog Has No Nose"
16629
16630 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16631
16632         * common/gst-xmlinspect.py:
16633         * configure.ac:
16634         * docs/libs/tmpl/gstdataprotocol.sgml:
16635         * docs/random/release:
16636         * po/af.po:
16637         * po/az.po:
16638         * po/bg.po:
16639         * po/ca.po:
16640         * po/cs.po:
16641         * po/de.po:
16642         * po/en_GB.po:
16643         * po/fr.po:
16644         * po/it.po:
16645         * po/nb.po:
16646         * po/nl.po:
16647         * po/ru.po:
16648         * po/sq.po:
16649         * po/sr.po:
16650         * po/sv.po:
16651         * po/tr.po:
16652         * po/uk.po:
16653         * po/vi.po:
16654         * win32/common/config.h:
16655         * win32/common/config.h.in:
16656         * win32/vs6/gst_inspect.dsp:
16657         * win32/vs6/gst_launch.dsp:
16658         * win32/vs6/libgstbase.dsp:
16659         * win32/vs6/libgstelements.dsp:
16660         * win32/vs6/libgstreamer.dsp:
16661         * win32/vs7/GStreamer.vcproj:
16662         * win32/vs7/gst-inspect.vcproj:
16663         * win32/vs7/gst-launch.vcproj:
16664         * win32/vs7/libgstbase.vcproj:
16665           bump GST_MAJORMINOR to 0.10
16666           reset libtool version
16667
16668 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16669
16670         * po/LINGUAS:
16671         * po/bg.po:
16672           Added Bulgarian translation by (Alexander Shopov)
16673
16674 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16675
16676         * tests/check/gst/gstplugin.c:
16677           fix test
16678
16679 2005-12-01  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16680
16681         * common/gst-xmlinspect.py:
16682         * common/gtk-doc-plugins.mak:
16683         * configure.ac:
16684         * docs/Makefile.am:
16685         * docs/gst/Makefile.am:
16686         * docs/gst/gstreamer-docs.sgml:
16687         * docs/gst/gstreamer-sections.txt:
16688         * docs/gst/gstreamer.types:
16689         * docs/gst/gstreamer.types.in:
16690         * docs/plugins/Makefile.am:
16691         * docs/plugins/gstreamer-plugins-docs.sgml:
16692         * docs/plugins/gstreamer-plugins-sections.txt:
16693         * docs/plugins/gstreamer-plugins.types:
16694         * docs/plugins/inspect.stamp:
16695         * docs/plugins/inspect/plugin-coreelements.xml:
16696         * docs/plugins/inspect/plugin-coreindexers.xml:
16697         * docs/plugins/scanobj-build.stamp:
16698         * gstreamer.spec.in:
16699         * plugins/elements/Makefile.am:
16700         * plugins/elements/gstelements.c:
16701         * plugins/elements/gstfakesink.c:
16702         * plugins/elements/gstfakesrc.c:
16703         * plugins/elements/gstfilesink.c:
16704         * plugins/elements/gstfilesrc.c:
16705         * plugins/elements/gstqueue.c:
16706         * plugins/indexers/Makefile.am:
16707         * plugins/indexers/gstindexers.c:
16708           document core plugins in a separate document just like all the
16709           others
16710           rename these plugins to something starting with core
16711
16712 2005-12-01  Andy Wingo  <wingo@pobox.com>
16713
16714         * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16715         padding here before, but it missed the commit.
16716
16717 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16718
16719         * libs/gst/controller/gstinterpolation.c:
16720           whitespace prices have crashed, we should feel free to use some now
16721           use gst_guint64_to_gdouble
16722
16723 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16724
16725         * libs/gst/controller/gstcontroller.c:
16726         * libs/gst/controller/gsthelper.c:
16727         * libs/gst/controller/gstinterpolation.c:
16728         * libs/gst/controller/lib.c:
16729           wrap config.h include
16730
16731 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16732
16733         * docs/gst/gstreamer-sections.txt:
16734           update docs
16735
16736 2005-12-01  Thomas Vander Stichele  <thomas at apestaart dot org>
16737
16738         * plugins/elements/gstelements.c:
16739         * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16740         (gst_fd_sink__class_init), (gst_fd_sink__init),
16741         (gst_fd_sink__chain), (gst_fd_sink__set_property),
16742         (gst_fd_sink__get_property):
16743         * plugins/elements/gstfdsink.h:
16744         * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16745         (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16746         (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16747         (gst_fd_src_unlock), (gst_fd_src_set_property),
16748         (gst_fd_src_get_property), (gst_fd_src_create),
16749         (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16750         (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16751         (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16752         (gst_fd_src_uri_handler_init):
16753         * plugins/elements/gstfdsrc.h:
16754         * plugins/elements/gstqueue.c: (gst_queue_get_type):
16755           more anal cleanup
16756
16757 2005-11-30  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
16758
16759         * docs/gst/Makefile.am:
16760         * docs/gst/gstreamer.types.in:
16761         * gst/Makefile.am:
16762           fix the docs build
16763
16764 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16765
16766         * configure.ac:
16767         * gst/Makefile.am:
16768         * gst/gst.c:
16769         * gst/gstplugin.h:
16770         * gst/gstregistry.h:
16771         * tests/benchmarks/complexity.c:
16772         * tests/benchmarks/mass-elements.c:
16773         * tests/check/Makefile.am:
16774         * tools/Makefile.am:
16775         * tools/gst-inspect.c:
16776         * tools/gst-xmlinspect.c:
16777           various fixes to make
16778           --disable-nls --disable-registry --disable-loadsave
16779           --disable-parse --disable-gst-debug
16780           work and get the core .so down to 360444 bytes after stripping
16781
16782 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16783
16784         * Makefile.am:
16785         * configure.ac:
16786           descend into tests
16787         * docs/random/thomasvs/TODO:
16788         * tests/Makefile.am:
16789         * tests/README:
16790           add a README
16791
16792 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16793
16794         * win32/GStreamer.vcproj:
16795         * win32/MANIFEST:
16796         * win32/Makefile:
16797         * win32/Makefile.inspect:
16798         * win32/Makefile.launch:
16799         * win32/Makefile.register:
16800         * win32/README.txt:
16801         * win32/gst-inspect.vcproj:
16802         * win32/gst-launch.vcproj:
16803         * win32/gst-register.vcproj:
16804         * win32/gstelements.vcproj:
16805         * win32/gstgetbits.def:
16806         * win32/gstgetbits.vcproj:
16807         * win32/gstreamer-dbg.def:
16808         * win32/gstreamer.def:
16809         * win32/libgstbase.def:
16810         * win32/libgstbase.vcproj:
16811         * win32/link_oldruntime.c:
16812         * win32/mman.c:
16813         * win32/mman.h:
16814         * win32/mman.inl:
16815         * win32/msvc71.sln:
16816           move even more stuff, win32/ is nice and clean now
16817
16818 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16819
16820         * libs/gst/control/.cvsignore:
16821         * win32/MANIFEST:
16822         * win32/config.h:
16823         * win32/dirent.c:
16824         * win32/dirent.h:
16825         * win32/gstbytestream.def:
16826         * win32/gstbytestream.vcproj:
16827         * win32/gstconfig.h:
16828         * win32/gstenumtypes.c:
16829         * win32/gstenumtypes.h:
16830         * win32/gstoptimalscheduler.vcproj:
16831         * win32/gstversion.h:
16832         * win32/gtchar.h:
16833         * win32/testsuite/bins.vcproj:
16834         * win32/testsuite/bytestream.vcproj:
16835         * win32/testsuite/caps.vcproj:
16836         * win32/testsuite/cleanup.vcproj:
16837         * win32/testsuite/clock.vcproj:
16838         * win32/testsuite/debug.vcproj:
16839         * win32/testsuite/dlopen.vcproj:
16840         * win32/testsuite/dynparams.vcproj:
16841         * win32/testsuite/elements.vcproj:
16842         * win32/testsuite/ghostpads.vcproj:
16843         * win32/testsuite/indexers.vcproj:
16844         * win32/testsuite/negotiation.vcproj:
16845         * win32/testsuite/parse.vcproj:
16846         * win32/testsuite/plugin.vcproj:
16847         * win32/testsuite/refcounting.vcproj:
16848         * win32/testsuite/schedulers.vcproj:
16849         * win32/testsuite/states.vcproj:
16850         * win32/testsuite/tags.vcproj:
16851         * win32/testsuite/threads.vcproj:
16852           remove old win32 stuff that isn't maintained and should be
16853           reorganized
16854
16855 2005-11-30  Andy Wingo  <wingo@pobox.com>
16856
16857         * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16858         loading the gst.interfaces python module bork.
16859
16860         * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16861         available since GLib 2.2. Fixes #318031.
16862
16863 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
16864
16865         * Makefile.am:
16866         * check/.cvsignore:
16867         * check/Makefile.am:
16868         * check/elements/.cvsignore:
16869         * check/elements/fakesrc.c:
16870         * check/elements/fdsrc.c:
16871         * check/elements/identity.c:
16872         * check/generic/.cvsignore:
16873         * check/generic/states.c:
16874         * check/gst-libs/.cvsignore:
16875         * check/gst-libs/controller.c:
16876         * check/gst-libs/gdp.c:
16877         * check/gst/.cvsignore:
16878         * check/gst/capslist.h:
16879         * check/gst/gst.c:
16880         * check/gst/gstbin.c:
16881         * check/gst/gstbuffer.c:
16882         * check/gst/gstbus.c:
16883         * check/gst/gstcaps.c:
16884         * check/gst/gstelement.c:
16885         * check/gst/gstevent.c:
16886         * check/gst/gstghostpad.c:
16887         * check/gst/gstiterator.c:
16888         * check/gst/gstmessage.c:
16889         * check/gst/gstminiobject.c:
16890         * check/gst/gstobject.c:
16891         * check/gst/gstpad.c:
16892         * check/gst/gstpipeline.c:
16893         * check/gst/gstplugin.c:
16894         * check/gst/gstsegment.c:
16895         * check/gst/gststructure.c:
16896         * check/gst/gstsystemclock.c:
16897         * check/gst/gsttag.c:
16898         * check/gst/gstutils.c:
16899         * check/gst/gstvalue.c:
16900         * check/net/.cvsignore:
16901         * check/net/gstnetclientclock.c:
16902         * check/net/gstnettimeprovider.c:
16903         * check/pipelines/.cvsignore:
16904         * check/pipelines/cleanup.c:
16905         * check/pipelines/simple_launch_lines.c:
16906         * check/pipelines/stress.c:
16907         * check/states/.cvsignore:
16908         * check/states/sinks.c:
16909         * configure.ac:
16910         * examples/Makefile.am:
16911         * examples/appreader/.cvsignore:
16912         * examples/appreader/Makefile.am:
16913         * examples/appreader/appreader.c:
16914         * examples/controller/.cvsignore:
16915         * examples/controller/Makefile.am:
16916         * examples/controller/audio-example.c:
16917         * examples/cutter/.cvsignore:
16918         * examples/cutter/Makefile.am:
16919         * examples/cutter/cutter.c:
16920         * examples/cutter/cutter.h:
16921         * examples/events/Makefile.am:
16922         * examples/events/seek.c:
16923         * examples/helloworld/.cvsignore:
16924         * examples/helloworld/Makefile.am:
16925         * examples/helloworld/helloworld.c:
16926         * examples/helloworld2/.cvsignore:
16927         * examples/helloworld2/Makefile.am:
16928         * examples/helloworld2/helloworld2.c:
16929         * examples/launch/.cvsignore:
16930         * examples/launch/Makefile.am:
16931         * examples/launch/mp3parselaunch.c:
16932         * examples/launch/mp3play:
16933         * examples/manual/.cvsignore:
16934         * examples/manual/Makefile.am:
16935         * examples/manual/extract.pl:
16936         * examples/metadata/Makefile.am:
16937         * examples/metadata/read-metadata.c:
16938         * examples/mixer/.cvsignore:
16939         * examples/mixer/Makefile.am:
16940         * examples/mixer/mixer.c:
16941         * examples/mixer/mixer.h:
16942         * examples/pingpong/.cvsignore:
16943         * examples/pingpong/Makefile.am:
16944         * examples/pingpong/pingpong.c:
16945         * examples/plugins/.cvsignore:
16946         * examples/plugins/Makefile.am:
16947         * examples/plugins/example.c:
16948         * examples/plugins/example.h:
16949         * examples/pwg/.cvsignore:
16950         * examples/pwg/Makefile.am:
16951         * examples/pwg/extract.pl:
16952         * examples/queue/.cvsignore:
16953         * examples/queue/Makefile.am:
16954         * examples/queue/queue.c:
16955         * examples/queue2/.cvsignore:
16956         * examples/queue2/Makefile.am:
16957         * examples/queue2/queue2.c:
16958         * examples/queue3/.cvsignore:
16959         * examples/queue3/Makefile.am:
16960         * examples/queue3/queue3.c:
16961         * examples/queue4/.cvsignore:
16962         * examples/queue4/Makefile.am:
16963         * examples/queue4/queue4.c:
16964         * examples/retag/.cvsignore:
16965         * examples/retag/Makefile.am:
16966         * examples/retag/retag.c:
16967         * examples/retag/transcode.c:
16968         * examples/thread/.cvsignore:
16969         * examples/thread/Makefile.am:
16970         * examples/thread/thread.c:
16971         * examples/typefind/.cvsignore:
16972         * examples/typefind/Makefile.am:
16973         * examples/typefind/typefind.c:
16974         * examples/xml/.cvsignore:
16975         * examples/xml/Makefile.am:
16976         * examples/xml/createxml.c:
16977         * examples/xml/runxml.c:
16978         * tests/Makefile.am:
16979         * tests/check/Makefile.am:
16980         * testsuite/.cvsignore:
16981         * testsuite/Makefile.am:
16982         * testsuite/Rules:
16983         * testsuite/caps/.cvsignore:
16984         * testsuite/caps/Makefile.am:
16985         * testsuite/caps/app_fixate.c:
16986         * testsuite/caps/audioscale.c:
16987         * testsuite/caps/caps.c:
16988         * testsuite/caps/caps.h:
16989         * testsuite/caps/caps_strings:
16990         * testsuite/caps/compatibility.c:
16991         * testsuite/caps/deserialize.c:
16992         * testsuite/caps/enumcaps.c:
16993         * testsuite/caps/eratosthenes.c:
16994         * testsuite/caps/filtercaps.c:
16995         * testsuite/caps/fixed.c:
16996         * testsuite/caps/fraction-convert.c:
16997         * testsuite/caps/fraction-multiply-and-zero.c:
16998         * testsuite/caps/intersect2.c:
16999         * testsuite/caps/intersection.c:
17000         * testsuite/caps/normalisation.c:
17001         * testsuite/caps/random.c:
17002         * testsuite/caps/renegotiate.c:
17003         * testsuite/caps/sets.c:
17004         * testsuite/caps/simplify.c:
17005         * testsuite/caps/string-conversions.c:
17006         * testsuite/caps/structure.c:
17007         * testsuite/caps/subtract.c:
17008         * testsuite/caps/union.c:
17009         * testsuite/debug/.cvsignore:
17010         * testsuite/debug/Makefile.am:
17011         * testsuite/debug/category.c:
17012         * testsuite/debug/commandline.c:
17013         * testsuite/debug/global.c:
17014         * testsuite/debug/output.c:
17015         * testsuite/debug/printf_extension.c:
17016         * testsuite/dlopen/.cvsignore:
17017         * testsuite/dlopen/Makefile.am:
17018         * testsuite/dlopen/dlopen_gst.c:
17019         * testsuite/dlopen/loadgst.c:
17020         * testsuite/elements/.cvsignore:
17021         * testsuite/elements/Makefile.am:
17022         * testsuite/elements/gst-inspect-check.in:
17023         * testsuite/elements/struct_i386.h:
17024         * testsuite/elements/struct_size.c:
17025         * testsuite/indexers/.cvsignore:
17026         * testsuite/indexers/Makefile.am:
17027         * testsuite/indexers/cache1.c:
17028         * testsuite/indexers/indexdump.c:
17029         * testsuite/parse/.cvsignore:
17030         * testsuite/parse/Makefile.am:
17031         * testsuite/parse/parse1.c:
17032         * testsuite/parse/parse2.c:
17033         * testsuite/plugin/.cvsignore:
17034         * testsuite/plugin/Makefile.am:
17035         * testsuite/plugin/README:
17036         * testsuite/plugin/dynamic.c:
17037         * testsuite/plugin/linked.c:
17038         * testsuite/plugin/loading.c:
17039         * testsuite/plugin/registry.c:
17040         * testsuite/plugin/static.c:
17041         * testsuite/plugin/static2.c:
17042         * testsuite/plugin/testplugin.c:
17043         * testsuite/plugin/testplugin2.c:
17044         * testsuite/plugin/testplugin2_s.c:
17045         * testsuite/plugin/testplugin_s.c:
17046         * testsuite/refcounting/.cvsignore:
17047         * testsuite/refcounting/Makefile.am:
17048         * testsuite/refcounting/bin.c:
17049         * testsuite/refcounting/element.c:
17050         * testsuite/refcounting/element_pad.c:
17051         * testsuite/refcounting/mainloop.c:
17052         * testsuite/refcounting/mem.c:
17053         * testsuite/refcounting/mem.h:
17054         * testsuite/refcounting/object.c:
17055         * testsuite/refcounting/pad.c:
17056         * testsuite/refcounting/sched.c:
17057         * testsuite/refcounting/thread.c:
17058         * testsuite/states/.cvsignore:
17059         * testsuite/states/Makefile.am:
17060         * testsuite/states/bin.c:
17061         * testsuite/states/locked.c:
17062         * testsuite/states/parent.c:
17063         * testsuite/threads/.cvsignore:
17064         * testsuite/threads/159566.c:
17065         * testsuite/threads/159852.c:
17066         * testsuite/threads/Makefile.am:
17067         * testsuite/threads/queue.c:
17068         * testsuite/threads/signals.c:
17069         * testsuite/threads/staticrec.c:
17070         * testsuite/threads/thread.c:
17071         * testsuite/threads/threadb.c:
17072         * testsuite/threads/threadc.c:
17073         * testsuite/threads/threadd.c:
17074         * testsuite/threads/threade.c:
17075         * testsuite/threads/threadf.c:
17076         * testsuite/threads/threadg.c:
17077         * testsuite/threads/threadh.c:
17078         * testsuite/threads/threadi.c:
17079           move all of these under tests
17080
17081 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17082
17083         * configure.ac:
17084         * tests/Makefile.am:
17085           fix distcheck
17086
17087 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17088
17089         * docs/gst/gstreamer-sections.txt:
17090         * tests/sched/.cvsignore:
17091         * tests/sched/Makefile.am:
17092         * tests/sched/cases/(fs-fs).xml:
17093         * tests/sched/cases/(fs-i-fs).xml:
17094         * tests/sched/cases/(fs-i-i-fs).xml:
17095         * tests/sched/cases/(fs-i-q[i-fs]).xml:
17096         * tests/sched/dynamic-pipeline.c:
17097         * tests/sched/interrupt1.c:
17098         * tests/sched/interrupt2.c:
17099         * tests/sched/interrupt3.c:
17100         * tests/sched/runtestcases:
17101         * tests/sched/runxml.c:
17102         * tests/sched/sched-stress.c:
17103         * tests/sched/sort.c:
17104         * tests/sched/testcases:
17105         * tests/sched/testcases1.tc:
17106         * tests/seeking/.cvsignore:
17107         * tests/seeking/Makefile.am:
17108         * tests/seeking/seeking1.c:
17109         * tests/threadstate/.cvsignore:
17110         * tests/threadstate/Makefile.am:
17111         * tests/threadstate/test1.c:
17112         * tests/threadstate/test2.c:
17113         * tests/threadstate/threadstate1.c:
17114         * tests/threadstate/threadstate2.c:
17115         * tests/threadstate/threadstate3.c:
17116         * tests/threadstate/threadstate4.c:
17117         * tests/threadstate/threadstate5.c:
17118           remove obsolete tests
17119         * configure.ac:
17120         * tests/bench-complexity.scm:
17121         * tests/bench-mass_elements.scm:
17122         * tests/complexity.c:
17123         * tests/complexity.gnuplot:
17124         * tests/instantiate/.cvsignore:
17125         * tests/instantiate/Makefile.am:
17126         * tests/instantiate/caps.c:
17127         * tests/mass_elements.c:
17128         * tests/network-clock-utils.scm:
17129         * tests/network-clock.scm:
17130         * tests/plot-data:
17131         First pass at cleaning up tests/ dir before moving the rest
17132         Combined with CVS surgery
17133
17134 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17135
17136         * po/POTFILES.in:
17137           queue has moved, update
17138
17139 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17140
17141         * docs/gst/gstreamer-sections.txt:
17142           remove double entries from the docs
17143         * gst/gst_private.h:
17144         * gst/gstinfo.c: (_gst_debug_init):
17145           remove the THREAD debug category
17146         * gst/Makefile.am:
17147         * gst/gstqueue.c:
17148         * gst/gstqueue.h:
17149         * docs/gst/gstreamer.types:
17150         * plugins/elements/gstqueue.c: (gst_queue_get_type),
17151         (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17152           completely move queue and fix up debugging categories
17153
17154 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17155
17156         * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17157           make initialization portable, using LL is not
17158
17159 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17160
17161         * win32/common/gstconfig.h:
17162           add large padding
17163
17164 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17165
17166         * win32/common/libgstreamer.def:
17167           rename symbols; sort base section
17168
17169 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17170
17171         * gst/gstclock.c: (do_linear_regression):
17172           remove crack non-portable handrolled DEBUG macro
17173
17174 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17175
17176         * docs/random/release:
17177           update notes
17178         * win32/common/gstenumtypes.c: (register_gst_object_flags),
17179         (gst_object_flags_get_type), (register_gst_bin_flags),
17180         (gst_bin_flags_get_type), (register_gst_buffer_flag),
17181         (gst_buffer_flag_get_type), (register_gst_bus_flags),
17182         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17183         (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17184         (gst_caps_flags_get_type), (register_gst_clock_return),
17185         (gst_clock_return_get_type), (register_gst_clock_entry_type),
17186         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17187         (gst_clock_flags_get_type), (register_gst_state),
17188         (gst_state_get_type), (register_gst_state_change_return),
17189         (gst_state_change_return_get_type), (register_gst_state_change),
17190         (gst_state_change_get_type), (register_gst_element_flags),
17191         (gst_element_flags_get_type), (register_gst_core_error),
17192         (gst_core_error_get_type), (register_gst_library_error),
17193         (gst_library_error_get_type), (register_gst_resource_error),
17194         (gst_resource_error_get_type), (register_gst_stream_error),
17195         (gst_stream_error_get_type), (register_gst_event_type_flags),
17196         (gst_event_type_flags_get_type), (register_gst_event_type),
17197         (gst_event_type_get_type), (register_gst_seek_type),
17198         (gst_seek_type_get_type), (register_gst_seek_flags),
17199         (gst_seek_flags_get_type), (register_gst_format),
17200         (gst_format_get_type), (register_gst_index_certainty),
17201         (gst_index_certainty_get_type), (register_gst_index_entry_type),
17202         (gst_index_entry_type_get_type),
17203         (register_gst_index_lookup_method),
17204         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17205         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17206         (gst_index_resolver_method_get_type), (register_gst_index_flags),
17207         (gst_index_flags_get_type), (register_gst_debug_level),
17208         (gst_debug_level_get_type), (register_gst_debug_color_flags),
17209         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17210         (gst_iterator_result_get_type), (register_gst_iterator_item),
17211         (gst_iterator_item_get_type), (register_gst_message_type),
17212         (gst_message_type_get_type), (register_gst_mini_object_flags),
17213         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17214         (gst_pad_link_return_get_type), (register_gst_flow_return),
17215         (gst_flow_return_get_type), (register_gst_activate_mode),
17216         (gst_activate_mode_get_type), (register_gst_pad_direction),
17217         (gst_pad_direction_get_type), (register_gst_pad_flags),
17218         (gst_pad_flags_get_type), (register_gst_pad_presence),
17219         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17220         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17221         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17222         (gst_plugin_error_get_type), (register_gst_plugin_flags),
17223         (gst_plugin_flags_get_type), (register_gst_rank),
17224         (gst_rank_get_type), (register_gst_query_type),
17225         (gst_query_type_get_type), (register_gst_tag_merge_mode),
17226         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17227         (gst_tag_flag_get_type), (register_gst_task_state),
17228         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17229         (gst_alloc_trace_flags_get_type),
17230         (register_gst_type_find_probability),
17231         (gst_type_find_probability_get_type), (register_gst_uri_type),
17232         (gst_uri_type_get_type), (register_gst_parse_error),
17233         (gst_parse_error_get_type):
17234         * win32/common/gstenumtypes.h:
17235         * win32/common/gstversion.h:
17236           update visual studio generated files
17237
17238 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17239
17240         * win32/vs6/libgstbase.dsp:
17241         * win32/vs6/libgstelements.dsp:
17242           update project files for new locations
17243
17244 2005-11-30  Thomas Vander Stichele  <thomas at apestaart dot org>
17245
17246         * Makefile.am:
17247           remove some files
17248         * README:
17249           reinstate and update
17250         * DEVEL:
17251         * REQUIREMENTS:
17252           removed
17253         * LICENSE:
17254         * docs/random/LICENSE:
17255           moved to random
17256
17257 2005-11-30  Edward Hervey  <edward@fluendo.com>
17258
17259         * gst/gsttypefind.c: (gst_type_find_register):
17260         * gst/gsttypefind.h:
17261         * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17262         (gst_type_find_factory_dispose):
17263         * gst/gsttypefindfactory.h:
17264         Fix memory leak in GstTypeFindFactory.
17265
17266 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17267
17268         * gst/gst.c:
17269         * plugins/elements/Makefile.am:
17270         * plugins/elements/gstelements.c:
17271         * plugins/elements/gstqueue.c:
17272           move queue from core to the elements plugin
17273
17274 2005-11-29  Andy Wingo  <wingo@pobox.com>
17275
17276         * libs/gst/base/gstbasetransform.h: 
17277         * libs/gst/base/gstbasesrc.h: 
17278         * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17279
17280         * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17281         of pointers by which to pad very extensible base classes (like the
17282         ones in libs/gst/base).
17283
17284 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17285
17286         * docs/gst/gstreamer-docs.sgml:
17287         * docs/gst/gstreamer-sections.txt:
17288         * docs/libs/gstreamer-libs-docs.sgml:
17289         * docs/libs/gstreamer-libs-sections.txt:
17290           moving documentation from core to lib
17291
17292 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17293
17294         * check/Makefile.am:
17295         * configure.ac:
17296         * docs/gst/Makefile.am:
17297         * gst/Makefile.am:
17298         * gst/base/.cvsignore:
17299         * gst/base/Makefile.am:
17300         * gst/base/README:
17301         * gst/base/gstadapter.c:
17302         * gst/base/gstadapter.h:
17303         * gst/base/gstbasesink.c:
17304         * gst/base/gstbasesink.h:
17305         * gst/base/gstbasesrc.c:
17306         * gst/base/gstbasesrc.h:
17307         * gst/base/gstbasetransform.c:
17308         * gst/base/gstbasetransform.h:
17309         * gst/base/gstcollectpads.c:
17310         * gst/base/gstcollectpads.h:
17311         * gst/base/gstpushsrc.c:
17312         * gst/base/gstpushsrc.h:
17313         * gst/base/gsttypefindhelper.c:
17314         * gst/base/gsttypefindhelper.h:
17315         * gst/check/Makefile.am:
17316         * gst/check/gstcheck.c:
17317         * gst/check/gstcheck.h:
17318         * gst/net/Makefile.am:
17319         * gst/net/gstnet.h:
17320         * gst/net/gstnetclientclock.c:
17321         * gst/net/gstnetclientclock.h:
17322         * gst/net/gstnettimepacket.c:
17323         * gst/net/gstnettimepacket.h:
17324         * gst/net/gstnettimeprovider.c:
17325         * gst/net/gstnettimeprovider.h:
17326         * libs/gst/Makefile.am:
17327         * libs/gst/base/Makefile.am:
17328         * libs/gst/base/gstbasetransform.c:
17329         * libs/gst/check/Makefile.am:
17330         * plugins/elements/Makefile.am:
17331         * po/POTFILES.in:
17332           CVS surgery + support to move base, check, and net out of gst
17333           and into libs/gst
17334
17335 2005-11-29  Andy Wingo  <wingo@pobox.com>
17336
17337         * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17338
17339         * gst/gststructure.h (struct _GstStructure): Only one pointer of
17340         padding.
17341
17342         * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17343
17344         * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17345
17346         * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17347
17348         * gst/gstobject.h: (struct _GstObject): Only one pointer of
17349         padding; reduces object size by about 30%. We don't expect
17350         anything else to go into gstobject.
17351
17352         * gst/gstminiobject.h (struct _GstMiniObject)
17353         (struct _GstMiniObjectClass): Only one pointer of padding; the
17354         payload is only a pointer and two ints anyway. For the class there
17355         are only two methods as well.
17356         
17357         * gst/gstelement.h (struct _GstElementClass): Removed
17358         the state_changed signal callback, it is not used.
17359
17360 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17361
17362         * docs/gst/gstreamer.types:
17363           fix includes, though they are a little dinky
17364
17365 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17366
17367         * check/Makefile.am:
17368           look in the right place for elements, a lot more chance of
17369           success
17370         * gst/Makefile.am:
17371           remove indexers and elements subdirs
17372         * plugins/Makefile.am:
17373           make indexers conditional
17374
17375 2005-11-29  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
17376
17377         * Makefile.am:
17378         * configure.ac:
17379         * plugins/elements/Makefile.am:
17380         * plugins/elements/gstcapsfilter.c:
17381         * plugins/elements/gstfilesink.c:
17382         * plugins/elements/gstfilesrc.c:
17383         * plugins/elements/gstidentity.c:
17384         * plugins/indexers/Makefile.am:
17385           do CVS surgery and related build fixery to move elements
17386           and indexers in a new gstreamer/plugins directory, out of the
17387           gst/ directory
17388
17389 2005-11-29  Andy Wingo  <wingo@pobox.com>
17390
17391         * check/Makefile.am:
17392         * pkgconfig/gstreamer-net-uninstalled.pc.in:
17393         * pkgconfig/gstreamer-net.pc.in:
17394         * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17395         #322257.
17396
17397 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17398
17399         * tools/Makefile.am:
17400         * tools/gst-complete.1.in:
17401         * tools/gst-complete.c:
17402         * tools/gst-compprep.1.in:
17403         * tools/gst-compprep.c:
17404           removing -compprep and -complete
17405
17406 2005-11-29  Thomas Vander Stichele  <thomas at apestaart dot org>
17407
17408         * gst/gstevent.c: (gst_event_new_new_segment),
17409         (gst_event_parse_new_segment):
17410         * gst/gstevent.h:
17411           fix #320529 - clean up new_segment API and structure.
17412           Let's hope everyone was using the methods, and not the structure.
17413
17414 2005-11-29  Edward Hervey  <edward@fluendo.com>
17415
17416         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17417         (gst_base_sink_event), (gst_base_sink_do_sync),
17418         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17419         Properly handle non GST_FORMAT_TIME segment
17420         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17421         Properly handle non GST_FORMAT_TIME segment
17422         * gst/gstsegment.c:
17423         This function is valid if the accumulator is 0 and the format
17424         is different from the requested format.
17425         
17426 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17427
17428         * docs/gst/gstreamer-sections.txt:
17429         Add gst_query_new_seeking and gst_query_parse_seeking to the
17430         docs.
17431
17432 2005-11-29  Jan Schmidt  <thaytan@mad.scientist.com>
17433
17434         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17435           Treat a pad alloc with new caps the same as if we were not
17436           negotiated, in order to allow a changing upstream output
17437           to produce a new format of data.
17438
17439 2005-11-29  Edward Hervey  <edward@fluendo.com>
17440
17441         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17442         (gst_base_transform_event), (gst_base_transform_eventfunc):
17443         The event virtual method is now properly implemented, with a default
17444         handler
17445         Sub classes should call the parent_class event method. They should
17446         return FALSE if they had a problem handling the given event, or don't
17447         want GstBaseTransform to send that even downstream
17448         * gst/elements/gstidentity.c: (gst_identity_class_init),
17449         (gst_identity_init), (gst_identity_event),
17450         (gst_identity_transform_ip), (gst_identity_set_property),
17451         (gst_identity_get_property):
17452         * gst/elements/gstidentity.h:
17453         Added the single-segment boolean property.
17454         If set to TRUE, it will output a single segment of data, starting from
17455         0, will eat up all incoming newsegment, and modify the timestamp of the
17456         buffers accordingly
17457
17458 2005-11-29  Tim-Philipp Müller  <tim at centricular dot net>
17459
17460         * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17461           Don't ref NULL target pad (#322751). Improve docs.
17462
17463 2005-11-29  Michael Smith  <msmith@fluendo.com>
17464
17465         * gst/gstregistryxml.c: (load_plugin):
17466           Don't crash if we failed to load a feature from a plugin. 
17467
17468 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17469
17470         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17471         (GST_START_TEST):
17472           use more check API and less GLib API
17473
17474 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17475
17476         * Makefile.am:
17477           don't run checks if we don't have check
17478         * common/check.mak:
17479           remove the registry when running make torture
17480         * docs/gst/gstreamer-sections.txt:
17481           remove second multiply
17482         * gst/gstqueue.c: (gst_queue_loop):
17483           fix a compile warning when disabling debug
17484
17485 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17486
17487         * gst/gstinfo.h:
17488         Hey! Let's print the pad name if the pointer != NULL instead
17489         of when it == NULL :-)
17490
17491 2005-11-28  Wim Taymans  <wim@fluendo.com>
17492
17493         * check/gst/gstutils.c: (GST_START_TEST):
17494         Updated check, add some scaling accuracy checking code.
17495
17496         * gst/gstutils.c: (gst_util_div128_64),
17497         (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17498         (gst_util_uint64_scale_int):
17499         Fix 6 times faster division code. Optimize for common 
17500         1/1 and less common X/1 cases.
17501
17502 2005-11-28  Wim Taymans  <wim@fluendo.com>
17503
17504         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17505         More checks.
17506
17507         * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17508         (do_linear_regression), (gst_clock_add_observation):
17509         Cleanups.
17510         Release lock when the clock cannot be slaved.
17511         Catch the case where the regression returned an invalid denominator.
17512
17513         * gst/gstutils.c: (gst_util_div128_64_iterate),
17514         (gst_util_div128_64), (gst_util_uint64_scale_int64),
17515         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17516         Add protentially more performant non-iterative 128/64 divide function
17517         that unfortunatly does not work yet.
17518         Shortcut the trivial 0/X = 0 case.
17519         Remove the warnings on overflow.
17520
17521 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17522
17523         * gst/gstplugin.c: (gst_plugin_register_func):
17524           everything causing a plugin not to load should be at least a WARNING
17525
17526 2005-11-28  Stefan Kost  <ensonic@users.sf.net>
17527
17528         * docs/random/ensonic/dparams.txt:
17529           some TODOs for the next dev cycle
17530         * libs/gst/controller/gstcontroller.c:
17531         (gst_controlled_property_set_interpolation_mode),
17532         (gst_controlled_property_new):
17533         * libs/gst/controller/gstcontroller.h:
17534           use base type to assign acccessor functions
17535
17536 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17537
17538         * check/Makefile.am:
17539         Oops, that should have been top_srcdir
17540
17541 2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
17542
17543         * check/Makefile.am:
17544         * check/elements/fdsrc.c: (GST_START_TEST):
17545         Use a cmdline define to specify the location of a file to use for
17546         testing, to avoid breaking distcheck.
17547
17548 2005-11-28  Andy Wingo  <wingo@pobox.com>
17549
17550         * gst/gstpad.c (fixate_value): Use array functions for arrays.
17551
17552 2005-11-28  Edward Hervey  <edward@fluendo.com>
17553
17554         * tools/gst-launch.c: (main):
17555         Clarify the output strings, makes it easier to translate.
17556         Fixes #322626
17557
17558 2005-11-28  Thomas Vander Stichele  <thomas at apestaart dot org>
17559
17560         * gst/Makefile.am:
17561           don't try and build net if we don't even have <sys/socket.h>
17562
17563 2005-11-27  Jan Schmidt  <thaytan@mad.scientist.com>
17564
17565         * check/Makefile.am:
17566         * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17567         (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17568           Add tests for fdsrc seekability
17569
17570         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17571         (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17572         (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17573         (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17574         * gst/elements/gstfdsrc.h:
17575           fdsrc should not be a 'live' source.
17576           Implement seeking on seekable fd's.
17577
17578         * gst/gstquery.c: (gst_query_new_seeking),
17579         (gst_query_parse_seeking):
17580         * gst/gstquery.h:
17581           Implement SEEKING query functions: 
17582             *_new_seeking and *_parse_seeking
17583
17584 2005-11-27  Stefan Kost  <ensonic@users.sf.net>
17585
17586         * gst/gstelement.c: (gst_element_dispose):
17587           don't loop forever
17588
17589         * gst/gstiterator.c:
17590         * gst/gststructure.c:
17591           doc fixes
17592
17593         * libs/gst/controller/gstcontroller.c:
17594         (gst_controlled_property_set_interpolation_mode):
17595         * libs/gst/controller/gstcontroller.h:
17596         * libs/gst/controller/gstinterpolation.c:
17597         (interpolate_none_get_enum_value_array):
17598           support controlling enums
17599
17600 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17601
17602         * gst/gstvalue.c:
17603           Improve documentation for gst_value_union().
17604
17605         * gst/gstvalue.h:
17606           Change return value for union, intersect and subtract functions
17607           from gint to gboolean.
17608
17609 2005-11-27  Tim-Philipp Müller  <tim at centricular dot net>
17610
17611         * gst/gstvalue.c: (gst_value_serialize_any_list),
17612         (gst_value_transform_any_list_string),
17613         (gst_value_deserialize_list), (gst_value_deserialize_array),
17614         (gst_value_set_int_range), (gst_value_deserialize_int_range),
17615         (gst_value_set_double_range), (gst_value_deserialize_double_range),
17616         (gst_value_set_fraction_range_full),
17617         (gst_value_deserialize_fraction_range),
17618         (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17619         (gst_value_deserialize_boolean),
17620         (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17621         (gst_value_serialize_float), (gst_value_deserialize_float),
17622         (gst_string_wrap), (gst_value_deserialize_string),
17623         (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17624         (gst_value_union_int_range_int_range),
17625         (gst_value_intersect_int_range_int_range),
17626         (gst_value_intersect_double_range_double_range),
17627         (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17628         (gst_value_subtract_int_range_int_range),
17629         (gst_value_subtract_double_double_range),
17630         (gst_value_subtract_double_range_double_range),
17631         (gst_value_deserialize_fraction):
17632         * gst/gstvalue.h:
17633           Use gint, gdouble and gchar in our API instead of int, double and
17634           char (and make usage in gstvalue.c more consistent).
17635
17636 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17637
17638         * check/Makefile.am:
17639         * libs/gst/controller/Makefile.am:
17640         * libs/gst/dataprotocol/Makefile.am:
17641           fix up Makefile.am and remove GST_ENABLE_NEW
17642
17643 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17644
17645         * configure.ac:
17646         * gst/Makefile.am:
17647         * gst/base/Makefile.am:
17648         * gst/check/Makefile.am:
17649         * gst/elements/Makefile.am:
17650         * gst/net/Makefile.am:
17651           update LDFLAGS use some more
17652
17653 2005-11-27  Thomas Vander Stichele  <thomas at apestaart dot org>
17654
17655         * common/m4/gst-doc.m4:
17656           Fixes #312589
17657
17658 2005-11-26  Edward Hervey  <edward@fluendo.com>
17659
17660         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17661         This shouldn't issue a g_warning since it returns NULL if it
17662         couldn't find the plugin, and all functions using this behave
17663         properly on a NULL return. Switching to a GST_WARNING.
17664
17665 2005-11-25  Jan Schmidt  <thaytan@mad.scientist.com>
17666
17667         * gst/gstbin.c: (gst_bin_handle_message_func):
17668         Don't leak clock messages.
17669
17670 2005-11-25  Wim Taymans  <wim@fluendo.com>
17671
17672         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17673         (gst_util_uint64_scale_int):
17674         Optimisations, remove unneeded vars.
17675
17676 2005-11-25  Wim Taymans  <wim@fluendo.com>
17677
17678         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17679         Added more checks for the high precision uint64 cases.
17680
17681         * gst/gstutils.c: (gst_util_uint64_scale_int64),
17682         (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17683         Implement high precision (guint64 * guint64) / guint64.
17684
17685 2005-11-24  Wim Taymans  <wim@fluendo.com>
17686
17687         * gst/base/gstbasesrc.c: (gst_base_src_query):
17688         Fix wrong percentage query.
17689
17690         * gst/gstutils.c: (gst_util_uint64_scale),
17691         (gst_util_uint64_scale_int):
17692         Add some more common cases that can be handled 
17693         efficiently to _scale.
17694
17695 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17696
17697         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17698         (gst_mini_object_suite):
17699           don't use check calls from threads; check probably isn't
17700           threadsafe and using a lock to make it threadsafe would
17701           defeat the purpose of this check
17702         * gst/check/gstcheck.c:
17703         * gst/check/gstcheck.h:
17704           use GST_DEBUG some more
17705
17706 2005-11-24  Wim Taymans  <wim@fluendo.com>
17707
17708         * gst/gstutils.c: (gst_util_uint64_scale),
17709         (gst_util_uint64_scale_int):
17710         Chain trivial case to _scale_int.
17711
17712 2005-11-24  Wim Taymans  <wim@fluendo.com>
17713
17714         * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17715         Added test for scaling.
17716
17717         * gst/gstclock.h:
17718         Small doc fix.
17719
17720         * gst/gstutils.c: (gst_util_uint64_scale_int):
17721         Implemented high precision scaling code.
17722
17723 2005-11-24  Stefan Kost  <ensonic@users.sf.net>
17724
17725         * gst/gstinfo.h:
17726           do not crash on pad==NULL
17727
17728 2005-11-24  Thomas Vander Stichele  <thomas at apestaart dot org>
17729
17730         Patch by: Stefan Kost
17731
17732         * common/gtk-doc.mak:
17733         * docs/gst/Makefile.am:
17734         * docs/libs/Makefile.am:
17735           Fix distcheck issues for the libraries docs build
17736           Closes #319599.
17737
17738 2005-11-24  Michael Smith <msmith@fluendo.com>
17739
17740         * docs/manual/basics-helloworld.xml:
17741           Fix bug #315027: memory leak in example code in docs.
17742
17743 2005-11-24  Michael Smith <msmith@fluendo.com>
17744
17745         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17746           Unlock the PREROLL_LOCK in a failure case.
17747
17748 2005-11-24  Wim Taymans  <wim@fluendo.com>
17749
17750         * docs/gst/gstreamer-sections.txt:
17751         * gst/base/gstadapter.h:
17752         * gst/base/gstbasesink.h:
17753         * gst/base/gstbasesrc.h:
17754         * gst/base/gstbasetransform.h:
17755         * gst/base/gstpushsrc.h:
17756         * gst/elements/gstfakesink.h:
17757         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17758         * gst/elements/gstfakesrc.h:
17759         * gst/elements/gstfilesink.h:
17760         * gst/elements/gstfilesrc.h:
17761         * gst/gst.c:
17762         * gst/gstbin.c:
17763         * gst/gstbuffer.c: (_gst_buffer_copy):
17764         * gst/gstbus.h:
17765         * gst/gstcaps.c:
17766         * gst/gstchildproxy.c:
17767         * gst/gstclock.c:
17768         * gst/gstelement.c:
17769         * gst/gstelementfactory.c:
17770         * gst/gstelementfactory.h:
17771         * gst/gstevent.c:
17772         * gst/gstghostpad.h:
17773         * gst/gstindex.h:
17774         * gst/gstinterface.h:
17775         * gst/gstminiobject.c:
17776         * gst/gstminiobject.h:
17777         * gst/gstpad.c:
17778         * gst/gstpad.h:
17779         * gst/gstpadtemplate.h:
17780         * gst/gstpipeline.h:
17781         * gst/gstpluginfeature.h:
17782         * gst/gstquery.h:
17783         * gst/gstqueue.h:
17784         * gst/gsttaglist.c:
17785         * gst/gsttaglist.h:
17786         * gst/gsttagsetter.c:
17787         * gst/gsttagsetter.h:
17788         * gst/gsttrace.c:
17789         * gst/gsttrace.h:
17790         * gst/gsttypefind.h:
17791         * gst/gsturi.h:
17792         * gst/gstvalue.c:
17793         * gst/net/gstnetclientclock.c:
17794         * gst/net/gstnetclientclock.h:
17795         * gst/net/gstnettimepacket.c:
17796         * gst/net/gstnettimeprovider.c:
17797         * gst/net/gstnettimeprovider.h:
17798         Doc fixes.
17799
17800 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17801
17802         * configure.ac: back to HEAD
17803
17804 === release 0.9.6 ===
17805
17806 2005-11-23  Thomas Vander Stichele <thomas at apestaart dot org>
17807
17808         * configure.ac:
17809           releasing 0.9.6, "Always On Time"
17810
17811 2005-11-23  Wim Taymans  <wim@fluendo.com>
17812
17813         * docs/gst/gstreamer-sections.txt:
17814         * gst/glib-compat.c:
17815         * gst/gsttagsetter.c:
17816         * gst/gstvalue.c:
17817         * gst/net/gstnetclientclock.c:
17818         * gst/net/gstnettimepacket.h:
17819         Doc updates.
17820
17821 2005-11-23  Thomas Vander Stichele  <thomas at apestaart dot org>
17822
17823         * docs/faq/using.xml:
17824         * docs/libs/tmpl/gstcontrol.sgml:
17825         * docs/manual/advanced-dparams.xml:
17826         * docs/manual/appendix-checklist.xml:
17827         * docs/manual/basics-elements.xml:
17828         * docs/pwg/other-source.xml:
17829         * docs/random/moving-plugins:
17830         * gst/gstpad.c:
17831         * tools/gst-launch.1.in:
17832           remove mentions of sinesrc
17833
17834 2005-11-23  Michael Smith <msmith@fluendo.com>
17835
17836         * docs/gst/gstreamer-sections.txt:
17837           Update for new API and API changes.
17838         * gst/gstobject.h:
17839           Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17840         * gst/gstvalue.c:
17841           Documentation typo fix.
17842         * gst/net/gstnettimepacket.c:
17843           Documentation fixes for arguments.
17844
17845 2005-11-23  Jan Schmidt  <thaytan@mad.scientist.com>
17846
17847         * gst/gststructure.c: (gst_structure_get_fraction),
17848         (gst_structure_parse_value),
17849         (gst_structure_fixate_field_nearest_fraction):
17850         * gst/gststructure.h:
17851         * gst/gstutils.c: (gst_util_uint64_scale_int):
17852         * gst/gstutils.h:
17853         * scripts/update-funcnames:
17854         API Changes. 
17855         Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17856         Make gst_structure_fixate_field_nearest_fraction take a numerator
17857         and denominator argument instead of a GValue
17858         add gst_structure_get_fraction helper function.
17859
17860 2005-11-23  Wim Taymans  <wim@fluendo.com>
17861
17862         * docs/design/part-TODO.txt:
17863         Update TODO.
17864
17865         * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
17866         * gst/net/gstnetclientclock.h:
17867         Use parent fields for timeout and window_size.
17868
17869 2005-11-23  Andy Wingo  <wingo@pobox.com>
17870
17871         * check/net/gstnetclientclock.c (test_functioning): Adjust to
17872         rate_num/rate_denom change.
17873
17874         * gst/net/gstnetclientclock.c
17875         (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
17876         OBJECT_LOCK. Don't call add_observation with the lock.
17877
17878         * gst/gstclock.c (gst_clock_init): Initialize the rate as a
17879         fraction.
17880         (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
17881         rate fraction.
17882         (gst_clock_set_calibration, gst_clock_get_calibration): Change to
17883         deal with rate as a fraction whose numerator and denominator are
17884         GstClockTime values.
17885         (gst_clock_set_master): Only use the OBJECT_LOCK to set the
17886         master; the other fields are protected by the SLAVE_LOCK.
17887         (do_linear_regression): Note that this must be called with the
17888         SLAVE_LOCK.
17889         (gst_clock_add_observation): Take the SLAVE_LOCK, not the
17890         OBJECT_LOCK. Call set_calibration instead of touching the
17891         variables directly.
17892         (gst_clock_set_property, gst_clock_get_property): Protect
17893         master/slave parameters with the SLAVE_LOCK.
17894
17895         * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
17896         rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
17897         note that all of the instance variables that add_observation and
17898         the set_master functions use are protected by that lock and not
17899         the OBJECT_LOCK.
17900         (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
17901
17902         * gst/gstclock.c (gst_clock_add_observation): No longer requires
17903         the caller to take the object lock.
17904
17905 2005-11-23  Wim Taymans  <wim@fluendo.com>
17906
17907         * gst/gsterror.c: (_gst_core_errors_init):
17908         * gst/gsterror.h:
17909         Add error for clock stuff.
17910
17911         * gst/gstpipeline.c: (gst_pipeline_change_state),
17912         (gst_pipeline_set_clock):
17913         Post clock error when clock cannot be used in a pipeline.
17914
17915 2005-11-23  Stefan Kost  <ensonic@users.sf.net>
17916
17917         * docs/gst/gstreamer-sections.txt:
17918           make two symbols from gstinfo private for the docs
17919         * gst/base/gstcollectpads.h:
17920         * gst/gstutils.c:
17921           fix doc typos, update docs
17922
17923 2005-11-22  Wim Taymans  <wim@fluendo.com>
17924
17925         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17926         (gst_base_sink_wait), (gst_base_sink_do_sync),
17927         (gst_base_sink_handle_event):
17928         * gst/base/gstbasesink.h:
17929         No need to store the clock, the parent element class already
17930         has it.
17931
17932         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
17933         Updates for clock_set returning a gboolean
17934
17935         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
17936         (gst_clock_id_wait_async), (gst_clock_class_init),
17937         (gst_clock_init), (gst_clock_finalize),
17938         (gst_clock_get_internal_time), (gst_clock_get_time),
17939         (gst_clock_slave_callback), (gst_clock_set_master),
17940         (gst_clock_get_master), (do_linear_regression),
17941         (gst_clock_add_observation), (gst_clock_set_property),
17942         (gst_clock_get_property):
17943         * gst/gstclock.h:
17944         Implement master/slave. When setting a clock as a slave, a
17945         periodic timeout is scheduled to sample master and slave times.
17946         Then the slave clock is recalibrated to match offset and rate
17947         of the master clock.
17948         Update logging a bit.
17949         Add flag so that a clock can state that is cannot be slaved to
17950         another clock.
17951
17952         * gst/gstelement.c: (gst_element_set_clock):
17953         * gst/gstelement.h:
17954         The set clock returns a gboolean for when an element cannot
17955         deal with the selected clock in the pipeline. 
17956
17957         * gst/gstpipeline.c: (gst_pipeline_change_state),
17958         (gst_pipeline_set_clock):
17959         * gst/gstpipeline.h:
17960         Handle the case where the selected clock cannot be set on
17961         the pipeline.
17962
17963         * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
17964         (gst_net_client_clock_init), (gst_net_client_clock_finalize),
17965         (gst_net_client_clock_set_property),
17966         (gst_net_client_clock_get_property),
17967         (gst_net_client_clock_observe_times):
17968         * gst/net/gstnetclientclock.h:
17969         Use regression code in GstClock parent, remove duplicated
17970         functionality.
17971
17972 2005-11-22  Michael Smith <msmith@fluendo.com>
17973
17974         * gst/gstutils.c: (gst_util_clock_time_scale):
17975         * gst/gstutils.h:
17976         * docs/gst/gstreamer-sections.txt:
17977           Rename method to have extra underscore.
17978
17979 2005-11-22  Thomas Vander Stichele  <thomas at apestaart dot org>
17980
17981         * gst/elements/Makefile.am:
17982         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
17983         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
17984         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
17985         (gst_fake_src_init), (gst_fake_src_prepare_buffer),
17986         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
17987         * gst/elements/gstfakesrc.h:
17988         * gst/gstqueue.c: (queue_leaky_get_type):
17989           correctly fix GEnumValues so that nick is the short lowercase
17990           dashed tag
17991         * tools/gst-inspect.c: (print_element_properties_info):
17992           also show the nick, since it's useful to use from parse_launch
17993           syntax
17994           Fixes #322139
17995
17996 2005-11-22  Michael Smith <msmith@fluendo.com>
17997
17998         * gst/gstutils.c: (gst_util_clocktime_scale):
17999         * gst/gstutils.h:
18000         * docs/gst/gstreamer-sections.txt:
18001           Add util method for scaling a clocktime by a fraction. Useful 
18002           implementation is left as an exercise for the reader.
18003
18004 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18005
18006         * gst/gstvalue.c: (gst_value_collect_fraction_range):
18007         If needed, allocate storage in the destination value during
18008         collection.
18009
18010 2005-11-22  Edward Hervey  <edward@fluendo.com>
18011
18012         * docs/gst/gstreamer-sections.txt:
18013         * gst/Makefile.am:
18014         * gst/gst.h:
18015         * gst/gsturitype.c:
18016         * gst/gsturitype.h:
18017         * gst/gstutils.c: (gst_util_set_object_arg):
18018         * tools/gst-compprep.c: (main):
18019         * tools/gst-inspect.c: (print_element_properties_info):
18020         Removed GstURI, closes bug #321061
18021
18022 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18023
18024         * check/gst/gststructure.c: (GST_START_TEST):
18025         * gst/gststructure.c: (gst_structure_parse_value):
18026           Oops, broke automatic string type parsing.
18027           Add a test to catch it in future.
18028
18029 2005-11-22  Andy Wingo  <wingo@pobox.com>
18030
18031         * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode) 
18032         (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18033         Actually rename the function implementations. Grr.
18034
18035 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18036
18037         * check/gst/capslist.h:
18038           Comment test cases
18039         * check/gst/gststructure.c: (GST_START_TEST),
18040         (gst_structure_suite):
18041           Test automatic value type detection in gst_structure_from_string.
18042         * gst/gststructure.c: (gst_structure_parse_value):
18043           Add fraction as a type we try and guess automatically in
18044           caps/structure strings.
18045
18046 2005-11-22  Andy Wingo  <wingo@pobox.com>
18047
18048         patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18049
18050         * gst/gsttagsetter.h:
18051         * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18052         (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18053         (gst_tag_setter_add_tag_valist)
18054         (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18055         _add_values, _add_valist, and _add_valist_values. Since this is an
18056         interface the function suffixes should be more explicit so
18057         language binding don't end up with element.add_valist ->
18058         gst_tag_setter_add_valist, for example. Fixes #322069.
18059
18060 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18061
18062         * check/gst/gstcaps.c: (GST_START_TEST):
18063           Extend caps string tests to check that a caps to string
18064           conversion is reversible and produces the same caps.
18065
18066         * gst/gststructure.c: (gst_structure_value_get_generic_type):
18067           Output "fraction" as the generic type fraction range, so caps
18068           serialisation and deserialisation works.
18069         * check/gst/capslist.h:
18070         * gst/gstvalue.c: (gst_value_deserialize_fraction):
18071           Support 'MIN' and 'MAX' for deserialising fractions.
18072
18073 2005-11-22  Andy Wingo  <wingo@pobox.com>
18074
18075         * gst/gstevent.h (gst_event_new_new_segment)
18076         (gst_event_parse_new_segment, gst_event_new_buffer_size)
18077         (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18078         Renamed from *_newsegment, *_buffersize, *_notarget.
18079
18080         * scripts/update-funcnames: New script, performs the changes
18081         listed above.
18082
18083 2005-11-22  Wim Taymans  <wim@fluendo.com>
18084
18085         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18086         Make sure the GstFlowReturn is returned.
18087
18088         * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18089         (gst_bus_add_signal_watch):
18090         * gst/gstbus.h:
18091         add gst_bus_add_signal_watch_full.
18092
18093         * gst/gstplugin.c: (gst_plugin_load_file):
18094         Small style cleanup.
18095
18096 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18097
18098         * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18099           Block the fakesrc srcpad when we send an event, to avoid
18100           contention on the stream_lock causing random test failures.
18101
18102 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18103
18104         * check/gst/gstvalue.c: (GST_START_TEST):
18105         * gst/gstvalue.c: (gst_value_fraction_subtract):
18106           Fix subtraction.
18107
18108 2005-11-22  Stefan Kost  <ensonic@users.sf.net>
18109
18110         * gst/gst.h:
18111           include "gstchildproxy.h"
18112         * gst/gstchildproxy.h:
18113         * libs/gst/controller/gstcontroller.h:
18114           use G_GNUC_NULL_TERMINATED
18115
18116 2005-11-22  Jan Schmidt  <thaytan@mad.scientist.com>
18117
18118         * check/gst/capslist.h:
18119         * check/gst/gstcaps.c: (GST_START_TEST):
18120         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18121         * gst/gststructure.c: (gst_structure_parse_range),
18122         (gst_structure_fixate_field_nearest_fraction):
18123         * gst/gststructure.h:
18124         * gst/gstvalue.c: (gst_value_init_fraction_range),
18125         (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18126         (gst_value_collect_fraction_range),
18127         (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18128         (gst_value_set_fraction_range_full),
18129         (gst_value_get_fraction_range_min),
18130         (gst_value_get_fraction_range_max),
18131         (gst_value_serialize_fraction_range),
18132         (gst_value_transform_fraction_range_string),
18133         (gst_value_compare_fraction_range),
18134         (gst_value_deserialize_fraction_range),
18135         (gst_value_intersect_fraction_fraction_range),
18136         (gst_value_intersect_fraction_range_fraction_range),
18137         (gst_value_subtract_fraction_fraction_range),
18138         (gst_value_subtract_fraction_range_fraction),
18139         (gst_value_subtract_fraction_range_fraction_range),
18140         (gst_value_collect_fraction), (gst_value_fraction_multiply),
18141         (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18142         (gst_value_transform_string_fraction), (_gst_value_initialize):
18143         * gst/gstvalue.h:
18144           Implement fraction ranges and extend GstFraction to support
18145           arithmetic subtraction, as well as deserialization from integer
18146           strings such as "100"
18147           Add a testsuite as for int and double range set operations
18148
18149 2005-11-21  Andy Wingo  <wingo@pobox.com>
18150
18151         * gst/gsttaglist.h: 
18152         * gst/gstcaps.h: 
18153         * gst/gststructure.h: Add glib-compat.h.
18154
18155 2005-11-21  Wim Taymans  <wim@fluendo.com>
18156
18157         * gst/gstbin.c: (gst_bin_change_state_func):
18158         Fix for #321595
18159
18160 2005-11-21  Wim Taymans  <wim@fluendo.com>
18161
18162         * gst/gstsegment.h:
18163         And add a nice define too.
18164
18165 2005-11-21  Wim Taymans  <wim@fluendo.com>
18166
18167         * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18168         (gst_segment_new), (gst_segment_free), (gst_segment_init),
18169         (gst_segment_set_duration), (gst_segment_set_last_stop),
18170         (gst_segment_set_seek), (gst_segment_set_newsegment),
18171         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18172         (gst_segment_clip):
18173         * gst/gstsegment.h:
18174         Make binding friendly.
18175
18176 2005-11-21  Andy Wingo  <wingo@pobox.com>
18177
18178         * gst/gsttagsetter.h: 
18179         * gst/gsttaglist.h: 
18180         * gst/gststructure.h: 
18181         * gst/gstcaps.h: 
18182         * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18183         #319940.
18184
18185         * gst/gsterror.c (_gst_core_errors_init):
18186         * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18187         category.
18188
18189         * gst/Makefile.am (gst_headers): Add glib-compat.h.
18190         (noinst_HEADERS): noinst the -private.
18191
18192 2005-11-21  Michael Smith <msmith@fluendo.com>
18193
18194         * gst/gstplugin.h:
18195         * gst/gstregistry.h:
18196           Remove unimplemented declarations for which we can see no sensible
18197           use.
18198
18199 2005-11-21  Andy Wingo  <wingo@pobox.com>
18200
18201         * gst/gst.h: Include glib-compat.h.
18202
18203         * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18204
18205         * gst/glib-compat.c: Include the public and the private header.
18206
18207         * gst/glib-compat-private.h: Copied here from glib-compat.h.
18208
18209         * gst/gstvalue.c: 
18210         * gst/gstpad.c: 
18211         * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18212
18213         * check/gst/gstevent.c (create_custom_events): Check that
18214         FLUSH_STOP is serialized.
18215
18216         * check/elements/identity.c (event_func): 
18217         * check/elements/fakesrc.c (event_func): No stream lock, the core
18218         takes it.
18219
18220         * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18221         stream lock taking, yay.
18222
18223         * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18224         ensure that core takes the stream lock.
18225
18226         * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18227         lock name change.
18228
18229         * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18230         the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18231         it already. For the flush start we do take it though so we get the
18232         right preroll state change messages.
18233
18234         * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18235         the stream lock here, the core does it for us.
18236
18237         * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18238         GST_STREAM_GET_LOCK.
18239         (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK) 
18240         (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL) 
18241         (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18242         (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18243         (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK) 
18244         (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18245
18246         * gst/gstpad.c: Update for stream lock name change.
18247
18248         * gst/base/gstbasesink.c: Update for preroll lock name change.
18249
18250 2005-11-21  Wim Taymans  <wim@fluendo.com>
18251
18252         * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18253         (gst_clock_get_master):
18254         * gst/gstclock.h:
18255         * gst/gstsystemclock.c: (gst_system_clock_init):
18256         Convert Clock flags to object flags.
18257         Added methods to manage master/slave clocks.
18258
18259 2005-11-21  Wim Taymans  <wim@fluendo.com>
18260
18261         * check/gst/gstsegment.c: (GST_START_TEST):
18262         * docs/design/part-TODO.txt:
18263         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18264         (gst_base_sink_event), (gst_base_sink_do_sync),
18265         (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18266         (gst_base_sink_query), (gst_base_sink_change_state):
18267         * gst/base/gstbasesink.h:
18268         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18269         (gst_base_src_default_newsegment),
18270         (gst_base_src_configure_segment), (gst_base_src_do_seek),
18271         (gst_base_src_get_range), (gst_base_src_loop),
18272         (gst_base_src_change_state):
18273         * gst/base/gstbasesrc.h:
18274         * gst/base/gstbasetransform.c:
18275         (gst_base_transform_prepare_output_buf),
18276         (gst_base_transform_event), (gst_base_transform_change_state):
18277         * gst/base/gstbasetransform.h:
18278         * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18279         (gst_collect_pads_event):
18280         * gst/base/gstcollectpads.h:
18281         * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18282         (gst_fake_src_create):
18283         * gst/elements/gstfakesrc.h:
18284         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18285         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18286         (gst_segment_set_last_stop), (gst_segment_set_seek),
18287         (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18288         (gst_segment_to_running_time), (gst_segment_clip):
18289         * gst/gstsegment.h:
18290         More segment updates, replace code in plugins with segment
18291         helper functions.
18292
18293 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18294
18295         * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18296         Don't ignore sscanf results
18297
18298 2005-11-21  Andy Wingo  <wingo@pobox.com>
18299
18300         * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18301
18302         * *.h:
18303         * *.c: Ran scripts/update-macros. Oh yes.
18304
18305         * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18306         (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18307         GST_GET_LOCK, etc.
18308
18309         * scripts/update-macros: New script. Run it on your files to
18310         change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18311         well.
18312
18313 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18314
18315         * docs/gst/Makefile.am:
18316         * docs/gst/gstreamer-docs.sgml:
18317         * docs/gst/gstreamer-sections.txt:
18318         * docs/gst/gstreamer.types:
18319         * gst/gstinfo.h:
18320           more docs fixes, add new api to the docs
18321
18322 2005-11-21  Andy Wingo  <wingo@pobox.com>
18323
18324         * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18325         state_broadcast call.
18326
18327         * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18328
18329 2005-11-21  Julien MOUTTE  <julien@moutte.net>
18330
18331         * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18332         function calls for arrays.
18333
18334 2005-11-21  Stefan Kost  <ensonic@users.sf.net>
18335
18336         * docs/random/ensonic/media-device-daemon.txt:
18337           wild idea, can this be done?
18338         * docs/gst/gstreamer-sections.txt:
18339         * gst/gsterror.h:
18340         * gst/gstfilter.c:
18341         * gst/gstfilter.h:
18342         * gst/gstplugin.h:
18343         * gst/gstpluginfeature.c:
18344         * gst/gsttrace.c:
18345         * gst/gstvalue.c:
18346         * gst/gstvalue.h:
18347           doc fixes and additions
18348
18349 2005-11-21  Andy Wingo  <wingo@pobox.com>
18350
18351         * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL) 
18352         (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND) 
18353         (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK) 
18354         (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18355         private to the basesrc implementation.
18356
18357         * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18358         behalf of event function if necessary. It should no longer be
18359         necessary to take the stream lock in pad's event functions. Fixes
18360         #320299.
18361
18362 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18363         * docs/gst/gstreamer-sections.txt:
18364         * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18365         (gst_structure_fixate_field_nearest_double),
18366         (gst_structure_fixate_field_boolean):
18367         * gst/gststructure.h:
18368         * win32/common/libgstreamer.def:
18369         * win32/gstreamer.def:
18370
18371         Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18372         (#322027)
18373
18374 2005-11-21  Jan Schmidt  <thaytan@mad.scientist.com>
18375
18376         * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18377         (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18378         (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18379         (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18380         (gst_fdsrc_uri_handler_init):
18381         * gst/elements/gstfdsrc.h:
18382           Port fd:// URI handler from 0.8 to fdsrc
18383
18384 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18385
18386         * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18387         (gst_value_serialize_fourcc):
18388         * gst/gstvalue.h:
18389           Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18390           consistent with our other format defines (#320324).
18391
18392 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18393
18394         * gst/gstvalue.c: (gst_value_is_fixed):
18395           Revert previous commit. Value lists are by definition
18396           not fixed, as they are a list of possible values.
18397
18398 2005-11-21  Andy Wingo  <wingo@pobox.com>
18399
18400         * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18401         during the stable series if we need it. Fixes #319178.
18402
18403         * gst/gstevent.c (gst_event_new_filler): Removed.
18404
18405         * check/gst/gstevent.c: Update comment about filler events.
18406
18407 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18408
18409         * gst/gstvalue.c: (gst_value_is_fixed):
18410           Should handle both value arrays and value lists.
18411
18412 2005-11-21  Andy Wingo  <wingo@pobox.com>
18413
18414         patch by: Alessandro Dessina <alessandro nnva org>
18415
18416         * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18417         functions to access arrays. Fixes #321962.
18418
18419 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18420
18421         * docs/gst/gstreamer.types:
18422           gst_collectpads_get_type => gst_collect_pads_get_type.
18423           
18424         * gst/base/gstbasetransform.c:
18425           Remove unused SIGNAL_HANDOFF enum.
18426
18427 2005-11-21  Andy Wingo  <wingo@pobox.com>
18428
18429         * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18430         the event type (upstream, downstream, serialized). Renamed
18431         GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18432         (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18433         CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18434
18435         * gst/gstevent.c: Update for new CUSTOM event names.
18436
18437         * check/gst/gstevent.c: Update check for new CUSTOM event names.
18438
18439         * gst/gstevent.h:
18440         * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18441         bug #319392.
18442
18443 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18444
18445         * docs/gst/gstreamer-sections.txt:
18446         * win32/common/libgstbase.def:
18447         * win32/libgstbase.def:
18448         * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18449         (gst_collect_pads_class_init), (gst_collect_pads_init),
18450         (gst_collect_pads_finalize), (gst_collect_pads_new),
18451         (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18452         (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18453         (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18454         (gst_collect_pads_start), (gst_collect_pads_stop),
18455         (gst_collect_pads_peek), (gst_collect_pads_pop),
18456         (gst_collect_pads_available), (gst_collect_pads_read),
18457         (gst_collect_pads_flush), (gst_collect_pads_event),
18458         (gst_collect_pads_chain):
18459         * gst/base/gstcollectpads.h:
18460           Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18461           unimplemented functions as unimplemented. Add padding to
18462           GstCollectData. (#320766, #320423)
18463
18464 2005-11-21  Tim-Philipp Müller  <tim at centricular dot net>
18465
18466         * gst/gstmessage.c:
18467           Improve docs for DURATION message (usage of duration parameter)
18468           (#320113)
18469
18470 2005-11-20  Wim Taymans  <wim@fluendo.com>
18471
18472         * check/Makefile.am:
18473         * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18474         (main):
18475         * gst/Makefile.am:
18476         * gst/gst.h:
18477         * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18478         (gst_segment_set_seek), (gst_segment_set_newsegment),
18479         (gst_segment_to_stream_time), (gst_segment_to_running_time),
18480         (gst_segment_clip):
18481         * gst/gstsegment.h:
18482         Added segment helper structure and methods. Not fully implemented
18483         yet.
18484         Added segment check.
18485
18486 2005-11-20  Jan Schmidt  <thaytan@mad.scientist.com>
18487
18488         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18489           Add a deserialisation test for fractions
18490         * examples/metadata/read-metadata.c: (message_loop),
18491         (make_pipeline), (main):
18492           Fix up metadata reading sample.
18493         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18494           Debug format fix
18495         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18496           Don't try and fixate empty caps
18497         * gst/gst_private.h:
18498           Wrap in G_BEGIN_DECLS/G_END_DECLS
18499         * gst/gstvalue.c: (gst_value_collect_fraction),
18500         (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18501         (gst_value_transform_string_fraction),
18502         (gst_value_compare_fraction):
18503           Add some extra guards to ensure that we don't end up 
18504           with an invalid denominator of 0 in a gstfraction and
18505           that fractions always get reduced.
18506
18507 2005-11-20  Wim Taymans  <wim@fluendo.com>
18508
18509         * docs/gst/gstreamer-sections.txt:
18510         * gst/gstbuffer.h:
18511         * gst/gstelement.c:
18512         * gst/gstformat.c:
18513         * gst/gstformat.h:
18514         * gst/gstindex.h:
18515         * gst/gstquery.c:
18516         * gst/gstquery.h:
18517         * gst/gstvalue.c:
18518         Doc fixes.
18519
18520 2005-11-20  Wim Taymans  <wim@fluendo.com>
18521
18522         * docs/design/part-TODO.txt:
18523         * gst/gstcaps.h:
18524         Make a proper enum of the flag.
18525
18526 2005-11-19  Wim Taymans  <wim@fluendo.com>
18527
18528         * docs/design/part-TODO.txt:
18529         * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18530         (gst_format_to_quark), (gst_format_register):
18531         * gst/gstformat.h:
18532         * gst/gstquery.c: (_gst_query_initialize),
18533         (gst_query_type_get_name), (gst_query_type_to_quark),
18534         (gst_query_type_register):
18535         * gst/gstquery.h:
18536         Add type to quark and type to string conversions.
18537
18538 2005-11-19  Andy Wingo  <wingo@pobox.com>
18539
18540         * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18541         #320097.
18542
18543 2005-11-19  Wim Taymans  <wim@fluendo.com>
18544
18545         * docs/design/part-TODO.txt:
18546         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18547         (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18548         (gst_bin_handle_message_func):
18549         * gst/gstbin.h:
18550         Make message handling overridable.
18551
18552 2005-11-19  Andy Wingo  <wingo@pobox.com>
18553
18554         * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18555
18556         * gst/gstclock.h:
18557         * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18558         be a GstClockTime.
18559         (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18560         is a GstClockTime. Fixes #321710.
18561
18562         * gst/gstclock.h (GstClock): Remove offset property. Add
18563         internal_calibration and external_calibration. Fix padding. Pad
18564         also by GstClockTime so we don't run into problems.
18565
18566         * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18567         (gst_clock_get_rate_offset): Remove.
18568         (gst_clock_set_time_adjust): Remove. Fixes #321712.
18569
18570         * gst/gstutils.h:
18571         * gst/gstutils.c (g_static_rec_cond_wait)
18572         (g_static_rec_cond_timed_wait): Removed, no longer needed.
18573
18574         * gst/gstbin.c: Remove terrible continue_state prototype.
18575
18576         * gst/gstelement.h (gst_element_continue_state): Make public.
18577
18578         * gst/gstelement.h:
18579         * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18580         by continue_state. Fixes #319389.
18581
18582         * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18583         Really fixes #168438. However I don't see anywhere where the
18584         filter function is called... stupid GStreamer...
18585         
18586         * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18587         don't have a dispose function, so it won't get called when the
18588         object is unreffed, but oh well!
18589
18590         * gst/gstindex.c (gst_index_set_filter_full): New API function,
18591         allows a destroy function to be set so user_data can be freed.
18592         Fixes #168438.
18593         (gst_index_set_filter): Call gst_index_set_filter_full.
18594
18595         * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18596
18597         * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18598         string should produce an error, given the lack of a way to
18599         represent NULL strings. Fixes #165650.
18600         
18601         * gst/gstvalue.h: 
18602         * gst/gstvalue.c (gst_value_array_append_value) 
18603         (gst_value_array_prepend_value, gst_value_array_get_size) 
18604         (gst_value_array_get_value): New API, copied from
18605         gst_value_list_*, only operates on arrays.
18606         (gst_value_list_append_value, gst_value_list_prepend_value) 
18607         (gst_value_list_concat, gst_value_list_get_size) 
18608         (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18609
18610         * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18611         init_list, because it works on both.
18612         (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18613         (gst_value_copy_list_or_array): Renamed from copy_list.
18614         (gst_value_free_list_or_array): Renamed from free_list.
18615         (gst_value_collect_list_or_array): Renamed from collect_list.
18616         (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18617         (gst_value_list_or_array_peek_pointer): Renamed from
18618         list_peek_pointer.
18619         (_gst_value_array_value_table, _gst_value_list_value_table):
18620         Update value table functions.
18621         (gst_value_compare_list_or_array): Renamed from compare_list.
18622
18623         * gsttaglist.h: Whoops, foreach function returns void. Also fix
18624         some constness.
18625
18626         * gst/gsttaglist.c:
18627         * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18628         GstTagList*. Fixes #143472.
18629
18630         * gst/gststructure.h: Clarify what the foreach/map functions can
18631         or can't do to their arguments.
18632
18633 2005-11-18  Wim Taymans  <wim@fluendo.com>
18634
18635         * gst/gstclock.c: (gst_clock_set_calibration),
18636         (gst_clock_get_calibration):
18637         Doc and API fixes.
18638         Calibration can be set with internal time equal to current
18639         internal time too.
18640
18641 2005-11-18  Thomas Vander Stichele  <thomas at apestaart dot org>
18642
18643         * gst/gsterror.c:
18644         * gst/gsterror.h:
18645           document
18646
18647 2005-11-18  Andy Wingo  <wingo@pobox.com>
18648
18649         * configure.ac: 
18650         * pkgconfig/gstreamer-net.pc.in:
18651         * pkgconfig/gstreamer-net-uninstalled.pc.in:
18652         * pkgconfig/Makefile.am: Add net pkgconfig files.
18653
18654 2005-11-18  Stefan Kost  <ensonic@users.sf.net>
18655
18656         * gst/gstcaps.c:
18657         * gst/gstghostpad.c:
18658         * gst/gsttrace.c:
18659         * gst/gstvalue.c:
18660         * gst/gstvalue.h:
18661           docs fixes
18662
18663 2005-11-18  Andy Wingo  <wingo@pobox.com>
18664
18665         * gst/net/gstnetclientclock.c: Turn off debugging.
18666
18667         * check/net/gstnetclientclock.c (test_functioning): Assert that the
18668         times connverge somewhat. Can't make a real test.
18669
18670         * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18671         integer arithmetic. Return the minimum of the domain, which can be
18672         set as "internal" for gst_clock_set_calibration.
18673         (gst_net_client_clock_observe_times): Call _set_calibration.
18674         (gst_net_client_clock_new): Call _set_calibration instead of
18675         rate_offset.
18676
18677         * check/net/gstnetclientclock.c (test_functioning): Use the right
18678         adjustment api.
18679
18680         * gst/gstclock.h:
18681         * gst/gstclock.c (gst_clock_get_calibration) 
18682         (gst_clock_set_calibration): New functions, obsolete the ones I
18683         added yesterday. Doh. Precision issues mean we have to extrapolate
18684         from a point in the more recent past than 1970.
18685         (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18686         obsolete.
18687         (gst_clock_adjust_unlocked): Use the right calibration data.
18688
18689 2005-11-18  Edward Hervey  <edward@fluendo.com>
18690
18691         * gst/base/gstbasesink.c: (gst_base_sink_change_state): 
18692         Also reset the ->current_* values in READY->PAUSED
18693
18694 2005-11-18  Andy Wingo  <wingo@pobox.com>
18695
18696         * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18697         Whoops, check the right fd. Also add some debugging.
18698         (gst_net_client_clock_observe_times): Adjust for int64 offset.
18699         (do_linear_regression): Add a crapload of debugging. Subtract off
18700         the minimum values from the input series to discard unneeded bits.
18701         Use only int arithmetic. There is still double arithmetic when
18702         calculating the intercept that needs fixing. Return boolean to
18703         indicate success; FALSE would mean the domain or range is too
18704         great. Still needs fixes.
18705
18706 2005-11-18  Wim Taymans  <wim@fluendo.com>
18707
18708         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18709         For the current position in stream time, we need to subtract
18710         accumulated time.
18711         
18712         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18713         Release lock before calling the callback function of async
18714         entries.
18715
18716 2005-11-18  Andy Wingo  <wingo@pobox.com>
18717
18718         * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18719         Port goes all the way to MAXUINT16.
18720
18721         * gst/net/gstnettimeprovider.c: Make the port range the same as
18722         for the kernel: 0 assigns, otherwise ports are less than
18723         MAXUINT16.
18724
18725         * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18726         port change.
18727
18728         * check/net/gstnetclientclock.c (test_functioning): Add the start
18729         of another test. 
18730
18731 2005-11-18  Wim Taymans  <wim@fluendo.com>
18732
18733         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18734         (gst_bin_remove_func), (bin_bus_handler):
18735         * gst/gstbin.h:
18736         Removing a clock provider from a bin, triggers a clock lost message
18737         so that a new clock will be selected.
18738         Adding a clock to a bin triggers a clock provider message.
18739         Make sure we reselect a clock when we received a clock lost message.
18740         Keep a reference to the element that provided the clock.
18741
18742 2005-11-18  Andy Wingo  <wingo@pobox.com>
18743
18744         * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18745         the clock initially so it produces values around the base time.
18746         (gst_net_client_clock_class_init): Typo fix.
18747         (gst_net_client_clock_thread): Add note on when the socket gets
18748         closed.
18749
18750 2005-11-17  Wim Taymans  <wim@fluendo.com>
18751
18752         * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18753         Free remote and local time arrays.
18754
18755 2005-11-17  Wim Taymans  <wim@fluendo.com>
18756
18757         * gst/net/gstnetclientclock.c: (do_linear_regression),
18758         (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18759         Fix compilation, uninitialized vars and a forgotten continue.
18760
18761 2005-11-17  Andy Wingo  <wingo@pobox.com>
18762
18763         * check/Makefile.am (check_PROGRAMS): 
18764         * check/net/gstnetclientclock.c: Add a most minimal test for the
18765         net client clock. More to come later.
18766
18767         * gst/net/gstnet.h: 
18768         * gst/net/Makefile.am: Add netclientclock.
18769
18770         * gst/net/gstnetclientclock.h:
18771         * gst/net/gstnetclientclock.c: New files, implement an untested
18772         GstClock that takes its time from a network time provider.
18773         Implements the algorithm in network-clock.scm.
18774
18775         * tests/network-clock.scm (*window-size*): Rename from
18776         *queue-length*.
18777         * tests/network-clock.scm (network-time): 
18778         * tests/network-clock-utils.scm (q-push): Update callers.
18779
18780 2005-11-17  Wim Taymans  <wim@fluendo.com>
18781
18782         * gst/gstbin.c: (gst_bin_provide_clock_func),
18783         (gst_bin_sort_iterator_new):
18784         And unref the child too..
18785
18786 2005-11-17  Wim Taymans  <wim@fluendo.com>
18787
18788         * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18789         (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18790         Refactor the sort iterator so it can be used while holding the
18791         LOCK too.
18792         Make clock selection select a clock closest to the source.
18793
18794 2005-11-17  Michael Smith <msmith@fluendo.com>
18795
18796         * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18797         (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18798         * gst/gstclock.h:
18799           Anonymous structs are a gcc (and some other compilers) extension, so
18800           don't use them. Since this is only for ABI-compatibility, and our
18801           API/ABI freeze is over in a few days, this whole thing will only
18802           last a few days, so don't bother trying to think up a meaningful
18803           name for the struct.
18804
18805 2005-11-17  Andy Wingo  <wingo@pobox.com>
18806
18807         * gst/gstclock.h (GstClock): Add rate and offset properties,
18808         preserving ABI stability. Add rate/offset accessors. Will file bug
18809         for the freeze break.
18810
18811         * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18812         and offset, trying to keep precision and avoiding
18813         underflow/overflow.
18814         (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18815         functions. Make gst_clock_set_time_adjust obsolete.
18816         (gst_clock_set_time_adjust): Note that this function is obsolete.
18817         Will file bug soon.
18818
18819         * gst/base/gstbasetransform.h: Make the ABI-stability hack
18820         greppable by using GST_PADDING-1+1.
18821
18822 2005-11-17  Torsten Schoenfeld  <kaffeetisch at gmx dot net>
18823
18824         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18825
18826         * gst/gstmessage.c: (gst_message_parse_clock_lost):
18827           Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18828
18829         * gst/gstpadtemplate.h:
18830         * gst/gstpluginfeature.h:
18831           Don't use c++ style comments in headers (#321638).
18832
18833 2005-11-16  Andy Wingo  <wingo@pobox.com>
18834
18835         * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18836         buffer.
18837
18838         * check/net/gstnettimeprovider.c: Check to see that the time
18839         provider actually provides times. Works, yo!
18840
18841 2005-11-16  Wim Taymans  <wim@fluendo.com>
18842
18843         * check/Makefile.am:
18844         Enable more tests.
18845
18846         * check/elements/fakesrc.c: (GST_START_TEST):
18847         Set element to NULL before disposing it.
18848
18849 2005-11-16  Andy Wingo  <wingo@pobox.com>
18850
18851         * gst/net/Makefile.am:
18852         * gst/net/gstnet.h:
18853         * gst/net/gstnettimeprovider.c: 
18854         * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18855         provider, include it from gstnet.h, and add it to the build.
18856
18857         * gst/net/gstnettimepacket.h: 
18858         * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18859         sending and receiving.
18860
18861 2005-11-16  Wim Taymans  <wim@fluendo.com>
18862
18863         * check/Makefile.am:
18864         Enable valgrind check.
18865
18866         * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
18867         (gst_fake_src_alloc_buffer):
18868         Fix memleak.
18869
18870 2005-11-16  Wim Taymans  <wim@fluendo.com>
18871
18872         * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
18873         Call parent finalize too.
18874
18875 2005-11-16  Wim Taymans  <wim@fluendo.com>
18876
18877         * check/Makefile.am:
18878         Enable valgrind check that should work fine now.
18879
18880         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18881         * gst/gstqueue.c: (gst_queue_init):
18882         Fix memleaks in pad allocation.
18883
18884 2005-11-16  Andy Wingo  <wingo@pobox.com>
18885
18886         * gst/net/Makefile.am:
18887         * gst/net/gstnet.h: New part of core to hold network elements and
18888         objects. Put in core because it exposes API that applications want
18889         to use. The library is named libgstnet-tempname right now because
18890         of the existing libgstnet in gst-plugins-base. Solution is
18891         probably to rename the one in plugins-base; will file a bug for
18892         the freeze break.
18893
18894         * gst/net/gstnettimeprovider.c: 
18895         * gst/net/gstnettimeprovider.h: New object to export a GstClock's
18896         get_time call over the network.
18897
18898         * configure.ac: 
18899         * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
18900
18901         * check/Makefile.am:
18902         * check/net/gstnettimeprovider.c: A most minimal test suite. Will
18903         get additions shortly.
18904
18905 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18906
18907         * gst/gstpad.c: (gst_pad_new_from_static_template):
18908         * gst/gstpad.h:
18909           add gst_pad_new_from_static_template functions
18910         * gst/check/gstcheck.c: (gst_check_setup_src_pad),
18911         (gst_check_setup_sink_pad):
18912         * gst/elements/gsttee.c: (gst_tee_init):
18913           and use them
18914
18915 2005-11-16  Wim Taymans  <wim@fluendo.com>
18916
18917         * gst/gstpad.c: (gst_pad_pause_task):
18918         Removed warning, it's not really an error either.
18919
18920 2005-11-16  Wim Taymans  <wim@fluendo.com>
18921
18922         * gst/base/gstbasetransform.c:
18923         (gst_base_transform_prepare_output_buf),
18924         (gst_base_transform_event):
18925         Check if the caps are NULL, this can happen if the element
18926         is shutting down and the pad caps are set to NULL.
18927
18928 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18929
18930         * gst/elements/gsttee.c: (gst_tee_init):
18931           fix pad template leak in tee
18932
18933 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18934
18935         * gst/glib-compat.c: (g_value_dup_gst_object):
18936         * gst/glib-compat.h:
18937         * gst/gstpad.c: (gst_pad_set_property):
18938           use gst_object_ref when setting the pad template; this will
18939           trigger the pad template leaks on GLib 2.6 and the slaves
18940
18941 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18942
18943         * gst/glib-compat.c: (gst_flags_get_first_value):
18944         * gst/glib-compat.h:
18945         * gst/gstregistryxml.c:
18946           remove functions copied from GLib 2.6
18947
18948 2005-11-16  Michael Smith <msmith@fluendo.com>
18949
18950         * gst/Makefile.am:
18951           Don't link against VALGRIND_LIBS. That was always the wrong thing to
18952           do, but only breaks with newer valgrind versions. We're not a
18953           valgrind tool, we have no link-time dependencies on libcoregrind.
18954
18955 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18956
18957         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18958           some debug changes
18959         * gst/gstmessage.h:
18960           typo fixes
18961
18962 2005-11-16  Thomas Vander Stichele  <thomas at apestaart dot org>
18963
18964         * gst/base/gstbasesrc.c: (gst_base_src_init):
18965         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18966         * gst/gstqueue.c: (gst_queue_init):
18967         * gst/gstregistryxml.c: (load_feature):
18968           Revert all these unrefs, they don't even pass make check !
18969
18970 2005-11-15  Johan Dahlin  <johan@gnome.org>
18971
18972         * gst/base/gstbasesrc.c: (gst_base_src_init):
18973         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18974         * gst/gstqueue.c: (gst_queue_init): 
18975         Free pad templates, fixes a couple of leaks.
18976
18977 2005-11-15  Daniel Fischer  <dan at f3c dot com>
18978
18979         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
18980
18981         * gst/gstpad.c: (gst_pad_get_property):
18982           GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
18983           GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
18984           (#321452)
18985
18986 2005-11-15  Wim Taymans  <wim@fluendo.com>
18987
18988         * gst/gstevent.c:
18989         Small doc update.
18990
18991 2005-11-15  Andy Wingo  <wingo@pobox.com>
18992
18993         * gst/gstelement.c (gst_element_set_base_time): Add debugging.
18994
18995         * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
18996         using GST_CLOCK_TIME_NONE to disable base time management.
18997         (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
18998         time if it was NONE before.
18999         (gst_pipeline_change_state): Only munge the base time if
19000         stream_time != GST_CLOCK_TIME_NONE.
19001
19002         * check/gst/gstpipeline.c (test_base_time): Punt around the
19003         problem of the probe not being called, because that's not the
19004         issue I'm looking at. Add a check that setting stream_time to NONE
19005         disables base time management.
19006         
19007 2005-11-15  Wim Taymans  <wim@fluendo.com>
19008
19009         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19010         segment_stop == -1 at startup.
19011
19012         * gst/base/gstbasetransform.c: (gst_base_transform_event),
19013         (gst_base_transform_change_state):
19014         Init segment values at start.
19015
19016 2005-11-15  Wim Taymans  <wim@fluendo.com>
19017
19018         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19019         0 segment values are 0 in any format.
19020
19021         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19022         * gst/base/gstbasetransform.h:
19023         Parse newsegment correctly in basetransform
19024
19025         * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19026         Sync to clock using updated segment values.
19027
19028 2005-11-15  Andy Wingo  <wingo@pobox.com>
19029
19030         * check/gst/gstpipeline.c (test_base_time): Add check that the
19031         base time and stream time are reset correctly.
19032
19033 2005-11-15  Wim Taymans  <wim@fluendo.com>
19034
19035         * docs/design/part-TODO.txt:
19036         Some more TODO items.
19037
19038 2005-11-15  Andy Wingo  <wingo@pobox.com>
19039
19040         * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19041         error if the user selected "no clock" as the clocking method.
19042
19043         * check/gst/gstpipeline.c (test_base_time): New test for buffer
19044         timestamps with live capture.
19045
19046         * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19047         is 0 but we are a live source, timestamp the buffers using the
19048         element's clock.
19049
19050 2005-11-14  Stefan Kost  <ensonic@users.sf.net>
19051
19052         * docs/gst/gstreamer-sections.txt:
19053         * gst/gsterror.c:
19054         * gst/gstghostpad.c:
19055         * gst/gstobject.h:
19056         * gst/gstxml.c:
19057           more section docs
19058
19059 2005-11-14  Wim Taymans  <wim@fluendo.com>
19060
19061         * common/gst.supp:
19062           add suppressions from Wim's Debian machine
19063
19064 2005-11-14  Thomas Vander Stichele  <thomas at apestaart dot org>
19065
19066         * common/gst.supp:
19067           add suppressions from Andy's AMD64 Ubuntu machine
19068
19069 2005-11-14  Andy Wingo  <wingo@pobox.com>
19070
19071         * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19072         STATE_LOCK not necessary. Fixes #311489.
19073
19074         * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19075         #305291.
19076
19077         * gst/gstindex.c (gst_index_add_object): Note in the docs that
19078         this function is not implemented.
19079
19080 2005-11-14  Julien MOUTTE  <julien@moutte.net>
19081
19082         * gst/base/gstbasetransform.c:
19083         (gst_base_transform_prepare_output_buf):
19084         Ref the source pad caps while we need them.
19085         Fixes (#321386)
19086
19087 2005-11-11  Wim Taymans  <wim@fluendo.com>
19088
19089         * docs/gst/gstreamer-sections.txt:
19090         Added some docs for GstCollectData.
19091
19092         * gst/base/gstadapter.c:
19093         Some small code example fix.
19094
19095         * gst/base/gstcollectpads.c:
19096         * gst/base/gstcollectpads.h:
19097         Document some more.
19098
19099 2005-11-11  Thomas Vander Stichele  <thomas at apestaart dot org>
19100
19101         * configure.ac: back to HEAD
19102
19103 === release 0.9.5 ===
19104
19105 2005-11-11  Thomas Vander Stichele <thomas at apestaart dot org>
19106
19107         * configure.ac:
19108           releasing 0.9.5, "Bike Lunch Day"
19109
19110 2005-11-11  Wim Taymans  <wim@fluendo.com>
19111
19112         * gst/gstbuffer.c: (_gst_buffer_copy):
19113         Copy more flags.
19114
19115         * gst/gstcaps.c: (gst_caps_is_equal):
19116         Fix some docs.
19117         Make _is_equal fast in the trivial cases.
19118
19119         * gst/gstminiobject.c:
19120         * gst/gstminiobject.h:
19121         More docs. Spifify .h file.
19122
19123         * gst/gstutils.c:
19124         Small doc update.
19125
19126 2005-11-11  Wim Taymans  <wim@fluendo.com>
19127
19128         * gst/base/gstbasetransform.c:
19129         (gst_base_transform_prepare_output_buf),
19130         (gst_base_transform_handle_buffer):
19131         Small cleanups.
19132         If we're processing a buffer and need to allocate an output
19133         buffer, we cannot accept a format change. If we did get a 
19134         format change, we have to alloc a buffer ourselves of the 
19135         right size.
19136
19137 2005-11-11  Wim Taymans  <wim@fluendo.com>
19138
19139         * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19140         While checking the flag for reentrancy in the gstcaps function
19141         is nice to detect recursive invocations, it also makes it 
19142         impossible to call getcaps from multiple threads, which must be
19143         possible. So, checking for recursive calls has to go.
19144
19145 2005-11-11  Michael Smith <msmith@fluendo.com>
19146
19147         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19148           Don't sync on buffers that fall partially outside our current
19149           segment. Prevents an assertion failure/abort playing some files.
19150
19151 2005-11-10  Andy Wingo  <wingo@pobox.com>
19152
19153         * check/gst/gstbin.c (test_message_state_changed_children): Style
19154         fix..
19155
19156         * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19157         gst_bus_poll with the signal watch. Ensures that poll and a signal
19158         watch see the same messages.
19159
19160         * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19161         a poll and a watch at the same time get the same messages.
19162
19163 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19164
19165         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19166         * gst/gstcaps.c: (gst_caps_intersect):
19167           Don't call gst_caps_do_simplify - it doesn't respect order of caps
19168           and it's not needed.
19169
19170 2005-11-10  Wim Taymans  <wim@fluendo.com>
19171
19172         * docs/design/part-TODO.txt:
19173         Updated todo.
19174
19175 2005-11-10  Wim Taymans  <wim@fluendo.com>
19176
19177         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19178         * gst/base/gstbasesrc.c: (gst_base_src_wait),
19179         (gst_base_src_do_sync), (gst_base_src_get_range):
19180         Implement clock sync in base class.
19181
19182 2005-11-10  Thomas Vander Stichele  <thomas at apestaart dot org>
19183
19184         patch by: Tim-Philipp Müller <tim at centricular dot net>
19185
19186         * gst/gststructure.c: (gst_structure_parse_field),
19187         (gst_structure_from_string):
19188           Forward-port a 0.8 patch to handle escaped spaces in structure string,
19189           so that gst_parse_launch() can deal with spaces in filtered link
19190           caps (fixes #164479)
19191         * check/gst/capslist.h:
19192         * check/gst/gststructure.c: (GST_START_TEST):
19193           add unit tests for this change
19194
19195 2005-11-10  Wim Taymans  <wim@fluendo.com>
19196
19197         * docs/gst/gstreamer-sections.txt:
19198         * gst/gstelement.c:
19199         * gst/gstelement.h:
19200         Fix docs, move some STATE macros to private.
19201
19202 2005-11-10  Wim Taymans  <wim@fluendo.com>
19203
19204         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19205         Added check for bug #317341
19206
19207         * gst/gstbuffer.c:
19208         * gst/gstbuffer.h:
19209         Some more spiffifying.
19210
19211         * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19212         Call peer linkfunction if we are a source pad. Totally fixes
19213         #317341
19214
19215         * gst/gstpad.c:
19216         Update docs, source pads should call the peer linkfunction
19217         so they can atomically perform the pad link.
19218
19219 2005-11-09  Wim Taymans  <wim@fluendo.com>
19220
19221         * gst/gstbuffer.c:
19222         * gst/gstbuffer.h:
19223         Uber-spiffy-spiffify some more.
19224
19225 2005-11-09  Tim-Philipp Müller  <tim at centricular dot net>
19226
19227         * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19228         * gst/elements/gstfilesink.c: (gst_file_sink_init):
19229         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19230         * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19231         (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19232         * gst/gstpad.c: (gst_pad_init):
19233           Use GST_DEBUG_FUNCPTR() more extensively.
19234
19235 2005-11-09  Wim Taymans  <wim@fluendo.com>
19236
19237         * gst/gstobject.c: (gst_object_class_init):
19238         * gst/gstobject.h:
19239         Documentation fixes.
19240
19241 2005-11-09  Edward Hervey  <edward@fluendo.com>
19242
19243         * gst/gsttypefindfactory.c:
19244         Fix docs.
19245         
19246 2005-11-09  Edward Hervey  <edward@fluendo.com>
19247
19248         * gst/base/gsttypefindhelper.c:
19249         * gst/gsttypefind.c:
19250         * gst/gsttypefind.h:
19251         Fix docs.
19252
19253 2005-11-09  Wim Taymans  <wim@fluendo.com>
19254
19255         * gst/gstiterator.c:
19256         Fix revision data.
19257
19258         * gst/gsttask.c:
19259         * gst/gsttask.h:
19260         Fix docs.
19261
19262 2005-11-09  Wim Taymans  <wim@fluendo.com>
19263
19264         * gst/gstevent.h:
19265         * gst/gsturi.h:
19266         Fix docs.
19267
19268 2005-11-09  Wim Taymans  <wim@fluendo.com>
19269
19270         * docs/gst/gstreamer-sections.txt:
19271         Moved the message async delivery private lock and cond
19272         to the private section.
19273
19274         * gst/gstmessage.c:
19275         * gst/gstmessage.h:
19276         Fixed docs.
19277
19278 2005-11-09  Edward Hervey  <edward@fluendo.com>
19279
19280         * docs/gst/gstreamer-sections.txt:
19281         * gst/gsturi.c:
19282         * gst/gsturi.h:
19283         Document GstURIHandler
19284
19285 2005-11-09  Wim Taymans  <wim@fluendo.com>
19286
19287         * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19288         (gst_iterator_find_custom):
19289         * gst/gstiterator.h:
19290         Fix iterator docs.
19291
19292 2005-11-09  Wim Taymans  <wim@fluendo.com>
19293
19294         * gst/gstbin.h:
19295         Document another field.
19296
19297         * gst/gststructure.c:
19298         * gst/gststructure.h:
19299         Document.
19300
19301 2005-11-09  Wim Taymans  <wim@fluendo.com>
19302
19303         * gst/gstbin.h:
19304         Documented structs.
19305
19306 2005-11-09  Wim Taymans  <wim@fluendo.com>
19307
19308         * docs/gst/gstreamer-sections.txt:
19309         Added some new macros.
19310
19311         * gst/gstclock.c:
19312         * gst/gstclock.h:
19313         * gst/gstobject.h:
19314         Docs updates.
19315
19316 2005-11-09  Wim Taymans  <wim@fluendo.com>
19317
19318         * docs/design/part-TODO.txt:
19319         Some more items for the TODO
19320
19321         * gst/gstcaps.c:
19322         * gst/gstcaps.h:
19323         Document GstCaps.
19324
19325 2005-11-09  Andy Wingo  <wingo@pobox.com>
19326
19327         * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19328         to work on something else now tho...
19329
19330         * gst/base/gstadapter.c: More adapter docs.
19331
19332         * gst/elements/gstfilesink.c (gst_file_sink_start) 
19333         (gst_file_sink_stop): New functions, replace the state change
19334         handler.
19335         (gst_file_sink_class_init): Hook up the start and stop functions.
19336         (gst_file_sink_base_init): Don't set the state change handler any
19337         more. It was a bit ugly too, being set from here...
19338         (gst_file_sink_get_property, gst_file_sink_set_property):
19339         Cleanups...
19340         (gst_file_sink_set_location): More robust check that doesn't call
19341         GST_STATE. Ugggggg.
19342
19343 2005-11-08  Tim-Philipp Müller  <tim at centricular dot net>
19344
19345         * gst/base/gstbasetransform.c: (gst_base_transform_event):
19346           Hold STREAM_LOCK while pushing newsegment or tag events as well.
19347
19348 2005-11-08  Wim Taymans  <wim@fluendo.com>
19349
19350         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19351         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19352         (gst_base_sink_chain), (gst_base_sink_change_state):
19353         * gst/base/gstbasesink.h:
19354         * gst/base/gstbasesrc.h:
19355         * gst/gstelement.h:
19356         * gst/gstevent.h:
19357         Avoid excessive typechecking in macros.
19358
19359         * gst/gstminiobject.c: (gst_mini_object_get_type),
19360         (gst_mini_object_init), (gst_mini_object_new),
19361         (gst_mini_object_free):
19362         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19363         (gst_object_finalize):
19364         Remove cruft code, optimize alloc_trace.
19365
19366 2005-11-07  Thomas Vander Stichele  <thomas at apestaart dot org>
19367
19368         * docs/faq/gst-uninstalled:
19369           fix up PS1 for systems that try to reset it
19370
19371 2005-11-07  Wim Taymans  <wim@fluendo.com>
19372
19373         * gst/base/gstbasesrc.c: (gst_base_src_init),
19374         (gst_base_src_get_range):
19375         Set the segment_end to -1 initially. Fixed typefind.
19376
19377 2005-11-07  Tim-Philipp Müller  <tim at centricular dot net>
19378
19379         * gst/base/gstadapter.c:
19380           Debug category should be 'adapter', not 'GstAdapter'.
19381           
19382         * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19383         (gst_collectpads_class_init), (gst_collectpads_init),
19384         (gst_collectpads_peek), (gst_collectpads_pop),
19385         (gst_collectpads_event), (gst_collectpads_chain):
19386           Add debug category and some debugging output. Use boilerplate
19387           macros. Remove some extraneous words from docs.
19388
19389 2005-11-05  Andy Wingo  <wingo@pobox.com>
19390
19391         * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19392         macro.
19393
19394 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19395
19396         * docs/gst/gstreamer-sections.txt:
19397         * gst/gstcaps.h:
19398         * gst/gstinfo.c:
19399         * gst/gstminiobject.h:
19400         * gst/gstobject.h:
19401         * gst/gstutils.h:
19402           more docs added
19403
19404 2005-11-04  Wim Taymans  <wim@fluendo.com>
19405
19406         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19407         Small update to stop at the configured segment_end
19408         position.
19409
19410 2005-11-04  Stefan Kost  <ensonic@users.sf.net>
19411
19412         * gst/gstregistry.c:
19413         * gst/gstregistry.h:
19414           added missing docs
19415
19416 2005-11-04  Edward Hervey  <edward@fluendo.com>
19417
19418         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19419         Check if we are doing a segment seek and have arrived at the
19420         end of that segment.
19421
19422 2005-11-04  Wim Taymans  <wim@fluendo.com>
19423
19424         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19425         Don't leak a mutex unlock in case of an error.
19426
19427         * gst/gstbus.h:
19428         Doc fixes.
19429
19430 2005-11-04  Wim Taymans  <wim@fluendo.com>
19431
19432         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19433         (gst_bus_post):
19434         Get the context to wake up only once.
19435
19436 2005-11-03  Wim Taymans  <wim@fluendo.com>
19437
19438         * check/states/sinks.c: (GST_START_TEST):
19439         Uncomment fixed check.
19440
19441         * docs/design/part-TODO.txt:
19442         Updated TODO.
19443
19444         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19445         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19446         (gst_base_sink_get_position):
19447         If we are going to PLAYING, post the right pending state
19448         when we post the intermediate paused message.
19449
19450         * gst/gstelement.c: (gst_element_continue_state),
19451         (gst_element_set_state_func), (gst_element_change_state):
19452         Don't post state changes that were between the same state
19453         and were not ASYNC.
19454
19455 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19456
19457         * docs/gst/gstreamer-sections.txt:
19458         * gst/gstcaps.h:
19459         * gst/gstinfo.c:
19460         * gst/gstminiobject.h:
19461         * gst/gstobject.h:
19462         * gst/gstutils.h:
19463           more docs and doc style fixes
19464
19465 2005-11-03  Stefan Kost  <ensonic@users.sf.net>
19466
19467         * docs/gst/gstreamer-sections.txt:
19468         * gst/gstelement.c:
19469         * gst/gstminiobject.c:
19470         doc fixes
19471
19472 2005-11-03  Andy Wingo  <wingo@pobox.com>
19473
19474         * check/states/sinks.c (test_livesrc_sink): Add checks that the
19475         state-changed messages actually have the right order and the right
19476         values.
19477
19478 2005-11-03  Wim Taymans  <wim@fluendo.com>
19479
19480         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19481         Added some more checks. Specifically the case where NO_PREROLL
19482         elements are in the pipeline.
19483
19484         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19485         (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19486         (gst_base_sink_get_position):
19487         Post READY->PAUSED state change messages too.
19488         Fix bug where VOID was posted as pending state...
19489
19490         * gst/gstbin.c: (gst_bin_recalc_state):
19491         use _element_continue_state() to continue the state change.
19492
19493         * gst/gstelement.c: (gst_element_continue_state),
19494         (gst_element_commit_state), (gst_element_set_state_func),
19495         (gst_element_change_state), (gst_element_change_state_func):
19496         Lots of state change cleanups, assign the STATE_RETURN in
19497         a new continue_state() function that also propagates the
19498         last return value from a state change to the app.
19499         Update some debug statements with proper category.
19500
19501 2005-11-03  Wim Taymans  <wim@fluendo.com>
19502
19503         * docs/design/part-events.txt:
19504         * docs/design/part-gstpipeline.txt:
19505         * docs/design/part-messages.txt:
19506         * docs/design/part-overview.txt:
19507         * docs/design/part-seeking.txt:
19508         * docs/design/part-states.txt:
19509         * docs/design/part-trickmodes.txt:
19510         * docs/manual/advanced-position.xml:
19511         Small docs updates.
19512
19513         * gst/gstobject.h:
19514         People think !! is ugly, this looks better.
19515
19516         * gst/gstpad.c: (gst_pad_set_blocked_async):
19517         Remove !! since it's fixed elsewhere now.
19518
19519 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19520
19521         * gst/gstminiobject.h:
19522         * gst/gstobject.h:
19523           Add !! to _FLAG_IS_SET macros to make the result boolean.
19524
19525 2005-11-03  Edward Hervey  <edward@fluendo.com>
19526
19527         * gst/gstpad.c: (gst_pad_set_blocked_async):
19528         comparing a flag and a gboolean rarely returns coherent results...
19529         Added two characters (!!) to make that work correctly.
19530         
19531 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19532
19533         * gst/gstbus.c: (gst_bus_class_init):
19534           Fix some typos.
19535           
19536         * gst/gstqueue.c: (gst_queue_loop):
19537           Don't assume a miniobject that isn't a buffer is an
19538           event (it could be that there is a refcounting
19539           problem somewhere and the pointer is stale and
19540           refers to an already destroyed miniobject).
19541
19542 2005-11-03  Julien MOUTTE  <julien@moutte.net>
19543
19544         * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19545
19546 2005-11-03  Tim-Philipp Müller  <tim at centricular dot net>
19547
19548         * docs/manual/advanced-position.xml:
19549           Update seek example and explanations to current 0.9 API.
19550
19551         * gst/elements/gsttypefindelement.c:
19552         (gst_type_find_element_activate):
19553           Remove FIXME comment now that the found caps
19554           are unreffed.
19555
19556 2005-11-03  Thomas Vander Stichele  <thomas at apestaart dot org>
19557
19558         * gst/gstregistryxml.c: (load_feature):
19559           Add another GST_STR_NULL instance
19560
19561 2005-11-02  Edward Hervey  <edward@fluendo.com>
19562
19563         * gst/gstpad.c: (handle_pad_block):
19564         Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19565         
19566 2005-11-02  Wim Taymans  <wim@fluendo.com>
19567
19568         * gst/gstbin.c:
19569         Fix typo in docs.
19570
19571         * gst/gstelement.c: (gst_element_commit_state):
19572         Remove unused value.
19573
19574         * gst/gstiterator.c:
19575         Mention that the returned element is reffed in the docs.
19576
19577 2005-11-02  Wim Taymans  <wim@fluendo.com>
19578
19579         * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19580         (gst_pad_push), (gst_pad_push_event):
19581         Unlock blocked pads when they are flushed.
19582
19583 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19584
19585         * docs/README:
19586         * docs/gst/gstreamer-sections.txt:
19587         * gst/gstbin.c:
19588           doc updates
19589         * gst/gstregistry.c: (gst_registry_scan_path_level):
19590           fix for a nasty little missed situation where an installed plug-in
19591           which was in the cache did not get overridden by an uninstalled one
19592           which was earlier in the plugin path because the newly created plugin
19593           for the uninstalled one (not in the registry) didn't get its
19594           ->registered set to TRUE
19595
19596 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19597
19598         * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19599         (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19600         (gst_collectpads_is_active), (gst_collectpads_collect),
19601         (gst_collectpads_collect_range), (gst_collectpads_start),
19602         (gst_collectpads_stop), (gst_collectpads_peek),
19603         (gst_collectpads_pop), (gst_collectpads_available),
19604         (gst_collectpads_read), (gst_collectpads_flush):
19605           Guard public API with assertions.
19606         
19607         * gst/gstpad.c:
19608           Fix docs for gst_pad_set_link_function().
19609
19610 2005-11-02  Johan Dahlin  <johan@gnome.org>
19611
19612         * gst/elements/gsttypefindelement.c (gst_type_find_element_activate): 
19613         Unref found_caps after we used it.
19614
19615 2005-11-02  Tim-Philipp Müller  <tim at centricular dot net>
19616
19617         * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19618           Don't try to ref NULL.
19619
19620 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19621
19622         * win32/common/config.h.in:
19623           provide a GST_FUNCTION that just gives a string for now
19624
19625 2005-11-02  Thomas Vander Stichele  <thomas at apestaart dot org>
19626
19627         * win32/common/gstenumtypes.c: (register_gst_object_flags),
19628         (gst_object_flags_get_type), (register_gst_bin_flags),
19629         (gst_bin_flags_get_type), (register_gst_buffer_flag),
19630         (gst_buffer_flag_get_type), (register_gst_bus_flags),
19631         (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19632         (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19633         (gst_clock_return_get_type), (register_gst_clock_entry_type),
19634         (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19635         (gst_clock_flags_get_type), (register_gst_state),
19636         (gst_state_get_type), (register_gst_state_change_return),
19637         (gst_state_change_return_get_type), (register_gst_state_change),
19638         (gst_state_change_get_type), (register_gst_element_flags),
19639         (gst_element_flags_get_type), (register_gst_core_error),
19640         (gst_core_error_get_type), (register_gst_library_error),
19641         (gst_library_error_get_type), (register_gst_resource_error),
19642         (gst_resource_error_get_type), (register_gst_stream_error),
19643         (gst_stream_error_get_type), (register_gst_event_type),
19644         (gst_event_type_get_type), (register_gst_seek_type),
19645         (gst_seek_type_get_type), (register_gst_seek_flags),
19646         (gst_seek_flags_get_type), (register_gst_format),
19647         (gst_format_get_type), (register_gst_index_certainty),
19648         (gst_index_certainty_get_type), (register_gst_index_entry_type),
19649         (gst_index_entry_type_get_type),
19650         (register_gst_index_lookup_method),
19651         (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19652         (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19653         (gst_index_resolver_method_get_type), (register_gst_index_flags),
19654         (gst_index_flags_get_type), (register_gst_debug_level),
19655         (gst_debug_level_get_type), (register_gst_debug_color_flags),
19656         (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19657         (gst_iterator_result_get_type), (register_gst_iterator_item),
19658         (gst_iterator_item_get_type), (register_gst_message_type),
19659         (gst_message_type_get_type), (register_gst_mini_object_flags),
19660         (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19661         (gst_pad_link_return_get_type), (register_gst_flow_return),
19662         (gst_flow_return_get_type), (register_gst_activate_mode),
19663         (gst_activate_mode_get_type), (register_gst_pad_direction),
19664         (gst_pad_direction_get_type), (register_gst_pad_flags),
19665         (gst_pad_flags_get_type), (register_gst_pad_presence),
19666         (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19667         (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19668         (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19669         (gst_plugin_error_get_type), (register_gst_plugin_flags),
19670         (gst_plugin_flags_get_type), (register_gst_rank),
19671         (gst_rank_get_type), (register_gst_query_type),
19672         (gst_query_type_get_type), (register_gst_tag_merge_mode),
19673         (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19674         (gst_tag_flag_get_type), (register_gst_task_state),
19675         (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19676         (gst_alloc_trace_flags_get_type),
19677         (register_gst_type_find_probability),
19678         (gst_type_find_probability_get_type), (register_gst_uri_type),
19679         (gst_uri_type_get_type), (register_gst_parse_error),
19680         (gst_parse_error_get_type):
19681         * win32/common/gstversion.h:
19682           update win32 copies
19683
19684 2005-11-01  Luca Ognibene  <luogni@tin.it>
19685
19686         * gst/gst.c:
19687           fix docs. popt is dead, long live GOption.
19688
19689 2005-10-31  Wim Taymans  <wim@fluendo.com>
19690
19691         * gst/gstbuffer.h:
19692         Small doc fix.
19693
19694 2005-10-31  Andy Wingo  <wingo@pobox.com>
19695
19696         * Boo!
19697
19698         * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19699
19700         * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19701         need to serialize property notifications on GLib 2.8. GLib 2.6 has
19702         the possibility of deadlocks here if code calling notify() or
19703         set() has a lock that can be taken in another notify handler (ABBA
19704         with class lock and e.g. python GIL state lock).
19705
19706 2005-10-28  Julien MOUTTE  <julien@moutte.net>
19707
19708         * gst/gstbus.c: Doc updates.
19709
19710 2005-10-28  Wim Taymans  <wim@fluendo.com>
19711
19712         * docs/design/part-TODO.txt:
19713         * gst/gstiterator.c:
19714         * gst/gstsystemclock.c:
19715         * gst/gstsystemclock.h:
19716         Doc updates.
19717
19718 2005-10-28  Edward Hervey  <edward@fluendo.com>
19719
19720         * docs/gst/gstreamer-docs.sgml:
19721         * docs/gst/gstreamer-sections.txt:
19722         the GstURIType documentation page is private, it only defines GstURIType
19723         which should be defined in the GstURIHandler page
19724         
19725 2005-10-28  Thomas Vander Stichele  <thomas at apestaart dot org>
19726
19727         * gst/gstbin.c: (gst_bin_class_init):
19728         * gst/gstbin.h:
19729         * gst/gstutils.c:
19730         Documentation updates.
19731
19732 2005-10-28  Wim Taymans  <wim@fluendo.com>
19733
19734         * docs/gst/gstreamer-sections.txt:
19735         * gst/gstclock.c:
19736         * gst/gstclock.h:
19737         Documented the clocks.
19738
19739 2005-10-28  Stefan Kost  <ensonic@users.sf.net>
19740
19741         * docs/gst/gstreamer-sections.txt:
19742           move some macros to private sections
19743         * gst/gstminiobject.c:
19744         * gst/gstminiobject.h:
19745           add descriptions provided by ds and some more
19746         * gst/gstpad.h:
19747           mark macro as to be removed
19748
19749 2005-10-28  Wim Taymans  <wim@fluendo.com>
19750
19751         * docs/design/part-TODO.txt:
19752         Add an item to TODO.
19753
19754         * gst/gstiterator.c: (gst_iterator_fold),
19755         (gst_iterator_find_custom):
19756         * gst/gstiterator.h:
19757         Add iterator docs.
19758
19759 2005-10-28  Wim Taymans  <wim@fluendo.com>
19760
19761         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19762         (gst_base_transform_init):
19763         Don't leak class.
19764
19765         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19766         An EOS event marks the queue as completely filled.
19767
19768 2005-10-27  Wim Taymans  <wim@fluendo.com>
19769
19770         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19771         (gst_base_sink_do_sync), (gst_base_sink_get_position):
19772         Some more debugging.
19773
19774         * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19775         (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19776         (gst_base_transform_event), (gst_base_transform_getrange),
19777         (gst_base_transform_chain):
19778         * gst/base/gstbasetransform.h:
19779         Fix debugging,
19780         Protect transform and concurrent buffer alloc with a new lock.
19781         Try not to break ABI/API.
19782
19783 2005-10-27  Wim Taymans  <wim@fluendo.com>
19784
19785         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19786         (gst_base_src_init), (gst_base_src_query),
19787         (gst_base_src_default_newsegment),
19788         (gst_base_src_configure_segment), (gst_base_src_do_seek),
19789         (gst_base_src_send_event), (gst_base_src_event_handler),
19790         (gst_base_src_pad_get_range), (gst_base_src_loop),
19791         (gst_base_src_unlock), (gst_base_src_default_negotiate),
19792         (gst_base_src_start), (gst_base_src_deactivate),
19793         (gst_base_src_activate_push), (gst_base_src_change_state):
19794         Move some stuff around and cleanup things.
19795
19796 2005-10-27  Tim-Philipp Müller  <tim at centricular dot net>
19797
19798         * gst/base/gstbasesrc.c: (gst_base_src_query):
19799           Add missing break statements.
19800
19801 2005-10-27  Wim Taymans  <wim@fluendo.com>
19802
19803         * check/gst/gstbin.c: (GST_START_TEST):
19804         An extra refcount is taken in basesrc.
19805
19806         * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19807         (gst_base_src_get_range), (gst_base_src_pad_get_range),
19808         (gst_base_src_loop):
19809         Small cleanups, check for flushing after being unlocked from the 
19810         LIVE_LOCK. take refcounts correctly (not yet everywhere).
19811         Don't send out EOS when going to READY.
19812
19813 2005-10-27  Wim Taymans  <wim@fluendo.com>
19814
19815         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19816         (gst_base_sink_get_position):
19817         Some more debug.
19818
19819         * gst/gstbin.c: (message_check), (bin_replace_message),
19820         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19821         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19822         (bin_query_duration_init), (bin_query_duration_fold),
19823         (bin_query_duration_done), (bin_query_generic_fold),
19824         (gst_bin_query):
19825         * tools/gst-launch.c: (main):
19826         Remove old option.
19827
19828 2005-10-26  Stefan Kost  <ensonic@users.sf.net>
19829
19830         * examples/controller/audio-example.c: (main):
19831         * examples/queue/queue.c: (event_loop):
19832         * gst/base/gstbasetransform.h:
19833         * gst/gstelement.c: (gst_element_send_event):
19834         * gst/gstevent.h:
19835         * gst/gstpad.c: (gst_pad_send_event):
19836           fixing examples
19837           fixing docs typos
19838           changing log priority in error situations
19839
19840 2005-10-25  Wim Taymans  <wim@fluendo.com>
19841
19842         * gst/gstbin.c: (message_check), (bin_replace_message),
19843         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19844         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19845         (bin_query_duration_init), (bin_query_duration_fold),
19846         (bin_query_duration_done), (bin_query_generic_fold),
19847         (gst_bin_query):
19848         Some doc and debug updates.
19849         Cache previously requested query DURATION for speed. invalidate
19850         cached duration if element posts a DURATION message.
19851
19852 2005-10-25  Wim Taymans  <wim@fluendo.com>
19853
19854         * docs/design/part-TODO.txt:
19855         Update TODO.
19856
19857         * gst/gstbin.c: (message_check), (bin_replace_message),
19858         (bin_remove_messages), (is_eos), (gst_bin_add_func),
19859         (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19860         (bin_query_duration_init), (bin_query_duration_fold),
19861         (bin_query_duration_done), (bin_query_generic_fold),
19862         (gst_bin_query):
19863         Handle SEGMENT_START/DONE messages correctly.
19864         More evolved query algorithm that handles duration queries
19865         correctly.
19866
19867         * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
19868         (gst_element_get_state_func), (gst_element_abort_state),
19869         (gst_element_commit_state), (gst_element_lost_state):
19870         Some more debugging.
19871
19872         * gst/gstmessage.h:
19873         Added doc.
19874
19875 2005-10-25  Wim Taymans  <wim@fluendo.com>
19876
19877         * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19878         Don't use invalid stream_time.
19879
19880         * gst/gstevent.c: (gst_event_new_newsegment):
19881         stream_time in newsegment cannot be undefined.
19882
19883 2005-10-24  Wim Taymans  <wim@fluendo.com>
19884
19885         * gst/gstbus.c:
19886         Doc fix.
19887
19888         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19889         (gst_queue_loop):
19890         Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
19891
19892 2005-10-24  Stefan Kost  <ensonic@users.sf.net>
19893
19894         * docs/libs/tmpl/gstdparam.sgml:
19895         * docs/libs/tmpl/gstdplinint.sgml:
19896         * docs/libs/tmpl/gstdpman.sgml:
19897         * docs/libs/tmpl/gstdpsmooth.sgml:
19898         * docs/libs/tmpl/gstunitconvert.sgml:
19899           these are obsolete
19900
19901 2005-10-24  Thomas Vander Stichele  <thomas at apestaart dot org>
19902
19903         * configure.ac:
19904           back to HEAD
19905
19906 === release 0.9.4 ===
19907
19908 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19909
19910         * configure.ac:
19911           releasing 0.9.4, "Tyrannosaurus Rex"
19912
19913 2005-10-23  Tim-Philipp Müller  <tim at centricular dot net>
19914
19915         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19916         (gst_file_sink_get_current_offset):
19917           Use fseeko() and ftello() if available. When falling back on
19918           lseek() to get the current offset, fflush() first to make sure
19919           everything is up-to-date and we get the right offset.
19920
19921 2005-10-23  Thomas Vander Stichele  <thomas at apestaart dot org>
19922
19923         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19924         * gst/base/gstbasesrc.c: (gst_base_src_loop):
19925         * gst/gsterror.c: (_gst_stream_errors_init):
19926         * gst/gsterror.h:
19927         * gst/gstqueue.c: (gst_queue_loop):
19928         * po/POTFILES.in:
19929           remove prematurely added error category and clean up the instances
19930
19931 2005-10-21  Wim Taymans  <wim@fluendo.com>
19932
19933         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19934         (gst_base_sink_get_position), (gst_base_sink_query),
19935         (gst_base_sink_change_state):
19936         Simply set the right flag when going to playing, that's all
19937         we need to do instead of calling a function inside the object
19938         lock (that could take the lock as well and deadlock)
19939
19940 2005-10-21  Wim Taymans  <wim@fluendo.com>
19941
19942         * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
19943         (gst_base_src_loop):
19944         Don't warn, the peer element knows what to do best when
19945         the seek failed, it might try something else.
19946
19947 2005-10-21  Wim Taymans  <wim@fluendo.com>
19948
19949         * gst/base/gstbasesrc.c: (gst_base_src_init),
19950         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19951         Fix seeking.
19952
19953 2005-10-21  Wim Taymans  <wim@fluendo.com>
19954
19955         * docs/design/part-segments.txt:
19956         More docs.
19957
19958         * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
19959         Correctly set caps, even on the subbufer.
19960
19961 2005-10-21  Wim Taymans  <wim@fluendo.com>
19962
19963         * docs/gst/gstreamer-docs.sgml:
19964         * docs/gst/gstreamer-sections.txt:
19965         * gst/gstelement.h:
19966         * gst/gstevent.c:
19967         * gst/gstevent.h:
19968         * gst/gstmessage.h:
19969         * gst/gstpad.h:
19970         * gst/gstparse.h:
19971         * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
19972         * gst/gsttask.h:
19973         * gst/gstutils.c:
19974         * gst/gstutils.h:
19975         And 2% more doc coverage.
19976
19977 2005-10-21  Andy Wingo  <wingo@pobox.com>
19978
19979         * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
19980         position reporting.
19981
19982 2005-10-20  Wim Taymans  <wim@fluendo.com>
19983
19984         * gst/gsterror.c: (gst_error_get_message):
19985         * gst/gstparse.h:
19986         * gst/gstquery.h:
19987         * gst/gststructure.c:
19988         * gst/gsttrace.c:
19989         * gst/gstutils.c:
19990         More docs.
19991
19992 2005-10-20  Wim Taymans  <wim@fluendo.com>
19993
19994         * gst/gstbuffer.h:
19995         * gst/gstpad.c:
19996         * gst/gstparse.c:
19997         Another 1% more coverage.
19998
19999 2005-10-20  Wim Taymans  <wim@fluendo.com>
20000
20001         * docs/gst/gstreamer-sections.txt:
20002         * gst/gstelement.c: (gst_element_get_state_func),
20003         (gst_element_abort_state), (gst_element_commit_state),
20004         (gst_element_lost_state):
20005         * gst/gstevent.h:
20006         * gst/gstquery.c: (gst_query_set_position),
20007         (gst_query_parse_position), (gst_query_set_duration),
20008         (gst_query_parse_duration), (gst_query_new_convert):
20009         * gst/gstutils.c:
20010         Yay! 1% more docs coverage.
20011
20012 2005-10-20  Wim Taymans  <wim@fluendo.com>
20013
20014         * gst/gstpad.h:
20015         * gst/gstquery.c: (gst_query_set_position),
20016         (gst_query_parse_position), (gst_query_set_duration),
20017         (gst_query_parse_duration), (gst_query_new_convert):
20018         * gst/gstquery.h:
20019         * gst/gstutils.c: (gst_element_query_convert):
20020         * gst/gstutils.h:
20021         Docs and consistency fixes.
20022
20023 2005-10-20  Wim Taymans  <wim@fluendo.com>
20024
20025         * gst/gsttask.c:
20026         * gst/gsttask.h:
20027         More docs.
20028
20029 2005-10-20  Wim Taymans  <wim@fluendo.com>
20030
20031         * gst/gstbin.c: (message_check), (bin_replace_message),
20032         (bin_remove_messages), (is_eos), (gst_bin_add_func),
20033         (update_degree), (gst_bin_sort_iterator_next),
20034         (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20035         Reworked the message handling a bit, cache the messages instead of
20036         only the senders. alows us to do more in the future.
20037
20038 2005-10-20  Wim Taymans  <wim@fluendo.com>
20039
20040         * docs/design/part-TODO.txt:
20041         Update TODO
20042
20043         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20044         (gst_base_sink_query):
20045         Don't use clock time to report position when in EOS.
20046
20047 2005-10-20  Tim-Philipp Müller  <tim at centricular dot net>
20048
20049         * tools/gst-inspect.c: (print_interfaces),
20050         (print_element_properties_info), (print_element_info):
20051           Fix interface output with gst-inspect -a; don't print
20052           newlines after double/float properties.
20053
20054 2005-10-20  Wim Taymans  <wim@fluendo.com>
20055
20056         * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20057         (gst_base_sink_query):
20058         Speed up current position calculation.
20059
20060         * gst/base/gstbasesrc.c: (gst_base_src_query),
20061         (gst_base_src_default_newsegment):
20062         Correctly set stream position in newsegment.
20063
20064         * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20065         (update_degree), (gst_bin_sort_iterator_next),
20066         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20067         * gst/gstmessage.c: (gst_message_new_custom):
20068         Clean up debugging info
20069
20070         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20071         (gst_queue_loop), (gst_queue_handle_src_query):
20072         Pause task faster.
20073
20074 2005-10-19  Wim Taymans  <wim@fluendo.com>
20075
20076         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20077         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20078         Fix query handling again.
20079
20080 2005-10-19  Wim Taymans  <wim@fluendo.com>
20081
20082         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20083         (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20084         * gst/base/gstbasesrc.c: (gst_base_src_query):
20085         * gst/elements/gstfilesink.c: (gst_file_sink_query):
20086         * gst/elements/gsttypefindelement.c:
20087         (gst_type_find_handle_src_query), (find_element_get_length),
20088         (gst_type_find_element_activate):
20089         API change fix.
20090
20091         * gst/gstquery.c: (gst_query_new_position),
20092         (gst_query_set_position), (gst_query_parse_position),
20093         (gst_query_new_duration), (gst_query_set_duration),
20094         (gst_query_parse_duration), (gst_query_set_segment),
20095         (gst_query_parse_segment):
20096         * gst/gstquery.h:
20097         Bundling query position/duration is not a good idea since duration
20098         does not change much and we don't want to recalculate it for every
20099         position query, so they are separated again..
20100         Base value in segment query is not needed.
20101
20102         * gst/gstqueue.c: (gst_queue_handle_src_query):
20103         * gst/gstutils.c: (gst_element_query_position),
20104         (gst_element_query_duration), (gst_pad_query_position),
20105         (gst_pad_query_duration):
20106         * gst/gstutils.h:
20107         Updates for query API change.
20108         Added some docs here and there.
20109
20110 2005-10-19  Thomas Vander Stichele  <thomas at apestaart dot org>
20111
20112         * check/gst/gstbin.c: (GST_START_TEST):
20113         * check/gst/gstghostpad.c: (GST_START_TEST):
20114         * check/pipelines/cleanup.c: (GST_START_TEST):
20115           wait on thread to die so we can check refcount correctly
20116
20117 2005-10-18  Wim Taymans  <wim@fluendo.com>
20118
20119         * check/pipelines/stress.c: (GST_START_TEST):
20120         Make check a little more time consuming.
20121
20122 2005-10-18  Wim Taymans  <wim@fluendo.com>
20123
20124         * check/Makefile.am:
20125         * check/pipelines/stress.c: (GST_START_TEST),
20126         (simple_launch_lines_suite), (main):
20127         Small state change torture test.
20128
20129         * docs/design/part-states.txt:
20130         * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20131         (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20132         (gst_base_sink_change_state):
20133         Never take state lock from streaming thread, clean up ugly
20134         hacks. Unfortunatly core does not yet support nice ways to
20135         async commit state.
20136         
20137         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20138         (bin_bus_handler):
20139         Start state recalc if a STATE_DIRTY message is posted, but only
20140         on the toplevel bin.
20141
20142         * gst/gstelement.c: (gst_element_sync_state_with_parent),
20143         (gst_element_get_state_func), (gst_element_abort_state),
20144         (gst_element_commit_state), (gst_element_lost_state),
20145         (gst_element_set_state_func), (gst_element_change_state):
20146         * gst/gstelement.h:
20147         State variables are now protected with the LOCK, the state
20148         lock is only used to serialize _set_state().
20149
20150 2005-10-18  Wim Taymans  <wim@fluendo.com>
20151
20152         * check/gst/gstbin.c: (GST_START_TEST):
20153         * check/gst/gstmessage.c: (GST_START_TEST):
20154         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20155         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20156         (bin_bus_handler):
20157         * gst/gstelement.c: (gst_element_abort_state),
20158         (gst_element_commit_state), (gst_element_lost_state):
20159         * gst/gstmessage.c: (gst_message_new_state_changed),
20160         (gst_message_new_state_dirty), (gst_message_new_segment_start),
20161         (gst_message_new_segment_done), (gst_message_new_duration),
20162         (gst_message_parse_state_changed),
20163         (gst_message_parse_segment_start),
20164         (gst_message_parse_segment_done), (gst_message_parse_duration):
20165         * gst/gstmessage.h:
20166         * tools/gst-launch.c: (event_loop):
20167         Seriously, this is better than a previous commit as we only need
20168         to notify the fact that an element changed state in a streaming
20169         thread, marking the state of the parents dirty, hence the 
20170         STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20171         message.
20172
20173 2005-10-18  Wim Taymans  <wim@fluendo.com>
20174
20175         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20176         (gst_bin_recalc_func):
20177         * gst/gstelement.c: (gst_element_set_clock),
20178         (gst_element_abort_state), (gst_element_lost_state):
20179         Cleanups, prepare for state change fixes.
20180
20181 2005-10-18  Wim Taymans  <wim@fluendo.com>
20182
20183         * gst/gstbin.h:
20184         * gst/gstelement.c: (gst_element_class_init),
20185         (gst_element_set_state), (gst_element_set_state_func):
20186         * gst/gstelement.h:
20187         Pending ABI changes.
20188         GThreadPool in GstBinClass to monitor async state changes.
20189         state_cookie in GstElement to detect concurrent gst/set state.
20190         set_state is now virtual too in case a very complicated element
20191         has to be constructed.
20192
20193 2005-10-18  Wim Taymans  <wim@fluendo.com>
20194
20195         * check/gst/gstbin.c: (GST_START_TEST):
20196         * check/gst/gstmessage.c: (GST_START_TEST):
20197         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20198         * gst/gstbin.c: (bin_bus_handler):
20199         * gst/gstelement.c: (gst_element_commit_state),
20200         (gst_element_lost_state):
20201         * gst/gstmessage.c: (gst_message_new_state_changed),
20202         (gst_message_new_segment_start), (gst_message_new_segment_done),
20203         (gst_message_new_duration), (gst_message_parse_state_changed),
20204         (gst_message_parse_segment_start),
20205         (gst_message_parse_segment_done), (gst_message_parse_duration):
20206         * gst/gstmessage.h:
20207         * tools/gst-launch.c: (event_loop):
20208         Make messages future proof.
20209         state-change gets a flag if it was a message comming from the
20210         streaming thread.
20211         segment-start/stop can also be specified in other formats.
20212         A message to notify an app that a pipeline changed playback 
20213         duration.
20214         Also fix a GstMessage leak in -launch
20215
20216 2005-10-18  Andy Wingo  <wingo@pobox.com>
20217
20218         * gst/gstelement.c (gst_element_dispose): More helpful message.
20219
20220 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20221
20222         reviewed by: <delete if not using a buddy>
20223
20224         * common/gtk-doc.mak:
20225
20226 2005-10-18  Thomas Vander Stichele  <thomas at apestaart dot org>
20227
20228         * gst/gstregistry.c: (gst_registry_scan_path_level):
20229           unref a plug-in we get that was already initialized
20230
20231 2005-10-18  Stefan Kost  <ensonic@users.sf.net>
20232
20233         * docs/gst/gstreamer-sections.txt:
20234         * docs/libs/gstreamer-libs-sections.txt:
20235         * gst/gstelement.h:
20236           add new api entries
20237           hide internal macro
20238
20239 2005-10-17  Andy Wingo  <wingo@pobox.com>
20240
20241         * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20242         cleanup.
20243
20244         * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20245
20246         * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20247
20248         * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20249         (gst_element_get_state_func): Better debug message.
20250         (gst_element_commit_state): s/INFO/DEBUG/.
20251         (gst_element_lost_state, gst_element_change_state): 
20252
20253         * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20254         (gst_message_new_custom): s/INFO/LOG/.
20255
20256 2005-10-17  Michael Smith <msmith@fluendo.com>
20257
20258         * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20259           Check if end time is valid using end time, not start time.
20260
20261 2005-10-17  Stefan Kost  <ensonic@users.sf.net>
20262
20263         * check/gst-libs/controller.c: (GST_START_TEST),
20264         (gst_controller_suite):
20265         * libs/gst/controller/gstcontroller.c:
20266         (gst_controlled_property_set_interpolation_mode):
20267         * libs/gst/controller/gstcontroller.h:
20268         * libs/gst/controller/gstinterpolation.c:
20269         * testsuite/controller/.cvsignore:
20270         * testsuite/controller/Makefile.am:
20271         * testsuite/controller/interpolator.c:
20272           merge controller testsuites
20273           fix broken tests
20274           remove mem-chunk from docs
20275
20276 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20277
20278         * gst/gstmemchunk.c:
20279         * gst/gstmemchunk.h:
20280         * gst/gsttrashstack.c:
20281         * gst/gsttrashstack.h:
20282           out.  get out.  you're fired.  to the Attic !
20283
20284 2005-10-17  Thomas Vander Stichele  <thomas at apestaart dot org>
20285
20286         * gst/gstcaps.c: (gst_caps_intersect):
20287           fix signedness issues in a (hopefully) correct way
20288         * gst/gstelement.c: (gst_element_pads_activate):
20289           some debugging
20290         * gst/gstobject.c: (gst_object_set_parent):
20291           some debugging
20292
20293 2005-10-17  Julien MOUTTE  <julien@moutte.net>
20294
20295         * gst/gstvalue.h: Fix prototypes.
20296
20297 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20298
20299         * docs/gst/gstreamer-sections.txt:
20300         * gst/gst.c: (gst_version_string):
20301         * gst/gst.h:
20302         * gst/gstversion.h.in:
20303         * win32/common/libgstreamer.def:
20304           add gst_version_string ()
20305
20306 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20307
20308         * configure.ac:
20309           clean up further
20310         * gst/gst.c: (init_post):
20311         * win32/common/config.h.in:
20312           it's PLUGINDIR now
20313         * gst/gstcaps.c: (gst_caps_intersect):
20314           use gint64, the range could be bigger than a guint
20315
20316 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20317
20318         * gst/gstclock.h:
20319           document potential problem in 2038
20320
20321 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20322
20323         * gst/gstcaps.c: (gst_caps_intersect):
20324           Fix guint j diving under 0
20325
20326 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20327
20328         * configure.ac:
20329         * win32/common/config.h:
20330         * win32/common/config.h.in:
20331           check for process.h, declares getpid() on Windows
20332         * gst/gstinfo.c:
20333           include process.h if we have it
20334         * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20335         * gst/gstmemchunk.h:
20336           fix signedness issues
20337         * win32/common/libgstreamer.def:
20338           fix get_type's
20339
20340 2005-10-16  Julien MOUTTE  <julien@moutte.net>
20341
20342         * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20343         fix. Because of unsigned ints, caps intersection was going nuts and
20344         trying to access structures with G_MAXUINT index. That fixes
20345         videotestsrc ! ffmpegcolorspace ! fakesink
20346         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20347         consistency.
20348
20349 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20350
20351         * configure.ac:
20352           use the gettext macro
20353         * gst/elements/gstelements.c:
20354         * gst/gst.c:
20355         * gst/indexers/gstindexers.c:
20356           update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20357         * win32/common/config.h:
20358           updated config.h
20359         * win32/common/config.h.in:
20360           add the template to generate config.h
20361         * win32/common/gstenumtypes.c:
20362         * win32/common/gstversion.h:
20363           updated copies
20364
20365 2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>
20366
20367         * gst/gst.c: (gst_version):
20368         * gst/gstversion.h.in:
20369           add the nano
20370
20371 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20372
20373         * gst/gstevent.h:
20374           Oops, add missing closing bracket.
20375
20376 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20377
20378         * configure.ac:
20379           use common m4's for argument checking
20380
20381 2005-10-15  Tim-Philipp Müller  <tim at centricular dot net>
20382
20383         * docs/gst/gstreamer-sections.txt:
20384         * gst/gstevent.h:
20385           Add GST_EVENT_TYPE_NAME() macro.
20386
20387 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20388
20389         * gst/gstinfo.c:
20390         * gst/gstpluginfeature.c:
20391         * gst/gsttask.c:
20392           privatize more symbols
20393
20394 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20395
20396         * configure.ac:
20397           add srcdir, builddir includes to GST_ALL_CFLAGS, since
20398           everything that uses GStreamer API should have the includes
20399
20400 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20401
20402         * docs/gst/gstreamer-sections.txt:
20403         * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20404         * gst/gstvalue.h:
20405           give each value a _get_type, removes the DATA exports
20406
20407 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20408
20409         * gst/gst.c:
20410         * gst/gst.h:
20411           remove _gst_registry_auto_load, not used anymore
20412         * gst/gstbin.c: (gst_bin_get_type):
20413         * gst/gstbin.h:
20414         * gst/gstelement.c: (gst_element_get_type):
20415         * gst/gstelement.h:
20416         * gst/gstobject.c: (gst_object_get_type):
20417         * gst/gstobject.h:
20418         * gst/gstpad.c: (gst_pad_get_type):
20419         * gst/gstpad.h:
20420           make _get_type functions similar, fixes data export from library
20421
20422 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20423
20424         * configure.ac:
20425           correctly make conditionals
20426         * gst/elements/Makefile.am:
20427         * gst/elements/gstelements.c:
20428           fix typo causing fdsrc not to build
20429
20430 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20431
20432         * testsuite/Makefile.am:
20433         * testsuite/bytestream/.cvsignore:
20434         * testsuite/bytestream/Makefile.am:
20435         * testsuite/bytestream/filepadsink.c:
20436         * testsuite/bytestream/gstbstest.c:
20437         * testsuite/bytestream/test1.c:
20438         * testsuite/bytestream/testfile1:
20439         * testsuite/caps/normalisation.c:
20440         * testsuite/caps/random.c: (main):
20441         * testsuite/cleanup/.cvsignore:
20442         * testsuite/cleanup/Makefile.am:
20443         * testsuite/cleanup/cleanup1.c:
20444         * testsuite/cleanup/cleanup2.c:
20445         * testsuite/cleanup/cleanup3.c:
20446         * testsuite/cleanup/cleanup4.c:
20447         * testsuite/cleanup/cleanup5.c:
20448         * testsuite/controller/interpolator.c:
20449         * testsuite/debug/printf_extension.c: (main):
20450         * testsuite/elements/tee.c:
20451         * testsuite/negotiation/.cvsignore:
20452         * testsuite/negotiation/Makefile.am:
20453         * testsuite/negotiation/pad_link.c:
20454         * testsuite/pad/Makefile.am:
20455         * testsuite/pad/chainnopull.c:
20456         * testsuite/pad/getnopush.c:
20457         * testsuite/pad/link.c:
20458         * testsuite/refcounting/sched.c: (create_pipeline):
20459         * testsuite/registry/Makefile.am:
20460         * testsuite/registry/gst-print-formats.c:
20461         * testsuite/schedulers/.cvsignore:
20462         * testsuite/schedulers/142183-2.c:
20463         * testsuite/schedulers/142183.c:
20464         * testsuite/schedulers/143777-2.c:
20465         * testsuite/schedulers/143777.c:
20466         * testsuite/schedulers/147713.c:
20467         * testsuite/schedulers/147819.c:
20468         * testsuite/schedulers/147894-2.c:
20469         * testsuite/schedulers/147894.c:
20470         * testsuite/schedulers/Makefile.am:
20471         * testsuite/schedulers/group_link.c:
20472         * testsuite/schedulers/queue_link.c:
20473         * testsuite/schedulers/relink.c:
20474         * testsuite/schedulers/unlink.c:
20475         * testsuite/schedulers/unref.c:
20476         * testsuite/schedulers/useless_iteration.c:
20477         * testsuite/states/bin.c:
20478           clean out/remove some stuff from the testsuite directories
20479
20480 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20481
20482         * configure.ac:
20483           check for some headers
20484         * gst/elements/Makefile.am:
20485         * gst/elements/gstelements.c:
20486           don't compile fdsrc without sys/socket.h
20487         * gst/indexers/Makefile.am:
20488         * gst/indexers/gstindexers.c: (plugin_init):
20489           don't compile fileindex without mmap
20490
20491 2005-10-15  Thomas Vander Stichele  <thomas at apestaart dot org>
20492
20493         * configure.ac:
20494           reorganize
20495           clean up
20496           document more
20497           remove cruft
20498         * check/Makefile.am:
20499         * docs/gst/Makefile.am:
20500         * examples/helloworld/Makefile.am:
20501         * gst/Makefile.am:
20502         * gst/base/Makefile.am:
20503         * gst/check/Makefile.am:
20504         * gst/elements/Makefile.am:
20505         * gst/indexers/Makefile.am:
20506         * gst/parse/Makefile.am:
20507         * libs/gst/controller/Makefile.am:
20508         * libs/gst/dataprotocol/Makefile.am:
20509         * examples/helloworld/helloworld.c: (event_loop):
20510           compile fixes, though it's not being compiled currently
20511
20512 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20513
20514         * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20515           Add some simple tests for the new taglist date API.
20516
20517 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20518
20519         * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20520         * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20521           Beautify 'last-message' output: print 'none' for buffer timestamps
20522           and durations if none is set; improve alignment with next messages.
20523
20524 2005-10-14  Tim-Philipp Müller  <tim at centricular dot net>
20525
20526         * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20527         * gst/gstpluginfeature.h:
20528         * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20529         * gst/gstregistry.h:
20530         * docs/gst/gstreamer-sections.txt:
20531           Add new API to check plugin feature version requirements.
20532
20533         * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20534           Some basic tests for the above.         
20535
20536 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20537
20538         * gst/gststructure.c: (gst_structure_to_string):
20539           guard against NULL printf - happens when for example
20540           a message structure with GstClock gets serialized
20541
20542 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20543
20544         * gst/base/gstcollectpads.c: (gst_collectpads_event):
20545           Fix presumable copy'n'pasto.
20546
20547 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20548
20549         * gst/elements/gstfakesrc.h:
20550         * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20551         * gst/elements/gsttypefindelement.c:
20552           fix some signedness
20553         * gst/elements/gstfilesink.c: (gst_file_sink_render):
20554           I wonder if this could actually write +2GB files before
20555
20556 2005-10-13  Andy Wingo  <wingo@pobox.com>
20557
20558         * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20559         Fix Timmeke Waymans bug.
20560         (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20561         string of the proper length to gst_caps_from_string. There's a
20562         potential for, before this fix, that this could cause someone
20563         connecting over the network to cause a segfault if the payload is
20564         not NUL-terminated.
20565
20566 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20567
20568         * docs/design/draft-push-pull.txt:
20569         * docs/design/part-overview.txt:
20570         * docs/random/TODO-pre-0.9:
20571         * docs/random/old/ChangeLog.gstreamer:
20572         * gst/base/gstpushsrc.c:
20573         * gst/gstclock.c:
20574           fixed typos
20575
20576 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20577
20578         * gst/glib-compat.c: (gst_flags_get_first_value):
20579         * gst/glib-compat.h:
20580         * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20581         (gst_value_compare_double), (gst_value_serialize_flags):
20582           GLib 2.6 g_flags_get_first_value has a bug that triggers an
20583           infinite loop
20584
20585 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20586
20587         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20588         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20589           fix up debugging
20590         * tools/gst-launch.c: (event_loop):
20591           print out clock nicely
20592
20593 2005-10-13  Tim-Philipp Müller  <tim at centricular dot net>
20594
20595         * docs/gst/gstreamer-sections.txt:
20596         * gst/gsttaglist.h:
20597         * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20598         (gst_tag_list_get_date_index):
20599           Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20600           GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20601
20602 2005-10-13  Julien MOUTTE  <julien@moutte.net>
20603
20604         * gst/base/gstcollectpads.c: (gst_collectpads_event),
20605         (gst_collectpads_chain):
20606         * gst/base/gstcollectpads.h: Handle newsegment and store informations
20607         in CollectData.
20608
20609 2005-10-13  Stefan Kost  <ensonic@users.sf.net>
20610
20611         * docs/gst/gstreamer-sections.txt:
20612         * gst/gst.c:
20613         * gst/gsterror.h:
20614         * tools/gst-inspect.c: (main):
20615         * tools/gst-launch.c: (main):
20616         * tools/gst-run.c: (main):
20617         * tools/gst-xmlinspect.c: (main):
20618           fix GOption context leaks
20619           doc fixes
20620
20621 2005-10-13  Thomas Vander Stichele  <thomas at apestaart dot org>
20622
20623         * gst/gstbus.c:
20624           use HAVE_UNISTD_H
20625         * win32/common/config.h:
20626           update config
20627         * win32/vs6/grammar.dsp:
20628         * win32/vs6/libgstelements.dsp:
20629         * win32/vs6/libgstreamer.dsp:
20630           update vs6 files
20631
20632 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20633
20634         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20635         * gst/base/gstbasesrc.c: (gst_base_src_query):
20636           fix more guint64<->gdouble conversions
20637
20638 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20639
20640         * Makefile.am:
20641           add win32-update target
20642         * win32/common/gstconfig.h:
20643         * win32/common/gstenumtypes.c:
20644         * win32/common/gstenumtypes.h:
20645         * win32/common/gstversion.h:
20646           add files that visual studio can't generate
20647
20648 2005-10-12  Thomas Vander Stichele  <thomas at apestaart dot org>
20649
20650         * Makefile.am:
20651           add a win32-update target
20652         * configure.ac:
20653
20654 2005-10-12  Wim Taymans  <wim@fluendo.com>
20655
20656         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20657         (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20658         * gst/gstelement.c: (gst_element_commit_state),
20659         (gst_element_set_state):
20660         Protect flags with proper lock.
20661         unref provided cached clock in dispose.
20662
20663 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20664
20665         * gst/gst.c:
20666         * gst/gstminiobject.h:
20667         * gst/gstpad.h:
20668         * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20669           removed unused flags from miniobject
20670           doc fixes
20671
20672 2005-10-12  Wim Taymans  <wim@fluendo.com>
20673
20674         * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20675         (gst_file_sink_event), (gst_file_sink_render):
20676         Flush before seeking.
20677
20678 2005-10-12  Andy Wingo  <wingo@pobox.com>
20679
20680         * gst/gst.c (gst_init_check): Ignore unknown options, as has
20681         always been the case.
20682
20683 2005-10-12  Stefan Kost  <ensonic@users.sf.net>
20684
20685         * check/gst/gstbin.c: (GST_START_TEST):
20686         * docs/gst/gstreamer-sections.txt:
20687         * gst/base/gstbasesink.c: (gst_base_sink_init):
20688         * gst/base/gstbasesrc.c: (gst_base_src_init),
20689         (gst_base_src_get_range), (gst_base_src_check_get_range),
20690         (gst_base_src_start), (gst_base_src_stop):
20691         * gst/base/gstbasesrc.h:
20692         * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20693         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20694         (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20695         (bin_bus_handler):
20696         * gst/gstbin.h:
20697         * gst/gstbuffer.h:
20698         * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20699         * gst/gstbus.h:
20700         * gst/gstelement.c: (gst_element_is_locked_state),
20701         (gst_element_set_locked_state), (gst_element_commit_state),
20702         (gst_element_set_state):
20703         * gst/gstelement.h:
20704         * gst/gstindex.c: (gst_index_init):
20705         * gst/gstindex.h:
20706         * gst/gstminiobject.h:
20707         * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20708         (gst_object_set_parent):
20709         * gst/gstobject.h:
20710         * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20711         (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20712         * gst/gstpad.h:
20713         * gst/gstpadtemplate.h:
20714         * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20715         (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20716         * gst/gstpipeline.h:
20717         * gst/indexers/gstfileindex.c: (gst_file_index_load),
20718         (gst_file_index_commit):
20719         * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20720         * testsuite/pad/link.c: (gst_test_src_init),
20721         (gst_test_filter_init), (gst_test_sink_init):
20722         * testsuite/states/locked.c: (main):
20723           renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20724           moved bitshift from macro to enum definition
20725
20726 2005-10-12  Wim Taymans  <wim@fluendo.com>
20727
20728         * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20729         * gst/elements/gstfilesink.c: (gst_file_sink_event),
20730         (gst_file_sink_render):
20731         Some more debugging info.
20732
20733 2005-10-12  Wim Taymans  <wim@fluendo.com>
20734
20735         * docs/design/part-states.txt:
20736         * tools/gst-launch.c: (main):
20737         Some doc updates.
20738         Revert non-intentional change.
20739
20740 2005-10-12  Wim Taymans  <wim@fluendo.com>
20741
20742         * check/gst/gstbin.c: (GST_START_TEST):
20743         * check/gst/gstelement.c: (GST_START_TEST):
20744         * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20745         * check/gst/gstghostpad.c: (GST_START_TEST):
20746         * check/gst/gstpipeline.c: (GST_START_TEST):
20747         * check/pipelines/simple_launch_lines.c: (run_pipeline):
20748         * check/states/sinks.c: (GST_START_TEST):
20749         * gst/elements/gsttypefindelement.c: (stop_typefinding):
20750         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20751         (gst_bin_remove_func), (gst_bin_get_state_func),
20752         (gst_bin_recalc_state), (gst_bin_change_state_func),
20753         (bin_bus_handler):
20754         * gst/gstelement.c: (gst_element_get_state_func),
20755         (gst_element_get_state), (gst_element_abort_state),
20756         (gst_element_commit_state), (gst_element_set_state),
20757         (gst_element_change_state), (gst_element_change_state_func):
20758         * gst/gstelement.h:
20759         * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20760         (gst_pipeline_provide_clock_func):
20761         * gst/gstutils.c: (gst_element_link_pads_filtered):
20762         * tools/gst-launch.c: (main):
20763         * tools/gst-typefind.c: (main):
20764         Use GstClockTime in _get_state() instead of GTimeVal.
20765         Remove old code in gstutils.c
20766
20767 2005-10-12  Andy Wingo  <wingo@pobox.com>
20768
20769         * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20770         removed.
20771
20772         * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20773         there is no task. Shouldn't affect any code, as nothing in our
20774         plugins checks this return value.
20775         (gst_pad_stop_task): Also take the stream lock if the pad has no
20776         task. Docs updated.
20777
20778 2005-10-12  Wim Taymans  <wim@fluendo.com>
20779
20780         * gst/gstpad.c: (pre_activate), (post_activate),
20781         (gst_pad_activate_pull), (gst_pad_activate_push):
20782         Cleanup activation code. Reset old state if
20783         activation failed.
20784
20785 2005-10-12  Wim Taymans  <wim@fluendo.com>
20786
20787         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20788         (gst_base_sink_change_state):
20789         No need to prerol after receiving EOS.
20790
20791         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20792         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20793         * gst/elements/gstidentity.c: (gst_identity_event):
20794         Print events more verbosely.
20795
20796 2005-10-12  Wim Taymans  <wim@fluendo.com>
20797
20798         * check/Makefile.am:
20799         * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20800         * check/states/sinks2.c:
20801         Moved sinks2 testcode in sinks check.
20802
20803         * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20804         (gst_bin_remove_func), (gst_bin_recalc_state),
20805         (gst_bin_change_state_func), (bin_bus_handler):
20806         Fix potential race condition when _get_state() iterated over an
20807         ASYNC element right before it posted a state completion.
20808
20809         * gst/gstclock.h:
20810         Do proper cast here.
20811
20812         * gst/gstevent.c: (gst_event_new_newsegment),
20813         (gst_event_parse_newsegment):
20814         A playback rate of 0.0 is not allowed.
20815
20816 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20817
20818         * win32/common/config.h:
20819         * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20820         (_trewinddir), (_ttelldir), (_tseekdir):
20821         * win32/common/dirent.h:
20822         * win32/common/gtchar.h:
20823         * win32/common/libgstbase.def:
20824         * win32/common/libgstreamer.def:
20825         * win32/vs6/grammar.dsp:
20826         * win32/vs6/gst_inspect.dsp:
20827         * win32/vs6/gst_launch.dsp:
20828         * win32/vs6/gstreamer.dsw:
20829         * win32/vs6/libgstbase.dsp:
20830         * win32/vs6/libgstelements.dsp:
20831         * win32/vs6/libgstreamer.dsp:
20832           Visual Studio 6 project files, and a new common directory.
20833           Phear.
20834
20835 2005-10-11  Wim Taymans  <wim@fluendo.com>
20836
20837         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20838         (gst_base_sink_do_sync), (gst_base_sink_query),
20839         (gst_base_sink_change_state):
20840         * gst/base/gstbasesink.h:
20841         Correctly parse newsegment info.
20842
20843 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20844
20845         * gst/gst.c: (init_post):
20846           split plugin paths correctly
20847
20848 2005-10-11  Wim Taymans  <wim@fluendo.com>
20849
20850         * check/gst/gstevent.c: (GST_START_TEST):
20851         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20852         (gst_base_sink_change_state):
20853         * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20854         * gst/base/gstbasetransform.c: (gst_base_transform_event):
20855         * gst/elements/gstfilesink.c: (gst_file_sink_event):
20856         * gst/gstevent.c: (gst_event_new_newsegment),
20857         (gst_event_parse_newsegment):
20858         * gst/gstevent.h:
20859         Added extra flag to newsegment for future API freeze.
20860         Updated check and base elements.
20861
20862 2005-10-11  Julien MOUTTE  <julien@moutte.net>
20863
20864         * gst/base/gstcollectpads.c: (gst_collectpads_init),
20865         (gst_collectpads_add_pad), (gst_collectpads_pop),
20866         (gst_collectpads_event), (gst_collectpads_chain):
20867         * gst/base/gstcollectpads.h: Handle EOS correctly.
20868
20869 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20870
20871         * tools/gst-launch.c: (main):
20872           more null protecting
20873
20874 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20875
20876         * gst/gst-i18n-lib.h:
20877           check for ENABLE_NLS, not GETTEXT_PACKAGE
20878         * gst/gstregistry.c: (gst_registry_add_plugin),
20879         (gst_registry_scan_path_level),
20880         (_gst_registry_remove_cache_plugins):
20881           protect possibly NULL strings
20882         * gst/parse/types.h:
20883           config.h already included before
20884         * tools/gst-inspect.c: (main):
20885           sys/wait.h also doesn�t exist on mingw, so change the ifdef check
20886           check for ENABLE_NLS, not GETTEXT_PACKAGE
20887         * tools/gst-launch.c: (main):
20888           check for ENABLE_NLS, not GETTEXT_PACKAGE
20889
20890 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20891
20892         * configure.ac:
20893           if we don't have glib, fail before testing 2.8
20894         * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
20895           fix a leak, should fix plugins-base testsuite
20896
20897 2005-10-11  Andy Wingo  <wingo@pobox.com>
20898
20899         * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
20900         take the mode we're going to as an arg. Go head and set the mode
20901         and flushing flags now, so that if the activate function starts a
20902         thread all the flags will be in the right state.
20903         (post_activate): Renamed also. Just handle making sure streaming
20904         finishes for the deactivation case, and setting the deactivated
20905         mode.
20906         (gst_pad_set_active): Complain loudly if deactivation fails.
20907         (gst_pad_activate_pull): Adapt to pre/post_activate changes.
20908         (gst_pad_activate_push): Adapt to pre/post_activate changes,
20909         remove the terrible hack.
20910
20911 2005-10-11  Wim Taymans  <wim@fluendo.com>
20912
20913         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20914         (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
20915         (gst_bin_recalc_state), (gst_bin_change_state_func),
20916         (gst_bin_dispose), (bin_bus_handler):
20917         * gst/gstbin.h:
20918         Prepare to make current EOS message queue more generic.
20919         Fix some typos.
20920
20921         * gst/gstevent.c: (gst_event_new_newsegment),
20922         (gst_event_parse_newsegment):
20923         * gst/gstevent.h:
20924         Rename base to stream_time.
20925
20926         * gst/gstmessage.h:
20927         Fix typo in docs.
20928
20929 2005-10-11  Wim Taymans  <wim@fluendo.com>
20930
20931         * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20932         (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
20933         (gst_bin_change_state_func), (bin_bus_handler):
20934         * gst/gstbin.h:
20935         Work on proper clock selection.
20936
20937 2005-10-11  Edward Hervey  <edward@fluendo.com>
20938
20939         * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list): 
20940         * libs/gst/controller/gstcontroller.h:
20941         Added GList* version of _remove_properties() in order to be able to wrap
20942         it in bindings.
20943
20944 2005-10-11  Wim Taymans  <wim@fluendo.com>
20945
20946         * docs/design/part-states.txt:
20947         Some more docs.
20948
20949         * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
20950         (gst_bin_change_state_func), (bin_bus_handler):
20951         Doc updates. Don't distribute the same clock over and over again.
20952
20953         * gst/gstclock.c:
20954         * gst/gstclock.h:
20955         Doc updates.
20956
20957         * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
20958         (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
20959         (gst_pad_send_event):
20960         * gst/gstpad.h:
20961         Make probe emission threadsafe again.
20962         Register quarks and move _get_name() from utils.
20963         Doc updates.
20964
20965         * gst/gstpipeline.c: (gst_pipeline_class_init),
20966         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
20967         Only redistribute the clock of it changed.
20968
20969         * gst/gstsystemclock.h:
20970         Doc updates. 
20971
20972         * gst/gstutils.c:
20973         * gst/gstutils.h:
20974         Moved the _flow_get_name() to GstPad.
20975
20976 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20977
20978         * check/gst-libs/gdp.c: (GST_START_TEST):
20979         * check/gst/gstcaps.c: (GST_START_TEST):
20980         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
20981         (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
20982         (gst_dp_packet_from_caps):
20983           fix more valgrind warnings before turning up the heat
20984
20985 2005-10-11  Thomas Vander Stichele  <thomas at apestaart dot org>
20986
20987         * gst/parse/grammar.y:
20988           some cleanup before the hacking
20989
20990 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
20991
20992         * gst/base/gstbasesrc.c: (gst_base_src_query):
20993           use conversions
20994         * gst/gstutils.c: (gst_guint64_to_gdouble),
20995         (gst_gdouble_to_guint64), (gst_util_uint64_scale):
20996         * gst/gstutils.h:
20997           externalize, basesrc uses it
20998           obviously the implementation needs testing
20999
21000 2005-10-10  Wim Taymans  <wim@fluendo.com>
21001
21002         * tests/sched/Makefile.am:
21003         * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21004         (make_pipeline3), (make_pipeline4), (print_elem), (main):
21005
21006 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21007
21008         * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21009           apparently converting from guint64 to double is not implemented
21010           on MSVC
21011
21012 2005-10-10  Wim Taymans  <wim@fluendo.com>
21013
21014         * check/Makefile.am:
21015         * check/generic/states.c: (GST_START_TEST):
21016         * check/gst/gstbin.c: (GST_START_TEST):
21017         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21018         * check/states/sinks.c: (GST_START_TEST):
21019         * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21020         (main):
21021         Check fixes, use API as stated in design docs, remove hacks.
21022
21023         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21024         (gst_base_sink_change_state):
21025         Catch stopping our task while we're shutting down.
21026
21027         * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21028         (gst_bin_remove_func), (gst_bin_get_state_func),
21029         (gst_bin_recalc_state), (gst_bin_change_state_func),
21030         (bin_bus_handler):
21031         * gst/gstbin.h:
21032         * gst/gstelement.c: (gst_element_init),
21033         (gst_element_get_state_func), (gst_element_abort_state),
21034         (gst_element_commit_state), (gst_element_lost_state),
21035         (gst_element_set_state), (gst_element_change_state),
21036         (gst_element_change_state_func):
21037         * gst/gstelement.h:
21038         New state change algorithm (see #318116)
21039
21040         * gst/gstpipeline.c: (gst_pipeline_class_init),
21041         (gst_pipeline_init), (gst_pipeline_set_property),
21042         (gst_pipeline_get_property), (do_pipeline_seek),
21043         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21044         * gst/gstpipeline.h:
21045         Remove crude state change hacks.
21046
21047         * gst/gstutils.h:
21048         Remove crude hacks.
21049
21050         * tools/gst-launch.c: (main):
21051         Fixes for state change. Needs some more work to fully use the
21052         new stuff.
21053
21054 2005-10-10  Andy Wingo  <wingo@pobox.com>
21055
21056         * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21057
21058         * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21059         this flag, but it's not even in GLib 2.6. Odd. Hack around the
21060         issue.
21061
21062 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21063
21064         * gst/gstiterator.c: (gst_iterator_new):
21065           Fix my previous commit: GTypes passed to gst_iterator_new()
21066           can be fundamental types.
21067
21068 2005-10-10  Wim Taymans  <wim@fluendo.com>
21069
21070         * gst/gstelement.c: (gst_element_iterate_pad_list),
21071         (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21072         (gst_element_iterate_sink_pads):
21073         Use src/sink pads lists for the respective iterators instead
21074         of filtering.
21075
21076 2005-10-10  Andy Wingo  <wingo@pobox.com>
21077
21078         Merged in popt removal + GOption addition patch from Ronald, bug
21079         #169772.
21080
21081         * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21082         GstElement macros around, remove popt-related symbols, add goption
21083         stuff.
21084
21085         * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21086         
21087         * docs/gst/Makefile.am:
21088         * docs/libs/Makefile.am: No POPT_CFLAGS.
21089         
21090         * examples/manual/Makefile.am:
21091         * docs/manual/basics-init.xml: Doc updates with an example.
21092         
21093         * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21094         (gst_init), (parse_one_option), (parse_goption_arg):
21095         * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21096         bit of hand merging and debugging to get the GOption stuff working
21097         tho.
21098         
21099         * tests/Makefile.am:
21100         * tools/Makefile.am:
21101         * tools/gst-inspect.c: (main):
21102         * tools/gst-launch.c: (main):
21103         * tools/gst-run.c: (main):
21104         * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21105
21106 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21107
21108         * gst/gstiterator.c: (gst_iterator_new):
21109           Add assertions to make sure passed GType is likely to really
21110           be a GType (as the compiler won't catch it if the size and
21111           GType arguments get mixed up, see #318447).
21112
21113 2005-10-10  Josef Zlomek  <josef dot zlomek at xeris dot cz>
21114
21115         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21116
21117         * gst/gstbin.c: (gst_bin_iterate_sorted):
21118           Pass GType and size arguments to gst_iterator_new() in the right
21119           order (maybe we should make _new() take the GType as first argument
21120           just like _new_list()?) (#318447).
21121           
21122
21123 2005-10-10  Wim Taymans  <wim@fluendo.com>
21124
21125         * gst/gstelement.c: (gst_element_finalize):
21126         And free the GStaticRecMutex too
21127
21128 2005-10-10  Andy Wingo  <wingo@pobox.com>
21129
21130         * gst/gstelement.c (gst_element_init, gst_element_finalize):
21131         Allocate and free the mutex properly.
21132
21133         * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21134         New macros.
21135         (GstElement): The state_lock is now recursive. Rebuild your
21136         plugins, suckers. Old macros adapted.
21137
21138         * docs/gst/gstreamer-sections.txt: Doc updates.
21139
21140         * gst/gstutils.h:
21141         * gst/gstutils.c (g_static_rec_cond_timed_wait) 
21142         (g_static_rec_cond_wait): Ported from state changes patch, while
21143         we wait on bug #317802 to be solved in a well-distributed GLib.
21144
21145         * gst/gstelement.c (gst_element_change_state_func): Renamed from
21146         gst_element_change_state, variable name changes.
21147         (gst_element_change_state): Split out of gst_element_set_state in
21148         preparation for the state change merge. Doesn't pay attention to
21149         the 'transition' argument.
21150         (gst_element_set_state): Updates, hopefully purely cosmetic.
21151         (gst_element_sync_state_with_parent): MT-safety. Ported from the
21152         state change patch.
21153         (gst_element_get_state_func): Renamed from get_state, cosmetic
21154         changes.
21155
21156 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21157
21158         * gst/elements/gstelements.c:
21159         * win32/GStreamer.vcproj:
21160         * win32/config.h:
21161         * win32/dirent.c: (_tseekdir):
21162         * win32/gst-inspect.vcproj:
21163         * win32/gst-launch.vcproj:
21164         * win32/gstconfig.h:
21165         * win32/gstelements.vcproj:
21166         * win32/gstenumtypes.c: (gst_object_flags_get_type):
21167         * win32/gstreamer.def:
21168         * win32/msvc71.sln:
21169           updates for the win32 build (patch from Sebastien Moutte)
21170
21171 2005-10-10  Andy Wingo  <wingo@pobox.com>
21172
21173         * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21174         gst_bin_get_state, cleaned up (but no logic changes).
21175         (bin_element_is_sink): Comment updates.
21176         (sink_iterator_filter): Remove needless cast.
21177         (gst_bin_iterate_sinks): Doc update.
21178         (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21179         cleaned up (but no logic changes).
21180
21181         * check/states/sinks.c (test_src_sink): Cleanups from the state
21182         change patch.
21183         (test_livesrc_sink): Sync on the state.
21184
21185         * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21186         the state change patch.
21187
21188         * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21189         change patch.
21190
21191         * check/gst/gstbin.c: Merge in some style fixes and additional
21192         checks from Wim's state change patch.
21193
21194 2005-10-10  Tim-Philipp Müller  <tim at centricular dot net>
21195
21196         * gst/base/gsttypefindhelper.c: (helper_find_peek),
21197         (gst_type_find_helper):
21198           Check whether we have the requested data already in our list of
21199           cached buffers before pulling a new buffer; also make the buffer
21200           list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21201
21202 2005-10-10  Thomas Vander Stichele  <thomas at apestaart dot org>
21203
21204         * gst/gstcaps.c:
21205         * gst/gstevent.c:
21206           doc updates
21207         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21208           don't use long long, it's not portable.  Replacing with
21209           gint64 seems to work; let's hope no skeletons fall out of the closet.
21210
21211 2005-10-10  Andy Wingo  <wingo@pobox.com>
21212
21213         * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21214
21215 2005-10-09  Stefan Kost  <ensonic@users.sf.net>
21216
21217         * docs/gst/gstreamer-sections.txt:
21218         * gst/gstevent.c:
21219         * gst/gstevent.h:
21220         * gst/gstinfo.c:
21221         * gst/gstinfo.h:
21222         * gst/gstmessage.c: (gst_message_parse_state_changed):
21223         * gst/gstpad.c:
21224         * gst/gstpad.h:
21225           more docs, fix compilation
21226
21227 2005-10-09  Philippe Khalaf <burger@speedy.org>
21228         * gst/gstmessage.c:
21229           Fixed a few forgotten variables on previous commit
21230
21231 2005-10-09  Tim-Philipp Müller  <tim at centricular dot net>
21232
21233         * gst/base/gsttypefindhelper.c: (helper_find_peek):
21234           Fix evil typefind crasher: getrange() might return a short
21235           buffer at the end of a file, but gst_type_find_peek() must
21236           either return the full data as requested or NULL, but
21237           never a short buffer.
21238
21239 2005-10-09  Thomas Vander Stichele  <thomas at apestaart dot org>
21240
21241         * gst/gstmessage.c: (gst_message_new_state_changed),
21242         (gst_message_parse_state_changed):
21243         * gst/gstmessage.h:
21244           don't use "new", it's a C++ keyword
21245
21246 2005-10-08  Wim Taymans  <wim@fluendo.com>
21247
21248         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21249         * gst/gstelement.c: (gst_element_post_message):
21250         * gst/gstpipeline.c: (gst_pipeline_change_state):
21251         Small docs and debug updates.
21252
21253 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21254
21255         * docs/gst/gstreamer-sections.txt:
21256         * gst/gstelementfactory.c:
21257         * gst/gstevent.c:
21258         * gst/gsttaglist.c:
21259           more docs
21260
21261 2005-10-08  Wim Taymans  <wim@fluendo.com>
21262
21263         * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21264         (gst_bin_dispose), (bin_bus_handler):
21265         Fix typos, add comments.
21266         Clear EOS list when going to PAUSED from any direction and do it
21267         in a threadsafe way.
21268         Get base time in a threadsafe way too.
21269         Fix confusing debug in the change_state function.
21270         Various other small cleanups.
21271         
21272         * gst/gstelement.c: (gst_element_post_message):
21273         Fix very verbose bus posting code.
21274
21275         * gst/gstpipeline.c: (gst_pipeline_class_init),
21276         (gst_pipeline_set_property), (gst_pipeline_get_property),
21277         (gst_pipeline_change_state):
21278         Small ARG_ -> PROP_ cleanup
21279
21280 2005-10-08  Wim Taymans  <wim@fluendo.com>
21281
21282         * gst/gstbin.c: (is_eos), (bin_bus_handler):
21283         Do a less CPU demanding EOS check because we can.
21284
21285 2005-10-08  Wim Taymans  <wim@fluendo.com>
21286
21287         * libs/gst/dataprotocol/dataprotocol.c:
21288         (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21289         (gst_dp_packet_from_event):
21290         * libs/gst/dataprotocol/dataprotocol.h:
21291         * libs/gst/dataprotocol/dp-private.h:
21292         It's about time we bump the version number.
21293         Since event types don't fit in the guint8 anymore describing
21294         the payload type, make payload type 16 bits wide.
21295
21296 2005-10-08  Wim Taymans  <wim@fluendo.com>
21297
21298         * docs/design/part-TODO.txt:
21299         * docs/design/part-clocks.txt:
21300         * docs/design/part-events.txt:
21301         * docs/design/part-gstbin.txt:
21302         * docs/design/part-gstelement.txt:
21303         * docs/design/part-gstpipeline.txt:
21304         * docs/design/part-live-source.txt:
21305         * docs/design/part-messages.txt:
21306         * docs/design/part-overview.txt:
21307         * docs/design/part-states.txt:
21308         Many doc updates.
21309
21310 2005-10-08  Wim Taymans  <wim@fluendo.com>
21311
21312         * gst/gstevent.c:
21313         * gst/gstevent.h:
21314         Fix event quark registration.
21315         Add some space between events so we can insert them in the
21316         right groups.
21317
21318 2005-10-08  Wim Taymans  <wim@fluendo.com>
21319
21320         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21321         (gst_base_sink_handle_buffer):
21322         Better log message.
21323
21324         * gst/gstbus.h:
21325         * gst/gstelement.h:
21326         More docs.
21327
21328         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21329         (gst_queue_set_property), (gst_queue_get_property):
21330         * gst/gstqueue.h:
21331         Remove old unused properties.
21332
21333 2005-10-08  Stefan Kost  <ensonic@users.sf.net>
21334         * docs/gst/gstreamer-sections.txt:
21335         * gst/gstmessage.c:
21336         * gst/gstmessage.h:
21337         * gst/gstminiobject.c:
21338         * gst/gstminiobject.h:
21339         * gst/gstobject.h:
21340         * gst/gstpad.h:
21341         * gst/gstutils.h:
21342           lots of new docs and doc fixes
21343
21344 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21345
21346         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21347         * gst/gstplugin.h:
21348         * gst/gstregistry.c: (gst_registry_lookup_locked),
21349         (gst_registry_scan_path_level):
21350         * gst/gstregistryxml.c: (load_plugin):
21351           Only ever load one plugin for a given plugin basename.
21352           This ensures correct overriding of GST_PLUGIN_PATH over
21353           GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21354           system installed plugins.
21355
21356 2005-10-08  Wim Taymans  <wim@fluendo.com>
21357
21358         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21359         (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21360         Prepare for doing QOS.
21361
21362 2005-10-08  Wim Taymans  <wim@fluendo.com>
21363
21364         * check/gst/gstbin.c: (GST_START_TEST):
21365         * check/pipelines/cleanup.c: (GST_START_TEST):
21366         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21367         Allow new clock message too.
21368
21369 2005-10-08  Wim Taymans  <wim@fluendo.com>
21370
21371         * gst/gstmessage.c: (gst_message_new_error),
21372         (gst_message_new_warning), (gst_message_new_tag),
21373         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21374         (gst_message_new_clock_lost), (gst_message_new_new_clock),
21375         (gst_message_new_segment_start), (gst_message_new_segment_done),
21376         (gst_message_parse_state_changed),
21377         (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21378         (gst_message_parse_new_clock):
21379         * gst/gstmessage.h:
21380         Also carry the clock in question.
21381
21382 2005-10-08  Wim Taymans  <wim@fluendo.com>
21383
21384         * gst/gstmessage.c: (gst_message_new_custom),
21385         (gst_message_new_eos), (gst_message_new_error),
21386         (gst_message_new_warning), (gst_message_new_tag),
21387         (gst_message_new_state_changed), (gst_message_new_clock_provide),
21388         (gst_message_new_new_clock), (gst_message_new_segment_start),
21389         (gst_message_new_segment_done), (gst_message_parse_state_changed),
21390         (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21391         * gst/gstmessage.h:
21392         Clean up.
21393         Added clock related messages.
21394
21395         * gst/gstpipeline.c: (gst_pipeline_change_state):
21396         Post message when the clock changed.
21397
21398         * tools/gst-launch.c: (event_loop):
21399         Print new clock.
21400
21401 2005-10-08  Tim-Philipp Müller  <tim at centricular dot net>
21402
21403         * tools/gst-inspect.c: (print_element_properties_info):
21404           Can't pass NULL strings to g_print() on windows.
21405
21406 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21407
21408         * docs/Makefile.am:
21409         * docs/gst/Makefile.am:
21410         * docs/gst/gstreamer-docs.sgml:
21411         * docs/gst/running.xml:
21412         * docs/version.entities.in:
21413           add a chapter on running GStreamer.
21414           document GST_DEBUG and GST_PLUGIN* env vars
21415
21416 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21417
21418         * Makefile.am:
21419           remove include dir
21420         * configure.ac:
21421           remove PLUGINS_BUILDDIR stuff
21422         * gst/gst.c: (init_post):
21423           reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21424         * idiottest.mak:
21425           remove, it was condescending and not needed
21426
21427 2005-10-08  Wim Taymans  <wim@fluendo.com>
21428
21429         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21430         (gst_base_sink_handle_object), (gst_base_sink_event),
21431         (gst_base_sink_wait), (gst_base_sink_handle_event),
21432         (gst_base_sink_change_state):
21433         * gst/base/gstbasesink.h:
21434         Repost EOS message while going to PLAYING if still EOS.
21435         Make sure that when receiving a FLUSH_START we don't attempt
21436         to sync on the clock anymore.
21437
21438 2005-10-08  Wim Taymans  <wim@fluendo.com>
21439
21440         * tools/gst-launch.c: (event_loop):
21441         Better message printout.
21442
21443 2005-10-08  Wim Taymans  <wim@fluendo.com>
21444
21445         * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21446         (gst_bin_child_proxy_get_children_count):
21447         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21448         (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21449         (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21450         (gst_child_proxy_set_valist):
21451         * gst/parse/grammar.y:
21452         Make ChildProxy threadsafe and fix mem leaks.
21453
21454 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21455
21456         * gst/gst.c: (init_post):
21457           debug the GST_PLUGIN_ env vars
21458
21459 2005-10-08  Wim Taymans  <wim@fluendo.com>
21460
21461         * check/gst/gstbin.c: (GST_START_TEST):
21462         * check/gst/gstmessage.c: (GST_START_TEST):
21463         * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21464         * gst/gstelement.c: (gst_element_commit_state),
21465         (gst_element_lost_state):
21466         * gst/gstmessage.c: (gst_message_new_state_changed),
21467         (gst_message_parse_state_changed):
21468         * gst/gstmessage.h:
21469         * tools/gst-launch.c: (event_loop):
21470         Added extra field to STATE_CHANGE message with the pending
21471         state, which will be different from the new state soon.
21472
21473 2005-10-08  Wim Taymans  <wim@fluendo.com>
21474
21475         * gst/gstbus.c: (gst_bus_pop):
21476         * gst/gstclock.c:
21477         * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21478         Small cleanups and doc updates.
21479
21480 2005-10-08  Thomas Vander Stichele  <thomas at apestaart dot org>
21481
21482         * gst/gst.c: (init_pre):
21483         * gst/gstbin.c: (gst_bin_add_func):
21484           log distributing clocks and base time
21485         * gst/gstregistry.c: (gst_registry_add_plugin),
21486         (gst_registry_scan_path_level), (gst_registry_scan_path):
21487           clean up the debugging output a little
21488         * gst/gstutils.c: (gst_element_state_get_name):
21489           warn about a memleak (I've actually seen this be used, though
21490           it was probably a bug)
21491
21492 2005-10-07  Wim Taymans  <wim@fluendo.com>
21493
21494         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21495         (gst_base_src_init), (gst_base_src_default_newsegment),
21496         (gst_base_src_newsegment), (gst_base_src_do_seek),
21497         (gst_base_src_loop), (gst_base_src_start):
21498         * gst/base/gstbasesrc.h:
21499         Make the newsegment event customizable by subclasses.
21500
21501 2005-10-07  Wim Taymans  <wim@fluendo.com>
21502
21503         * gst/gstevent.c: (gst_event_new_buffersize),
21504         (gst_event_parse_buffersize):
21505         * gst/gstevent.h:
21506         New event for future idea.
21507
21508 2005-10-07  Andy Wingo  <wingo@pobox.com>
21509
21510         * gst/gstelement.c (gst_element_post_message): Doc update.
21511
21512         * docs/gst/gstreamer-sections.txt: Update.
21513
21514         * gst/gstmessage.c (gst_message_new_application): Made into a
21515         function like honest API calls.
21516         (gst_message_new_element): New message type.
21517
21518         * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21519
21520         * check/elements/fakesrc.c (test_no_preroll): New check, checks
21521         that setting a live fakesrc to PAUSED returns NO_PREROLL both
21522         times.
21523
21524         * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21525         NO_PREROLL from gst_element_change_state to fall through.
21526
21527 2005-10-07  Wim Taymans  <wim@fluendo.com>
21528
21529         * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21530         (gst_ghost_pad_do_activate_push):
21531         Activating a ghostpad with no internal pad in push mode
21532         is ok.
21533
21534 2005-10-07  Thomas Vander Stichele  <thomas at apestaart dot org>
21535
21536         * gst/gstobject.h:
21537           there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21538           Fixes compilation on Windows.
21539
21540 2005-10-07  Michael Smith <msmith@fluendo.com>
21541
21542         * tools/gst-inspect.c:
21543           Print out feature and plugin count at the end when printing out
21544           all features.
21545
21546 2005-10-04  Michael Smith <msmith@fluendo.com>
21547
21548         * gst/gsterror.c: (_gst_stream_errors_init):
21549           Add another error string used in a few existing plugins.
21550
21551         * gst/gstplugin.c:
21552         * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21553         * tools/gst-inspect.c: (print_element_info):
21554           When a feature disappears from a plugin (and the feature exists in
21555           the cached registry file), things went horribly wrong. This isn't a
21556           complete fix, we should actually be removing the 'missing' features
21557           from the features list when we load the actual plugin. That's not
21558           yet implemented. 
21559
21560 2005-10-04  Johan Dahlin  <johan@gnome.org>
21561
21562         * check/gst/gstiterator.c: (GST_START_TEST):
21563         * gst/gstbin.c: (gst_bin_iterate_elements),
21564         (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21565         * gst/gstelement.c: (gst_element_iterate_pads):
21566         * gst/gstformat.c: (gst_format_iterate_definitions):
21567         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21568         (gst_iterator_new_list), (gst_iterator_filter):
21569         * gst/gstiterator.h:
21570         * gst/gstquery.c: (gst_query_type_iterate_definitions):
21571         Add a GType to GstIterator, update callsites and tests.
21572
21573 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21574
21575         * gst/gstpad.c: (gst_pad_event_default_dispatch):
21576           give events a chance to be handled by event probes when the pad
21577           is not linked
21578
21579 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21580
21581         * gst/gstevent.c: (gst_event_type_get_name),
21582         (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21583         * gst/gstevent.h:
21584           add string representations for event types
21585
21586 2005-10-06  Wim Taymans  <wim@fluendo.com>
21587
21588         * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21589         Don't use NULL pointers.
21590
21591 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21592
21593         * gst/gst_private.h:
21594         * gst/gstbus.c:
21595         * gst/gstelement.c:
21596         * gst/gstinfo.c:
21597         * gst/gstpluginfeature.c:
21598           widen the debug category in output to fit the biggest one we have
21599           add a bus category and use it
21600           play with the colors
21601           fix up some categories
21602
21603 2005-10-06  Thomas Vander Stichele  <thomas at apestaart dot org>
21604
21605         * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21606           add push activation of sink ghost pads.
21607           Andye, please verify
21608
21609 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21610
21611         * gst/gstutils.c: (gst_element_link_pads):
21612           fix a bug in the case where neither element has a pad
21613         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21614           add a test for that case
21615
21616 2005-10-05  Thomas Vander Stichele  <thomas at apestaart dot org>
21617
21618         * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21619           emit have-data before checking for peers.  This allows
21620           for probe handlers to connect elements.  This helps autopluggers.
21621         * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21622         (gst_pad_suite):
21623           add six checks, linked/unlinked with no/true/false probe
21624
21625 2005-10-04  Wim Taymans  <wim@fluendo.com>
21626
21627         * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21628         (gst_fake_sink_event), (gst_fake_sink_preroll),
21629         (gst_fake_sink_render), (gst_fake_sink_change_state):
21630         * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21631         (gst_fake_src_get_property), (gst_fake_src_create),
21632         (gst_fake_src_stop):
21633         * gst/elements/gstidentity.c: (gst_identity_stop):
21634         Protect last_message with lock.
21635
21636 2005-10-04  Edward Hervey  <edward@fluendo.com>
21637
21638         * gst/gstformat.h: 
21639         Added precision in the comments for GST_FORMAT_DEFAULT
21640
21641 2005-10-04  Tim-Philipp Müller  <tim at centricular dot net>
21642
21643         * tools/gst-launch.c: (main):
21644           Don't try to run erroneous pipelines.
21645
21646 2005-10-04  Julien MOUTTE  <julien@moutte.net>
21647
21648         * gst/gstbus.c: We don't need this header.
21649
21650 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21651
21652         * configure.ac:
21653           back to development
21654
21655 === release 0.9.3 ===
21656
21657 2005-10-03  Thomas Vander Stichele  <thomas at apestaart dot org>
21658
21659         * README:
21660         * configure.ac:
21661           Releasing 0.9.3, "Unregistered"
21662
21663 2005-10-03  Andy Wingo  <wingo@pobox.com>
21664
21665         * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21666         whereby calling a pad's activatepush() function can start a thread
21667         that starts to push or pull before the pad gets the FLUSHING flag
21668         unset. Hack around it by holding the stream lock until the flag is
21669         set. Need to replace this with a proper solution. Together with
21670         the ghost pad fixes, this fixes mp3 playing/tagreading.
21671
21672         * docs/design/part-gstghostpad.txt: Add a note about activation of
21673         proxy pads outside of ghost pads.
21674
21675         * gst/gstghostpad.c: Implement the ghost pad activation design.
21676
21677 2005-10-02  Andy Wingo  <wingo@pobox.com>
21678
21679         * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21680         It is volatile, after all.
21681
21682         * docs/design/part-gstghostpad.txt: Flesh out activation with
21683         ghost pads.
21684
21685         * gst/base/gstbasesrc.c (gst_base_src_init): Use
21686         GST_DEBUG_FUNCPTR.
21687
21688 2005-10-02  Tim-Philipp Müller  <tim at centricular dot net>
21689
21690         * configure.ac:
21691           Fix (unused) AM_CONDITIONAL tests.
21692
21693 2005-10-01  Alessandro Decina  <alessandro at nnva dot org>
21694
21695         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
21696
21697         * gst/gstutils.c: (gst_pad_query_convert):
21698           Add assertion that makes sure src_val is >=0, just like
21699           gst_query_new_convert() has. (#315895)
21700
21701 2005-09-30  Edward Hervey  <edward@fluendo.com>
21702
21703         * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21704         Let's not iterate pads we're not interested in, it avoids getting 
21705         sky-high refcounts on sinkpad.
21706
21707 2005-09-30  Wim Taymans  <wim@fluendo.com>
21708
21709         * gst/gstelement.c: (gst_element_set_state),
21710         (gst_element_change_state):
21711         Small tweak, element in ASYNC remains ASYNC.
21712
21713 2005-09-30  Wim Taymans  <wim@fluendo.com>
21714
21715         * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21716         Only error is an error.
21717
21718         * gst/gstbin.c: (gst_bin_change_state):
21719         Better debugging.
21720
21721         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21722         Also call pad_block in pad alloc.
21723
21724         * gst/gstutils.c: (gst_flow_get_name):
21725         Better debugging.
21726
21727 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21728
21729         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21730         (gst_base_src_get_range):
21731           Fix documentation typos. Add some more debug info.
21732
21733 2005-09-29  David Schleef  <ds@schleef.org>
21734
21735         * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21736           more end-user friendly.
21737         * tools/gst-inspect.c: (main): Check if command-line argument is
21738           a file and attempt to load that file as a plugin.
21739
21740 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21741
21742         * check/gst/gstbin.c:
21743         * check/states/sinks.c:
21744           fix tests for the new warning
21745         * check/gst/gstpipeline.c:
21746           add a test for pipeline and bus interaction
21747         * gst/gstelement.c:
21748           elements should be NULL if they get disposed; add a warning if not
21749
21750 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21751
21752         * gst/gstobject.c:
21753           for 2.6 refcounting, make debug log more correct by printing
21754           the actual refcounts at the time of swap (Wim)
21755
21756 2005-09-29  Andy Wingo  <wingo@pobox.com>
21757
21758         * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21759         removes signal watches previously added via
21760         gst_bus_add_signal_watch.
21761         (gst_bus_add_signal_watch): Don't return the source id, just store
21762         it on the bus if there wasn't an id already.
21763
21764         * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21765         add_signal_watch and remove_signal_watch.
21766
21767 2005-09-29  Edward Hervey  <edward@fluendo.com>
21768
21769         * libs/gst/controller/gstcontroller.c: (gst_controller_new_list): 
21770         Better if we actually iterate the list :)
21771
21772 2005-09-29  Wim Taymans  <wim@fluendo.com>
21773
21774         * check/gst/gstbin.c: (GST_START_TEST):
21775         Change for new bus API.
21776
21777         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21778         (send_messages), (GST_START_TEST), (gstbus_suite):
21779         Change for new bus signal API.
21780
21781         * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21782         (gst_bus_source_prepare), (gst_bus_source_check),
21783         (gst_bus_create_watch), (gst_bus_add_watch_full),
21784         (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21785         (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21786         * gst/gstbus.h:
21787         Remove support for multiple GSources operating on different
21788         message types as it is too complex and unneeded when using
21789         signals.
21790         Added support for receiving signals from the bus.
21791
21792 2005-09-29  Thomas Vander Stichele  <thomas at apestaart dot org>
21793
21794         * docs/libs/tmpl/gstdataprotocol.sgml:
21795         * docs/manual/advanced-dataaccess.xml:
21796         * gst/elements/gstcapsfilter.c:
21797         * gst/gstutils.c:
21798           rename filter-caps to caps property
21799
21800 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21801
21802         * gst/gstvalue.c: (gst_value_deserialize_fraction):
21803           More robust fraction string parsing.
21804
21805         * docs/pwg/appendix-porting.xml:
21806           Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21807
21808 2005-09-29  Tim-Philipp Müller  <tim at centricular dot net>
21809
21810         * gst/gstcaps.c: (gst_caps_do_simplify):
21811           Thou shalt not free a structure and then continue using it
21812           in the next loop iteration.
21813
21814         * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21815         (gst_caps_suite):
21816           Add test case for caps simplification.
21817
21818 2005-09-29  Wim Taymans  <wim@fluendo.com>
21819
21820         * check/gst/gstbin.c: (GST_START_TEST):
21821         Oops.
21822
21823 2005-09-29  Wim Taymans  <wim@fluendo.com>
21824
21825         * check/gst/gstbin.c: (GST_START_TEST):
21826         Add bus to bin.
21827
21828         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21829         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21830         (find_element), (gst_bin_sort_iterator_next),
21831         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21832         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21833         (gst_bin_change_state), (gst_bin_dispose):
21834         A bin does not have a bus, it gets the bus from the parent.
21835
21836         * gst/gstelement.c: (gst_element_requires_clock),
21837         (gst_element_provides_clock), (gst_element_is_indexable),
21838         (gst_element_is_locked_state), (gst_element_change_state),
21839         (gst_element_set_bus_func):
21840         Small cleanups.
21841
21842         * gst/gstpipeline.c: (gst_pipeline_class_init),
21843         (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21844         The pipeline provides a bus.
21845
21846 2005-09-28  Johan Dahlin  <johan@gnome.org>
21847
21848         * gst/gstmessage.c (gst_message_parse_state_changed): Use
21849         gst_structure_get_enum instead of gst_structure_get_int
21850
21851         * gst/gststructure.c (gst_structure_get_enum): Impl.
21852
21853         * gst/gststructure.h (gst_structure_get_enum): Add
21854
21855         * docs/gst/gstreamer-sections.txt: Ditto
21856
21857         * gst/gstmessage.c (gst_message_new_state_changed): Use
21858         GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21859         which does introspection.
21860         Reviewed by Christian Schaller
21861
21862 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
21863
21864         * gst/gstinfo.c: (gst_debug_log_default):
21865           don't do dummy g_strdup()s
21866         * libs/gst/controller/gstcontroller.c:
21867         (on_object_controlled_property_changed),
21868         (gst_controlled_property_new), (gst_controller_new_valist),
21869         (gst_controller_new_list),
21870         (gst_controller_remove_properties_valist), (gst_controller_set),
21871         (gst_controller_get), (gst_controller_sync_values),
21872         (gst_controller_get_value_array), (_gst_controller_class_init),
21873         (gst_controller_get_type):
21874         * libs/gst/controller/gstcontroller.h:
21875         * libs/gst/controller/gstinterpolation.c:
21876         (gst_controlled_property_find_timed_value_node):
21877           convert // to /**/ comments
21878
21879 2005-09-28  Wim Taymans  <wim@fluendo.com>
21880
21881         * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
21882         (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
21883         (gst_bus_sync_signal_handler):
21884         * gst/gstbus.h:
21885         Added async-message and sync-message signals to the bus.
21886         Added helper BusFunc to emit signals for all posted messages.
21887
21888         * gst/gstmessage.c: (gst_message_type_get_name),
21889         (gst_message_type_to_quark), (gst_message_get_type):
21890         * gst/gstmessage.h:
21891         Register quarks for message names.
21892
21893 2005-09-28  Stefan Kost  <ensonic@users.sf.net>
21894
21895         * docs/libs/gstreamer-libs-sections.txt:
21896         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
21897         (gst_controller_new_list):
21898         * libs/gst/controller/gstcontroller.h:
21899           added another constructor for language bindings
21900
21901 2005-09-28  Thomas Vander Stichele  <thomas at apestaart dot org>
21902
21903         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21904           add another check
21905         * gst/gstbus.c:
21906           add some doc
21907         * gst/gstinfo.c: (_gst_debug_init):
21908           slightly more readable color for refcount debugging
21909
21910 2005-09-28  Wim Taymans  <wim@fluendo.com>
21911
21912         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21913         (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21914         (find_element), (gst_bin_sort_iterator_next),
21915         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21916         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21917         (gst_bin_change_state), (gst_bin_dispose):
21918         Small doc fixes. get_clock -> provide_clock.
21919
21920         * gst/gstelement.c: (gst_element_class_init),
21921         (gst_element_provides_clock), (gst_element_provide_clock),
21922         (gst_element_get_clock), (gst_element_commit_state),
21923         (gst_element_lost_state):
21924         * gst/gstelement.h:
21925         Make get/set_clock() symetric. Add provide_clock vmethod since
21926         that is actually what this function does.
21927
21928         * gst/gstpipeline.c: (gst_pipeline_class_init),
21929         (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
21930         (gst_pipeline_get_clock):
21931         get_clock -> provide_clock.
21932
21933 2005-09-28  Andy Wingo  <wingo@pobox.com>
21934
21935         * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
21936         lieu of real docs...
21937
21938         * gst/elements/gstfdsrc.c: Cleaned up a bit.
21939
21940 2005-09-28  Tim-Philipp Müller  <tim at centricular dot net>
21941
21942         * gst/elements/gstcapsfilter.c:
21943         * gst/elements/gstfakesink.c:
21944         * gst/elements/gstfakesrc.c:
21945         * gst/elements/gstfdsink.c:
21946         * gst/elements/gstfdsrc.c:
21947         * gst/elements/gstfilesink.c:
21948         * gst/elements/gstfilesrc.c:
21949         * gst/elements/gstidentity.c:
21950         * gst/elements/gsttee.c:
21951         * gst/elements/gsttypefindelement.c:
21952           Make element details static.
21953
21954 2005-09-28  Wim Taymans  <wim@fluendo.com>
21955
21956         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21957         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21958         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21959         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21960         (gst_bin_change_state), (gst_bin_dispose):
21961         Some documentation updates.
21962         Clean up dispose handlers.
21963
21964         * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
21965         * gst/gstpad.c: (gst_pad_dispose):
21966         Clean up dispose handler.
21967
21968         * gst/gstpipeline.c: (gst_pipeline_change_state):
21969         Removed spurious UNLOCK.
21970
21971 2005-09-27  Stefan Kost  <ensonic@users.sf.net>
21972
21973         * docs/gst/gstreamer-sections.txt:
21974         * gst/base/gstbasesrc.h:
21975         * gst/gstelement.h:
21976         * gst/gstevent.h:
21977         * gst/gstobject.h:
21978         * gst/gstpad.h:
21979         * gst/gstpipeline.c:
21980         * gst/gstpipeline.h:
21981         * gst/gstutils.h:
21982         * gst/gstxml.h:
21983           added two new functions to the docs
21984                 documents all undocumented GstXXXFlags
21985                 completed some incomplete docs 
21986
21987 2005-09-27  Thomas Vander Stichele  <thomas at apestaart dot org>
21988
21989         * gst/gstbin.c: (gst_bin_dispose):
21990         * gst/gstelement.c: (gst_element_dispose):
21991           remove now useless and leaky resurrection code in dispose
21992         * gst/base/gstbasesrc.c: (gst_base_src_init):
21993         * gst/gstelementfactory.c: (gst_element_factory_create):
21994         * gst/gstobject.c: (gst_object_set_parent):
21995           add some debugging
21996
21997 2005-09-27  Wim Taymans  <wim@fluendo.com>
21998
21999         * docs/design/part-TODO.txt:
22000         Update TODO.
22001
22002         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22003         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22004         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22005         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22006         (gst_bin_change_state):
22007         * gst/gstelement.h:
22008         Remove element variable, we keep element info in the iterator now.
22009
22010 2005-09-27  Andy Wingo  <wingo@pobox.com>
22011
22012         * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22013         values.
22014
22015 2005-09-27  Wim Taymans  <wim@fluendo.com>
22016
22017         * check/gst/gstbin.c: (GST_START_TEST):
22018         Enable check that works now.
22019
22020         * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22021         (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22022         (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22023         (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22024         (gst_bin_change_state):
22025         * gst/gstbin.h:
22026         Redid the state change algorithm using a topological sort algo.
22027         Handles all cases correctly.
22028         Exposed iterator for state change order.
22029
22030         * gst/gstelement.h:
22031         Temp storage for state changes. Need to get rid of this soon.
22032
22033 2005-09-27  Wim Taymans  <wim@fluendo.com>
22034
22035         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22036         * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22037         (link_fold_func), (gst_pad_proxy_setcaps):
22038         Leak fixes, the fold functions need to unref the passed object and
22039         _get_parent_*() returns ref to parent.
22040
22041 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22042
22043         * check/gst/gstbuffer.c: (test_make_writable):
22044           Plug leak in test case and fix 'make check-valgrind'
22045
22046 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22047
22048         * gst/gstbuffer.c: (gst_subbuffer_init):
22049           Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22050           works correctly in all circumstances (we could have just copied
22051           the parent buffer's readonly flag, but conceptually it seems
22052           cleaner to mark all subbuffers as read-only). (based on patch
22053           by Alessandro Decina, #314710).
22054         
22055         * check/gst/gstbuffer.c: (create_read_only_buffer),
22056         (test_make_writable), (test_subbuffer_make_writable),
22057         (gst_test_suite):
22058           Add some tests for gst_buffer_make_writable().
22059
22060 2005-09-27  Wim Taymans  <wim@fluendo.com>
22061
22062         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22063         use gst_object_has_ancestor().
22064
22065         * gst/gstobject.c: (gst_object_has_ancestor):
22066         * gst/gstobject.h:
22067         gst_object_has_ancestor() copied from gstbin.c as it is a
22068         useful function.
22069
22070         * tests/instantiate/create.c: (create_all_elements):
22071         * tests/lat.c: (handoff_src), (handoff_sink):
22072         * tests/sched/runxml.c: (main):
22073         * tests/seeking/seeking1.c: (main):
22074         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22075         (main):
22076         Fix compilation of some tests.
22077
22078 2005-09-27  Tim-Philipp Müller  <tim at centricular dot net>
22079
22080         * gst/gsterror.h:
22081           Remove comment. GST_TYPE_G_ERROR is here to stay,
22082           G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22083           (#316961, #300610).
22084
22085 2005-09-26  Wim Taymans  <wim@fluendo.com>
22086
22087         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22088         Added check that shows error in state change order.
22089
22090 2005-09-26  Wim Taymans  <wim@fluendo.com>
22091
22092         * gst/gstbin.c: (gst_bin_change_state):
22093         Make state change function use 3 queues again, we were
22094         adding elements in the wrong order.
22095
22096         * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22097         Some debug info,
22098
22099         * gst/gstpad.c: (gst_pad_dispose):
22100         Added some debug info first.
22101
22102 2005-09-26  Tim-Philipp Müller  <tim at centricular dot net>
22103
22104         * docs/design/draft-push-pull.txt:
22105         * docs/design/part-events.txt:
22106         * docs/design/part-overview.txt:
22107         * docs/design/part-scheduling.txt:
22108           Replace all _pull_region() with _pull_range()
22109           
22110 2005-09-26  Andy Wingo  <wingo@pobox.com>
22111
22112         * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22113
22114         * check/gst-libs/controller.c: Update for controller api change.
22115
22116         * configure.ac: 
22117         * tests/Makefile.am:
22118         * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22119         over by GLib bug 118439.
22120         
22121         * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22122         routines to a function.
22123
22124         * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22125
22126         * libs/gst/controller/gsthelper.c:
22127         * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22128         (gst_object_sync_values): Renamed from sink_values. Ugh.
22129
22130         * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22131
22132         * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22133         Renamed from controller_key, as it is exported.
22134
22135         * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22136
22137 2005-09-26  Thomas Vander Stichele  <thomas at apestaart dot org>
22138
22139         * gst/Makefile.am:
22140         * gst/gst.h:
22141         * gst/gstpad.h:
22142         * gst/gstpadtemplate.h:
22143         * gst/gstquery.c:
22144         * gst/gstquery.h:
22145         * gst/gstqueryutils.c:
22146         * gst/gstqueryutils.h:
22147           remove queryutils headers after moving the two used functions
22148           to gstquery.  also fixes build problem for gstsiddec
22149
22150 2005-09-26  Michael Smith <msmith@fluendo.com>
22151
22152         * tools/gst-launch.1.in:
22153         Correct documentation in manpage of debug syntax
22154
22155 2005-09-26  Wim Taymans  <wim@fluendo.com>
22156
22157         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22158         (gst_base_src_is_seekable), (gst_base_src_change_state):
22159         Some more debugging info.
22160
22161 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22162
22163         * docs/gst/gstreamer-sections.txt:
22164         * gst/base/gstbasetransform.h:
22165         * gst/gstindex.h:
22166           added more docs
22167
22168 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22169
22170         * docs/gst/.cvsignore:
22171         * docs/gst/tmpl/.cvsignore:
22172         * docs/gst/tmpl/gstpipeline.sgml:
22173         * docs/gst/tmpl/gstplugin.sgml:
22174         * gst/gstpipeline.c:
22175         * gst/gstplugin.c:
22176         * gst/gstplugin.h:
22177           inlined the last two docs files
22178           removed the tmpl directory from cvs (no more conflicts here!)
22179
22180 2005-09-25  Stefan Kost  <ensonic@users.sf.net>
22181
22182         * docs/gst/gstreamer-sections.txt:
22183         * docs/gst/tmpl/.cvsignore:
22184         * docs/gst/tmpl/gstpad.sgml:
22185         * docs/gst/tmpl/gstpadtemplate.sgml:
22186         * gst/Makefile.am:
22187         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22188         (gst_pad_finalize), (gst_pad_set_pad_template):
22189         * gst/gstpad.h:
22190         * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22191         (gst_pad_template_class_init), (gst_pad_template_init),
22192         (gst_pad_template_dispose), (name_is_valid),
22193         (gst_static_pad_template_get), (gst_pad_template_new),
22194         (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22195         (gst_pad_template_pad_created):
22196         * gst/gstpadtemplate.h:
22197           inlined two more docs
22198           factored gstpadtemplate out of gstpad
22199
22200 2005-09-24  Tim-Philipp Müller  <tim at centricular dot net>
22201
22202         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22203         (test_children_state_change_order_semi_sink):
22204           Fix test case: we can't rely on a fixed state change order when
22205           going from READY => PAUSED because the sink might commit its 
22206           new state first when the first buffer created by the source 
22207           reaches the sink before the source has finished its change state.
22208           (Test case still fails at times, see #316856, comment 5 onwards)
22209
22210 2005-09-24  Wim Taymans  <wim@fluendo.com>
22211
22212         * docs/design/part-events.txt:
22213         * docs/design/part-gstbus.txt:
22214         * docs/design/part-gstpipeline.txt:
22215         * docs/design/part-messages.txt:
22216         * docs/design/part-overview.txt:
22217         * docs/design/part-segments.txt:
22218         * gst/gstbin.c:
22219         * gst/gstbuffer.c:
22220         * gst/gstclock.c:
22221         * gst/gstelement.c:
22222         * gst/gstevent.c:
22223         * gst/gstfilter.c:
22224         * gst/gstiterator.c:
22225         Various documentation updates.
22226
22227 2005-09-24  Thomas Vander Stichele  <thomas at apestaart dot org>
22228
22229         * gst/gstclock.h:
22230           Well, that's embarassing.  Luckily we weren't using
22231           GST_CLOCK_DIFF anywhere.
22232
22233 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22234
22235         * common/gtk-doc.mak:
22236           don't fail on building XML, FC4 slave shows a bunch of doc
22237           missing bits that I don't get
22238         * gst/gstpad.c:
22239         * gst/gstpipeline.c:
22240         * gst/gststructure.c:
22241           some doc updates
22242
22243 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22244
22245         * docs/design/part-gstbin.txt:
22246         * docs/design/part-gstbus.txt:
22247         * gst/gstbus.c:
22248           Add blurb about how the bus goes into flushing mode and
22249           drops all messages when its bin goes from READY into NULL 
22250           state.
22251
22252 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22253
22254         * docs/gst/gstreamer-sections.txt:
22255         * gst/gststructure.c: (gst_structure_get_clock_time):
22256         * gst/gststructure.h:
22257           add a method to get a GstClockTime out of a structure
22258
22259 2005-09-23  Tim-Philipp Müller  <tim at centricular dot net>
22260
22261         * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22262         (test_children_state_change_order_semi_sink), (gst_bin_suite):
22263           Added test to check state change order in bins (can still be made
22264           to fail here under heavy disk load; bails out with 'Push on pad
22265           fakesink:sink0, but it was not activated in push mode').
22266
22267         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22268           Fix state change order when there is only a semi sink (#316856)
22269
22270         * gst/gstbus.c: (gst_bus_class_init):
22271           Use _class_peek_parent(), not _class_ref(); fix docs to say
22272           'default main context' instead of 'mainloop' where that is
22273           what's meant.
22274
22275         * gst/gstelement.c: (gst_element_commit_state),
22276         (gst_element_set_state):
22277           Fix typos in debug messages
22278
22279 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22280
22281         * docs/README:
22282         * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22283         * gst/gstpluginfeature.c:
22284         * gst/gstutils.c:
22285           various doc updates
22286         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22287           change an assert into an error until it gets fixed properly
22288
22289 2005-09-23  Stefan Kost  <ensonic@users.sf.net>
22290
22291         * docs/gst/gstreamer-sections.txt:
22292         * docs/gst/tmpl/.cvsignore:
22293         * docs/gst/tmpl/gstelement.sgml:
22294         * docs/gst/tmpl/gstinfo.sgml:
22295         * docs/gst/tmpl/gstobject.sgml:
22296         * gst/gstelement.c:
22297         * gst/gstelement.h:
22298         * gst/gstinfo.c:
22299         * gst/gstinfo.h:
22300         * gst/gstobject.c: (gst_object_class_init):
22301         * gst/gstobject.h:
22302           inlined 3 more biiiig doc files and added some missing docs on the fly
22303
22304 2005-09-23  Thomas Vander Stichele  <thomas at apestaart dot org>
22305
22306         * check/gst/.cvsignore:
22307         * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22308         * gst/gstregistryxml.c: (load_plugin),
22309         (gst_registry_xml_save_plugin):
22310           put back source in registry.  add checks for find_plugin.
22311         * testsuite/states/bin.c: (assert_state), (empty_bin),
22312         (test_adding_one_element), (main):
22313         * testsuite/states/locked.c: (main):
22314           some compile/run fixes
22315
22316 2005-09-22  Thomas Vander Stichele  <thomas at apestaart dot org>
22317
22318         * check/gst/gstvalue.c: (GST_START_TEST):
22319           fix leaks in the test itself
22320
22321 2005-09-22  Wim Taymans  <wim@fluendo.com>
22322
22323         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22324         (gst_base_sink_send_event), (gst_base_sink_peer_query),
22325         (gst_base_sink_query):
22326         Prepare for more accurate position reporting and query
22327         handling.
22328
22329         * gst/gstelement.c: (gst_element_send_event),
22330         (gst_element_set_state):
22331         Add some comment.
22332
22333 2005-09-22  Wim Taymans  <wim@fluendo.com>
22334
22335         * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22336         (gst_query_parse_segment):
22337         * gst/gstquery.h:
22338         More documentation.
22339         Add segment query for future use.
22340
22341 2005-09-22  Wim Taymans  <wim@fluendo.com>
22342
22343         * gst/gstbin.c: (gst_bin_add_func):
22344         Some more debug info.
22345
22346         * gst/gstelement.c: (gst_element_send_event):
22347         Simplify send_event
22348
22349         * gst/gstelement.h:
22350         Don't know how flags got broken.
22351
22352         * gst/gstquery.h:
22353         Added new query.
22354
22355 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22356
22357         * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22358           Add simplistic test suite for GST_TYPE_DATE serialisation and
22359           deserialisation.
22360
22361 2005-09-22  Tim-Philipp Müller  <tim at centricular dot net>
22362
22363         * docs/gst/gstreamer-sections.txt:
22364         * gst/gststructure.c: (gst_structure_set_valist),
22365         (gst_structure_get_date):
22366         * gst/gststructure.h:
22367         * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22368         (gst_date_copy), (gst_value_compare_date),
22369         (gst_value_serialize_date), (gst_value_deserialize_date),
22370         (gst_value_transform_date_string),
22371         (gst_value_transform_string_date), (_gst_value_initialize):
22372         * gst/gstvalue.h:
22373           Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22374           bunch of utility functions along with a hack that checks that
22375           developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22376           is required. Part of the grand scheme in #170777.
22377
22378 2005-09-22  Andy Wingo  <wingo@pobox.com>
22379
22380         * gst/gstconfig.h.in: Psych out gtk-doc.
22381
22382         * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22383
22384         * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22385
22386         * tools/gst-inspect.c (print_element_list): Plug some
22387         inconsequential leaks.
22388
22389         * gst/gstregistry.c (gst_registry_get_default): Doc.
22390
22391         * check/gst/gstplugin.c: 
22392         * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22393         * gst/gstelementfactory.c (gst_element_factory_create): 
22394         * gst/gstindexfactory.c (gst_index_factory_create): Update for
22395         refcount changes.
22396
22397         * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22398         (gst_plugin_feature_load): Doc, don't eat refs.
22399
22400         * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22401         (gst_plugin_list_free): Doc.
22402         (gst_plugin_load_file): Doc updates.
22403
22404         * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22405         accessors returning refcounted objects, return a ref.
22406
22407         * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22408         accessor for caps. IDEMPOTENCE. Oh yes.
22409
22410 2005-09-21  Francis Labonte  <francis_labonte at hotmail dot com>
22411
22412         Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
22413
22414         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22415         (_gst_debug_register_funcptr):
22416           Add mutex to serialise access to the hash table with
22417           the function pointer => function name string mapping;
22418           make that hash table static scope (#316809).
22419
22420         * gst/registries/.cvsignore:
22421           Remove left-over file.
22422
22423 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22424
22425         * docs/pwg/appendix-porting.xml:
22426           And something about newsegment events and caps-on-buffers to
22427           the porting guide (feel free to improve).
22428
22429 2005-09-21  Andy Wingo  <wingo@pobox.com>
22430
22431         * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22432         data and event probes on the same pad.
22433         (test_buffer_probe_once): Test that removing probes from within
22434         the probe functions works.
22435
22436 2005-09-21  Andy Wingo  <wingo@pobox.com>
22437
22438         * check/gst/gstutils.c: New file.
22439         (test_buffer_probe_n_times): A simple buffer probe test. More to
22440         come, foolios.
22441
22442         * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22443         have-data::buffer, not have-data.
22444         (gst_pad_add_event_probe): Likewise for have-data::event.
22445         (gst_pad_add_data_probe): More docs. The part about 'resolving the
22446         peer' isn't quite right yet though.
22447         (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe) 
22448         (gst_pad_remove_data_probe): Change to take the guint handler_id
22449         as their arg, not the function+data, which is more glib-like.
22450
22451         * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22452         the signal emission to indicate if the data is a buffer or an
22453         event.
22454         (gst_pad_get_type): Initialize buffer and event quarks.
22455         (gst_pad_class_init): have-data is now a detailed signal, yes it
22456         is.
22457
22458 2005-09-21  Tim-Philipp Müller  <tim at centricular dot net>
22459
22460         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22461         * gst/gstutils.c: (gst_util_set_value_from_string),
22462         (gst_util_set_object_arg):
22463           Don't put functional code in g_return_if_fail() or
22464           g_return_val_if_fail() statements, otherwise things will 
22465           break when G_DISABLE_CHECKS is defined during compilation.
22466
22467 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22468
22469         * docs/gst/tmpl/.cvsignore:
22470         * docs/gst/tmpl/gstvalue.sgml:
22471         * gst/gstvalue.c:
22472         * gst/gstvalue.h:
22473           inlied another one and added  some obvious docs
22474
22475 2005-09-21  Wim Taymans  <wim@fluendo.com>
22476
22477         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22478         (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22479         (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22480         (gst_fdsrc_get_property), (gst_fdsrc_create):
22481         * gst/elements/gstfdsrc.h:
22482         Properly implement fdsrc. Removed signal and timeout,
22483         better implemented somewhere else.
22484
22485 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22486
22487         * docs/gst/tmpl/.cvsignore:
22488         * docs/gst/tmpl/gstimplementsinterface.sgml:
22489         * gst/gstinterface.c:
22490           inlined more docs
22491
22492 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22493
22494         * docs/gst/gstreamer-sections.txt:
22495         * docs/gst/tmpl/.cvsignore:
22496         * docs/gst/tmpl/gstenumtypes.sgml:
22497           remove obsolete doc file
22498
22499 2005-09-21  David Schleef  <ds@schleef.org>
22500
22501         * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22502         little beer, fix a little leak.
22503
22504 2005-09-21  Stefan Kost  <ensonic@users.sf.net>
22505
22506         * docs/gst/gstreamer-docs.sgml:
22507         * docs/gst/gstreamer-sections.txt:
22508         * docs/gst/tmpl/.cvsignore:
22509         * gst/Makefile.am:
22510         * gst/gst.h:
22511         * gst/gstbin.c:
22512         * gst/gstelement.h:
22513         * gst/gstindex.c: (gst_index_class_init):
22514         * gst/gstindex.h:
22515         * gst/gstindexfactory.c: (gst_index_factory_get_type),
22516         (gst_index_factory_class_init), (gst_index_factory_init),
22517         (gst_index_factory_finalize), (gst_index_factory_new),
22518         (gst_index_factory_destroy), (gst_index_factory_find),
22519         (gst_index_factory_create), (gst_index_factory_make):
22520         * gst/gstindexfactory.h:
22521         * gst/gstpluginfeature.c:
22522         * gst/gstpluginfeature.h:
22523         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22524           more docs inlined, splitted gstindex.{c,h}
22525
22526 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22527
22528         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22529           fix a leak
22530
22531 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22532
22533         * gst/elements/gstfilesink.c: (gst_file_sink_init):
22534           Set sync to FALSE by default.
22535
22536 2005-09-20  Wim Taymans  <wim@fluendo.com>
22537
22538         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22539         (gst_base_sink_init):
22540         Make sync property settable from subclass.
22541
22542         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22543         (gst_fake_sink_change_state):
22544         Set sync to FALSE by default.
22545
22546 2005-09-20  Wim Taymans  <wim@fluendo.com>
22547
22548         * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22549         * tools/gst-launch.c: (main):
22550         The timeout handler should have lower priority than the source
22551         so we don't timeout before popping a message with 0 timeout.
22552         Dump error messages after failed state change.
22553
22554 2005-09-20  Tim-Philipp Müller  <tim at centricular dot net>
22555
22556         * tools/gst-inspect.c: (print_element_properties_info):
22557           Fix two typos.
22558
22559 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22560
22561         * check/gst/gstevent.c:
22562         * gst/elements/gstfakesink.c:
22563         * gst/elements/gstfakesink.h:
22564           remove the sync property from fakesink.
22565           has the side effect of setting sync TRUE
22566           for fakesink, which is a change.  Anyone who knows how
22567           to fix this nicely in a GObject-y way, feel free.
22568
22569 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22570
22571         * docs/gst/gstreamer-docs.sgml:
22572           remove probe refsection
22573
22574 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22575
22576         * check/Makefile.am:
22577           disable valgrinding the controller test again
22578         * docs/gst/gstreamer-sections.txt:
22579           update for api-changes
22580
22581 2005-09-20  Wim Taymans  <wim@fluendo.com>
22582
22583         * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22584         (gst_base_sink_set_property), (gst_base_sink_get_property),
22585         (gst_base_sink_do_sync):
22586         * gst/base/gstbasesink.h:
22587         Added sync property to basesink to disable clock sync.
22588
22589 2005-09-20  Andy Wingo  <wingo@pobox.com>
22590
22591         * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22592         eating the caller's refcount.
22593
22594         * gst/gstobject.h (GST_OBJECT_REFCOUNT) 
22595         (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22596         refcount.
22597
22598         * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22599         * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22600         of GLib 2.8 public, so we can know which refcount to check in
22601         tests.
22602
22603         * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22604         (gst_object_init): Only set the gst refcount if we're going ahead
22605         with the refcount hack.
22606
22607 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22608
22609         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22610         * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22611           more leaks plumbed, added more debug-logging
22612         * gst/gstmacros.h:
22613           whitespace fix
22614
22615 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22616
22617         * gst/gstmessage.c:
22618           remove include of gstmemchunk.h
22619
22620 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22621
22622         * gst/gstclock.c: (_gst_clock_id_free):
22623           Commit from the Political Party For More Atomic CVS Commits,
22624           so that people don't waste too much of their day fishing
22625           out obvious leaks out of massive commits.
22626           Oh, and fix a pretty damn obvious leak in the memchunk
22627           removal code.
22628
22629 2005-09-20  Stefan Kost  <ensonic@users.sf.net>
22630
22631         * check/Makefile.am:
22632         * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22633           plug mem-leak, re-add to valgrindable tests
22634
22635 2005-09-20  Thomas Vander Stichele  <thomas at apestaart dot org>
22636
22637         * gst/gstplugin.h:
22638           unbreak the build for those who have chronic arthritis
22639           and typing "make check" is just too taxing on the hands
22640
22641 2005-09-20  Andy Wingo  <wingo@pobox.com>
22642
22643         * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22644         really want it out, you should fix plugins at the same time.
22645
22646 2005-09-19  Stefan Kost  <ensonic@users.sf.net>
22647
22648         * configure.ac:
22649         * docs/gst/gstreamer-sections.txt:
22650         * gst/gstobject.c:
22651           added missing symbols to api docs
22652           disable ref-count hack if we have glib >= 2.8
22653
22654 2005-09-19  David Schleef  <ds@schleef.org>
22655
22656         * docs/gst/Makefile.am: Ignore a few more internal headers
22657         * docs/gst/gstreamer-docs.sgml: Remove old sections
22658         * docs/gst/gstreamer-sections.txt: Remove old sections
22659         * docs/gst/tmpl/gstobject.sgml: update
22660         * docs/gst/tmpl/gstplugin.sgml: update
22661         * docs/gst/tmpl/gstpluginfeature.sgml: update
22662         * docs/random/ds/0.9-suggested-changes: update.
22663         * gst/Makefile.am: remove memchunk and trashstack, since they're
22664           not used.
22665         * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22666         * gst/gst.h: don't include some headers
22667         * gst/gstchildproxy.c: add gstmarshal.h
22668         * gst/gstclock.c: Don't use memchunks
22669         * gst/gstminiobject.c: Add some docs
22670         * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22671         * gst/gstobject.h: same
22672         * gst/gstplugin.c: include gstmacros.h
22673         * gst/gstplugin.h: don't include gstmacros.h, since it's private
22674         * gst/gstquery.c: don't use memchunks
22675         * gst/gstregistry.c: rename gst_registry_deinit()
22676         * gst/gstregistry.h: same
22677
22678 2005-09-19  David Schleef  <ds@schleef.org>
22679
22680         * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22681         * docs/libs/gstreamer-libs-sections.txt:
22682         * docs/libs/tmpl/gstgetbits.sgml:
22683         * docs/libs/tmpl/gstputbits.sgml:
22684
22685 2005-09-19  Tim-Philipp Müller  <tim at centricular dot net>
22686
22687         * win32/gstenumtypes.c:
22688         * win32/gstenumtypes.h:
22689           Update.
22690
22691 2005-09-19  Wim Taymans  <wim@fluendo.com>
22692
22693         * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22694         Automatically PAUSE and RESUME a pipeline when a flushing seek
22695         is performed.
22696
22697 2005-09-19  Andy Wingo  <wingo@pobox.com>
22698
22699         * gst/gstregistry.h: Spacing fixen.
22700
22701 2005-09-19  Wim Taymans  <wim@fluendo.com>
22702
22703         * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22704         Handle state change failure more correctly.
22705
22706 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22707
22708         * check/Makefile.am:
22709         * check/pipelines/cleanup.c: (run_pipeline):
22710         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22711         (GST_START_TEST):
22712           enable cleanup again after fixing the leak
22713         * docs/README:
22714           some more info on docs
22715
22716 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22717
22718         * check/Makefile.am:
22719           re-enable tests now that leaks are plugged
22720         * check/gst/gst.c:
22721         * check/gst/gstbin.c:
22722         * check/gst/gstpipeline.c:
22723           add some more tests while fixing leaks
22724         * common/check.mak:
22725           make sure binaries are uptodate when valgrinding/gdbing
22726         * gst/gst.c:
22727         * gst/gstelementfactory.c:
22728           remove a ref too many, and add a FIXME for when we get
22729           round to disposing of classes
22730         * gst/gstplugin.c:
22731           fix the refcounting when loading a plugin from a file and
22732           the code pretends that the pointer is the same even though
22733           of course it can change
22734         * gst/gstpluginfeature.c:
22735           unref plugins marked cached (a bit confusing as a name)
22736           as the docs state should be done
22737           various doc additions to explain refcounting
22738         * gst/gstregistry.c:
22739         * gst/gstregistryxml.c:
22740           debugging
22741
22742 2005-09-19  Wim Taymans  <wim@fluendo.com>
22743
22744         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22745         * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22746         (send_messages), (GST_START_TEST), (gstbus_suite):
22747         * check/gst/gstpipeline.c: (GST_START_TEST):
22748         * check/pipelines/cleanup.c: (run_pipeline):
22749         * check/pipelines/simple_launch_lines.c: (run_pipeline),
22750         (GST_START_TEST):
22751         * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22752         (gst_bus_source_check), (gst_bus_source_dispatch),
22753         (gst_bus_create_watch), (gst_bus_add_watch_full),
22754         (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22755         * gst/gstbus.h:
22756         * tools/gst-launch.c: (event_loop):
22757         * tools/gst-md5sum.c: (event_loop):
22758         GstBusHandler -> GstBusFunc, return value has the same meaning as
22759         any other GSource (FALSE == remove source).
22760         _add_watch() and _add_watch_full() now take a MessageType mask to
22761         only handle specific types of messages.
22762         _poll() returns the GstMessage instead of the message type to avoid
22763         race conditions.
22764         _have_pending() takes a MessageType mask now too.
22765         Added testsuite for multiple bus watches.
22766         Fix testsuites and applications for new bus API.
22767
22768 2005-09-19  Thomas Vander Stichele  <thomas at apestaart dot org>
22769
22770         * check/Makefile.am:
22771           mark a bunch of the tests as to fix until we fix them
22772
22773 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22774
22775         * common/check.mak:
22776           use GST_PLUGIN settings for valgrind tests as well, so we're
22777           valgrinding the correct thing
22778         * gst/gst.c: (init_post):
22779           plug another leak
22780
22781 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22782
22783         * gst/gst.c: (init_post), (gst_deinit):
22784         * gst/gstelementfactory.c: (gst_element_factory_class_init),
22785         (gst_element_factory_finalize), (gst_element_factory_cleanup):
22786         * gst/gstindex.c: (gst_index_factory_class_init),
22787         (gst_index_factory_finalize):
22788         * gst/gstobject.c: (gst_object_dispose):
22789         * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22790         (gst_plugin_load_file), (gst_plugin_desc_free):
22791         * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22792         (gst_plugin_feature_finalize):
22793         * gst/gstregistry.c: (gst_registry_class_init),
22794         (gst_registry_init), (gst_registry_finalize),
22795         (gst_registry_get_default), (gst_registry_deinit):
22796         * gst/gstregistry.h:
22797         * gst/gstregistryxml.c: (load_feature), (load_plugin):
22798           various cleanups and memleak plugging.  make valgrind is happy now.
22799
22800 2005-09-18  Thomas Vander Stichele  <thomas at apestaart dot org>
22801
22802         * common/check.mak:
22803           add a check-valgrind target
22804
22805 2005-09-18  David Schleef  <ds@schleef.org>
22806
22807         * tools/gst-inspect.c: Revert the GOption code.
22808
22809 2005-09-17  David Schleef  <ds@schleef.org>
22810
22811         * check/Makefile.am: Fix environment variables.
22812         * check/gst/gstplugin.c: Fix for API changes.
22813         * tools/gst-inspect.c: Fix for API changes.
22814         * tools/gst-xmlinspect.c: Fix for API changes.
22815         * gst/gstelementfactory.c:
22816         * gst/gstplugin.c:
22817         * gst/gstplugin.h:
22818         * gst/gstpluginfeature.c:
22819         * gst/gstpluginfeature.h:
22820         * gst/gstregistry.c:
22821         * gst/gstregistry.h:
22822         * gst/gstregistryxml.c:
22823         * gst/gsttypefind.c:
22824         * gst/gsttypefindfactory.c:
22825         * gst/indexers/gstfileindex.c:
22826         * gst/indexers/gstmemindex.c:
22827         * gst/schedulers/Makefile.am:
22828           Change registry to keep track of both plugins and features,
22829           removing the feature tracking from plugins themselves.
22830
22831 2005-09-16  Thomas Vander Stichele  <thomas at apestaart dot org>
22832
22833         * check/Makefile.am:
22834         * tools/gst-register.1.in:
22835           remove gst-register
22836
22837 2005-09-15  David Schleef  <ds@schleef.org>
22838
22839         * check/gst/gstplugin.c:
22840         * gst/gstelementfactory.c:
22841         * gst/gstplugin.c:
22842         * gst/gstpluginfeature.c:
22843         * gst/gstregistry.c:
22844           Getting tired of debugging.  Disabled all the unreffing of
22845           plugins and features, which fixes the segfaults, but of
22846           course leaks like crazy.  At least playbin works.
22847
22848 2005-09-15  David Schleef  <ds@schleef.org>
22849
22850         * check/gst/gstplugin.c: (register_check_elements),
22851         (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22852         More testing
22853         * gst/elements/gsttypefindelement.c: Fix refcounting.
22854         * gst/gsttypefind.c:
22855         * gst/gsttypefindfactory.c:
22856         * gst/gsttypefindfactory.h:
22857
22858 2005-09-15  David Schleef  <ds@schleef.org>
22859
22860         * gst/gstindex.c: get refcounting correct.
22861         * gst/gstregistry.c: Handle the case where a feature/plugin is
22862           not found.
22863
22864 2005-09-15  David Schleef  <ds@schleef.org>
22865
22866         * check/Makefile.am:
22867         * check/gst/gstplugin.c: Add test
22868         * gst/gstplugin.c: Fix problems noticed by testsuite
22869         * gst/gstplugin.h:
22870         * gst/gstregistry.c: 
22871         * gst/gstregistry.h:
22872
22873 2005-09-15  David Schleef  <ds@schleef.org>
22874
22875         * gst/gstplugin.c: Implement semi-decent recounting and locking
22876           in plugins and plugin features.
22877         * gst/gstplugin.h:
22878         * gst/gstpluginfeature.c:
22879         * gst/gstpluginfeature.h:
22880         * gst/gstregistry.c:
22881
22882 2005-09-15  Michael Smith <msmith@fluendo.com>
22883
22884         * gst/gstregistry.c: (gst_registry_get_feature_list):
22885           Implement this. Makes oggdemux work; decodebin still broken.
22886
22887 2005-09-14  David Schleef  <ds@schleef.org>
22888
22889         * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
22890           #316076)
22891         * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
22892         * gst/check/Makefile.am:
22893         * libs/gst/controller/Makefile.am:
22894         * libs/gst/dataprotocol/Makefile.am:
22895
22896 2005-09-14  David Schleef  <ds@schleef.org>
22897
22898         * configure.ac: Remove getbits library.  Nothing uses it, and
22899           it should be in something like liboil if someone did want
22900           to use it.
22901         * libs/gst/Makefile.am:
22902         * libs/gst/getbits/Makefile.am:
22903         * libs/gst/getbits/gbtest.c:
22904         * libs/gst/getbits/getbits.c:
22905         * libs/gst/getbits/getbits.h:
22906         * libs/gst/getbits/gstgetbits_generic.c:
22907         * libs/gst/getbits/gstgetbits_i386.s:
22908         * libs/gst/getbits/gstgetbits_inl.h:
22909
22910 2005-09-14  David Schleef  <ds@schleef.org>
22911
22912         * gst/Makefile.am: Dist glib-compat.h
22913
22914 2005-09-14  David Schleef  <ds@schleef.org>
22915
22916         * configure.ac: Remove gst/registries, since it's no longer used.
22917         * gst/registries/Makefile.am:
22918         * gst/registries/gstlibxmlregistry.c:
22919         * gst/registries/gstlibxmlregistry.h:
22920         * gst/registries/gstxmlregistry.c:
22921         * gst/registries/gstxmlregistry.h:
22922         * gst/registries/registrytest.c:
22923
22924 2005-09-14  David Schleef  <ds@schleef.org>
22925
22926         * gst/glib-compat.h:
22927         * gst/gstregistryxml.c:
22928           Convergence is near.  Seriously.
22929
22930 2005-09-14  David Schleef  <ds@schleef.org>
22931
22932         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22933         * gst/glib-compat.h:
22934           Attempt #4 to appease the buildbots.
22935
22936 2005-09-14  David Schleef  <ds@schleef.org>
22937
22938         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22939           Attempt #3.
22940
22941 2005-09-14  David Schleef  <ds@schleef.org>
22942
22943         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22944         Attempt #2.
22945
22946 2005-09-14  David Schleef  <ds@schleef.org>
22947
22948         * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
22949           the new functions.
22950
22951 2005-09-14  David Schleef  <ds@schleef.org>
22952
22953         * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22954         * gst/glib-compat.h: Add some functions that are in newer versions
22955           of glib than we care to require.
22956         * gst/gstregistryxml.c: Use them.
22957
22958 2005-09-14  David Schleef  <ds@schleef.org>
22959
22960         * po/POTFILES.in: remove gst-register.c
22961
22962 2005-09-14  David Schleef  <ds@schleef.org>
22963
22964         * docs/gst/gstreamer-docs.sgml:
22965         * docs/gst/gstreamer-sections.txt:
22966         * docs/gst/gstreamer.types:
22967         * docs/gst/tmpl/gstelement.sgml:
22968         * docs/gst/tmpl/gstplugin.sgml:
22969         * docs/gst/tmpl/gstpluginfeature.sgml:
22970           Documentation updates for registry changes.
22971
22972 2005-09-14  David Schleef  <ds@schleef.org>
22973
22974         * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
22975           because we don't require glib-2.8.
22976
22977 2005-09-14  David Schleef  <ds@schleef.org>
22978
22979         * gst/gstregistryxml.c: Added.  Essentially moved out of the
22980           registries directory.
22981
22982 2005-09-14  David Schleef  <ds@schleef.org>
22983
22984         * check/Makefile.am:
22985         * check/generic/states.c:
22986         * gst/Makefile.am:
22987         * gst/gst.c:
22988         * gst/gst.h:
22989         * gst/gst_private.h:
22990         * gst/gstelementfactory.c:
22991         * gst/gstindex.c:
22992         * gst/gstinfo.c:
22993         * gst/gstplugin.c:
22994         * gst/gstplugin.h:
22995         * gst/gstpluginfeature.c:
22996         * gst/gstpluginfeature.h:
22997         * gst/gstregistry.c:
22998         * gst/gstregistry.h:
22999         * gst/gstregistrypool.c: remove
23000         * gst/gstregistrypool.h: remove
23001         * gst/gsttypefind.c:
23002         * gst/gsttypefindfactory.c:
23003         * gst/gsturi.c:
23004         * tools/Makefile.am:
23005         * tools/gst-compprep.c:
23006         * tools/gst-inspect.c:
23007         * tools/gst-register.c: remove
23008         * tools/gst-xmlinspect.c:
23009           Registry rewrite.  Changes registry from being a file created
23010           by a tool into a simple cache file created automatically by 
23011           libgstreamer.  Removed gst-register (because it's no longer
23012           needed).  Remove registry pools, because we only have one
23013           registry implementation (XML).  Fix up other subsystems as
23014           necessary.
23015
23016 2005-09-13  Michael Smith <msmith@fluendo.com>
23017
23018         * gst/gstconfig.h.in:
23019           Don't Use windows linking attributes for MinGW. Fixes #316157
23020
23021 2005-09-13  Thomas Vander Stichele  <thomas at apestaart dot org>
23022
23023         * gst/gstutils.c: (set_state_async_thread_func),
23024         (gst_element_set_state_async):
23025           Apparently people think it's better if this function doesn't
23026           try to set the state to whatever state was asked for on the first
23027           call to this function for any object.  Seriously.
23028
23029 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23030
23031         * check/gst/gstpipeline.c: (GST_START_TEST):
23032         * docs/gst/gstreamer-sections.txt:
23033         * gst/gstutils.c: (set_state_async_thread_func),
23034         (gst_element_set_state_async):
23035         * gst/gstutils.h:
23036           add a "gst_element_set_state_async" method that
23037           sets the state and starts a thread to make sure the state
23038           change completes as best as it can
23039
23040 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23041
23042         * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23043           codify design+behaviour in testsuite after discussion
23044
23045 2005-09-12  Thomas Vander Stichele  <thomas at apestaart dot org>
23046
23047         * docs/gst/tmpl/gstelement.sgml:
23048         * docs/manual/appendix-quotes.xml:
23049           add a quote
23050         * gst/gstelement.c: (gst_element_set_state):
23051           add some debug
23052
23053 2005-09-12  Jan Schmidt  <thaytan@mad.scientist.com>
23054
23055         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23056         (gst_base_transform_prepare_output_buf),
23057         (gst_base_transform_handle_buffer):
23058         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23059         (gst_capsfilter_prepare_buf):
23060           Remove the requirement for sub-classes to call the parent
23061           implementation of prepare_output_buffer with a wrapper function.
23062           
23063         * gst/gsttaglist.h:
23064         * gst/gsttagsetter.h:
23065           Fix #define wrapper
23066
23067 2005-09-11  Stefan Kost  <ensonic@users.sf.net>
23068
23069         * docs/gst/gstreamer-sections.txt:
23070           more doc cleanups
23071
23072 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23073
23074         * docs/gst/gstreamer-sections.txt:
23075         * docs/gst/tmpl/gstelement.sgml:
23076         * docs/gst/tmpl/gstplugin.sgml:
23077         * gst/gstminiobject.c:
23078         * gst/gstvalue.h:
23079           docs now stop throwing warnings
23080
23081 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23082
23083         * docs/gst/gstreamer-sections.txt:
23084         * docs/gst/gstreamer.types:
23085         * docs/gst/tmpl/gstpad.sgml:
23086         * docs/gst/tmpl/gsttypes.sgml:
23087         * gst/base/gstadapter.h:
23088         * gst/base/gstbasesink.h:
23089         * gst/base/gstbasesrc.h:
23090         * gst/gstbin.h:
23091         * gst/gstbuffer.h:
23092         * gst/gstbus.h:
23093         * gst/gstcaps.h:
23094         * gst/gstclock.h:
23095         * gst/gstelement.h:
23096         * gst/gstevent.h:
23097         * gst/gstmessage.h:
23098         * gst/gstpad.h:
23099         * gst/gststructure.c:
23100         * gst/registries/gstlibxmlregistry.h:
23101           various documentation fixes
23102
23103 2005-09-11  Thomas Vander Stichele  <thomas at apestaart dot org>
23104
23105         * docs/gst/gstreamer-sections.txt:
23106         * docs/gst/tmpl/gstvalue.sgml:
23107           rearrange gstvalue section
23108         * gst/gstutils.c: (gst_element_state_get_name):
23109           NONE -> VOID
23110         * gst/gstvalue.c: (_gst_value_initialize):
23111         * gst/gstvalue.h:
23112           doc updates
23113
23114 2005-09-10  Jan Schmidt  <thaytan@mad.scientist.com>
23115
23116         * check/gst-libs/controller.c:
23117           Header include fix.
23118         * gst/base/gstbasetransform.c:
23119         (gst_base_transform_default_prepare_buf),
23120         (gst_base_transform_handle_buffer):
23121         * gst/base/gstbasetransform.h:
23122           Some more basetransform changes and fixes to enable sub-classes
23123           that modify buffer metadata only.
23124         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23125         (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23126         (gst_capsfilter_prepare_buf):
23127           If the output pad has fixed allowed caps and input buffers 
23128           don't have any, set the fixed caps on outgoing buffers.
23129
23130 2005-09-09  Jan Schmidt  <thaytan@mad.scientist.com>
23131         * check/elements/identity.c: (GST_START_TEST):
23132           Make the error a little clearer when the test fails because
23133           identity made a copy of the buffer.
23134         * docs/gst/gstreamer-sections.txt:
23135           New symbols in gstbasetransform.h
23136         * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23137         (gst_base_transform_init), (gst_base_transform_transform_size),
23138         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23139         (gst_base_transform_default_prepare_buf),
23140         (gst_base_transform_get_unit_size),
23141         (gst_base_transform_buffer_alloc),
23142         (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23143         (gst_base_transform_change_state),
23144         (gst_base_transform_set_passthrough),
23145         (gst_base_transform_set_in_place),
23146         (gst_base_transform_is_in_place):
23147         * gst/base/gstbasetransform.h:
23148           Change BaseTransform to separate in_place operate from same_caps
23149           output. in_place implies that the element can perform the transform
23150           on incoming buffers in-place, even if the caps on the output are
23151           different.
23152           Sub-class elements can now implement special buffer allocation
23153           methods for outgoing buffers if they wish to.
23154           Big documentation addition.
23155         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23156         * gst/elements/gstelements.c:
23157           Changes for basetransform modifications.
23158         * gst/elements/Makefile.am:
23159         * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23160           Compile fix. Extra debug output.
23161
23162 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23163
23164         * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23165         (gst_pad_suite):
23166           add tests for valid pad naming
23167         * gst/check/gstcheck.c: (gst_check_log_message_func),
23168         (gst_check_log_critical_func):
23169           add ASSERT_WARNING
23170           remove printing of code, it is fragile when the code contains
23171           % and the line number is enough info
23172         * gst/check/gstcheck.h:
23173         * gst/gstpad.c: (gst_pad_template_new):
23174           fix memleaks
23175
23176 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23177
23178         * configure.ac:
23179           say what CHECK flags we use
23180         * docs/libs/gstreamer-libs.types:
23181         * libs/gst/controller/Makefile.am:
23182         * libs/gst/controller/gst-controller.c:
23183         * libs/gst/controller/gst-controller.h:
23184         * libs/gst/controller/gst-helper.c:
23185         * libs/gst/controller/gst-interpolation.c:
23186         * libs/gst/controller/gstcontroller.c:
23187         * libs/gst/controller/gsthelper.c:
23188         * libs/gst/controller/gstinterpolation.c:
23189         * tools/gst-inspect.c: (print_plugin_info):
23190           we don't use dashes in header names
23191
23192 2005-09-09  Thomas Vander Stichele  <thomas at apestaart dot org>
23193
23194         * check/Makefile.am:
23195         * check/gst/.cvsignore:
23196         * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23197         (gst_pipeline_suite), (main):
23198           adding a test for pipelines and state changes
23199         * gst/gstutils.c: (get_state_func):
23200           add some debugging
23201         * gstreamer.spec.in:
23202           fix up spec file
23203
23204 2005-09-08  Michael Smith <msmith@fluendo.com>
23205
23206         * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23207         (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23208         (gst_file_src_is_seekable), (gst_file_src_get_size),
23209         (gst_file_src_start):
23210         * gst/elements/gstfilesrc.h:
23211           Various fixes for unseekable, unmmapable, and non-normal files, so
23212           that fallback to read() rather than mmap() works.
23213         * gst/gstevent.c: (gst_event_new_newsegment):
23214           Allow newsegment events with segment_start == segment_end, as will
23215           correctly happen if you use filesrc on a zero-size file, for
23216           example.
23217
23218 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23219
23220         * gst/gstplugin.c: (gst_plugin_load_file):
23221           Call g_module_close when we don't load the module
23222
23223         * gst/registries/gstlibxmlregistry.c:
23224         (gst_xml_registry_get_property):
23225           Port leak fix from 0.8
23226
23227 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23228
23229         * docs/gst/gstreamer-docs.sgml:
23230         * docs/gst/tmpl/.cvsignore:
23231         * docs/gst/tmpl/gsttrace.sgml:
23232         * docs/gst/tmpl/gsttrashstack.sgml:
23233         * gst/Makefile.am:
23234         * gst/gst.h:
23235         * gst/gstelement.h:
23236         * gst/gstevent.h:
23237         * gst/gstmessage.c:
23238         * gst/gstmessage.h:
23239         * gst/gsttag.c:
23240         * gst/gsttag.h:
23241         * gst/gsttaginterface.c:
23242         * gst/gsttaginterface.h:
23243         * gst/gsttaglist.c:
23244         * gst/gsttaglist.h:
23245         * gst/gsttagsetter.c:
23246         * gst/gsttagsetter.h:
23247         * gst/gsttrace.c:
23248         * gst/gsttrace.h:
23249         * gst/gsttrashstack.c:
23250           renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23251           inlined docs for gsttrace, gsttrashstack
23252
23253 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23254
23255         * gst/Makefile.am:
23256         * gst/elements/gstbufferstore.h:
23257         * gst/elements/gsttypefindelement.c:
23258         * gst/elements/gsttypefindelement.h:
23259         * gst/gst.h:
23260         * gst/gsttypefind.c:
23261         * gst/gsttypefind.h:
23262         * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23263         (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23264         (gst_type_find_factory_dispose),
23265         (gst_type_find_factory_unload_thyself),
23266         (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23267         (gst_type_find_factory_get_caps),
23268         (gst_type_find_factory_get_extensions),
23269         (gst_type_find_factory_call_function):
23270         * gst/gsttypefindfactory.h:
23271         * gst/registries/gstlibxmlregistry.c:
23272         * gst/registries/gstxmlregistry.c:
23273           splitted gsttypefind into gsttypefind, gsttypefindfactory
23274
23275 2005-09-07  Andy Wingo  <wingo@pobox.com>
23276
23277         * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23278         condition whereby the pad's task function is entered before the
23279         pad_mode variable was set.
23280
23281 2005-09-07  Jan Schmidt  <thaytan@mad.scientist.com>
23282
23283         * gst/gstpad.c: (gst_pad_alloc_buffer):
23284           Catch misbehaving pad_alloc functions that don't
23285           set up caps and do it for them.
23286
23287 2005-09-07  Stefan Kost  <ensonic@users.sf.net>
23288
23289         * check/pipelines/simple_launch_lines.c: (run_pipeline):
23290           test for pipe!=NULL
23291         * docs/gst/tmpl/.cvsignore:
23292         * docs/gst/tmpl/gstmemchunk.sgml:
23293         * docs/gst/tmpl/gstparse.sgml:
23294         * docs/gst/tmpl/gsttaglist.sgml:
23295         * docs/gst/tmpl/gsttagsetter.sgml:
23296         * docs/gst/tmpl/gsttypefind.sgml:
23297         * docs/gst/tmpl/gsttypefindfactory.sgml:
23298         * gst/gstmemchunk.c:
23299         * gst/gstparse.c:
23300         * gst/gsttag.c:
23301         * gst/gsttaginterface.c:
23302         * gst/gsttypefind.c:
23303         * gst/gsttypefind.h:
23304           inlined more docs
23305
23306 === release 0.9.2 ===
23307
23308 2005-09-06  Thomas Vander Stichele  <thomas at apestaart dot org>
23309
23310         * NEWS:
23311         * RELEASE:
23312         * configure.ac:
23313           releasing 0.9.2, "South"
23314
23315 2005-09-05  Andy Wingo  <wingo@pobox.com>
23316
23317         * gst/registries/gstxmlregistry.h:
23318         * gst/registries/gstxmlregistry.c: Um... resurrect...
23319         
23320         * gst/registries/gstxmlregistry.h:
23321         * gst/registries/gstxmlregistry.c: and update to newer API.
23322         Incidentally they should be a bit faster now that they don't have
23323         to parse the caps.
23324         
23325 2005-09-05  Andy Wingo  <wingo@pobox.com>
23326
23327         * gst/registries/gstxmlregistry.h:
23328         * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23329         replaced by the libxml registry a while back
23330
23331 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23332
23333         * docs/gst/tmpl/gstplugin.sgml:
23334         * gst/elements/gstelements.c:
23335         * gst/gst.c:
23336         * gst/gstplugin.c: (gst_plugin_register_func),
23337         (gst_plugin_desc_copy), (gst_plugin_desc_free),
23338         (gst_plugin_get_source):
23339         * gst/gstplugin.h:
23340         * gst/registries/gstlibxmlregistry.c: (load_plugin),
23341         (gst_xml_registry_save_plugin):
23342         * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23343         (gst_xml_registry_save_plugin):
23344         * tools/gst-inspect.c: (print_plugin_info):
23345           add a "source" plugin description field, to represent the source
23346           module this plugin is a part of.  By default GST_PLUGIN_DEFINE
23347           will set it to PACKAGE, which is automake's idea of the name of
23348           the source project.
23349
23350 2005-09-03  Thomas Vander Stichele  <thomas at apestaart dot org>
23351
23352         * Makefile.am:
23353         * autogen.sh:
23354         * configure.ac:
23355         * docs/Makefile.am:
23356         * docs/faq/Makefile.am:
23357         * docs/gst/tmpl/gstelement.sgml:
23358         * docs/gst/tmpl/gsttypes.sgml:
23359         * docs/htmlinstall.mak:
23360         * docs/manual/Makefile.am:
23361         * docs/pwg/Makefile.am:
23362           reorganize doc build a little
23363           split out docbook and gtk-doc stuff
23364           have two separate --enable's and enable them through autogen
23365           but disable by default in configure (to be similar to other
23366           projects)
23367         * gstreamer.spec.in:
23368           clean up docs install
23369         * po/af.po:
23370         * po/az.po:
23371         * po/ca.po:
23372         * po/cs.po:
23373         * po/de.po:
23374         * po/en_GB.po:
23375         * po/fr.po:
23376         * po/it.po:
23377         * po/nb.po:
23378         * po/nl.po:
23379         * po/ru.po:
23380         * po/sq.po:
23381         * po/sr.po:
23382         * po/sv.po:
23383         * po/tr.po:
23384         * po/uk.po:
23385         * po/vi.po:
23386           translation updates
23387
23388 2005-09-03  Tim-Philipp Müller  <tim at centricular dot net>
23389
23390         * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23391           Add comment.
23392           
23393         * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23394         (gst_fake_sink_change_state):
23395           Make state change function thread-safe.
23396           
23397         * gst/gstpad.c: (gst_pad_alloc_buffer):
23398           Set offset on generic buffer allocated by fallback.
23399
23400 2005-09-03  Stefan Kost  <ensonic@users.sf.net>
23401
23402         * docs/gst/gstreamer-sections.txt:
23403         * docs/gst/tmpl/gstelement.sgml:
23404         * gst/gstpad.c:
23405         * libs/gst/controller/gst-controller.c:
23406         (gst_controlled_property_set_interpolation_mode),
23407         (gst_controlled_property_new),
23408         (gst_controller_find_controlled_property):
23409          run the wingo-magic script against the docs
23410
23411 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23412
23413         * docs/gst/gstreamer-docs.sgml:
23414         * docs/gst/gstreamer-sections.txt:
23415         * docs/gst/tmpl/.cvsignore:
23416         * docs/gst/tmpl/gstelementdetails.sgml:
23417         * docs/gst/tmpl/gstelementfactory.sgml:
23418         * gst/gst.c:
23419         * gst/gstbus.c:
23420         * gst/gstelementfactory.c:
23421         * gst/gstelementfactory.h:
23422           merged elementdetails docs into elementfactory docs
23423           inlined both
23424
23425 2005-09-02  Andy Wingo  <wingo@pobox.com>
23426
23427         * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23428         consider this enum an enum and not a flags.
23429
23430 2005-09-02  Stefan Kost  <ensonic@users.sf.net>
23431
23432         * docs/gst/gstreamer-docs.sgml:
23433         * docs/gst/tmpl/.cvsignore:
23434         * docs/gst/tmpl/gstghostpad.sgml:
23435         * docs/gst/tmpl/gstiterator.sgml:
23436         * docs/gst/tmpl/gstmacros.sgml:
23437         * docs/gst/tmpl/gstrealpad.sgml:
23438         * docs/gst/tmpl/gstregistry.sgml:
23439         * docs/gst/tmpl/gstregistrypool.sgml:
23440         * docs/gst/tmpl/gststructure.sgml:
23441         * docs/gst/tmpl/gstsystemclock.sgml:
23442         * docs/gst/tmpl/gsttrace.sgml:
23443         * gst/gstghostpad.c:
23444         * gst/gstmacros.h:
23445         * gst/gstmemchunk.c:
23446         * gst/gstmemchunk.h:
23447         * gst/gstqueue.c:
23448         * gst/gstregistry.c:
23449         * gst/gstregistrypool.c:
23450         * gst/gststructure.c:
23451         * gst/gstsystemclock.c:
23452           more docs inlined
23453
23454 2005-09-02  Andy Wingo  <wingo@pobox.com>
23455
23456         * gst/gstelement.h (GstState): Renamed from GstElementState,
23457         changed to be a normal enum instead of flags.
23458         (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23459         munged to be GST_STATE_CHANGE_*.
23460         (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23461         work with the new state representation.
23462         (GstStateChange): New enumeration of possible state transitions.
23463         Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23464         (GstElementClass::change_state): Pass the GstStateChange along as
23465         an argument. Helps language bindings, so they don't have to use
23466         tricky lock-needing macros like GST_STATE_CHANGE ().
23467
23468         * scripts/update-states (file): New script. Run it on a file to
23469         update it for state naming and API changes. Updates files in
23470         place.
23471
23472         * All files updated for the new API.
23473
23474 2005-09-02  Thomas Vander Stichele  <thomas at apestaart dot org>
23475
23476         * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23477         * gst/gstutils.c: (gst_util_set_value_from_string),
23478         (gst_util_set_object_arg):
23479           fix a bunch of unchecked return values
23480         * tools/gst-complete.c: (main):
23481         * gstreamer.spec.in:
23482           clean up a little
23483
23484 2005-09-01  Wim Taymans  <wim@fluendo.com>
23485
23486         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23487         (gst_base_sink_event), (gst_base_sink_do_sync),
23488         (gst_base_sink_handle_event):
23489         * gst/base/gstbasesink.h:
23490         Handle newsegments more correctly.
23491
23492         * gst/gstbus.c:
23493         Fix docs.
23494
23495         * gst/gstevent.c: (gst_event_new_newsegment):
23496         A newsegment cannot have a start_time of -1
23497
23498 2005-09-01  Tim-Philipp Müller  <tim at centricular dot net>
23499
23500         * win32/gstenumtypes.c:
23501         * win32/gstenumtypes.h:
23502           Update
23503
23504 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23505
23506         * libs/gst/controller/gst-controller.c:
23507         (gst_controlled_property_set_interpolation_mode),
23508         (gst_controlled_property_new):
23509          fixed boolean again
23510
23511 2005-08-31  Thomas Vander Stichele  <thomas at apestaart dot org>
23512
23513         * docs/faq/gst-uninstalled:
23514           add -good
23515         * gst/gstevent.c:
23516         * gst/gstevent.h:
23517           remove wrong docs
23518         * gst/gstutils.c: (gst_element_link_filtered):
23519         * gst/gstutils.h:
23520           add gst_element_link_filtered
23521
23522 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23523
23524         * docs/gst/gstreamer-docs.sgml:
23525         * docs/gst/gstreamer-sections.txt:
23526         * docs/gst/tmpl/.cvsignore:
23527         * docs/gst/tmpl/gsterror.sgml:
23528         * docs/gst/tmpl/gstfilter.sgml:
23529         * docs/gst/tmpl/gsturihandler.sgml:
23530         * docs/gst/tmpl/gsturitype.sgml:
23531         * docs/gst/tmpl/gstutils.sgml:
23532         * docs/gst/tmpl/gstxml.sgml:
23533         * gst/gsterror.c:
23534         * gst/gsterror.h:
23535         * gst/gstfilter.c:
23536         * gst/gsturi.c:
23537         * gst/gsturitype.c:
23538         * gst/gstutils.c:
23539         * gst/gstxml.c:
23540           inlined more docs, fixed double id-ref
23541
23542 2005-08-31  Wim Taymans  <wim@fluendo.com>
23543
23544         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23545         (gst_base_transform_handle_buffer):
23546         Passthrough elements don't need the caps as they don't care.
23547
23548 2005-08-31  Wim Taymans  <wim@fluendo.com>
23549
23550         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23551         (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23552         Don't leak refcounts on buffers.
23553
23554 2005-08-31  Wim Taymans  <wim@fluendo.com>
23555
23556         * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23557         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23558         (gst_base_transform_chain), (gst_base_transform_change_state):
23559         * gst/base/gstbasetransform.h:
23560         Handle the case where we are not negotiated more gracefully.
23561
23562 2005-08-31  Tim-Philipp Müller  <tim at centricular dot net>
23563
23564         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23565         (gst_file_src_map_region):
23566           Set READONLY flag on mmap'ed buffers, otherwise
23567           gst_buffer_make_writable() won't work properly (#314708).
23568
23569 2005-08-31  Wim Taymans  <wim@fluendo.com>
23570
23571         * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23572         passthrough elements can even do inplace on non writable
23573         buffers (as they don't touch them).
23574
23575 2005-08-31  Stefan Kost  <ensonic@users.sf.net>
23576
23577         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23578         (gst_test_mono_source_set_property),
23579         (gst_test_mono_source_class_init), (GST_START_TEST),
23580         (gst_controller_suite):
23581           more tests (hehe I have the most)
23582         * gst/gstbus.c:
23583           describe popping messages whenusing mulltiple sources
23584         * libs/gst/controller/gst-controller.c:
23585         (gst_controlled_property_set_interpolation_mode),
23586         (gst_controlled_property_new):
23587         * libs/gst/controller/gst-controller.h:
23588         * libs/gst/controller/gst-interpolation.c:
23589           implement boolean properties
23590
23591 2005-08-31  Wim Taymans  <wim@fluendo.com>
23592
23593         * gst/gstminiobject.c: (gst_mini_object_ref):
23594         Cannot assert that the refcount has to be positive
23595         since a disposed object can be resurrected.
23596
23597 2005-08-31  Wim Taymans  <wim@fluendo.com>
23598
23599         * gst/gstpad.c: (gst_pad_init):
23600         Revert change, need to first fix badly behaving 
23601         apps.
23602
23603 2005-08-30  Wim Taymans  <wim@fluendo.com>
23604
23605         * check/elements/fakesrc.c: (setup_fakesrc):
23606         * check/elements/identity.c: (setup_identity):
23607         Activate pads before using them.
23608
23609 2005-08-30  Wim Taymans  <wim@fluendo.com>
23610
23611         * gst/base/gstadapter.c: (gst_adapter_flush):
23612         Flushing out 0 bytes is ok for this function.
23613
23614         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23615         no newsegment gives a warning and sets the start/stop to 
23616         invalid.
23617
23618         * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23619         (gst_base_transform_set_passthrough):
23620         Some debug info.
23621
23622         * gst/gstminiobject.c: (gst_mini_object_ref):
23623         Check refcount here too.
23624
23625         * gst/gstpad.c: (gst_pad_init):
23626         Pads are initially flushing and refusing data.
23627
23628         * gst/gstutils.c: (gst_element_link_pads_filtered):
23629         When adding a capsfilter element make sure it has the
23630         same state as the parent bin.
23631
23632 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23633
23634         * docs/gst/tmpl/.cvsignore:
23635         * docs/gst/tmpl/gstformat.sgml:
23636         * docs/gst/tmpl/gstversion.sgml:
23637         * gst/gstbus.h:
23638         * gst/gstformat.c:
23639         * gst/gstformat.h:
23640         * gst/gstversion.h.in:
23641           more docs and two more inlined
23642
23643 2005-08-30  Wim Taymans  <wim@fluendo.com>
23644
23645         * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23646         Don't sync to clock.
23647
23648 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23649
23650         * docs/gst/gstreamer-sections.txt:
23651           ultral33t func10ns deserve to appear in the docs actually
23652         * docs/gst/tmpl/.cvsignore:
23653         * docs/gst/tmpl/gstcompat.sgml:
23654         * docs/gst/tmpl/gstconfig.sgml:
23655         * gst/check/gstcheck.c:
23656         * gst/gstcompat.h:
23657         * gst/gstconfig.h.in:
23658           inlined more docs
23659
23660 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23661
23662         * docs/gst/tmpl/.cvsignore:
23663         * docs/gst/tmpl/gstquery.sgml:
23664         * docs/gst/tmpl/gstutils.sgml:
23665         * gst/gstquery.c:
23666         * gst/gstquery.h:
23667           inlined and extended docs
23668
23669 2005-08-30  Stefan Kost  <ensonic@users.sf.net>
23670
23671         * check/gst-libs/controller.c: (GST_START_TEST),
23672         (gst_controller_suite):
23673           more tests
23674         * docs/gst/tmpl/gstutils.sgml:
23675         * docs/libs/gstreamer-libs-sections.txt:
23676         * docs/libs/tmpl/gstdataprotocol.sgml:
23677           include path fixes
23678         * examples/controller/audio-example.c: (main):
23679           controller example works now
23680         * gst/gstclock.h:
23681           doc fixes
23682         * tools/gst-inspect.c: (print_element_properties_info):
23683           show param spec flags
23684
23685 2005-08-29  Andy Wingo  <wingo@pobox.com>
23686
23687         * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23688
23689 2005-08-28  Andy Wingo  <wingo@pobox.com>
23690
23691         * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23692         as having two arguments instead of just one. Allows superclasses
23693         to access information on subclasses -- see the terrible for() loop
23694         in gtype.c:g_type_create_instance for the reason why. All callers
23695         changed.
23696
23697 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23698
23699         * docs/design/part-messages.txt:
23700           update info
23701         * docs/gst/tmpl/.cvsignore:
23702         * docs/gst/tmpl/gstcaps.sgml:
23703         * docs/gst/tmpl/gstclock.sgml:
23704         * gst/gstbus.c:
23705         * gst/gstcaps.c:
23706         * gst/gstcaps.h:
23707         * gst/gstclock.c:
23708         * gst/gstclock.h:
23709         * gst/gstmessage.c:
23710           added descriptions for bus and message
23711           inline caps and clock docs
23712
23713 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23714
23715         * gst/gstmessage.c:
23716         * gst/gstmessage.h:
23717           doc fixes
23718
23719 2005-08-27  Stefan Kost  <ensonic@users.sf.net>
23720
23721         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23722           fix div-by-zero
23723
23724 2005-08-26  Andy Wingo  <wingo@pobox.com>
23725
23726         * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23727         element_set_state's return val.
23728         (test_2_elements): Add test that's been disabled for months.
23729
23730         * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23731         can-activate-pull properties.
23732
23733         * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23734         can-activate-pull properties. Implement is_seekable so fakesrc can
23735         operate in pull mode.
23736
23737         * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23738         properties.
23739         (gst_base_sink_activate, gst_base_sink_activate_pull)
23740         (gst_base_sink_activate_push): Make activation mode choosing work.
23741         Cleanups.
23742         (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23743         is right. Make pull mode work. Post an eos before pausing in pull
23744         mode.
23745         (gst_base_sink_change_state): Pay attention to the core's
23746         change_state() return val.
23747         
23748         * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23749         has-getrange properties. Cleanups.
23750         
23751         * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23752         has_getrange and replace with can_activate_pull and
23753         can_activate_push.
23754
23755         * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23756         locking comments. Remove has_loop, has_chain and replace with
23757         can_activate_pull and can_activate_push.
23758
23759 2005-08-26  Jan Schmidt  <thaytan@mad.scientist.com>
23760
23761         * configure.ac:
23762         * examples/Makefile.am:
23763         * examples/metadata/Makefile.am:
23764         * examples/metadata/read-metadata.c: (message_loop),
23765         (have_pad_handler), (make_pipeline), (print_tag), (main):
23766           Add metadata reading example that loops over a list of filenames,
23767           dumping any tags found.
23768
23769         * gst/gstbus.c: (gst_bus_dispose):
23770         * gst/gstelement.c: (gst_element_dispose):
23771           Release a few potentially-held references in dispose.
23772
23773 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23774
23775         * docs/gst/tmpl/gstminiobject.sgml:
23776           do *not* add tmpl/*.sgml files to CVS!
23777
23778 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23779
23780         * libs/gst/bytestream/.cvsignore:
23781         * libs/gst/bytestream/Makefile.am:
23782         * libs/gst/bytestream/adapter.c:
23783         * libs/gst/bytestream/adapter.h:
23784         * libs/gst/bytestream/bytestream.c:
23785         * libs/gst/bytestream/bytestream.h:
23786         * libs/gst/bytestream/filepad.c:
23787         * libs/gst/bytestream/filepad.h:
23788           removing obsolete files
23789
23790 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23791
23792         * docs/gst/gstreamer-docs.sgml:
23793         * docs/libs/gstreamer-libs-docs.sgml:
23794           disabed additional index entries again, as this makes docs-gen just
23795           slow and they aren't useful yet
23796         * docs/libs/gstreamer-libs-sections.txt:
23797           little -section.txt cleanup for libs
23798
23799 2005-08-26  Thomas Vander Stichele  <thomas at apestaart dot org>
23800
23801         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23802         * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23803           fix up some debugging
23804         (gst_base_transform_get_unit_size),
23805         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23806         (gst_base_transform_handle_buffer):
23807         * gst/base/gstbasetransform.h:
23808           handle and store timed NEWSEGMENT events so that subclasses that
23809           calculate time by counting samples have a segment_start time they
23810           need to add to their timestamps - see audioresample
23811
23812 2005-08-26  Stefan Kost  <ensonic@users.sf.net>
23813
23814         * gst/gstbin.h:
23815           removed ';' from the end of macro defs
23816         * docs/gst/gstreamer-docs.sgml:
23817         * docs/gst/gstreamer-sections.txt:
23818         * docs/gst/tmpl/.cvsignore:
23819         * gst/gstbus.h:
23820         * gst/gstelement.c: (gst_element_class_init),
23821         (gst_element_set_state), (activate_pads),
23822         (gst_element_save_thyself):
23823         * gst/gstevent.c: (gst_event_new_newsegment):
23824         * gst/gstevent.h:
23825         * gst/gstiterator.c:
23826         * gst/gstiterator.h:
23827         * gst/gstpad.c:
23828         * gst/gstprobe.h:
23829         * gst/gstutils.c: (gst_pad_query_convert):
23830         * gst/gstutils.h:
23831           fixed parameter name mismatches between source, header and docs
23832           added some more docs, resolved the last batch of unused elements in
23833           docs (now someone needs to doc them)
23834
23835 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23836
23837         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23838         * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23839           don't walk through the plugins backwards.  Where is all this
23840           reversed logic coming from ?
23841
23842 2005-08-25  Wim Taymans  <wim@fluendo.com>
23843
23844         * gst/base/gstbasetransform.c: (gst_base_transform_init),
23845         (gst_base_transform_transform_size),
23846         (gst_base_transform_configure_caps),
23847         (gst_base_transform_get_unit_size),
23848         (gst_base_transform_buffer_alloc),
23849         (gst_base_transform_change_state):
23850         * gst/base/gstbasetransform.h:
23851         Cache caps unit_size.
23852         Make sure we cannot negotiate up and downstream at the
23853         same time.
23854
23855 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23856
23857         * gst/gst.c: (init_pre), (init_post):
23858           register the installed plugin path after the env var
23859         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23860         * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23861           don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23862           directories, so the tests can prefer uninstalled over installed
23863
23864 2005-08-25  Thomas Vander Stichele  <thomas at apestaart dot org>
23865
23866         * gst/base/gstbasetransform.h:
23867           comment
23868         * gst/gstpad.c:
23869           add to docs
23870
23871 2005-08-25  Wim Taymans  <wim@fluendo.com>
23872
23873         * gst/gstbin.c: (bin_bus_handler):
23874         Be a bit more conservative about the posted message.
23875         
23876         * gst/gstbus.c: (gst_bus_post):
23877         Some cleanups, warn wrong return values.
23878
23879 2005-08-25  Jan Schmidt  <thaytan@mad.scientist.com>
23880
23881         * check/gst/gstbin.c: (GST_START_TEST):
23882         * gst/gstbin.c: (bin_bus_handler):
23883         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23884         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23885         (gst_message_new_warning), (gst_message_new_tag),
23886         (gst_message_new_state_changed), (gst_message_new_segment_start),
23887         (gst_message_new_segment_done), (gst_message_new_custom):
23888         * gst/gstmessage.h:
23889         * tools/gst-launch.c: (event_loop):
23890         * tools/gst-md5sum.c: (event_loop):
23891           Revert unpopular change for GST_MESSAGE_SRC to GObject.
23892
23893 2005-08-25  Wim Taymans  <wim@fluendo.com>
23894
23895         * check/generic/states.c: (GST_START_TEST):
23896         Cleanup can be done at the end.
23897
23898         * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
23899         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23900         (gst_task_get_state), (gst_task_start), (gst_task_pause):
23901         Oh boy.. Thanks for finding this, Thomas. 
23902
23903 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
23904
23905         * docs/gst/gstreamer.types:
23906           added missing types
23907
23908 2005-08-25  Stefan Kost  <ensonic@users.sf.net>
23909
23910         * docs/gst/gstreamer-docs.sgml:
23911         * docs/gst/gstreamer-sections.txt:
23912         * docs/gst/tmpl/.cvsignore:
23913         * gst/gstbin.c:
23914         * gst/gstiterator.c:
23915         * gst/gstutils.c:
23916         * gst/registries/gstxmlregistry.h:
23917           added missing classes and symbols (123 more to go)
23918           removed removed symbols from section file
23919           fixed many doc-comments
23920
23921 2005-08-24  Wim Taymans  <wim@fluendo.com>
23922
23923         * check/generic/states.c: (GST_START_TEST):
23924         Make sure all tasks are stopped.
23925
23926         * check/gst/gstbin.c: (GST_START_TEST):
23927         Unref after usage for proper valgrinding.
23928
23929         * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
23930         Really wait for the task to stop before destroying the
23931         mutex.
23932
23933         * gst/gstqueue.c: (gst_queue_sink_activate_push),
23934         (gst_queue_src_activate_push):
23935         Small cleanups. Don't stop the task when we did not start
23936         it.
23937
23938         * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
23939         (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23940         (gst_task_get_state), (gst_task_start), (gst_task_pause),
23941         (gst_task_join):
23942         * gst/gsttask.h:
23943         Protect the stream lock with the object lock.
23944         Disallow setting the stream lock when running.
23945         Add cleanup_all to wait for the threadpool to finish.
23946         Remove code to autoallocate a mutex if none was provided.
23947         Add _join() to wait for a task to stop.
23948         Protect the thread pool with a global lock.
23949
23950 2005-08-24  Wim Taymans  <wim@fluendo.com>
23951
23952         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23953         (gst_base_sink_get_times), (gst_base_sink_do_sync),
23954         (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
23955         * gst/base/gstbasesink.h:
23956         Handle newsegment events correctly.
23957         Drop buffers out of the segment range.
23958
23959 2005-08-22  Andy Wingo  <wingo@pobox.com>
23960
23961         * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
23962         macro, implements an interface and gstimplementsinterface for a
23963         new type.
23964
23965 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
23966
23967         * check/Makefile.am:
23968         * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
23969           add a test that does a bunch of state changes on elements
23970           needs some fixing for valgrind
23971         * check/states/sinks.c: (gst_object_suite):
23972           whitespace
23973         * gst/gstcaps.h:
23974           add prototype for gst_caps_is_equal_fixed
23975         * gst/gstplugin.c:
23976         * gst/gstregistrypool.c:
23977           doc fixes
23978
23979 2005-08-24  Andy Wingo  <wingo@pobox.com>
23980
23981         * gst/gstquery.c (gst_query_new_convert): Spew if we try to
23982         convert a negative value. Doesn't make much sense. Mostly this is
23983         here to force callers to ensure -1 maps to -1.
23984
23985 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
23986
23987         * docs/pwg/advanced-types.xml:
23988           Well done to Michael for catching my deliberate introduction
23989           of this spelling mistake. 
23990         * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
23991         * gst/gstelement.h:
23992           Add GST_ELEMENT_UNPARENTING to prevent races so that we can
23993           unlink pads before removing the element from the bin.
23994
23995 2005-08-24  Andy Wingo  <wingo@pobox.com>
23996
23997         * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
23998         the same thing as GST_DEBUG=*:4.
23999         (parse_debug_level, parse_debug_category): New helper parsers.
24000
24001 2005-08-24  Thomas Vander Stichele  <thomas at apestaart dot org>
24002
24003         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24004         (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24005         (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24006         (gst_base_transform_buffer_alloc),
24007         (gst_base_transform_handle_buffer):
24008           use gboolean return values and pointers to size so we can use the
24009           full GST_BUFFER_SIZE range (guint) for buffer sizes
24010           use GstPadDirection for transform_caps
24011         * gst/base/gstbasetransform.h:
24012           rename get_size to get_unit_size since that's what it is
24013         * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24014           use GstPadDirection for transform_caps
24015         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24016         * gst/gstutils.h:
24017           cleanup and debugging
24018
24019 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24020
24021         * gst/gstelement.c: (gst_element_class_init),
24022         (gst_element_set_state), (activate_pads),
24023         (gst_element_save_thyself):
24024         * tools/gst-compprep.c: (main):
24025         * tools/gst-inspect.c: (print_element_properties_info):
24026         * tools/gst-xmlinspect.c: (print_element_properties):
24027           Fixed long standing mem-leak
24028
24029 2005-08-24  Jan Schmidt  <thaytan@mad.scientist.com>
24030
24031         * check/gst/gstbin.c: (GST_START_TEST):
24032         * gst/gstbin.c: (bin_bus_handler):
24033         * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24034         (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24035         (gst_message_new_warning), (gst_message_new_tag),
24036         (gst_message_new_state_changed), (gst_message_new_segment_start),
24037         (gst_message_new_segment_done), (gst_message_new_custom):
24038         * gst/gstmessage.h:
24039         * tools/gst-launch.c: (event_loop):
24040         * tools/gst-md5sum.c: (event_loop):
24041           Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24042           that applications can sensibly post custom messages with references
24043           to their own objects.
24044
24045 2005-08-24  Andy Wingo  <wingo@pobox.com>
24046
24047         * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24048         already.
24049
24050 2005-08-24  Wim Taymans  <wim@fluendo.com>
24051
24052         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24053         (gst_base_transform_transform_caps),
24054         (gst_base_transform_transform_size),
24055         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24056         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24057         (gst_base_transform_handle_buffer):
24058         * gst/base/gstbasetransform.h:
24059         Many fixes and new features added by Thomas. Can now also do
24060         transforms with variable sizes and a custom fixate_caps function.
24061
24062 2005-08-24  Wim Taymans  <wim@fluendo.com>
24063
24064         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24065         Some debugging.
24066
24067         * gst/gstclock.h:
24068         Cast to ClockTime before formatting to time.
24069
24070         * gst/gstutils.h:
24071         Cleanups.
24072
24073 2005-08-24  Stefan Kost  <ensonic@users.sf.net>
24074
24075         * check/gst-libs/controller.c: (GST_START_TEST),
24076         (gst_controller_suite):
24077         * docs/gst/tmpl/gstcaps.sgml:
24078         * docs/gst/tmpl/gstghostpad.sgml:
24079         * docs/gst/tmpl/gstquery.sgml:
24080         * docs/gst/tmpl/gstutils.sgml:
24081         * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24082         (gst_object_sink_values), (gst_object_get_value_arrays),
24083         (gst_object_get_value_array):
24084           gracefully handle helper method calls to objects that are not beeing
24085           controlled, added test case for that          
24086
24087 2005-08-23  Wim Taymans  <wim@fluendo.com>
24088
24089         * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24090         (gst_event_new_newsegment), (gst_event_parse_newsegment),
24091         (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24092         (gst_event_parse_qos), (gst_event_new_seek),
24093         (gst_event_parse_seek):
24094         * gst/gstevent.h:
24095         Some more debugging output and doc cleanups.
24096
24097         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24098         Fix possible deadlock.
24099
24100 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24101
24102         * docs/gst/gstreamer-docs.sgml:
24103         * docs/gst/gstreamer-sections.txt:
24104         * docs/gst/gstreamer.types:
24105         * docs/gst/tmpl/.cvsignore:
24106         * gst/gstbin.h:
24107         * gst/gstbus.c:
24108         * gst/gstelement.c:
24109         * gst/gstevent.h:
24110           added 100 symbols from gstreamer-unused.txt to the right sections
24111           fixed more broken comments
24112           added GstBus to docs
24113
24114 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24115
24116         * docs/gst/gstreamer-sections.txt:
24117         * docs/gst/tmpl/.cvsignore:
24118         * docs/gst/tmpl/gstbin.sgml:
24119         * docs/gst/tmpl/gstbuffer.sgml:
24120         * gst/base/gstbasesrc.c:
24121         * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24122         * gst/gstbuffer.c:
24123         * gst/gstbuffer.h:
24124         * tools/gst-launch.1.in:
24125           inlined more doc comments, added missing comments and fixed comments
24126           fixed typos
24127
24128 2005-08-23  Thomas Vander Stichele  <thomas at apestaart dot org>
24129
24130         * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24131           some debugging
24132         * gst/gstcaps.h:
24133           whitespace fixes
24134         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24135           more debugging
24136         * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24137         * gst/gststructure.h:
24138           add a fixate function for booleans; add a FIXME that these func
24139           names should probably be gst_structure_fixate_*
24140
24141 2005-08-23  Stefan Kost  <ensonic@users.sf.net>
24142
24143         * docs/gst/gstreamer-docs.sgml:
24144         * docs/gst/gstreamer-sections.txt:
24145         * gst/Makefile.am:
24146         * gst/gstbin.c: (gst_bin_get_type),
24147         (gst_bin_child_proxy_get_child_by_index),
24148         (gst_bin_child_proxy_get_children_count),
24149         (gst_bin_child_proxy_init):
24150         * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24151         (gst_child_proxy_get_child_by_index),
24152         (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24153         (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24154         (gst_child_proxy_get), (gst_child_proxy_set_property),
24155         (gst_child_proxy_set_valist), (gst_child_proxy_set),
24156         (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24157         (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24158         * gst/gstchildproxy.h:
24159         * gst/parse/grammar.y:
24160         * tools/gst-inspect.c: (print_interfaces),
24161         (print_element_properties_info), (print_element_info):
24162           ported gstchildproxy over from 0.8
24163           ported gst-inspect fixes and enhancements over from 0.8
24164
24165 2005-08-22  Wim Taymans  <wim@fluendo.com>
24166
24167         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24168         (gst_base_transform_handle_buffer):
24169         Also call the transform function if we have ANY caps.
24170
24171         * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24172         Fix debug info.
24173
24174 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24175
24176         * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24177           Don't pretend to handle seek events if the source is not seekable
24178
24179 2005-08-22  Jan Schmidt  <thaytan@mad.scientist.com>
24180
24181         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24182           Remove extra parameter to debug output
24183
24184         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24185         (gst_base_src_do_seek), (gst_base_src_activate_push):
24186           Fix seek event handling.
24187
24188         * gst/gstpipeline.c: (gst_pipeline_change_state):
24189         * gst/gstqueue.c: (gst_queue_handle_sink_event),
24190         (gst_queue_src_activate_push):
24191           Don't start the src pad task on FLUSH_STOP if the pad
24192           isn't linked.
24193           Debug changes.
24194
24195 2005-08-22  Wim Taymans  <wim@fluendo.com>
24196
24197         * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24198         Added check for gst_static_caps_get() refcounting.
24199
24200 2005-08-22  Wim Taymans  <wim@fluendo.com>
24201
24202         * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24203         Make _static_caps_get() refcounting sane.
24204         
24205         * gst/gstelement.c: (gst_element_set_state):
24206         Add g_return_val_if_fail() to protect against segfaults.
24207
24208 2005-08-22  Stefan Kost  <ensonic@users.sf.net>
24209
24210         * docs/gst/tmpl/gstevent.sgml:
24211         * gst/gstevent.c:
24212         * gst/gstevent.h:
24213           inlined remaining docs, added missing doc comments
24214
24215 2005-08-22  Thomas Vander Stichele  <thomas at apestaart dot org>
24216
24217         * check/gst/gstbin.c: (GST_START_TEST):
24218           since we don't know when preroll is done, use refcount range
24219           check for the sink
24220         * gst/check/gstcheck.h:
24221           add macro for checking refcount range
24222
24223 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24224
24225         * check/Makefile.am:
24226           clean up environment for when registry gets built versus
24227           when actual tests are run; valgrind seems to not report
24228           leaks if GST_PLUGIN_PATH is set to some specific values
24229         * check/gst/gstbin.c: (GST_START_TEST):
24230           add more refcounting checks; maybe this exposes a
24231           preroll lock bug ?
24232         * common/check.mak:
24233         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24234         * gst/check/gstcheck.h:
24235         * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24236         (gst_bin_change_state):
24237         * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24238           add/fix debugging/whitespace
24239
24240 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24241
24242         * check/gst/gstevent.c: (event_probe), (test_event),
24243         (GST_START_TEST):
24244          Er, don't call gst_bin_watch_for_state_change you idiot.
24245
24246 2005-08-21  Jan Schmidt  <thaytan@mad.scientist.com>
24247
24248         * check/Makefile.am:
24249           Use CHECK_CFLAGS and CHECK_LIBS
24250         * check/gst/gstevent.c: (event_probe), (test_event),
24251         (GST_START_TEST):
24252           Don't leak events.
24253         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24254         (gst_base_src_start), (gst_base_src_stop),
24255         (gst_base_src_activate_push), (gst_base_src_activate_pull),
24256         (gst_base_src_change_state):
24257           Sprinkle gst_base_src_stop liberally around error paths to fix
24258           problems reusing a source after failed state changes.
24259         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24260         (helper_find_suggest), (gst_type_find_helper):
24261           Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24262         * gst/gstevent.h:
24263         * docs/gst/tmpl/gstevent.sgml:
24264           Migrate part of the docs from the SGML file. Wait for ensonic to
24265           tell me how I did it wrong ;)
24266         * tools/gst-typefind.c: (main):
24267           Extra robustness to state changes between files.
24268
24269 2005-08-21  Thomas Vander Stichele  <thomas at apestaart dot org>
24270
24271         * check/Makefile.am:
24272           don't valgrind the controller test - it's leaking - Stefan, HELP
24273         * gst/check/gstcheck.c: (gst_check_message_error),
24274         (gst_check_chain_func), (gst_check_setup_element),
24275         (gst_check_teardown_element), (gst_check_setup_src_pad),
24276         (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24277         (gst_check_teardown_sink_pad):
24278         * gst/check/gstcheck.h:
24279           add a bunch of methods to set up elements, and src and sink pads
24280         * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24281         * check/elements/identity.c: (setup_identity), (cleanup_identity),
24282         (GST_START_TEST):
24283           use them
24284         * gst/gstmessage.c:
24285         * gst/gsttag.h:
24286           whitespace/doc fixes
24287
24288 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24289
24290         * gst/gstelement.h:
24291           make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24292           be handled by the application and not always printed as well
24293
24294 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24295
24296         * check/Makefile.am:
24297           set GST_TOOLS_DIR
24298         * gst/check/gstcheck.c: (gst_check_message_error):
24299         * gst/check/gstcheck.h:
24300           add a fail_unless_equals_int
24301           add fail_unless for error messages
24302
24303 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24304
24305         * check/Makefile.am:
24306         * check/gst.supp:
24307         * common/Makefile.am:
24308         * common/check.mak:
24309         * common/gst.supp:
24310           factor out some of the common stuff so we can use it
24311
24312 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24313
24314         * check/Makefile.am:
24315         * check/gst/gstiterator.c: (GST_START_TEST):
24316         * check/gst/gstsystemclock.c: (GST_START_TEST),
24317         (gst_systemclock_suite):
24318         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24319         * gst/gstclock.c:
24320           valgrind more tests
24321
24322 2005-08-20  Thomas Vander Stichele  <thomas at apestaart dot org>
24323
24324         * check/elements/.cvsignore:
24325         * check/elements/gstfakesrc.c:
24326           rename to name of element
24327         * check/elements/identity.c: (chain_func), (event_func),
24328         (setup_identity), (cleanup_identity), (GST_START_TEST),
24329         (identity_suite), (main):
24330           add a test for identity
24331         * check/Makefile.am:
24332         * pkgconfig/Makefile.am:
24333         * pkgconfig/gstreamer-check.pc.in:
24334         * pkgconfig/gstreamer-check-uninstalled.pc.in:
24335         * gst/check:
24336         * gst/Makefile.am:
24337         * configure.ac:
24338           move the check stuff to a library that gets installed
24339         * check/gst-libs/controller.c: (GST_START_TEST):
24340         * check/gst-libs/gdp.c:
24341         * check/gst/gst.c: (GST_START_TEST):
24342         * check/gst/gstbin.c:
24343         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24344         * check/gst/gstbus.c:
24345         * check/gst/gstcaps.c: (GST_START_TEST):
24346         * check/gst/gstelement.c:
24347         * check/gst/gstghostpad.c:
24348         * check/gst/gstiterator.c:
24349         * check/gst/gstmessage.c:
24350         * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24351         * check/gst/gstobject.c:
24352         * check/gst/gstpad.c: (GST_START_TEST):
24353         * check/gst/gststructure.c: (GST_START_TEST):
24354         * check/gst/gstsystemclock.c: (GST_START_TEST),
24355         (gst_systemclock_suite):
24356         * check/gst/gsttag.c: (gst_tag_suite):
24357         * check/gst/gstvalue.c:
24358         * check/pipelines/cleanup.c:
24359         * check/pipelines/simple_launch_lines.c:
24360         * check/states/sinks.c:
24361           change include statement
24362
24363         * docs/gst/gstreamer-sections.txt:
24364         * docs/gst/tmpl/gstpad.sgml:
24365           document more pad stuff
24366         * gst/gstminiobject.c: (gst_mini_object_ref),
24367         (gst_mini_object_unref):
24368           debug refcounting
24369
24370 2005-08-19  Stefan Kost  <ensonic@users.sf.net>
24371
24372         * docs/gst/tmpl/gst.sgml:
24373         * gst/gst.c:
24374           eliminate another tmpl file, fix spelling in the long-description
24375
24376 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24377
24378         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24379         (test_event), (timediff), (gstevents_suite):
24380           Should fix build on 64-bit arch's
24381
24382 2005-08-18  Andy Wingo  <wingo@pobox.com>
24383
24384         Make sure that when a pipeline goes to PLAYING, that data has
24385         actually hit the sink.
24386
24387         * check/states/sinks.c (test_sink): A sink that doesn't get any
24388         data shouldn't return SUCCESS for going to either PLAYING or
24389         PAUSED. Test also the return values on the way back down.
24390
24391         * gst/gstelement.c (gst_element_set_state): When changing the
24392         state of an element currently changing state asynchronously, go to
24393         lost-state after commiting the pending state. Makes future calls
24394         to get_state continue to return ASYNC.
24395
24396         * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24397         ASYNC when going to PLAYING if we still don't have preroll, as can
24398         happen with live sources.
24399
24400 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24401
24402         * docs/pwg/advanced-types.xml:
24403           Hack long paragraph into 2 chunks as a workaround for buggy
24404           jadetex version in sid and breezy that loops infinitely and
24405           eats all RAM.
24406
24407 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24408
24409         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24410         (test_event), (timediff), (gstevents_suite):
24411           Provide more error margin in clock measurements to allow for 
24412           g_get_current_time inaccuracies.
24413
24414 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24415
24416         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24417         (test_event), (timediff), (gstevents_suite):
24418            Fix error message output so I might be able to tell why the
24419            test works here but fails on the build farm.
24420
24421 2005-08-18  Jan Schmidt  <thaytan@mad.scientist.com>
24422
24423         * check/Makefile.am:
24424         * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24425         (test_event), (timediff), (gstevents_suite), (main):
24426           I wrote a test!
24427
24428         * docs/design/part-seeking.txt:
24429           Spelling correction
24430
24431         * docs/gst/tmpl/gstevent.sgml:
24432         * docs/gst/tmpl/gstfakesrc.sgml:
24433           Docs updates.
24434
24435         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24436           Treat a buffer-without-newsegment the same as a receiving 
24437           a newsegment not in time format, and disable syncing to the clock
24438           with a warning.
24439
24440         * gst/gstbus.c: (gst_bus_set_sync_handler):
24441           Assert if anyone tries to replace the existing sync_handler for bus, 
24442           as only the owner should be setting it.
24443
24444         * gst/gstevent.h:
24445           Have a fixed set of custom event enums with events identified by
24446           their structure name (as in 0.8), rather than a free-for-all
24447           allowing collisions between enum values from different plugins.
24448
24449         * gst/gstpad.c: (gst_pad_class_init):
24450           Docs change.
24451           
24452         * gst/gstqueue.c: (gst_queue_handle_sink_event):
24453           Handle out-of-band downstream events from the sending thread.
24454
24455 2005-08-17  Andy Wingo  <wingo@pobox.com>
24456
24457         * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24458         play-timeout==0 to mean no timeout at all. In that case, don't
24459         bother with a get_state or a warning, just return directly, even
24460         if it's ASYNC.
24461
24462         * gst/base/gstbasetransform.c: Debug changes.
24463
24464         * gst/gstutils.h:
24465         * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24466         ensure bins post state change messages. A bit of a hack but I can't
24467         think of a way to avoid it.
24468
24469         * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24470
24471 2005-08-16  Andy Wingo  <wingo@pobox.com>
24472
24473         * gst/base/gstadapter.h:
24474         * gst/base/gstadapter.c (gst_adapter_take): New function, like
24475         peek() but you own the data. Not terribly efficient atm.
24476
24477 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24478
24479         * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24480         (gst_element_found_tags):
24481         * gst/gstutils.h:
24482           Add two utility functions for tag handling.
24483
24484 2005-08-16  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24485
24486         * docs/manual/advanced-dataaccess.xml:
24487         * docs/manual/basics-helloworld.xml:
24488           Fix docs to use _bin_add() before _link(), which fixes the examples
24489           with recent core versions (reported by Madhan Raj M
24490           <raj_madan@rediffmail.com>, #313199).
24491
24492 2005-08-16  Wim Taymans  <wim@fluendo.com>
24493
24494         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24495         Added subtract checks.
24496
24497         * docs/design/part-events.txt:
24498         Some more docs about newsegment
24499
24500         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24501         Fix FIXME
24502
24503         * gst/gstcaps.c: (gst_caps_to_string):
24504         Add comments, cleanups.
24505         
24506         * gst/gstelement.c: (gst_element_save_thyself):
24507         cleanups
24508         
24509         * gst/gstvalue.c: (gst_value_collect_int_range),
24510         (gst_string_unwrap), (gst_value_union_int_int_range),
24511         (gst_value_union_int_range_int_range),
24512         (gst_value_intersect_int_int_range),
24513         (gst_value_intersect_int_range_int_range),
24514         (gst_value_intersect_double_double_range),
24515         (gst_value_intersect_double_range_double_range),
24516         (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24517         (gst_value_subtract_int_range_int),
24518         (gst_value_subtract_double_range_double),
24519         (gst_value_subtract_double_range_double_range),
24520         (gst_value_subtract_from_list), (gst_value_subtract_list),
24521         (gst_value_can_compare), (gst_value_compare_fraction):
24522         Cleanups, add comments, remove unneeded asserts.
24523
24524 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24525
24526         * tools/gst-launch.c: (event_loop):
24527           don't convert NULL structures to strings
24528
24529 2005-08-15  Stefan Kost  <ensonic@users.sf.net>
24530
24531         * docs/gst/gstreamer-sections.txt:
24532           made some defines private
24533         * docs/gst/tmpl/gstconfig.sgml:
24534         * docs/gst/tmpl/gstqueue.sgml:
24535         * docs/gst/tmpl/gsttaglist.sgml:
24536         * docs/gst/tmpl/gsttypes.sgml:
24537         * docs/gst/tmpl/gstutils.sgml:
24538         * docs/pwg/appendix-porting.xml:
24539         * gst/base/gstbasesink.h:
24540         * gst/base/gstbasesrc.c:
24541         * gst/base/gstbasesrc.h:
24542         * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24543         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24544         * gst/gstelement.c: (gst_element_class_init):
24545         * gst/gstpad.c: (gst_pad_class_init):
24546         * gst/gstqueue.c: (gst_queue_class_init):
24547         * gst/gstxml.c: (gst_xml_class_init):
24548           documented all undocumented signal inline
24549         * libs/gst/controller/gst-controller.h:
24550           added padding
24551
24552 2005-08-15  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24553
24554         * docs/pwg/appendix-porting.xml:
24555           Document _set_link_function -> _set_setcaps_function.
24556
24557 2005-08-15  Thomas Vander Stichele  <thomas at apestaart dot org>
24558
24559         * check/Makefile.am:
24560           add a .check target for running the check
24561         * check/gst-libs/controller.c: (GST_START_TEST):
24562           cosmetic fixups
24563         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24564           complete checks for gstbuffer; would be nice if I could get the
24565           gcov stuff to work so I can see if I actually completed gstbuffer.c
24566         * check/gstcheck.h:
24567           add ASSERT_BUFFER_REFCOUNT
24568
24569 2005-08-13  Tim-Philipp Müller  <tim at centricular dot net>
24570
24571         * docs/gst/gstreamer-sections.txt:
24572         * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24573         * gst/gsttag.h:
24574           Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24575           spew out a warning if a tag that is already registered
24576           is re-registered, unless it is re-registered with a 
24577           different type (#308438).
24578
24579 2005-08-12  Tim-Philipp Müller  <tim at centricular dot net>
24580
24581         * docs/pwg/appendix-porting.xml:
24582         * docs/pwg/building-state.xml:
24583           Add some paragraphs about state changes in 0.9 to the PWG
24584           and the porting guide, in particular about the new meaning
24585           of GST_STATE_PAUSED and how to write state change functions
24586           with concurrent access by multiple threads in mind.
24587
24588 2005-08-11  Stefan Kost  <ensonic@users.sf.net>
24589
24590         * docs/gst/gstreamer-docs.sgml:
24591         * docs/libs/gstreamer-libs-docs.sgml:
24592           added deprecation and since indexes
24593         * libs/gst/controller/gst-controller.c:
24594         * libs/gst/controller/gst-helper.c:
24595           added since tags
24596
24597
24598 2005-08-11  Wim Taymans  <wim@fluendo.com>
24599
24600         * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24601         (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24602         (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24603         (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24604         (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24605         (gst_ghost_pad_set_target):
24606         Actually implement (re)setting the target on a ghostpad
24607         as described in the docs.
24608
24609 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24610
24611         * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24612           Check whether GST_DEBUG_NO_COLOR environment variable is
24613           set and disable coloured debug output if that is the case.
24614
24615 2005-08-10  Tim-Philipp Müller  <tim at centricular dot net>
24616
24617         * gst/base/gsttypefindhelper.c: (helper_find_peek),
24618         (gst_type_find_helper):
24619           The memory returned by gst_type_find_peek() needs to
24620           stay valid until the end of a typefind function, and
24621           typefind functions may keep results from different 
24622           offsets around, so we can't just unref the buffer from
24623           the previous _peek(), but have to save all buffers 
24624           returned by _peek() until typefinding is done and only
24625           free them then.
24626
24627 2005-08-09  Tim-Philipp Müller  <tim at centricular dot net>
24628
24629         * docs/gst/gstreamer-sections.txt:
24630         * gst/gstutils.h:
24631           New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24632
24633 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24634
24635         * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24636           Fix a pretty good memleak.
24637
24638 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24639
24640         * gst/gstiterator.h:
24641           Fix wrong include and 'make distcheck'.
24642
24643 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24644
24645         * gst/gstbin.c: (bin_bus_handler):
24646           Use gst_element_post_message() instead.
24647
24648 2005-08-08  Tim-Philipp Müller  <tim at centricular dot net>
24649
24650         * gst/base/gstadapter.h:
24651         * gst/base/gstbasesink.h:
24652         * gst/base/gstbasesrc.h:
24653         * gst/base/gstbasetransform.h:
24654         * gst/base/gstcollectpads.h:
24655         * gst/base/gstpushsrc.h:
24656         * gst/gstiterator.h:
24657           Add padding to our base elements' class and instance structs and
24658           to GstIterator (you will need to rebuild all plugins and apps!)
24659
24660 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24661
24662         * gst/gstbin.c: (bin_bus_handler):
24663           Make default message forwarding from child->bus to bin->bus
24664           threadsafe and make it not emit warnings if the parent has no bus.
24665
24666 2005-08-08  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24667
24668         * gst/gstelement.c: (activate_pads):
24669           On paused->ready, set pad->caps to NULL, as is the documented
24670           behaviour in this state change. Fixes playback of series of
24671           media files when visualization is enabled in Totem.
24672
24673 2005-08-07  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
24674
24675         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24676           Allow NULL as filter-caps (which means "any").
24677
24678 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24679
24680         * docs/libs/gstreamer-libs-sections.txt:
24681         * libs/gst/controller/gst-controller.c:
24682         * libs/gst/controller/gst-controller.h:
24683         * libs/gst/controller/gst-helper.c:
24684           adding more entries to the docs and fix small doc-bugs
24685
24686 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24687
24688         * docs/gst/gstreamer-docs.sgml:
24689         * docs/gst/gstreamer-sections.txt:
24690         * docs/gst/gstreamer.types:
24691         * docs/gst/tmpl/gstbasesink.sgml:
24692         * docs/gst/tmpl/gstbasesrc.sgml:
24693         * docs/gst/tmpl/gstbasetransform.sgml:
24694         * docs/gst/tmpl/gstfakesrc.sgml:
24695         * gst/base/gstcollectpads.c:
24696         * gst/base/gstcollectpads.h:
24697         * libs/gst/controller/gst-controller.c:
24698         * libs/gst/controller/gst-controller.h:
24699         * libs/gst/controller/gst-helper.c:
24700         * libs/gst/controller/gst-interpolation.c:
24701         * libs/gst/controller/lib.c:
24702           added long/short desc for controller docs
24703           added collectpads base class docs
24704           added correct includes to base-class docs
24705
24706 2005-08-05  Stefan Kost  <ensonic@users.sf.net>
24707
24708         * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24709         (gst_test_mono_source_set_property),
24710         (gst_test_mono_source_class_init), (GST_START_TEST),
24711         (gst_controller_suite):
24712         * docs/gst/gstreamer-docs.sgml:
24713         * docs/gst/gstreamer-sections.txt:
24714         * docs/gst/gstreamer.types:
24715         * docs/libs/gstreamer-libs-docs.sgml:
24716         * docs/libs/gstreamer-libs-sections.txt:
24717         * gst/base/gstadapter.c:
24718         * libs/gst/controller/gst-controller.c:
24719         (gst_controlled_property_new), (gst_controlled_property_free),
24720         (gst_controller_new_valist),
24721         (gst_controller_remove_properties_valist),
24722         (gst_controller_sink_values), (_gst_controller_finalize):
24723         * libs/gst/controller/gst-controller.h:
24724         * libs/gst/controller/gst-helper.c:
24725         (gst_object_control_properties), (gst_object_uncontrol_properties),
24726         (gst_object_get_controller), (gst_object_set_controller),
24727         (gst_object_sink_values), (gst_object_get_value_arrays),
24728         (gst_object_get_value_array):
24729           more tests (and fixes) for the controller
24730           more docs for the controller
24731           integrated companies docs for the adapter 
24732
24733 2005-08-05  Thomas Vander Stichele  <thomas at apestaart dot org>
24734
24735         * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24736         (GST_START_TEST), (fakesrc_suite):
24737           add tests for sizetype
24738
24739 2005-08-04  Andy Wingo  <wingo@pobox.com>
24740
24741         * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24742         fixes buffer_alloc proxying among other things.
24743
24744         * gst/base/gstbasetransform.c:
24745         * gst/base/gstbasetransform.h:
24746         Revert patch to gstbasetransform from 7-28 removing
24747         delay_configure.
24748
24749         * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24750         * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24751         Semantics changed, should return not the size of the output buffer
24752         but the byte size of a buffer with a given caps.
24753
24754         * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24755         debug object.
24756         (gst_base_transform_configure_caps): Don't set out_size here: (in,
24757         out) are not the pad caps until setcaps finishes.
24758         (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24759         not-in-place case as well. Deal with changing from in-place to
24760         not-in-place within calling pad_alloc_buffer. Still a bit
24761         concerned about the overhead here...
24762
24763 2005-08-03  Andy Wingo  <wingo@pobox.com>
24764
24765         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24766         fixating is an error.
24767
24768 2005-08-04  Edward Hervey  <edward@fluendo.com>
24769
24770         * gst/base/gstadapter.h: 
24771         Added gst_adapter_get_type() to the header
24772
24773 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24774
24775         * check/Makefile.am:
24776         * check/gst-libs/controller.c:
24777         * libs/gst/controller/gst-controller.c:
24778         (gst_controller_new_valist):
24779           added check test suite for the controller
24780         * gst/base/gstpushsrc.c:
24781           fixed a doc typo
24782
24783 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24784
24785         * docs/gst/Makefile.am:
24786         * docs/gst/gstreamer-docs.sgml:
24787         * docs/gst/gstreamer-sections.txt:
24788         * docs/gst/gstreamer.types:
24789         * docs/gst/tmpl/gstfakesrc.sgml:
24790         * gst/base/README:
24791         * gst/base/gstbasesink.c:
24792         * gst/base/gstbasesink.h:
24793         * gst/base/gstbasesrc.c:
24794         * gst/base/gstbasesrc.h:
24795         * gst/base/gstbasetransform.c:
24796         * gst/base/gstpushsrc.c:
24797         * gst/base/gstpushsrc.h:
24798           add short/long description docs to base classes
24799           add pushsrc to the docs
24800           remove consolidated doc fragments
24801
24802 2005-08-03  Stefan Kost  <ensonic@users.sf.net>
24803
24804         * configure.ac:
24805         * docs/libs/Makefile.am:
24806         * docs/libs/gstreamer-libs-docs.sgml:
24807         * docs/libs/gstreamer-libs-sections.txt:
24808         * docs/libs/gstreamer-libs.types:
24809         * examples/Makefile.am:
24810         * examples/controller/.cvsignore:
24811         * examples/controller/Makefile.am:
24812         * examples/controller/audio-example.c: (main):
24813         * libs/gst/Makefile.am:
24814         * libs/gst/controller/.cvsignore:
24815         * libs/gst/controller/Makefile.am:
24816         * libs/gst/controller/gst-controller.c:
24817         (on_object_controlled_property_changed), (gst_timed_value_compare),
24818         (gst_timed_value_find),
24819         (gst_controlled_property_set_interpolation_mode),
24820         (gst_controlled_property_new), (gst_controlled_property_free),
24821         (gst_controller_find_controlled_property),
24822         (gst_controller_new_valist), (gst_controller_new),
24823         (gst_controller_remove_properties_valist),
24824         (gst_controller_remove_properties), (gst_controller_set),
24825         (gst_controller_set_from_list), (gst_controller_unset),
24826         (gst_controller_get), (gst_controller_get_all),
24827         (gst_controller_sink_values), (gst_controller_get_value_arrays),
24828         (gst_controller_get_value_array),
24829         (gst_controller_set_interpolation_mode),
24830         (_gst_controller_finalize), (_gst_controller_init),
24831         (_gst_controller_class_init), (gst_controller_get_type):
24832         * libs/gst/controller/gst-controller.h:
24833         * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24834         (g_object_uncontrol_properties), (g_object_get_controller),
24835         (g_object_set_controller), (g_object_sink_values),
24836         (g_object_get_value_arrays), (g_object_get_value_array):
24837         * libs/gst/controller/gst-interpolation.c:
24838         (gst_controlled_property_find_timed_value_node),
24839         (interpolate_none_get), (interpolate_trigger_get),
24840         (interpolate_trigger_get_value_array):
24841         * libs/gst/controller/lib.c: (gst_controller_init):
24842         * pkgconfig/Makefile.am:
24843         * pkgconfig/gstreamer-control-uninstalled.pc.in:
24844         * pkgconfig/gstreamer-control.pc.in:
24845         * testsuite/Makefile.am:
24846         * testsuite/controller/.cvsignore:
24847         * testsuite/controller/Makefile.am:
24848         * testsuite/controller/interpolator.c: (main):
24849           added controller code
24850           removed dparam pc files
24851
24852 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
24853         * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24854         (gst_collectpads_stop):
24855           Broadcast the condition when shutting down, to make sure we wake all
24856           threads up. Shut down pads on finalize, for safety.
24857
24858 2005-08-01  Jan Schmidt  <thaytan@mad.scientist.com>
24859         * gst/base/gstbasetransform.c: (gst_base_transform_init),
24860         (gst_base_transform_handle_buffer),
24861         (gst_base_transform_change_state):
24862           Handle PAUSED->READY->PAUSED transition after negotiation
24863           occurred already.
24864         * gst/gstmessage.c: (gst_message_init):
24865           Extra piece of debug for new messages.
24866
24867 2005-08-01  Stefan Kost  <ensonic@users.sf.net>
24868
24869         * configure.ac:
24870         * docs/gst/tmpl/gstbasesrc.sgml:
24871         * docs/gst/tmpl/gstelement.sgml:
24872         * docs/gst/tmpl/gstevent.sgml:
24873         * docs/gst/tmpl/gstfakesrc.sgml:
24874         * docs/gst/tmpl/gstformat.sgml:
24875         * docs/gst/tmpl/gstghostpad.sgml:
24876         * docs/gst/tmpl/gstpad.sgml:
24877         * docs/gst/tmpl/gstquery.sgml:
24878         * docs/gst/tmpl/gststructure.sgml:
24879         * docs/gst/tmpl/gsttaglist.sgml:
24880         * docs/gst/tmpl/gstvalue.sgml:
24881         * docs/libs/gstreamer-libs-docs.sgml:
24882         * docs/libs/gstreamer-libs-sections.txt:
24883         * docs/libs/gstreamer-libs.types:
24884         * libs/gst/Makefile.am:
24885         * libs/gst/control/.cvsignore:
24886         * libs/gst/control/Makefile.am:
24887         * libs/gst/control/control.c:
24888         * libs/gst/control/control.h:
24889         * libs/gst/control/dparam.c:
24890         * libs/gst/control/dparam.h:
24891         * libs/gst/control/dparam_smooth.c:
24892         * libs/gst/control/dparam_smooth.h:
24893         * libs/gst/control/dparamcommon.h:
24894         * libs/gst/control/dparammanager.c:
24895         * libs/gst/control/dparammanager.h:
24896         * libs/gst/control/dplinearinterp.c:
24897         * libs/gst/control/dplinearinterp.h:
24898         * libs/gst/control/unitconvert.c:
24899         * libs/gst/control/unitconvert.h:
24900         * testsuite/Makefile.am:
24901         * testsuite/dynparams/.cvsignore:
24902         * testsuite/dynparams/Makefile.am:
24903         * testsuite/dynparams/dparamstest.c:
24904         * tools/Makefile.am:
24905         * tools/gst-inspect.c: (print_element_info), (main):
24906         * tools/gst-xmlinspect.c: (print_element_info), (main):
24907           deactivate and remove dparams (libgstcontrol)
24908
24909 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24910
24911         * gst/elements/gsttypefindelement.c:
24912         (gst_type_find_element_have_type), (gst_type_find_element_init),
24913         (stop_typefinding), (gst_type_find_element_handle_event),
24914         (gst_type_find_element_chain), (gst_type_find_element_getrange):
24915         * gst/elements/gsttypefindelement.h:
24916           Set caps on all outgoing buffers, not just the first one.
24917
24918 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24919
24920         * gst/elements/gsttypefindelement.c:
24921         (gst_type_find_element_have_type),
24922         (gst_type_find_element_check_set_buffer_caps),
24923         (gst_type_find_element_init), (stop_typefinding),
24924         (gst_type_find_element_handle_event),
24925         (gst_type_find_element_chain), (gst_type_find_element_getrange):
24926         * gst/elements/gsttypefindelement.h:
24927           Set caps on first outgoing buffer when we've found the type.
24928
24929 2005-08-01  Tim-Philipp Müller  <tim at centricular dot net>
24930
24931         * docs/gst/gstreamer-docs.sgml:
24932         * docs/gst/gstreamer-sections.txt:
24933         * docs/gst/tmpl/gstscheduler.sgml:
24934         * docs/gst/tmpl/gstschedulerfactory.sgml:
24935           Remove some old cruft from docs.
24936
24937 2005-07-31  Tim-Philipp Müller  <tim at centricular dot net>
24938
24939         * gst/gstpad.h:
24940           Fix inline docs for GstPadLinkReturn.
24941           
24942         * gst/gststructure.c: (gst_structure_has_name):
24943         * gst/gststructure.h:
24944         * docs/gst/gstreamer-sections.txt:
24945           New API: gst_structure_has_name().
24946
24947 2005-07-30  Tim-Philipp Müller  <tim at centricular dot net>
24948
24949         * configure.ac:
24950           Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
24951           and _LARGEFILE_SOURCE in config.h as required. Do not 
24952           export those flags in our .pc files any longer (#142209).
24953
24954           Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
24955
24956         * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
24957         (gst_file_sink_do_seek), (gst_file_sink_event),
24958         (gst_file_sink_get_current_offset), (gst_file_sink_render):
24959           Redo seek/tell calls with large file support in mind; add some
24960           debugging messages; add log message that tells us when large
24961           file support is unavailable or not enabled for some reason.
24962
24963         * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
24964           Add log message that tells us when large file support 
24965           is unavailable or not enabled for some reason.
24966
24967 2005-07-29  Wim Taymans  <wim@fluendo.com>
24968
24969         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
24970         Added test for removing an element with ghostpad from a bin.
24971         Fixed test as current implementation does the right thing.
24972
24973         * gst/gstghostpad.c: (gst_proxy_pad_class_init),
24974         (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
24975         (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
24976         (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
24977         (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
24978         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
24979         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
24980         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
24981         (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
24982         (gst_proxy_pad_get_target), (gst_proxy_pad_init),
24983         (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
24984         (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
24985         (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
24986         (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
24987         (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
24988         (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
24989         * gst/gstghostpad.h:
24990         Clean up ghostpads, remove properties for internal stuff.
24991         Make threadsafe.
24992         Fix refcounting.
24993         Prepare for switching targets, not all use cases work yet.
24994
24995 2005-07-29  Wim Taymans  <wim@fluendo.com>
24996
24997         * docs/design/part-gstghostpad.txt:
24998         Small update.
24999
25000         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25001         (gst_bin_remove_func):
25002         Unlinking pads while holding the bin LOCK is not a good
25003         idea.
25004
25005         * gst/gstpad.c: (gst_pad_class_init),
25006         (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25007         (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25008         No prob setting template after creating the pad.
25009
25010 2005-07-29  Jan Schmidt  <thaytan@mad.scientist.com>
25011
25012         * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25013         (gst_bus_peek), (gst_bus_source_dispatch),
25014         (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25015         (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25016           gst_bus_poll may be called from other threads. Handle
25017           this nicely by not making poll_data disappear off the
25018           stack once gst_bus_poll returns.
25019           gst_bus_peek now increments the refcount on the returned
25020           message.
25021
25022 2005-07-29  Wim Taymans  <wim@fluendo.com>
25023
25024         * docs/design/part-gstghostpad.txt:
25025         Overview of current GhostPad datastructures and use
25026         cases for changing the target.
25027
25028 2005-07-28  Wim Taymans  <wim@fluendo.com>
25029
25030         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25031         Added checks for hierarchy consistency whan adding linked
25032         elements to bins.
25033
25034         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25035         Added check to test element scheduling without bin/pipeline.
25036
25037         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25038         First add elements to bin, then link.
25039         
25040         * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25041         (gst_bin_remove_func):
25042         Unlink pads from elements added/removed from bin to maintain
25043         hierarchy consistency.
25044
25045 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25046
25047         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25048         (gst_base_transform_handle_buffer):
25049         * gst/base/gstbasetransform.h:
25050           Remove broken delay_configure (fixes renegotiation of software
25051           scaling pipelines); remove some leftover printf()s.
25052
25053 2005-07-28  Wim Taymans  <wim@fluendo.com>
25054
25055         * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25056         Added some more tests for wrong hierarchy
25057
25058         * docs/design/part-overview.txt:
25059         Some updates.
25060
25061         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25062         Cleanups.
25063
25064         * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25065         (gst_element_dispose):
25066         Some more cleanups.
25067
25068         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25069         (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25070         (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25071         (gst_pad_set_caps), (gst_pad_send_event):
25072         Check for correct hierarchy when linking pads. Moving to
25073         strict requirement for ghostpads when linking elements in
25074         different bins.
25075
25076         * gst/gstpad.h:
25077         Clean ups. Added WRONG_HIERARCHY return value.
25078
25079 2005-07-28  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25080
25081         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25082           Better debug if no transform is possible.
25083
25084 2005-07-27  Wim Taymans  <wim@fluendo.com>
25085
25086         * docs/random/wtay/network-transp:
25087         Some old doc I had.
25088
25089 2005-07-27  Wim Taymans  <wim@fluendo.com>
25090
25091         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25092         (gst_dp_event_from_packet):
25093         Fix serialization of seek events.
25094
25095 2005-07-27  Wim Taymans  <wim@fluendo.com>
25096
25097         * check/gst-libs/gdp.c: (GST_START_TEST):
25098         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25099         Fix compilation and fix event serialization.
25100
25101 2005-07-27  Wim Taymans  <wim@fluendo.com>
25102
25103         * CHANGES-0.9:
25104         * docs/design/part-TODO.txt:
25105         * docs/design/part-events.txt:
25106         Some docs updates
25107
25108         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25109         (gst_base_sink_event), (gst_base_sink_do_sync),
25110         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25111         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25112         (gst_base_src_do_seek), (gst_base_src_event_handler),
25113         (gst_base_src_loop):
25114         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25115         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25116         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25117         (gst_base_transform_event), (gst_base_transform_handle_buffer),
25118         (gst_base_transform_set_passthrough),
25119         (gst_base_transform_is_passthrough):
25120         * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25121         * gst/elements/gstfilesink.c: (gst_file_sink_event):
25122         Event updates.
25123
25124         * gst/gstbuffer.h:
25125         Use faster casts.
25126
25127         * gst/gstelement.c: (gst_element_seek):
25128         * gst/gstelement.h:
25129         Update gst_element_seek.
25130
25131         * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25132         (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25133         (gst_event_new_flush_start), (gst_event_new_flush_stop),
25134         (gst_event_new_eos), (gst_event_new_newsegment),
25135         (gst_event_parse_newsegment), (gst_event_new_tag),
25136         (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25137         (gst_event_parse_qos), (gst_event_new_seek),
25138         (gst_event_parse_seek), (gst_event_new_navigation):
25139         * gst/gstevent.h:
25140         Make GstEvent use GstStructure. Add parsing code, make sure the
25141         API is sufficiently generic.
25142         Mark possible directions of events and serialization.
25143
25144         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25145         (_gst_message_copy), (gst_message_new_segment_start),
25146         (gst_message_new_segment_done), (gst_message_new_custom),
25147         (gst_message_parse_segment_start),
25148         (gst_message_parse_segment_done):
25149         Small cleanups.
25150
25151         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25152         (gst_pad_set_caps), (gst_pad_send_event):
25153         Update for new events. 
25154         Catch events sent in wrong directions.
25155
25156         * gst/gstqueue.c: (gst_queue_link_src),
25157         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25158         (gst_queue_handle_src_query):
25159         Event updates.
25160
25161         * gst/gsttag.c:
25162         * gst/gsttag.h:
25163         Remove event code from this file.
25164
25165         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25166         (gst_dp_event_from_packet):
25167         Event updates.
25168
25169 2005-07-27  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25170
25171         * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25172         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25173         (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25174           Make debugging actually useful.
25175
25176 2005-07-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25177
25178         * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25179         (gst_pad_fixate_caps):
25180           Implement default fixation once again, so that gst_pad_fixate()
25181           actually does anything at all. This probably needs to be some
25182           sort of a last resort, and use profile-based fixation first, but
25183           since that doesn't exist yet, this is the best we have. Fixes
25184           visualization in Totem.
25185
25186 2005-07-22  Wim Taymans  <wim@fluendo.com>
25187
25188         * docs/design/part-events.txt:
25189         Small update.
25190
25191         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25192         (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25193         (gst_base_sink_activate_pull):
25194         Some more comments.
25195
25196         * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25197         (gst_fake_src_create):
25198         Fix handoff marshall.
25199
25200         * gst/elements/gstidentity.c: (gst_identity_class_init),
25201         (gst_identity_transform_ip):
25202         We're a real inplace element.
25203
25204         * gst/gstbus.c: (gst_bus_post):
25205         Added some comments.
25206
25207         * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25208         * tests/muxing/case1.c: (main):
25209         * tests/sched/dynamic-pipeline.c: (main):
25210         * tests/sched/interrupt1.c: (main):
25211         * tests/sched/interrupt2.c: (main):
25212         * tests/sched/interrupt3.c: (main):
25213         * tests/sched/runxml.c: (main):
25214         * tests/sched/sched-stress.c: (main):
25215         * tests/seeking/seeking1.c: (event_received), (main):
25216         * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25217         (main):
25218         * tests/threadstate/threadstate3.c: (main):
25219         * tests/threadstate/threadstate4.c: (main):
25220         * tests/threadstate/threadstate5.c: (main):
25221         Fix the tests.
25222
25223 2005-07-21  Wim Taymans  <wim@fluendo.com>
25224
25225         * docs/design/part-seeking.txt:
25226         Some small additions.
25227
25228         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25229         (gst_base_sink_get_times), (gst_base_sink_do_sync),
25230         (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25231         * gst/base/gstbasesink.h:
25232         discont values are gint64, handle the math correctly.
25233
25234         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25235         Make the basesrc report error if the source pad is not linked.
25236
25237         * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25238         (gst_queue_loop), (gst_queue_handle_src_query),
25239         (gst_queue_src_activate_push):
25240         Make queue collect data even if the srcpad is not linked.
25241         Start pushing out data as soon as it is linked.
25242
25243         * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25244         * gst/gstutils.h:
25245         Added gst_flow_get_name() to ease error reporting.
25246
25247 2005-07-20  Wim Taymans  <wim@fluendo.com>
25248
25249         * gst/gstmessage.c: (gst_message_new_segment_start),
25250         (gst_message_new_segment_done), (gst_message_parse_segment_start),
25251         (gst_message_parse_segment_done):
25252         * gst/gstmessage.h:
25253         Added a bunch of messages for advanced seeking.
25254
25255         * gst/parse/grammar.y:
25256         * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25257         (gst_dpman_state_changed):
25258         Fix some new-pad -> pad-added signals
25259
25260 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25261
25262         * docs/manual/appendix-porting.xml:
25263         * docs/pwg/appendix-porting.xml:
25264           Document new-pad/state-change signal renames and the FixedList
25265           type rename.
25266
25267 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25268
25269         * docs/manual/advanced-autoplugging.xml:
25270         * docs/manual/basics-helloworld.xml:
25271         * docs/manual/basics-pads.xml:
25272         * docs/random/ds/0.9-suggested-changes:
25273         * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25274         * gst/gstelement.h:
25275         * gst/gstevent.h:
25276         * gst/gstformat.h:
25277         * gst/gstquery.h:
25278         * gst/gststructure.c: (gst_structure_value_get_generic_type),
25279         (gst_structure_parse_array), (gst_structure_parse_value):
25280         * gst/gstvalue.c: (gst_type_is_fixed),
25281         (gst_value_list_prepend_value), (gst_value_list_append_value),
25282         (gst_value_list_get_size), (gst_value_list_get_value),
25283         (gst_value_transform_array_string), (gst_value_serialize_array),
25284         (gst_value_deserialize_array), (gst_value_intersect_array),
25285         (gst_value_is_fixed), (_gst_value_initialize):
25286         * gst/gstvalue.h:
25287           GstElement::new-pad -> pad-added, GstElement::state-change ->
25288           state-changed, GstValueFixedList -> GstValueArray, add format and
25289           flags as their own arguments in gst_element_seek() (should improve
25290           "bindeability"), remove function generators since they don't work
25291           under a whole bunch of compilers (they were deprecated already
25292           anyway).
25293
25294 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25295
25296         * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25297         (_gst_debug_register_funcptr):
25298         * gst/gstinfo.h:
25299           Fix illegal cast on some platforms (#309253).
25300
25301 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25302
25303         * gst/gstmessage.c: (gst_message_new_custom):
25304         * gst/gstmessage.h:
25305           Add _new_custom, make _new_application a macro to _new_custom.
25306
25307 2005-07-20  Wim Taymans  <wim@fluendo.com>
25308
25309         * gst/base/gstbasesrc.c: (gst_base_src_init),
25310         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25311         * gst/base/gstbasesrc.h:
25312         Add a gboolean to decide when to push out a discont.
25313
25314         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25315         (gst_queue_loop), (gst_queue_handle_src_query),
25316         (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25317         (gst_queue_set_property), (gst_queue_get_property):
25318         Some cleanups.
25319
25320         * tests/threadstate/threadstate1.c: (main):
25321         Make a thread test compile and run... very silly..
25322
25323
25324 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25325
25326         * docs/manual/appendix-porting.xml:
25327           Mention removal of libgstgconf-0.9.la and existence of gconf
25328           elements.
25329
25330 2005-07-20  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25331
25332         * docs/pwg/advanced-clock.xml:
25333         * docs/pwg/appendix-porting.xml:
25334         * docs/pwg/intro-preface.xml:
25335         * docs/pwg/other-base.xml:
25336         * docs/pwg/other-manager.xml:
25337         * docs/pwg/other-nton.xml:
25338         * docs/pwg/other-ntoone.xml:
25339         * docs/pwg/other-oneton.xml:
25340         * docs/pwg/pwg.xml:
25341           Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25342           demuxer), remove n-to-n (was never written), fix some code examples
25343           and links and update the porting section to include all this.
25344
25345 2005-07-19  Wim Taymans  <wim@fluendo.com>
25346
25347         * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25348         (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25349         (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25350         (gst_queue_src_activate_push), (gst_queue_change_state),
25351         (gst_queue_get_property):
25352         * gst/gstqueue.h:
25353         Propagate GstFlowReturn more intelligently upstream and output
25354         an ERROR/EOS when streaming stopped due to fatal error.
25355
25356 2005-07-19  Wim Taymans  <wim@fluendo.com>
25357
25358         * tools/gst-launch.c: (check_intr), (event_loop), (main):
25359         Don't block forever for the state change to complete, the
25360         pipeline already did with a sensible timeout.
25361
25362 2005-07-19  Wim Taymans  <wim@fluendo.com>
25363
25364         * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25365         Make sure we never call the create function is we
25366         got deactivated.
25367
25368 2005-07-19  Andy Wingo  <wingo@pobox.com>
25369
25370         * gst/parse/parse.l: Attempt to solve bug #172815.
25371
25372 2005-07-19  Wim Taymans  <wim@fluendo.com>
25373
25374         * docs/design/part-clocks.txt:
25375         * docs/design/part-events.txt:
25376         * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25377         Small docs updates.
25378         Only update the seeking values when we are not
25379         busy streaming.
25380
25381 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25382
25383         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25384           Oops, ignore the result of gst_pad_push_event here.
25385
25386 2005-07-19  Jan Schmidt  <thaytan@mad.scientist.com>
25387
25388         * gst/base/gstbasesrc.c: (gst_base_src_loop),
25389         (gst_base_src_activate_push):
25390           Send discont event from the loop function, as pads
25391           aren't activated yet in the activate_push handler.
25392
25393         * gst/gstbin.c: (bin_bus_handler):
25394           Don't leak element name.
25395
25396 2005-07-18  Andy Wingo  <wingo@pobox.com>
25397
25398         * configure.ac: Use AS_LIBTOOL_TAGS.
25399
25400 2005-07-18  Wim Taymans  <wim@fluendo.com>
25401
25402         * docs/gst/gstreamer.types:
25403         Remove deleted types.
25404
25405 2005-07-18  Wim Taymans  <wim@fluendo.com>
25406
25407         * check/elements/gstfakesrc.c: (GST_START_TEST):
25408         * configure.ac:
25409         * gst/Makefile.am:
25410         * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25411         (init_popt_callback):
25412         * gst/gst.h:
25413         * gst/gst_private.h:
25414         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25415         (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25416         * gst/gstbin.h:
25417         * gst/gstbus.h:
25418         * gst/gstconfig.h.in:
25419         * gst/gstelement.c: (gst_element_class_init),
25420         (gst_element_set_base_time), (gst_element_get_base_time),
25421         (iterator_fold_with_resync), (gst_element_change_state),
25422         (gst_element_dispose), (gst_element_get_bus):
25423         * gst/gstelement.h:
25424         * gst/gstelementfactory.h:
25425         * gst/gsterror.c: (_gst_core_errors_init):
25426         * gst/gsterror.h:
25427         * gst/gstevent.h:
25428         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25429         * gst/gstindex.c:
25430         * gst/gstinfo.c: (_gst_debug_init):
25431         * gst/gstmessage.c: (_gst_message_copy):
25432         * gst/gstmessage.h:
25433         * gst/gstminiobject.h:
25434         * gst/gstobject.c:
25435         * gst/gstobject.h:
25436         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25437         (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25438         * gst/gstpad.h:
25439         * gst/gstparse.h:
25440         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25441         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25442         (gst_pipeline_get_last_stream_time):
25443         * gst/gstpipeline.h:
25444         * gst/gstpluginfeature.h:
25445         * gst/gstquery.h:
25446         * gst/gstscheduler.c:
25447         * gst/gstscheduler.h:
25448         * gst/gststructure.h:
25449         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25450         (gst_task_finalize), (gst_task_func), (gst_task_create),
25451         (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25452         (gst_task_stop), (gst_task_pause):
25453         * gst/gsttask.h:
25454         * gst/gsttypefind.h:
25455         * gst/gsttypes.h:
25456         * gst/registries/gstlibxmlregistry.c: (load_feature),
25457         (gst_xml_registry_load), (gst_xml_registry_save_feature):
25458         * gst/registries/gstxmlregistry.c:
25459         (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25460         * gst/schedulers/threadscheduler.c:
25461         * libs/gst/control/dparammanager.h:
25462         * tools/gst-inspect.c: (print_element_list),
25463         (print_plugin_features), (print_element_features):
25464         * tools/gst-xmlinspect.c: (print_element_list),
25465         (print_plugin_info), (main):
25466         Removed plugable schedulers.
25467         Removed Scheduler/Manager from elements.
25468         Removed gsttypes.h, rearranged includes.
25469         Removed dependency pad<->element, element<>pipeline, and
25470         various others,  fix includes.
25471         implement gst_pad_get_parent() with gst_object_get_parent()
25472         Make GstTask sefcontained.
25473         Fix _get_state() on GstBin, it did not return ASYNC with a 0
25474         timeout.
25475         Fix endless loop in iterator_fold_with_resync.
25476
25477
25478 2005-07-18  Wim Taymans  <wim@fluendo.com>
25479
25480         * gst/Makefile.am:
25481         * gst/gstarch.h:
25482         Remove old file.
25483
25484 2005-07-18  Wim Taymans  <wim@fluendo.com>
25485
25486         * gst/Makefile.am:
25487         No more cothreads.h
25488
25489 2005-07-18  Wim Taymans  <wim@fluendo.com>
25490
25491         * gst/cothreads.c:
25492         * gst/cothreads.h:
25493         Let's remove these.
25494
25495 2005-07-18  Wim Taymans  <wim@fluendo.com>
25496
25497         * docs/design/part-dynamic.txt:
25498         * docs/design/part-events.txt:
25499         * docs/design/part-seeking.txt:
25500         Some more docs in the works.
25501
25502         * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25503         (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25504         (gst_base_transform_setcaps), (gst_base_transform_get_size),
25505         (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25506         (gst_base_transform_handle_buffer),
25507         (gst_base_transform_sink_activate_push),
25508         (gst_base_transform_src_activate_pull),
25509         (gst_base_transform_set_passthrough),
25510         (gst_base_transform_is_passthrough):
25511         Refcounting fixes.
25512
25513         * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25514         Cleanups.
25515
25516         * gst/gstevent.c: (gst_event_finalize):
25517         Set SRC to NULL.
25518
25519         * gst/gstutils.c: (gst_element_unlink),
25520         (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25521         (gst_pad_proxy_setcaps):
25522         * gst/gstutils.h:
25523         Add _get_parent_element() to get a pads parent as an element.
25524
25525 2005-07-18  Wim Taymans  <wim@fluendo.com>
25526
25527         * check/gst/gstbin.c: (GST_START_TEST):
25528         Remove bogus test.
25529
25530 2005-07-18  Wim Taymans  <wim@fluendo.com>
25531
25532         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25533         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25534         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25535         (gst_base_sink_event), (gst_base_sink_do_sync),
25536         (gst_base_sink_chain), (gst_base_sink_loop),
25537         (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25538         (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25539         Refcounting fixes.
25540         Fix logic for returning ASYNC when not prerolled.
25541
25542 2005-07-18  Wim Taymans  <wim@fluendo.com>
25543
25544         * gst/gstqueue.c: (gst_queue_handle_sink_event):
25545         Fix nasty refcount bug.
25546
25547 2005-07-16 Philippe Khalaf <burger@speedy.org>
25548
25549         * gst/elements/gstfdsrc.c:
25550         * gst/elements/gstfdsrc.h:
25551         * gst/elements/gstelements.c:
25552         * gst/elements/Makefile.am:
25553         Ported fdsrc to 0.9.
25554
25555 2005-07-16  Wim Taymans  <wim@fluendo.com>
25556
25557         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25558         (gst_base_sink_do_sync):
25559         Fix compile error.
25560
25561 2005-07-16  Wim Taymans  <wim@fluendo.com>
25562
25563         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25564         (gst_base_sink_event), (gst_base_sink_get_times),
25565         (gst_base_sink_do_sync), (gst_base_sink_change_state):
25566         * gst/base/gstbasesink.h:
25567         Store and use discont values when syncing buffers as described
25568         in design docs.
25569         
25570         * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25571         (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25572         (gst_base_src_activate_push):
25573         Push discont event when starting.
25574
25575         * gst/elements/gstidentity.c: (gst_identity_transform):
25576         Small cleanups.
25577
25578         * gst/gstbin.c: (gst_bin_change_state):
25579         Small cleanups in base_time  distribution.
25580
25581         * gst/gstelement.c: (gst_element_set_base_time),
25582         (gst_element_get_base_time), (gst_element_change_state):
25583         * gst/gstelement.h:
25584         Added methods for the base_time of the element.
25585         Some MT fixes.
25586
25587         * gst/gstpipeline.c: (gst_pipeline_send_event),
25588         (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25589         (gst_pipeline_get_last_stream_time):
25590         * gst/gstpipeline.h:
25591         MT fixes.
25592         Handle seeking as described in design doc, remove stream_time
25593         hack.
25594         Cleanups clock and stream_time selection code. Added accessors
25595         for the stream_time.
25596         
25597
25598 2005-07-16  Andy Wingo  <wingo@pobox.com>
25599
25600         * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25601         (#305291).
25602
25603 2005-07-16  Wim Taymans  <wim@fluendo.com>
25604
25605         * check/gst/gstbin.c: (GST_START_TEST):
25606         Make elements silent as the deep_notify refs the
25607         parent, which might make the test fail.
25608
25609         * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25610         Don't hold the lock for too long.
25611
25612 2005-07-16  Tim-Philipp Müller  <tim at centricular dot net>
25613
25614         * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25615           Don't unref the caps we passed to gst_caps_make_writable() after
25616           passing them. gst_caps_make_writable() will do that for us.
25617
25618 2005-07-15  Andy Wingo  <wingo@pobox.com>
25619
25620         * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25621         (#157311).
25622
25623         * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25624         own marshalling function for the handoff signal. Properly type the
25625         buffer as a buffer. Fixes some warnings. Should do a more general
25626         solution.
25627         (gst_identity_class_init): Plug into the right marshaller.
25628
25629 2005-07-15  Wim Taymans  <wim@fluendo.com>
25630
25631         * docs/design/part-TODO.txt:
25632         * docs/design/part-clocks.txt:
25633         * docs/design/part-element-sink.txt:
25634         * docs/design/part-events.txt:
25635         * docs/design/part-gstpipeline.txt:
25636         Updated docs, mostly DISCONT related.
25637
25638 2005-07-15  Tim-Philipp Müller  <tim at centricular dot net>
25639
25640         * docs/pwg/building-pads.xml:
25641           s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25642
25643 2005-07-15  Andy Wingo  <wingo@pobox.com>
25644
25645         * tools/gst-typefind.c: Update, add copyright block.
25646
25647         * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25648         Normalize and truncate caps before fixation.
25649
25650         * gst/gstcaps.h:
25651         * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25652         discards all but the first structure from its argument.
25653
25654 2005-07-15  Wim Taymans  <wim@fluendo.com>
25655
25656         * gst/base/gstbasetransform.c: (gst_base_transform_init),
25657         (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25658         (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25659         (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25660         (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25661         (gst_base_transform_chain), (gst_base_transform_change_state),
25662         (gst_base_transform_set_passthrough),
25663         (gst_base_transform_is_passthrough):
25664         * gst/base/gstbasetransform.h:
25665         Make passthrough work using the bufferpools.
25666         Changed API a bit, subclasses have to write into a buffer
25667         provided by the base class.
25668         More debug info in nego functions.
25669         
25670         * gst/elements/gstidentity.c: (gst_identity_init),
25671         (gst_identity_transform):
25672         Port to new base class.
25673
25674 2005-07-15  Wim Taymans  <wim@fluendo.com>
25675
25676         * gst/gstmessage.c: (gst_message_new_state_changed):
25677         * tools/gst-launch.c: (event_loop), (main):
25678         Totally dump messages in -launch with the -m option.
25679         Fix message name for State messages,
25680
25681 2005-07-14  Wim Taymans  <wim@fluendo.com>
25682
25683         * gst/base/gstbasesrc.c: (gst_base_src_loop):
25684         Post error messages on errors.
25685
25686 2005-07-14  Wim Taymans  <wim@fluendo.com>
25687
25688         * gst/gstcaps.c: (gst_caps_do_simplify):
25689         Remove debug info.
25690
25691         * gst/gsterror.h:
25692         Define error for stream stopped.
25693
25694         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25695         (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25696         Do proper return values.
25697
25698         * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25699         (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25700         (gst_pad_get_range):
25701         Better return values.
25702
25703         * gst/gstpad.h:
25704         Reorganise return values, add macro to check for fatal errors.
25705
25706         * gst/gstqueue.c: (gst_queue_chain):
25707         Return proper GstFlowReturn values,
25708
25709 2005-07-14  Thomas Vander Stichele  <thomas at apestaart dot org>
25710
25711         * docs/gst/gstreamer-sections.txt:
25712         * docs/gst/gstreamer.types:
25713         * docs/gst/tmpl/gst.sgml:
25714         * docs/gst/tmpl/gstbasesink.sgml:
25715         * docs/gst/tmpl/gstbasesrc.sgml:
25716         * docs/gst/tmpl/gstbasetransform.sgml:
25717         * docs/gst/tmpl/gstbin.sgml:
25718         * docs/gst/tmpl/gstbuffer.sgml:
25719         * docs/gst/tmpl/gstcaps.sgml:
25720         * docs/gst/tmpl/gstclock.sgml:
25721         * docs/gst/tmpl/gstcompat.sgml:
25722         * docs/gst/tmpl/gstconfig.sgml:
25723         * docs/gst/tmpl/gstelement.sgml:
25724         * docs/gst/tmpl/gstelementdetails.sgml:
25725         * docs/gst/tmpl/gstelementfactory.sgml:
25726         * docs/gst/tmpl/gstenumtypes.sgml:
25727         * docs/gst/tmpl/gsterror.sgml:
25728         * docs/gst/tmpl/gstevent.sgml:
25729         * docs/gst/tmpl/gstfakesink.sgml:
25730         * docs/gst/tmpl/gstfakesrc.sgml:
25731         * docs/gst/tmpl/gstfilesink.sgml:
25732         * docs/gst/tmpl/gstfilesrc.sgml:
25733         * docs/gst/tmpl/gstfilter.sgml:
25734         * docs/gst/tmpl/gstformat.sgml:
25735         * docs/gst/tmpl/gstghostpad.sgml:
25736         * docs/gst/tmpl/gstimplementsinterface.sgml:
25737         * docs/gst/tmpl/gstindex.sgml:
25738         * docs/gst/tmpl/gstindexfactory.sgml:
25739         * docs/gst/tmpl/gstinfo.sgml:
25740         * docs/gst/tmpl/gstiterator.sgml:
25741         * docs/gst/tmpl/gstmacros.sgml:
25742         * docs/gst/tmpl/gstmemchunk.sgml:
25743         * docs/gst/tmpl/gstminiobject.sgml:
25744         * docs/gst/tmpl/gstobject.sgml:
25745         * docs/gst/tmpl/gstpad.sgml:
25746         * docs/gst/tmpl/gstpadtemplate.sgml:
25747         * docs/gst/tmpl/gstparse.sgml:
25748         * docs/gst/tmpl/gstpipeline.sgml:
25749         * docs/gst/tmpl/gstplugin.sgml:
25750         * docs/gst/tmpl/gstpluginfeature.sgml:
25751         * docs/gst/tmpl/gstquery.sgml:
25752         * docs/gst/tmpl/gstqueue.sgml:
25753         * docs/gst/tmpl/gstregistry.sgml:
25754         * docs/gst/tmpl/gstregistrypool.sgml:
25755         * docs/gst/tmpl/gstscheduler.sgml:
25756         * docs/gst/tmpl/gstschedulerfactory.sgml:
25757         * docs/gst/tmpl/gststructure.sgml:
25758         * docs/gst/tmpl/gstsystemclock.sgml:
25759         * docs/gst/tmpl/gsttaglist.sgml:
25760         * docs/gst/tmpl/gsttagsetter.sgml:
25761         * docs/gst/tmpl/gsttrace.sgml:
25762         * docs/gst/tmpl/gsttrashstack.sgml:
25763         * docs/gst/tmpl/gsttypefind.sgml:
25764         * docs/gst/tmpl/gsttypefindfactory.sgml:
25765         * docs/gst/tmpl/gsttypes.sgml:
25766         * docs/gst/tmpl/gsturihandler.sgml:
25767         * docs/gst/tmpl/gsturitype.sgml:
25768         * docs/gst/tmpl/gstutils.sgml:
25769         * docs/gst/tmpl/gstvalue.sgml:
25770         * docs/gst/tmpl/gstversion.sgml:
25771         * docs/gst/tmpl/gstxml.sgml:
25772         * docs/libs/tmpl/gstcontrol.sgml:
25773         * docs/libs/tmpl/gstdataprotocol.sgml:
25774         * docs/libs/tmpl/gstdparam.sgml:
25775         * docs/libs/tmpl/gstdplinint.sgml:
25776         * docs/libs/tmpl/gstdpman.sgml:
25777         * docs/libs/tmpl/gstdpsmooth.sgml:
25778         * docs/libs/tmpl/gstgetbits.sgml:
25779         * docs/libs/tmpl/gstunitconvert.sgml:
25780         * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25781         (gst_push_src_base_init), (gst_push_src_class_init),
25782         (gst_push_src_init), (gst_push_src_create):
25783         * gst/base/gstpushsrc.h:
25784         * gst/elements/gstelements.c:
25785         * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25786         (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25787         (gst_fake_sink_init), (gst_fake_sink_set_property),
25788         (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25789         (gst_fake_sink_event), (gst_fake_sink_preroll),
25790         (gst_fake_sink_render), (gst_fake_sink_change_state):
25791         * gst/elements/gstfakesink.h:
25792         * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25793         (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25794         (gst_fake_src_base_init), (gst_fake_src_class_init),
25795         (gst_fake_src_init), (gst_fake_src_event_handler),
25796         (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25797         (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25798         (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25799         (gst_fake_src_create_buffer), (gst_fake_src_create),
25800         (gst_fake_src_start), (gst_fake_src_stop):
25801         * gst/elements/gstfakesrc.h:
25802         * gst/elements/gstfilesink.c: (_do_init),
25803         (gst_file_sink_base_init), (gst_file_sink_class_init),
25804         (gst_file_sink_init), (gst_file_sink_dispose),
25805         (gst_file_sink_set_location), (gst_file_sink_set_property),
25806         (gst_file_sink_get_property), (gst_file_sink_open_file),
25807         (gst_file_sink_close_file), (gst_file_sink_query),
25808         (gst_file_sink_event), (gst_file_sink_render),
25809         (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25810         (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25811         (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25812         * gst/elements/gstfilesink.h:
25813         * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25814         (gst_file_src_class_init), (gst_file_src_init),
25815         (gst_file_src_finalize), (gst_file_src_set_location),
25816         (gst_file_src_set_property), (gst_file_src_get_property),
25817         (gst_file_src_map_region), (gst_file_src_map_small_region),
25818         (gst_file_src_create_mmap), (gst_file_src_create_read),
25819         (gst_file_src_create), (gst_file_src_is_seekable),
25820         (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25821         (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25822         (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25823         (gst_file_src_uri_handler_init):
25824         * gst/elements/gstfilesrc.h:
25825           more autistic cleanliness in functions/names/defines
25826
25827 2005-07-13  Andy Wingo  <wingo@pobox.com>
25828
25829         * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25830         source couldn't negotiate.
25831
25832         * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25833         connections again.
25834
25835         * gst/gstutils.h:
25836         * gst/gstutils.c (gst_element_link_pads_filtered): New old
25837         function. I am channeling Hades. Put your boots on suckers!!!
25838
25839 2005-07-13  Thomas Vander Stichele  <thomas at apestaart dot org>
25840
25841         * testsuite/caps/Makefile.am:
25842         * testsuite/caps/value_compare.c:
25843         * testsuite/caps/value_intersect.c:
25844         * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25845           move two testsuite apps over to the check dir
25846
25847 2005-07-12  Wim Taymans  <wim@fluendo.com>
25848
25849         * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25850         Added more debug info in the negotiate process.
25851
25852         * gst/gstmessage.h:
25853         Prepare for segment playback.
25854
25855         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25856         Better debugging.
25857
25858         * gst/gstutils.c:
25859         Some more docs.
25860
25861         * tools/gst-launch.c: (main):
25862         NULL pipeline on errors.
25863
25864 2005-07-12  Andy Wingo  <wingo@pobox.com>
25865
25866         * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
25867         not it comes from a malloc region. Make sure our copy gets freed.
25868
25869 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25870
25871         * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25872         * check/gst/gstmessage.c: (GST_START_TEST):
25873         * check/gst/gststructure.c: (GST_START_TEST),
25874         (gst_structure_suite), (main):
25875           more testing
25876         * gst/gstelement.c: (gst_element_message_full):
25877           clean up GError and debug string now that they get copied
25878         * gst/gstmessage.c: (gst_message_new_error),
25879         (gst_message_new_warning), (gst_message_parse_error),
25880         (gst_message_parse_warning):
25881           use GST_TYPE_G_ERROR for structure_new, and take copies of
25882           arguments, so that we don't mess up refcounting
25883
25884 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25885
25886         * check/Makefile.am:
25887           add per-test valgrind targets
25888         * check/gst-libs/gdp.c: (GST_START_TEST),
25889         (gst_data_protocol_suite), (main):
25890           clean up
25891
25892 2005-07-12  Thomas Vander Stichele  <thomas at apestaart dot org>
25893
25894         * check/Makefile.am:
25895           instate more valgrindable tests
25896         * check/elements/gstfakesrc.c: (chain_func), (event_func),
25897         (GST_START_TEST), (fakesrc_suite):
25898         * check/gst/gstpad.c: (GST_START_TEST):
25899         * check/gst/gststructure.c: (GST_START_TEST):
25900           fix test leaks
25901         * docs/gst/tmpl/gstminiobject.sgml:
25902         * gst/gstpad.c: (gst_pad_finalize):
25903           fix the static mutex leak
25904
25905 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25906
25907         * check/Makefile.am:
25908           add two more tests for valgrinding
25909         * check/gst/gstvalue.c: (GST_START_TEST):
25910           test refcount of deserialized buffer, found a leak
25911         * docs/gst/gstreamer-docs.sgml:
25912         * docs/gst/gstreamer-sections.txt:
25913         * docs/gst/gstreamer.types:
25914         * docs/gst/tmpl/gstminiobject.sgml:
25915           add miniobject to docs
25916         * gst/gstminiobject.c:
25917           add some docs
25918         * gst/gstvalue.c: (gst_value_deserialize_buffer),
25919         (gst_string_unwrap):
25920           fix a hard-to-find invalid write for one of the tests
25921           fix a leak for deserialized buffers
25922
25923 2005-07-11  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
25924
25925         * docs/pwg/advanced-events.xml:
25926         * docs/pwg/advanced-request.xml:
25927         * docs/pwg/advanced-scheduling.xml:
25928         * docs/pwg/appendix-porting.xml:
25929         * docs/pwg/building-boiler.xml:
25930         * docs/pwg/intro-preface.xml:
25931         * docs/pwg/other-ntoone.xml:
25932           Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
25933           of example code and explanation for pad activation, loop() and
25934           getrange() functions and a bit more. Remove old comments pointing
25935           to loop-functions.
25936         * examples/pwg/Makefile.am:
25937           Add loop/getrange examples.
25938
25939 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25940
25941         * configure.ac:
25942           check for valgrind binary + some fixes
25943         * check/gst.supp:
25944           valgrind suppressions for the tests
25945         * check/Makefile.am:
25946           add a valgrind: target that valgrinds the unit tests
25947         * check/gst/gst.c: (GST_START_TEST), (gst_suite):
25948         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25949         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25950         * check/gst/gstghostpad.c:
25951           added some cleanup
25952         * check/gst/gstdata.c:
25953           removed
25954         * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
25955         (thread_unref), (gst_mini_object_suite), (main):
25956           added
25957         * gst/gst.c: (gst_deinit):
25958         * gst/gst.h:
25959           add a method to clean up.
25960         * gst/gstsystemclock.c: (gst_system_clock_dispose),
25961         (gst_system_clock_obtain):
25962           allow for disposing the system clock.
25963         * tools/gst-launch.c: (main):
25964           deinit
25965
25966 2005-07-11  Thomas Vander Stichele  <thomas at apestaart dot org>
25967
25968         * docs/gst/tmpl/gstbasesrc.sgml:
25969         * docs/gst/tmpl/gstfakesrc.sgml:
25970         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25971         (gst_base_src_init), (gst_base_src_set_property),
25972         (gst_base_src_get_property), (gst_base_src_get_range),
25973         (gst_base_src_start):
25974         * gst/base/gstbasesrc.h:
25975           add num-buffers property
25976         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25977         (gst_fakesrc_init), (gst_fakesrc_set_property),
25978         (gst_fakesrc_get_property), (gst_fakesrc_create),
25979         (gst_fakesrc_start):
25980           remove num-buffers property
25981
25982 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
25983
25984         * docs/gst/gstreamer-sections.txt:
25985         * docs/gst/tmpl/gstbasesink.sgml:
25986         * docs/gst/tmpl/gstbasesrc.sgml:
25987         * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25988         (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25989         (gst_base_sink_finalize), (gst_base_sink_set_clock),
25990         (gst_base_sink_set_property), (gst_base_sink_get_property),
25991         (gst_base_sink_handle_object), (gst_base_sink_event),
25992         (gst_base_sink_do_sync), (gst_base_sink_handle_event),
25993         (gst_base_sink_handle_buffer), (gst_base_sink_chain),
25994         (gst_base_sink_loop), (gst_base_sink_deactivate),
25995         (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
25996         (gst_base_sink_change_state):
25997         * gst/base/gstbasesink.h:
25998         * gst/base/gstbasesrc.h:
25999         * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26000         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26001         (gst_filesink_init):
26002           more macro splitting
26003
26004 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26005
26006         * gst/gstelement.c: (gst_element_get_bus):
26007           add debug
26008         * tools/gst-launch.c: (check_intr), (event_loop):
26009           fix bus leaks
26010
26011 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26012
26013         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26014           fix a caps leak
26015
26016 2005-07-10  Thomas Vander Stichele  <thomas at apestaart dot org>
26017
26018         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26019         (gst_base_src_finalize):
26020           add finalize method and clean up properly
26021         * gst/gstpipeline.c: (gst_pipeline_dispose):
26022           add debug
26023
26024 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26025
26026         * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26027         (gst_bin_suite):
26028           add more things to check
26029         * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26030         * gst/gstelement.c:
26031           more debug
26032
26033 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26034
26035         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26036         (GST_START_TEST), (fakesrc_suite):
26037         * check/gst-libs/gdp.c: (GST_START_TEST):
26038         * check/gst/gst.c: (GST_START_TEST):
26039         * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26040         * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26041         * check/gst/gstbus.c: (GST_START_TEST):
26042         * check/gst/gstcaps.c: (GST_START_TEST):
26043         * check/gst/gstdata.c: (GST_START_TEST):
26044         * check/gst/gstelement.c: (GST_START_TEST):
26045         * check/gst/gstghostpad.c: (GST_START_TEST):
26046         * check/gst/gstiterator.c: (GST_START_TEST):
26047         * check/gst/gstmessage.c: (GST_START_TEST):
26048         * check/gst/gstobject.c: (GST_START_TEST):
26049         * check/gst/gstpad.c: (GST_START_TEST):
26050         * check/gst/gststructure.c: (GST_START_TEST):
26051         * check/gst/gstsystemclock.c: (GST_START_TEST),
26052         (gst_systemclock_suite):
26053         * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26054         * check/gst/gstvalue.c: (GST_START_TEST):
26055         * check/pipelines/cleanup.c: (GST_START_TEST):
26056         * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26057         * check/states/sinks.c: (GST_START_TEST):
26058         * check/gstcheck.c: (gst_check_init):
26059         * check/gstcheck.h:
26060           add debugging category
26061           use GST_START_TEST now, so we add a debug line
26062
26063 2005-07-09  Thomas Vander Stichele  <thomas at apestaart dot org>
26064
26065         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26066           add test for state change message on a bin
26067         * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26068           add another test
26069         * gst/gstbin.c: (gst_bin_init):
26070         * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26071         * gst/gstelement.c: (gst_element_post_message),
26072         (gst_element_set_state):
26073         * gst/gstelementfactory.c: (gst_element_factory_create):
26074         * gst/gstmessage.c: (gst_message_new):
26075         * gst/gstscheduler.c:
26076           various debugging additions and cleanups
26077
26078 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26079
26080         * check/Makefile.am:
26081         * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26082         (main):
26083           adding tests for elements
26084         * gst/gstelement.c: (gst_element_dispose):
26085
26086 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26087
26088         * gst/registries/gstlibxmlregistry.c: (load_feature):
26089           plug more leaks.  A simple gst_init() now is leakfree, yay.
26090
26091 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26092
26093         * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26094         (gst_xml_registry_load):
26095           plug another memleak
26096
26097 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26098
26099         * configure.ac:
26100           use GST_SET_ERROR_CFLAGS
26101         * docs/faq/cvs.xml:
26102           change to ERROR_CFLAGS
26103
26104 2005-07-08  Thomas Vander Stichele  <thomas at apestaart dot org>
26105
26106         * configure.ac:
26107           make GST_ERROR_CFLAGS overridable and re-enable Werror
26108         * docs/faq/cvs.xml:
26109           add a note about error CFLAGS
26110         * docs/gst/tmpl/gstfakesrc.sgml:
26111         * gst/elements/gstfakesrc.c:
26112           comment out some unused code
26113         * gst/gst.c: (split_and_iterate):
26114         * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26115         (load_feature):
26116           plug some memleaks
26117
26118 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26119
26120         * common/Makefile.am:
26121         * common/gtk-doc.mak:
26122         * docs/gst/Makefile.am:
26123           factor out gtk-doc.mak
26124
26125 2005-07-07  Wim Taymans  <wim@fluendo.com>
26126
26127         * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26128         (gst_thread_scheduler_dispose):
26129         Unlock the STREAM_LOCK completely.
26130
26131 2005-07-07  Thomas Vander Stichele  <thomas at apestaart dot org>
26132
26133         * check/Makefile.am:
26134         * check/elements/.cvsignore:
26135         * check/elements/gstfakesrc.c: (chain_func), (event_func),
26136         (START_TEST), (fakesrc_suite), (main):
26137         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26138         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26139         (gst_fakesrc_create), (gst_fakesrc_start):
26140         * gst/elements/gstfakesrc.h:
26141           adding a first element test
26142
26143 2005-07-07  Andy Wingo  <wingo@pobox.com>
26144
26145         * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26146         debug message.
26147
26148 2005-07-07  Wim Taymans  <wim@fluendo.com>
26149
26150         * gst/gstquery.c:
26151         * gst/gstquery.h:
26152         Remove old types
26153
26154 2005-07-07  Wim Taymans  <wim@fluendo.com>
26155
26156         * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26157         (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26158         Allow subclasses to implement their own negotiation.
26159
26160 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26161
26162         * docs/design/part-gstbin.txt:
26163         * docs/design/part-gstpipeline.txt:
26164           Update design notes to reflect the movement of
26165           responsibility for bus handling from GstPipeline to
26166           GstBin
26167
26168 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26169
26170         * configure.ac:
26171           Remove unnecessary queue2/3/4 examples.
26172
26173 2005-07-07  Jan Schmidt  <thaytan@mad.scientist.com>
26174
26175         * examples/Makefile.am:
26176         * examples/helloworld/helloworld.c: (event_loop), (main):
26177         * examples/queue/queue.c: (event_loop), (main):
26178         * examples/queue2/queue2.c: (main):
26179           Update a couple of the examples to work again.
26180
26181         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26182         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26183          Spelling corrections and extra debug.
26184         
26185         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26186         (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26187         (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26188         * gst/gstbin.h:
26189         * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26190         (gst_pipeline_change_state):
26191         * gst/gstpipeline.h:
26192           Move the bus handler for children to the GstBin, and create a
26193           separate bus for receiving messages from children to the one the
26194           bus sends 'upwards' on.
26195
26196 2005-07-06  Wim Taymans  <wim@fluendo.com>
26197
26198         * gst/base/README:
26199         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26200         (gst_base_sink_handle_object), (gst_base_sink_loop),
26201         (gst_base_sink_change_state):
26202         * gst/base/gstbasesink.h:
26203         * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26204         (gst_base_src_init), (gst_base_src_setcaps),
26205         (gst_base_src_getcaps), (gst_base_src_loop),
26206         (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26207         (gst_base_src_start), (gst_base_src_change_state):
26208         * gst/base/gstbasesrc.h:
26209         Make basesrc negotiate.
26210         Handle the case where preroll fails in basesink.
26211         Update README.
26212
26213 2005-07-06  Wim Taymans  <wim@fluendo.com>
26214
26215         * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26216         Implement the fixate function.
26217         Clean up acceptcaps.
26218
26219 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26220
26221         * docs/pwg/building-filterfactory.xml:
26222         * docs/pwg/pwg.xml:
26223           Remove never-written filter-factory chapter; I'll add the various
26224           base classes to part 4 ("other element types") later on.
26225
26226 2005-07-06  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26227
26228         * docs/pwg/advanced-negotiation.xml:
26229         * docs/pwg/building-boiler.xml:
26230         * docs/pwg/building-pads.xml:
26231         * docs/pwg/pwg.xml:
26232         * examples/pwg/Makefile.am:
26233           Add a chapter on caps negotiation, simplify the original code
26234           samples a bit w.r.t. caps negotiation, add link to the advanced
26235           section. Add a bunch of examples showing different use cases of
26236           different types of caps negotiation. Upstream renegotiation isn't
26237           fully documented yet since nobody knows how that works.
26238
26239 2005-07-06  Thomas Vander Stichele  <thomas at apestaart dot org>
26240
26241         * check/gst/gstpad.c:
26242         * check/gstcheck.c:
26243         * gst/gstpad.c: (gst_pad_get_internal_links_default):
26244           if pad has no parent, return NULL as list of internal links
26245
26246 2005-07-05  Andy Wingo  <wingo@pobox.com>
26247
26248         * gst/elements/gstfilesrc.c:
26249         * gst/elements/gstfakesrc.c: 
26250         * gst/base/gstpushsrc.c:
26251         * gst/base/gstbasesrc.h: 
26252         * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26253         
26254 2005-07-05  Stefan Kost  <ensonic@users.sf.net>
26255
26256         * Makefile.am:
26257           better report generation target (lcov needs a patch)
26258
26259 2005-07-05  Andy Wingo  <wingo@pobox.com>
26260
26261         * gst/elements, testsuite: Null if we got it...
26262
26263 2005-07-05  Wim Taymans  <wim@fluendo.com>
26264
26265         * configure.ac:
26266         * libs/gst/dataprotocol/Makefile.am:
26267         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26268         * libs/gst/dataprotocol/dataprotocol.h:
26269         * pkgconfig/Makefile.am:
26270         * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26271         * pkgconfig/gstreamer-dataprotocol.pc.in:
26272         Ported dataprotol to 0.9. 
26273         Added pkgconfig files.
26274
26275 2005-07-05  Andy Wingo  <wingo@pobox.com>
26276
26277         * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26278         Default to returning TRUE for the case when tranform_caps returns
26279         a fixed caps, like for identity or volume.
26280
26281         * check/gst/gstbus.c (pound_bus_with_messages): 
26282         * check/gst/gstmessage.c (START_TEST): 
26283         * check/pipelines/simple_launch_lines.c (got_handoff): Application
26284         message API change.
26285
26286         * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26287         logic weaks here: always run transform_caps, trying passthrough
26288         operation only if the original caps intersects with the transform.
26289
26290         * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26291         source and sink caps.
26292
26293         * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26294         Intersect the peer caps with the pad template before going into
26295         transform_caps.
26296         (gst_base_transform_transform_caps): More debugging.
26297
26298         * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26299         src argument.
26300
26301 2005-07-04  Edward Hervey  <edward@fluendo.com>
26302
26303         * gst/gstutils.c:
26304         * gst/gstutils.h:
26305         (gst_pad_add_*_probe): now returns the signal id for better wrapping
26306         in bindings.
26307
26308 2005-07-04  Andy Wingo  <wingo@pobox.com>
26309
26310         * check/gst/gstpad.c: Only set explicit caps on pads.
26311
26312 2005-07-01  Andy Wingo  <wingo@pobox.com>
26313
26314         * tests/network-clock.scm: Commentary update.
26315
26316         * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26317         Didn't really make sense, not implementable with basetransform,
26318         etc.
26319         (gst_identity_transform): Unref inbuf via make_writable. Feeble
26320         attempt at implementing the sync property, needs an unlock method.
26321
26322         * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26323         New func, by default returns the same caps (the identity
26324         transformation).
26325         (gst_base_transform_getcaps): Uses transform_caps to return
26326         something sensible.
26327         (gst_base_transform_setcaps): Complicated logic to get caps on
26328         both pads, even if they are different, and to call set_caps once
26329         for every time both pads get their caps set.
26330         (gst_base_transform_handle_buffer): Give the ref to the transform
26331         function. Allows in-place modification of the buffer.
26332
26333         * gst/base/gstbasetransform.h (transform_caps): New class method.
26334         Given caps on one side, what can I do on the other.
26335         (set_caps): Take two caps, one for each side of the element.
26336
26337         * gst/gstpad.h:
26338         * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26339         caps in place. This is safe because we can check the mutability of
26340         the caps, and a good idea because fixate functions are just called
26341         as a matter of last resort. (Not actually implemented.)
26342         (gst_pad_set_caps): If the caps we're setting is actually the same
26343         as the existing pad caps, just update the pointer without calling
26344         setcaps. Assert that caps is either NULL or fixed, as per the
26345         docs.
26346
26347         * gst/gstghostpad.c: Update for fixate changes.
26348
26349 2005-07-02  Andy Wingo  <wingo@pobox.com>
26350
26351         * gst/gstcaps.c:
26352         * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26353         two refcounts makes it immutable, which is enough. Doc more.
26354
26355 2005-07-02  Jan Schmidt  <thaytan@mad.scientist.com>
26356
26357         * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26358           Put the mini_object into GValue as a mini_object,
26359           not a gpointer, since that's how we declared
26360           the signal.
26361
26362 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26363
26364         * examples/pwg/Makefile.am:
26365           Fix buildbot again.
26366
26367 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26368
26369         * docs/pwg/building-testapp.xml:
26370           Add extra check.
26371         * examples/pwg/Makefile.am:
26372           Fix buildbot.
26373
26374 2005-07-01  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26375
26376         * configure.ac:
26377         * examples/Makefile.am:
26378         * examples/pwg/Makefile.am:
26379         * examples/pwg/extract.pl:
26380           Enable building the PWG examples.
26381         * docs/pwg/advanced-interfaces.xml:
26382           Add URI interface stub.
26383         * docs/pwg/advanced-types.xml:
26384         * docs/pwg/other-autoplugger.xml:
26385         * docs/pwg/appendix-porting.xml:
26386         * docs/pwg/pwg.xml:
26387           Add porting guide (mostly stubs), remove autoplugging (see ADM).
26388         * docs/pwg/building-boiler.xml:
26389         * docs/pwg/building-chainfn.xml:
26390         * docs/pwg/building-pads.xml:
26391         * docs/pwg/building-props.xml:
26392         * docs/pwg/building-state.xml:
26393         * docs/pwg/building-testapp.xml:
26394           Update the building-*.xml parts for 0.9 changes. All examples
26395           code blocks compile in examples/pwg/*.
26396
26397 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26398
26399         * docs/manual/advanced-autoplugging.xml:
26400         * docs/manual/appendix-checklist.xml:
26401         * docs/manual/appendix-integration.xml:
26402         * docs/manual/highlevel-components.xml:
26403           Fix playbin/decodebin examples, update docs a bit, mention bus
26404           instead of signals in various places, mention kmplayer and
26405           kaffeine since they have a working GStreamer backend in the KDE
26406           section.
26407
26408 2005-06-30  Wim Taymans  <wim@fluendo.com>
26409
26410         * CHANGES-0.9:
26411         * docs/design/draft-ghostpads.txt:
26412         * docs/design/draft-push-pull.txt:
26413         * docs/design/draft-query.txt:
26414         * docs/design/part-TODO.txt:
26415         * docs/design/part-query.txt:
26416         Added CHANGES-0.9 doc, updated status of other docs.
26417         
26418         * gst/gstquery.h:
26419         Remove "hmm" macro
26420
26421 2005-06-30  Wim Taymans  <wim@fluendo.com>
26422
26423         * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26424         (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26425         (gst_base_sink_change_state):
26426         * gst/base/gstbasesink.h:
26427         Some tweaks, only EOS and a buffer complete a preroll.
26428
26429 2005-06-30  Andy Wingo  <wingo@pobox.com>
26430
26431         * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26432         activate_push down to the internal pad as well.
26433
26434 2005-06-30  Torsten Schoenfeld  <kaffeetisch@gmx.de>
26435
26436         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26437
26438         * gst/gsttaginterface.c:
26439           Some documentation fixes (#307394 and #307397).
26440
26441 2005-06-30  Antoine Tremblay  <hexa00@gmail.com>
26442
26443         Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26444
26445         * gst/gstvalue.c: (gst_value_intersect_list):
26446           Fix memleak (#309125).
26447
26448 2005-06-30  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26449
26450         * docs/manual/advanced-dataaccess.xml:
26451           Fix fakesrc example to compile; doesn't work, bug somewhere...?
26452         * docs/manual/basics-pads.xml:
26453           Add reference for filtered caps to above chapter.
26454
26455 2005-06-30  Wim Taymans  <wim@fluendo.com>
26456
26457         * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26458         (gst_bin_change_state):
26459         Probes are gone.
26460         Lame attempt at making the state change function a bit
26461         more readable.
26462
26463 2005-06-30  Wim Taymans  <wim@fluendo.com>
26464
26465         * docs/design/part-clocks.txt:
26466         * docs/design/part-element-sink.txt:
26467         * docs/design/part-events.txt:
26468         * docs/design/part-preroll.txt:
26469         * docs/design/part-states.txt:
26470         Some more tweeks and additions to the docs.
26471
26472 2005-06-30  Wim Taymans  <wim@fluendo.com>
26473
26474         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26475         (default_have_data), (gst_pad_class_init), (gst_pad_init),
26476         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26477         (gst_pad_check_pull_range), (gst_pad_get_range),
26478         (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26479         * gst/gstpad.h:
26480         * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26481         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26482         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26483         (gst_pad_remove_buffer_probe):
26484         Removed atomic operations, use existing LOCK.
26485         Move exception handling out of main code path.
26486
26487 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26488
26489         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26490         (silly_return_true_function), (gst_pad_class_init),
26491         (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26492         (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26493         (gst_pad_send_event):
26494           Fix accumulator, add default value by using _emitv() instead
26495           of _emit() for signal emission.
26496
26497 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26498
26499         * docs/manual/advanced-dataaccess.xml:
26500         * examples/manual/Makefile.am:
26501           Add probe example.
26502         * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26503           Make work (??).
26504
26505 2005-06-29  Tim-Philipp Müller  <tim at centricular dot net>
26506
26507         * gst/elements/gstfilesink.c: (gst_filesink_render):
26508           Simplify code so that we don't have to handle short
26509           writes and return GST_FLOW_ERROR if an error occured.
26510
26511 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26512
26513         * docs/gst/gstreamer-docs.sgml:
26514           Remove probes more.
26515
26516 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26517
26518         * docs/gst/gstreamer-sections.txt:
26519         * docs/gst/tmpl/gstpad.sgml:
26520         * docs/gst/tmpl/gstprobe.sgml:
26521         * gst/Makefile.am:
26522         * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26523         (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26524         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26525         (gst_pad_push_event), (gst_pad_send_event):
26526         * gst/gstpad.h:
26527         * gst/gstutils.c: (gst_pad_add_data_probe),
26528         (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26529         (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26530         (gst_pad_remove_buffer_probe):
26531         * gst/gstutils.h:
26532           Remove old probes, add new g-signal-based probes and some utility
26533           functions.
26534
26535 2005-06-29  Edward Hervey  <edward@fluendo.com>
26536
26537         * gst/gstelementfactory.c:
26538         * gst/gstutils.h:
26539         * gst/gstutils.c:
26540         Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26541         the definition to the header file.
26542
26543 2005-06-29  Andy Wingo  <wingo@pobox.com>
26544
26545         * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26546         plugins from the source directory.
26547
26548 2005-06-29  Wim Taymans  <wim@fluendo.com>
26549
26550         * docs/gst/tmpl/gstbuffer.sgml:
26551         * docs/gst/tmpl/gstclock.sgml:
26552         Some fixings for blantently wrong text.
26553
26554 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26555
26556         * check/Makefile.am:
26557         * gst/gst.c: (add_path_func), (init_pre):
26558         * gst/gstregistry.c: (gst_registry_add_path):
26559           add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26560           only scan the GST_PLUGIN_PATH locations, and not add
26561           system locations
26562
26563 2005-06-29  Thomas Vander Stichele  <thomas at apestaart dot org>
26564
26565         * docs/gst/gstreamer-sections.txt:
26566         * docs/gst/tmpl/gstbasesrc.sgml:
26567         * gst/gstelement.c:
26568         * gst/gstelement.h:
26569         * gst/gstevent.c:
26570         * gst/gstutils.c:
26571           doc fixes
26572
26573 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26574
26575         * docs/manual/advanced-autoplugging.xml:
26576           Fix autoplugging example.
26577
26578 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26579
26580         * docs/manual/advanced-autoplugging.xml:
26581         * docs/manual/mime-world.fig:
26582           Try to get autoplugging working, fix type detection. Fix text
26583           in hello-world image.
26584
26585 2005-06-29  Wim Taymans  <wim@fluendo.com>
26586
26587         * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26588         (gst_base_sink_change_state):
26589         Small debug line.
26590
26591         * gst/gstclock.h:
26592         map SIGNAL and BROADCAST to the right function.
26593
26594         * gst/gstobject.h:
26595         Remove redundant braces.
26596
26597         * gst/gstpad.c: (gst_pad_set_caps):
26598         Don't call setcaps function when reseting caps to NULL.
26599
26600         * gst/gstsystemclock.c: (gst_system_clock_dispose),
26601         (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26602         (gst_system_clock_id_unschedule):
26603         Use BROADCAST as this is what we do.
26604
26605 2005-06-29  Wim Taymans  <wim@fluendo.com>
26606
26607         * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26608         We are actually prerolling before commiting the state
26609         change. 
26610
26611 2005-06-29  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
26612
26613         * docs/manual/advanced-clocks.xml:
26614         * docs/manual/advanced-interfaces.xml:
26615         * docs/manual/advanced-metadata.xml:
26616         * docs/manual/advanced-position.xml:
26617         * docs/manual/advanced-schedulers.xml:
26618         * docs/manual/advanced-threads.xml:
26619         * docs/manual/appendix-porting.xml:
26620         * docs/manual/basics-bins.xml:
26621         * docs/manual/basics-bus.xml:
26622         * docs/manual/basics-elements.xml:
26623         * docs/manual/basics-helloworld.xml:
26624         * docs/manual/basics-pads.xml:
26625         * docs/manual/highlevel-components.xml:
26626         * docs/manual/manual.xml:
26627         * docs/manual/thread.fig:
26628           Update (until threads/scheduling) Application Development Manual;
26629           remove GstThread, add GstBus, add simple porting checklist, add
26630           documentation for tag writing, clocks, make all examples until this
26631           part compile and run.
26632         * examples/manual/Makefile.am:
26633           Update from changes to Application Development Manual; add bus
26634           example, remove thread example.
26635
26636 2005-06-28  Wim Taymans  <wim@fluendo.com>
26637
26638         * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26639         (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26640         (gst_bus_source_dispatch):
26641         Add debugging messages.
26642         Make internal methods static.
26643         Handle the case where the bus is flushed in the handler.
26644         
26645         * gst/gstelement.c: (gst_element_get_bus):
26646         Fix refcount in _get_bus();
26647
26648         * gst/gstpipeline.c: (gst_pipeline_change_state),
26649         (gst_pipeline_get_clock_func):
26650         Clock refcounting fixes.
26651         Handle the case where preroll timed out more gracefully.
26652         
26653         * gst/gstsystemclock.c: (gst_system_clock_dispose):
26654         Clean up the internal thread in dispose. This is needed
26655         for subclasses that actually get disposed.
26656         
26657         * gst/schedulers/threadscheduler.c:
26658         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26659         (gst_thread_scheduler_dispose):
26660         Free thread pool in dispose.
26661
26662 2005-06-28  Andy Wingo  <wingo@pobox.com>
26663
26664         * tests/network-clock-utils.scm (debug, print-event): New utils.
26665
26666         * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26667         (*packet-loss*): Unified loss probability.
26668         (network-time): Report out-of-band events.
26669
26670         * tests/plot-data: Add support for out-of-band events. Hack it
26671         into this script instead of passing it down the pipe; should fix
26672         this later.
26673
26674 2005-06-28  Wim Taymans  <wim@fluendo.com>
26675
26676         * docs/gst/gstreamer.types:
26677         * docs/gst/tmpl/gstbasesrc.sgml:
26678         * docs/gst/tmpl/gstpad.sgml:
26679         Docs fixes.
26680
26681 2005-06-28  Wim Taymans  <wim@fluendo.com>
26682
26683         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26684         (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26685         (gst_proxy_pad_do_fixatecaps):
26686         Correctly proxy the check_pull_range function.
26687
26688 2005-06-28  Andy Wingo  <wingo@pobox.com>
26689
26690         * tests/network-clock.scm: Removed need for slib.
26691         
26692 2005-06-28  Wim Taymans  <wim@fluendo.com>
26693
26694         * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26695         (gst_basesink_preroll_queue_flush):
26696         * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26697         * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26698         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26699         (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26700         (gst_proxy_pad_set_property):
26701         * gst/gstpad.c:
26702         * gst/gstpad.h:
26703         * gst/gstqueue.c: (gst_queue_init):
26704         The deprecated pad loop function is removed now.
26705
26706 2005-06-28  Andy Wingo  <wingo@pobox.com>
26707
26708         * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26709         New parameters, simulate network packet loss.
26710
26711         * tests/network-clock-utils.scm: Initialize the RNG.
26712
26713 2005-06-28  Wim Taymans  <wim@fluendo.com>
26714
26715         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26716         (gst_basesink_event), (gst_basesink_deactivate):
26717         Flushing the preroll queue always needs to unlock the waiters.
26718
26719 2005-06-28  Edward Hervey  <edward@fluendo.com>
26720
26721         * gst/gstpipeline.c: (gst_pipeline_send_event): 
26722         Wheen a seek was successful on a pipeline, set the stream_time to the
26723         seek offset in order to have a synchronized stream_time.
26724
26725 2005-06-28  Wim Taymans  <wim@fluendo.com>
26726
26727         * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26728         (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26729         (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26730         (gst_proxy_pad_do_fixatecaps):
26731         Call wrapper function instead of just calling the function
26732         pointers. This takes care of any locking and whatmore.
26733
26734 2005-06-28  Wim Taymans  <wim@fluendo.com>
26735
26736         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26737         (gst_pad_pull_range):
26738         * gst/gstpad.h:
26739         CONNECTED -> LINKED.
26740
26741 2005-06-28  Andy Wingo  <wingo@pobox.com>
26742
26743         * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26744         source-munging commit!!!
26745
26746         * gst/gstobject.c (gst_object_unref, gst_object_ref) 
26747         (gst_object_sink): Take gpointer arguments, not GstObject --
26748         avoids casts. Like GLib.
26749
26750         * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26751         activate.
26752
26753 2005-06-27  Andy Wingo  <wingo@pobox.com>
26754
26755         * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26756         remaining buffer.
26757
26758         * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26759         returns a sorted copy of the trace list.
26760         (gst_alloc_trace_print_live): New API, only prints traces with
26761         live objects. Sort the list.
26762         (gst_alloc_trace_print_all): Sort the list.
26763         (gst_alloc_trace_print): Align columns.
26764
26765         * gst/elements/gstttypefindelement.c:
26766         * gst/elements/gsttee.c:
26767         * gst/base/gstbasesrc.c:
26768         * gst/base/gstbasesink.c:
26769         * gst/base/gstbasetransform.c:
26770         * gst/gstqueue.c: Adapt for pad activation changes.
26771
26772         * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26773         sched.
26774         (gst_pipeline_dispose): Drop ref on sched.
26775
26776         * gst/gstpad.c (gst_pad_init): Set the default activate func.
26777         (gst_pad_activate_default): Push mode by default.
26778         (pre_activate_switch, post_activate_switch): New stubs, things to
26779         do before and after switching activation modes on pads.
26780         (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26781         the pad's activate function to choose which mode to activate.
26782         Shortcut on deactivation and call the right function directly.
26783         (gst_pad_activate_pull): New API, (de)activates a pad in pull
26784         mode.
26785         (gst_pad_activate_push): New API, same for push mode.
26786         (gst_pad_set_activate_function) 
26787         (gst_pad_set_activatepull_function) 
26788         (gst_pad_set_activatepush_function): Setters for new API.
26789
26790         * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26791         Trace all miniobjects.
26792         (gst_mini_object_make_writable): Unref the arg if we copy, like
26793         gst_caps_make_writable.
26794
26795         * gst/gstmessage.c (_gst_message_initialize): No trace init.
26796
26797         * gst/gstghostpad.c (gst_proxy_pad_do_activate) 
26798         (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26799         Adapt for new pad API.
26800
26801         * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26802
26803         * gst/gstelement.h:
26804         * gst/gstelement.c (gst_element_iterate_src_pads) 
26805         (gst_element_iterate_sink_pads): New API functions.
26806         
26807         * gst/gstelement.c (iterator_fold_with_resync): New utility,
26808         should fold into gstiterator.c in some form.
26809         (gst_element_pads_activate): Simplified via use of fold and
26810         delegation of decisions to gstpad->activate.
26811
26812         * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26813         help in debugging.
26814
26815         * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26816         class once in init, like gstmessage. Didn't run into this issue
26817         but it seems correct. Don't initialize a trace, gstminiobject does
26818         that.
26819
26820         * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26821         test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26822         to the bus.
26823         (assert_live_count): New util function, uses alloc traces to check
26824         cleanup.
26825
26826         * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26827         To be modified when unlink drops the internal pad.
26828
26829 2005-06-27  Wim Taymans  <wim@fluendo.com>
26830
26831         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26832         (gst_bin_change_state):
26833         Cleanup the get_state() function a little, make sure it
26834         iterates the same set of elements.
26835         Added stub iterate_state_order().
26836
26837 2005-06-27  Thomas Vander Stichele  <thomas at apestaart dot org>
26838
26839         * docs/gst/gstreamer-docs.sgml:
26840         * docs/gst/gstreamer-sections.txt:
26841         * docs/gst/gstreamer.types:
26842         * docs/gst/tmpl/gstbasesink.sgml:
26843         * docs/gst/tmpl/gstbasesrc.sgml:
26844         * docs/gst/tmpl/gstbasetransform.sgml:
26845         * docs/gst/tmpl/gstelement.sgml:
26846         * docs/gst/tmpl/gstiterator.sgml:
26847         * gst/base/gstbasesrc.c:
26848         * gst/base/gstbasesrc.h:
26849         * gst/base/gstbasetransform.h:
26850         * gst/gstelement.c:
26851         * gst/gstiterator.h:
26852           adding basetransform and iterator docs
26853
26854 2005-06-27  Andy Wingo  <wingo@pobox.com>
26855
26856         * docs/design/part-activation.txt: Notes on how activation should
26857         work -- not quite implemented yet.
26858
26859 2005-06-25  Wim Taymans  <wim@fluendo.com>
26860
26861         * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26862         At least get the chain function correct, needs more
26863         fixing.
26864
26865 2005-06-25  Wim Taymans  <wim@fluendo.com>
26866
26867         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26868         (gst_basesink_handle_object), (gst_basesink_event),
26869         (gst_basesink_do_sync), (gst_basesink_handle_event),
26870         (gst_basesink_change_state):
26871         * gst/gsttask.h:
26872         Right, two problems here: ghostpads don't take locks and
26873         glib _rec_mutex_lock_full() with depth==0 still locks.
26874         Catch illegal locking and g_warn them.
26875
26876 2005-06-25  Wim Taymans  <wim@fluendo.com>
26877
26878         * check/states/sinks.c: (START_TEST), (gst_object_suite):
26879         Have to check for completion now...
26880
26881 2005-06-25  Wim Taymans  <wim@fluendo.com>
26882
26883         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26884         (gst_basesink_handle_object), (gst_basesink_event),
26885         (gst_basesink_do_sync), (gst_basesink_handle_event),
26886         (gst_basesink_change_state):
26887         * gst/gstpad.h:
26888         Unlock STREAM_LOCK whatever the recursion was.
26889
26890 2005-06-25  Wim Taymans  <wim@fluendo.com>
26891
26892         * gst/base/gstbasesink.c: (gst_basesink_set_property),
26893         (gst_basesink_preroll_queue_empty),
26894         (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
26895         (gst_basesink_event), (gst_basesink_do_sync),
26896         (gst_basesink_handle_event), (gst_basesink_handle_buffer),
26897         (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
26898         (gst_basesink_change_state):
26899         Reworked the base sink, handle event and buffer serialisation
26900         correctly and removed possible deadlock.
26901         Handle EOS correctly.
26902
26903 2005-06-25  Wim Taymans  <wim@fluendo.com>
26904
26905         * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
26906         (gst_pipeline_change_state):
26907         * tools/gst-launch.c: (check_intr), (event_loop), (main):
26908         Allow elements to post EOS in the state change function.
26909         Fix up -launch, make it exit the poll loop when the
26910         pipeline actually changed state.
26911         Fix up warning parsing in -launch.
26912
26913 2005-06-25  Wim Taymans  <wim@fluendo.com>
26914
26915         * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
26916         (gst_tee_sink_activate):
26917         Core takes STREAM_LOCK for us now.
26918
26919 2005-06-25  Wim Taymans  <wim@fluendo.com>
26920
26921         * gst/gstelement.c: (gst_element_get_state_func),
26922         (gst_element_set_state):
26923         * gst/gstelement.h:
26924         * gst/gstmessage.c: (gst_message_parse_error),
26925         (gst_message_parse_warning):
26926         Keep track of current target state while performing a state
26927         change so that subclasses can do something interesting.
26928         Fix parsing of warning/error messages when GError is NULL.
26929
26930 2005-06-24  Thomas Vander Stichele  <thomas at apestaart dot org>
26931
26932         * docs/gst/Makefile.am:
26933         * docs/gst/gstreamer-docs.sgml:
26934         * docs/gst/gstreamer-sections.txt:
26935         * docs/gst/gstreamer.types:
26936         * docs/gst/tmpl/gstbasesink.sgml:
26937         * docs/gst/tmpl/gstbasesrc.sgml:
26938         * docs/gst/tmpl/gstbin.sgml:
26939         * docs/gst/tmpl/gstcompat.sgml:
26940         * docs/gst/tmpl/gstfakesink.sgml:
26941         * docs/gst/tmpl/gstfakesrc.sgml:
26942         * docs/gst/tmpl/gstfilesink.sgml:
26943         * docs/gst/tmpl/gstfilesrc.sgml:
26944         * docs/gst/tmpl/gstindex.sgml:
26945         * docs/manual/appendix-quotes.xml:
26946         * gst/base/gstbasesrc.h:
26947         * gst/elements/gstfakesrc.h:
26948         * gst/gstmessage.h:
26949           start pulling in base classes and elements in our docs
26950
26951 2005-06-24  Stefan Kost  <ensonic@users.sf.net>
26952
26953         * docs/gst/Makefile.am:
26954         * docs/libs/Makefile.am:
26955           fixed make distcheck with gtk-doc 1.3
26956
26957 2005-06-23  Wim Taymans  <wim@fluendo.com>
26958
26959         * gst/gstelement.c: (gst_element_get_state_func),
26960         (gst_element_set_state), (gst_element_change_state):
26961         When the state did not change, also report NO_PREROLL
26962         when it matters.
26963
26964 2005-06-23  Wim Taymans  <wim@fluendo.com>
26965
26966         * gst/gstpad.c: (gst_pad_event_default):
26967         * gst/gstqueue.c: (gst_queue_loop):
26968         No unsafe task pausing please.
26969
26970 2005-06-23  Wim Taymans  <wim@fluendo.com>
26971
26972         * gst/schedulers/threadscheduler.c:
26973         (gst_thread_scheduler_task_start),
26974         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
26975         Ref the task before pushing it on the threadpool. This
26976         makes sure that we have a ref when the threadfunction is
26977         actually called.
26978
26979 2005-06-23  Andy Wingo  <wingo@pobox.com>
26980
26981         * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
26982         offset is greater than the file's size.
26983
26984         * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK) 
26985         (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
26986         * gst/gstobject.c (gst_object_class_init): Make the class lock
26987         recursive. Wim won't let me drop deep_notify. Decodebin works
26988         again, whoopdy doo.
26989
26990         * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
26991         internal pad, and hacks accordingly. Doesn't do it on the target
26992         pad because we change its caps. Probably catches all cases of
26993         interest tho.
26994         (gst_ghost_pad_set_property): Connect to notify::caps as
26995         appropritate.
26996
26997         * tests/network-clock.scm (plot-simulation): Pipe data to the
26998         elite python skript.
26999
27000         * tests/network-clock-utils.scm (define-parameter): New macro,
27001         defines a parameter that can be set via the command line.
27002         (set-parameter!, parse-parameter-arguments): Command line args
27003         parser.
27004
27005         * tests/plot-data: Simple matplotlib-based plotter, takes input on
27006         stdin.
27007
27008 2005-06-23  Jan Schmidt  <thaytan@mad.scientist.com>
27009
27010         * gst/elements/gsttypefindelement.c:
27011         (gst_type_find_element_handle_event):
27012           Don't restart typefinding on a discont.
27013         * gst/gstelement.c: (gst_element_set_state):
27014           Debug spelling fix.
27015         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27016           Allow changing mode of an active pad.
27017           Debug output fixes.
27018         * gst/registries/gstlibxmlregistry.c: (load_feature):
27019           Don't cast a static pad template to a normal pad template.
27020
27021 2005-06-23  Thomas Vander Stichele  <thomas at apestaart dot org>
27022
27023         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27024         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27025           remove gst_strtoll completely, since it didn't actually do
27026           anything more than what g_ascii_strtoull already does.
27027           check for range errors when deserializing
27028           do a cast for the unsigned cases; but further fixing needs
27029           a decision on what the interpretation of "(int)" and
27030           deserialization should be for values that fall outside the
27031           type's boundaries (ie, refuse, or interpret as casting)
27032
27033 2005-06-23  Wim Taymans  <wim@fluendo.com>
27034
27035         * check/Makefile.am:
27036         * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27037         * docs/design/part-live-source.txt:
27038         * docs/design/part-states.txt:
27039         * gst/base/gstbasesrc.c: (gst_basesrc_init),
27040         (gst_basesrc_set_live), (gst_basesrc_is_live),
27041         (gst_basesrc_get_range), (gst_basesrc_activate),
27042         (gst_basesrc_change_state):
27043         * gst/base/gstbasesrc.h:
27044         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27045         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27046         * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27047         * gst/gstelement.c: (gst_element_get_state_func),
27048         (gst_element_set_state):
27049         * gst/gstelement.h:
27050         * gst/gsttypes.h:
27051         * tools/gst-launch.c: (event_loop), (main):
27052         Added support for live sources and other elements that
27053         cannot do preroll.
27054         Updated design docs, added live-source design doc.
27055         Implemented live source functionality in basesrc
27056         Fix error condition in _bin_get_state()
27057         Implement live source handling in -launch.
27058         Added check for live sources.
27059         Fixed case in GstBin where elements were changed state
27060         multiple times.
27061
27062
27063 2005-06-23  Andy Wingo  <wingo@pobox.com>
27064
27065         * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27066         borken refcounting.
27067
27068         * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27069         gst_caps_replace takes care of this for us.
27070
27071         * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27072         gst_pad_set_caps on the target, not just its setcaps() function.
27073
27074         * tests/network-clock.scm: 
27075         * tests/network-clock-utils.scm: A network clock simulator.
27076         Something of an algorithmic testbed before doing something in C.
27077
27078 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27079
27080         * check/Makefile.am:
27081         * check/gst/capslist.h:
27082           copy over from 0.8, and add two with bitmasks specified with
27083           (int) 0xFF...
27084         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27085           add test to parse everything from capslist.h
27086         * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27087         (main):
27088           add test for structure deserialization
27089         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27090           add tests for deserialization of strings to int types
27091         * gst/gststructure.c: (gst_structure_nth_field_name):
27092         * gst/gststructure.h:
27093           add a way to get the name of a field referenced by index
27094         * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27095           instead of checking if the resulting long long lies between
27096           min and max, we check if the long long would fit into
27097           a number of bytes for the final type.
27098           This fixes cases where a string represents 2^32 - 1, which
27099           when cast to int would be the (valid) -1, but is bigger than
27100           G_MAXINT
27101
27102 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27103
27104         * gst/parse/grammar.y:
27105           add a log line for type deserialization
27106
27107 2005-06-22  Thomas Vander Stichele  <thomas at apestaart dot org>
27108
27109         * check/gst/gstvalue.c: (START_TEST):
27110         * gst/gstvalue.c: (gst_value_deserialize):
27111           return long long, not int, so gint64 deserialization actually
27112           works.  Is there any flag that makes the compiler check this ?
27113           Fixes #308559
27114
27115 2005-06-22  Wim Taymans  <wim@fluendo.com>
27116
27117         * gst/gstbuffer.h:
27118         Added convenience macros for setting buffers in GValue.
27119
27120 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27121
27122         * check/gst/.cvsignore:
27123         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27124           add a test deserializing int64, and comment part out because
27125           it fails, yay !
27126
27127 2005-06-21  Thomas Vander Stichele  <thomas at apestaart dot org>
27128
27129         * check/Makefile.am:
27130         * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27131         * testsuite/Makefile.am:
27132         * testsuite/caps/Makefile.am:
27133         * testsuite/caps/value_serialize.c:
27134         * testsuite/test_gst_init.c:
27135           move a value_serialize test over
27136
27137 2005-06-20  Wim Taymans  <wim@fluendo.com>
27138
27139         * gst/gstpad.c:
27140         Small doc updates.
27141         
27142         * gst/gstvalue.c: (gst_value_compare_buffer),
27143         (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27144         (gst_value_compare_flags), (gst_value_serialize_flags),
27145         (gst_value_deserialize_flags), (_gst_value_initialize):
27146         Fix serialisation of buffers, they are not boxed types anymore
27147
27148 2005-06-20  Wim Taymans  <wim@fluendo.com>
27149
27150         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27151         Testcase to show error in buffer-on-caps serialisation.
27152
27153 2005-06-20  Andy Wingo  <wingo@pobox.com>
27154
27155         * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27156         will be adding to later.
27157
27158         * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27159         if its socks fill with rocks.
27160         (gst_system_clock_obtain): Set the name on object construction.
27161         Avoid double-checked locking.
27162
27163 2005-06-20  Tim-Philipp Müller  <tim at centricular dot net>
27164
27165         * gst/gsturi.c: (gst_element_make_from_uri):
27166           Fix potential endless loop.
27167
27168 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27169
27170         * check/Makefile.am:
27171           add gsttag
27172         * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27173         (main):
27174           move over from testsuite dir and clean up
27175         * configure.ac:
27176         * gst/gsttag.c:
27177         * testsuite/Makefile.am:
27178         * testsuite/tags/.cvsignore:
27179         * testsuite/tags/Makefile.am:
27180         * testsuite/tags/merge.c:
27181           remove testsuite/tags
27182
27183 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27184
27185         * docs/gst/gstreamer-sections.txt:
27186         * docs/gst/tmpl/gstenumtypes.sgml:
27187         * win32/gstenumtypes.c:
27188           clean up documentation build a little
27189
27190 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27191
27192         * check/gstcheck.h:
27193           add macros for checking refcounts on objects and caps
27194         * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27195           add some more unit tests
27196         * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27197         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27198           fix leaked refcounts (I hope :)) so unittest works
27199         * gst/gstpad.h:
27200           whitespace removal
27201
27202 2005-06-19  Thomas Vander Stichele  <thomas at apestaart dot org>
27203
27204         * configure.ac: back to HEAD
27205
27206 === release 0.9.1 ===
27207
27208 2005-06-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27209
27210         * NEWS:
27211         * RELEASE:
27212           updated
27213
27214 2005-06-17  Andy Wingo  <wingo@pobox.com>
27215
27216         * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27217         assert; it's always possible that the pad gets deactivated in
27218         between the checks in gstpad.c and the implementation. Rely on
27219         finish_preroll() to return a FLUSHING or similar instead of on the
27220         assert.
27221         
27222         * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27223         clock and post an EOS message if we come out of finish_preroll in
27224         the playing state.
27225
27226 2005-06-16  David Schleef  <ds@schleef.org>
27227
27228         * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27229         (gst_capsfilter_set_property): Allow NULL as possible value
27230         for filter_caps property, indicating GST_CAPS_ANY.
27231
27232 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27233
27234         * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27235           fix debug output
27236         * gst/schedulers/Makefile.am:
27237           use libgst prefix
27238         * gstreamer.spec.in:
27239           fix spec for it
27240
27241 2005-06-09  Thomas Vander Stichele  <thomas at apestaart dot org>
27242
27243         * gstreamer.spec.in:
27244           clean up
27245
27246 2005-06-08  Andy Wingo  <wingo@pobox.com>
27247
27248         * gst/gstutils.c: RPAD fixes all around.
27249         (gst_element_link_pads): Refcounting fixes.
27250
27251         * tools/gst-inspect.c:
27252         * tools/gst-xmlinspect.c:
27253         * parse/grammar.y:
27254         * gst/base/gsttypefindhelper.c:
27255         * gst/base/gstbasesink.c:
27256         * gst/gstqueue.c: RPAD fixes.
27257
27258         * gst/gstghostpad.h:
27259         * gst/gstghostpad.c: New ghost pad implementation as full proxy
27260         pads. The tricky thing is they provide both source and sink
27261         interfaces, since they proxy the internal pad for the external
27262         pad, and vice versa. Implement with lower-level ProxyPad objects,
27263         with the interior proxy pad as a child of the exterior ghost pad.
27264         Should write a doc on this.
27265         
27266         * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27267         (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27268         gst_object API.
27269         
27270         * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27271         pads are real pads. No ghost pads in this file. Not documenting
27272         the myriad s/RPAD/PAD/ and REALIZE fixes.
27273         (gst_pad_class_init): Add properties for "direction" and
27274         "template". Both are construct-only, so they can't change during
27275         the life of the pad. Fixes properly deriving from GstPad.
27276         (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27277         derived objects, just set properties when creating the objects via
27278         g_object_new.
27279         (gst_pad_get_parent): Implement as a function, return NULL if the
27280         parent is not an element.
27281         (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27282         (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27283         
27284         * gst/gstobject.c (gst_object_class_init): Make name a construct
27285         property. Don't set it in the object init.
27286
27287         * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27288         with UNKNOWN direction.
27289         (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27290         with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27291         (gst_element_remove_pad): Remove ghost-pad special cases.
27292         (gst_element_pads_activate): Remove rpad cruft.
27293
27294         * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27295         catch the pad's-parent-not-an-element case.
27296
27297         * gst/gst.h: Include gstghostpad.h.
27298
27299         * gst/gst.c (init_post): No more real, ghost pads.
27300
27301         * gst/Makefile.am: Add gstghostpad.[ch].
27302
27303         * check/Makefile.am:
27304         * check/gst/gstbin.c:
27305         * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27306         into a bin creates ghost pads, and that the refcounts are right.
27307         Partly moved from gstbin.c.
27308
27309 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27310
27311         * check/gst-libs/.cvsignore:
27312         * check/gst/.cvsignore:
27313         * check/pipelines/.cvsignore:
27314           ignore more
27315         * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27316         (START_TEST), (cleanup_suite), (main):
27317           add some tests related to cleanup after running pipelines
27318
27319 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27320
27321         * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27322           add a testsuite for GstBuffer
27323
27324 2005-06-08  Thomas Vander Stichele  <thomas at apestaart dot org>
27325
27326         * gst/gstminiobject.h:
27327           add defines for accessing the refcount
27328
27329 2005-06-03  Stefan Kost  <ensonic@users.sf.net>
27330
27331         * Makefile.am: added support for html unit test coverage reports
27332
27333 2005-06-03  Jan Schmidt  <thaytan@mad.scientist.com>
27334
27335         * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27336           Free existing caps if the capsfilter changes. Add a FIXME about
27337           setting those caps on the pads.
27338
27339         * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27340           Before adding a ghost pad to a parent bin, check that there isn't
27341           already one for the element on the bin. Prevents infinite recursion
27342           when using decodebin in parse pipelines. Andy says he'll rewrite the
27343           way this works anyway, so ignore the hack.
27344
27345 2005-06-02  Andy Wingo  <wingo@pobox.com>
27346
27347         * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27348         file size, pass it on to the type find helper.
27349
27350         * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27351         segment_start and segment_end properly according to the seek
27352         method. Segment_end is still a bit flaky because offset can be
27353         negative for CUR and END cases, but it takes -1 as an "unset"
27354         value.
27355
27356 2005-06-02  Wim Taymans  <wim@fluendo.com>
27357
27358         * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27359         (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27360         (gst_basesink_activate):
27361         * gst/base/gstbasesink.h:
27362         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27363         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27364         (gst_pad_query), (gst_pad_start_task):
27365         * gst/gstpad.h:
27366         * gst/gstqueue.c: (gst_queue_bufferalloc),
27367         (gst_queue_handle_sink_event), (gst_queue_chain):
27368         Bufferalloc: return GstFlowReturn to more accuratly report
27369         why allocation failed.
27370
27371 2005-06-02  Wim Taymans  <wim@fluendo.com>
27372
27373         * gst/gstpipeline.c: (gst_pipeline_send_event):
27374         Take snapshot of state without blocking.
27375
27376 2005-06-02  Wim Taymans  <wim@fluendo.com>
27377
27378         * docs/design/part-TODO.txt:
27379         * docs/design/part-caps.txt:
27380         * docs/design/part-clocks.txt:
27381         * docs/design/part-negotiation.txt:
27382         * docs/design/part-preroll.txt:
27383         Small doc updates 
27384
27385 2005-05-30  Wim Taymans  <wim@fluendo.com>
27386
27387         * gst/elements/gstidentity.c: (gst_identity_event),
27388         (gst_identity_transform), (gst_identity_get_property):
27389         Protect last_message property as it is accessed from
27390         multiple threads.
27391
27392 2005-05-30  Wim Taymans  <wim@fluendo.com>
27393
27394         * gst/gstelement.c: (gst_element_init),
27395         (gst_element_pads_activate), (gst_element_change_state):
27396         Slicker pad activation code.
27397
27398 2005-05-30  Wim Taymans  <wim@fluendo.com>
27399
27400         * gst/Makefile.am:
27401         * gst/gstelement.h:
27402         * gst/gstelementfactory.h:
27403         * gst/gsttypes.h:
27404         Move elementfactory methods to separate .h file.
27405
27406 2005-05-30  Wim Taymans  <wim@fluendo.com>
27407
27408         * docs/design/part-overview.txt:
27409         * gst/gstsystemclock.h:
27410         Small typo fixes, doc updates.
27411
27412 2005-05-30  Wim Taymans  <wim@fluendo.com>
27413
27414         * gst/gst.c: (gst_init_get_popt_table), (init_post),
27415         (init_popt_callback):
27416         Remove cpu-opt flag.
27417
27418 2005-05-30  Wim Taymans  <wim@fluendo.com>
27419
27420         * gst/gstbuffer.c: (gst_subbuffer_finalize),
27421         (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27422         * gst/gstbuffer.h:
27423         Avoid typechecking in places where not needed.
27424         Added accessor for malloc_data.
27425
27426 2005-05-30  Wim Taymans  <wim@fluendo.com>
27427
27428         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27429         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27430         (gst_pad_configure_sink), (gst_pad_configure_src),
27431         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27432         (gst_pad_start_task):
27433         Propagate errors from _set_caps() in configure_src/sink
27434         functions instead of returning TRUE.
27435         FLUSH events can travel up and downstream
27436
27437
27438 2005-05-30  Wim Taymans  <wim@fluendo.com>
27439
27440         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27441         (gst_basesink_activate):
27442         Handle EOS in preroll.
27443
27444 2005-05-30  Wim Taymans  <wim@fluendo.com>
27445
27446         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27447         (gst_queue_loop), (gst_queue_handle_src_event):
27448         Remove old pieces of code
27449         Flushing the queue in an upstream event is a very bad idea.
27450
27451 2005-05-26  Andy Wingo  <wingo@pobox.com>
27452
27453         * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27454         gst_value_set_mini_object so as to add a ref on the object (which
27455         will be removed when the value is unset).
27456
27457         * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27458         arg type in ::handoff.
27459
27460         * gst/gstelement.c (gst_element_change_state): Also deactivate
27461         pads in READY->NULL, just in case the element didn't make it to
27462         PAUSED. Wingo tested, Wim approved.
27463
27464 2005-05-26  Wim Taymans  <wim@fluendo.com>
27465
27466         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27467         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27468         (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27469         A flushing pad cannot be used to alloc_buffer from.
27470
27471 2005-05-26  Wim Taymans  <wim@fluendo.com>
27472
27473         * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27474         (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27475         (gst_bus_source_dispatch), (gst_bus_source_finalize),
27476         (gst_bus_create_watch), (gst_bus_add_watch_full):
27477         * gst/gstbus.h:
27478         Implement a real GSource and use g_main_context_wakeup() to
27479         signal new messages instead of the socketpair.
27480
27481 2005-05-25  Wim Taymans  <wim@fluendo.com>
27482
27483         * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27484         (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27485         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27486         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27487         (gst_pad_send_event), (gst_pad_start_task):
27488         * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27489         (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27490         (gst_queue_sink_activate), (gst_queue_src_activate),
27491         (gst_queue_change_state):
27492         * gst/gstqueue.h:
27493         Fix state changes for non sinks. We now change sinks, then elements
27494         with unconnected srcpads, then the rest.
27495         More efficient queue unlocking in flush and state changes.
27496         Set the pad activate mode even if it does not have an activate
27497         function.
27498
27499 2005-05-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27500
27501         * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27502           Don't go in pull mode for non-seekable sources.
27503         * gst/elements/gsttypefindelement.h:
27504         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27505         (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27506         (free_entry), (stop_typefinding),
27507         (gst_type_find_element_handle_event), (find_peek),
27508         (gst_type_find_element_chain), (do_pull_typefind),
27509         (gst_type_find_element_change_state):
27510           Allow typefinding (w/o seeking) in push-mode, simplified version
27511           of what was in 0.8.
27512         * gst/gstutils.c: (gst_buffer_join):
27513         * gst/gstutils.h:
27514           gst_buffer_join() from 0.8.
27515
27516 2005-05-25  Wim Taymans  <wim@fluendo.com>
27517
27518         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27519         (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27520         (gst_pad_send_event), (gst_pad_start_task):
27521         Disable attempt at mode switching until it is figured out.
27522
27523 2005-05-25  Wim Taymans  <wim@fluendo.com>
27524
27525         * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27526         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27527         (gst_basesink_finish_preroll), (gst_basesink_chain),
27528         (gst_basesink_loop), (gst_basesink_activate),
27529         (gst_basesink_change_state):
27530         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27531         (gst_basesrc_get_range), (gst_basesrc_loop),
27532         (gst_basesrc_activate):
27533         * gst/elements/gsttee.c: (gst_tee_sink_activate):
27534         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27535         (gst_real_pad_init), (gst_real_pad_set_property),
27536         (gst_real_pad_get_property), (gst_pad_set_active),
27537         (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27538         (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27539         (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27540         (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27541         (gst_pad_event_default_dispatch), (gst_pad_event_default),
27542         (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27543         (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27544         (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27545         (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27546         (gst_pad_stop_task):
27547         * gst/gstpad.h:
27548         * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27549         (gst_queue_loop), (gst_queue_src_activate):
27550         * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27551         (gst_task_get_state):
27552         * gst/gsttask.h:
27553         * gst/schedulers/threadscheduler.c:
27554         (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27555         Implement gst_pad_pause/start/stop_task(), take STREAM lock
27556         in task function.
27557         Remove ACTIVE pad flag, use FLUSHING everywhere
27558         Added _pad_chain(), _pad_get_range() to call chain/getrange 
27559         functions.
27560         Add locks around IS_FLUSHING when reading.
27561         Take STREAM lock in chain(), get_range() functions so plugins
27562         don't need to take it anymore.
27563         
27564
27565
27566 2005-05-25  Wim Taymans  <wim@fluendo.com>
27567
27568         * tools/gst-launch.c: (event_loop):
27569         Unref message after using its contents instead of
27570         before.
27571
27572 2005-05-24  Wim Taymans  <wim@fluendo.com>
27573
27574         * docs/design/draft-ghostpads.txt:
27575         * docs/design/draft-push-pull.txt:
27576         * docs/design/draft-query.txt:
27577         * docs/design/part-overview.txt:
27578         Docs updates, added general overview doc.
27579
27580 2005-05-21  David Schleef  <ds@schleef.org>
27581
27582         * docs/gst/tmpl/old/GstBin.sgml:
27583         * docs/gst/tmpl/old/GstBuffer.sgml:
27584         * docs/gst/tmpl/old/GstCaps.sgml:
27585         * docs/gst/tmpl/old/GstClock.sgml:
27586         * docs/gst/tmpl/old/GstCompat.sgml:
27587         * docs/gst/tmpl/old/GstData.sgml:
27588         * docs/gst/tmpl/old/GstElement.sgml:
27589         * docs/gst/tmpl/old/GstEvent.sgml:
27590         * docs/gst/tmpl/old/GstIndex.sgml:
27591         * docs/gst/tmpl/old/GstStructure.sgml:
27592         * docs/gst/tmpl/old/GstTag.sgml:
27593         * docs/gst/tmpl/old/cothreads.sgml:
27594         * docs/gst/tmpl/old/cothreads_compat.sgml:
27595         * docs/gst/tmpl/old/gettext.sgml:
27596         * docs/gst/tmpl/old/gobject2gtk.sgml:
27597         * docs/gst/tmpl/old/grammar.tab.sgml:
27598         * docs/gst/tmpl/old/gst-i18n-app.sgml:
27599         * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27600         * docs/gst/tmpl/old/gst_private.sgml:
27601         * docs/gst/tmpl/old/gstaggregator.sgml:
27602         * docs/gst/tmpl/old/gstarch.sgml:
27603         * docs/gst/tmpl/old/gstatomic_impl.sgml:
27604         * docs/gst/tmpl/old/gstbufferstore.sgml:
27605         * docs/gst/tmpl/old/gstdata_private.sgml:
27606         * docs/gst/tmpl/old/gstdisksink.sgml:
27607         * docs/gst/tmpl/old/gstdisksrc.sgml:
27608         * docs/gst/tmpl/old/gstelementfactory.sgml:
27609         * docs/gst/tmpl/old/gstextratypes.sgml:
27610         * docs/gst/tmpl/old/gstfakesink.sgml:
27611         * docs/gst/tmpl/old/gstfakesrc.sgml:
27612         * docs/gst/tmpl/old/gstfdsink.sgml:
27613         * docs/gst/tmpl/old/gstfdsrc.sgml:
27614         * docs/gst/tmpl/old/gstfilesink.sgml:
27615         * docs/gst/tmpl/old/gstfilesrc.sgml:
27616         * docs/gst/tmpl/old/gsthttpsrc.sgml:
27617         * docs/gst/tmpl/old/gstidentity.sgml:
27618         * docs/gst/tmpl/old/gstindexfactory.sgml:
27619         * docs/gst/tmpl/old/gstmarshal.sgml:
27620         * docs/gst/tmpl/old/gstmd5sink.sgml:
27621         * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27622         * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27623         * docs/gst/tmpl/old/gstpadtemplate.sgml:
27624         * docs/gst/tmpl/old/gstpipefilter.sgml:
27625         * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27626         * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27627         * docs/gst/tmpl/old/gstshaper.sgml:
27628         * docs/gst/tmpl/old/gstspider.sgml:
27629         * docs/gst/tmpl/old/gstspideridentity.sgml:
27630         * docs/gst/tmpl/old/gststatistics.sgml:
27631         * docs/gst/tmpl/old/gsttee.sgml:
27632         * docs/gst/tmpl/old/gsttimecache.sgml:
27633         * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27634         * docs/gst/tmpl/old/gstxmlregistry.sgml:
27635         * docs/gst/tmpl/old/gthread-cothreads.sgml:
27636         * docs/gst/tmpl/old/types.sgml:
27637           I didn't intend to add these or check them in.
27638
27639 2005-05-19  David Schleef  <ds@schleef.org>
27640
27641         * configure.ac: Use -no-common everywhere.  In a sane world, it
27642           would be the default in libtool, because without it, you can't
27643           build DLLs on Windows.
27644         * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27645         * docs/gst/gstreamer-sections.txt:
27646         * docs/gst/tmpl/gstcpu.sgml:
27647         * docs/gst/tmpl/gstdata.sgml:
27648         * docs/gst/tmpl/gstthread.sgml:
27649
27650 2005-05-19  David Schleef  <ds@schleef.org>
27651
27652         * gst/gstminiobject.c: (gst_value_set_mini_object),
27653         (gst_value_take_mini_object), (gst_value_get_mini_object):
27654         * gst/gstminiobject.h: Add GValue set/get functions.
27655
27656 2005-05-19  Wim Taymans  <wim@fluendo.com>
27657
27658         * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27659         (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27660         (gst_subbuffer_init), (gst_buffer_is_span_fast):
27661         * gst/gstbuffer.h:
27662         * gst/gstbus.c: (gst_bus_post):
27663         * gst/gstelement.c: (gst_element_get_random_pad):
27664         * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27665         Make subbufer unref the parent in finalize.
27666         some more debugging info.
27667
27668
27669 2005-05-19  Wim Taymans  <wim@fluendo.com>
27670
27671         * gst/base/gstbasesink.c: (gst_basesink_class_init),
27672         (gst_basesink_init), (gst_basesink_finalize),
27673         (gst_basesink_activate), (gst_basesink_change_state):
27674         Don't free preroll queue too early.
27675
27676 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27677
27678         * gst/Makefile.am:
27679         * gst/ROADMAP:
27680           Hi, I'm outdated. Please shoot me.
27681
27682 2005-05-19  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27683
27684         * gst/gstpipeline.c: (gst_pipeline_send_event):
27685           Do not access variables after they have been deleted.
27686
27687 2005-05-19  Wim Taymans  <wim@fluendo.com>
27688
27689         * tools/gst-inspect.c: (print_plugin_features):
27690         A plugin feature does unfortunatly not use the
27691         object name yet...
27692
27693 2005-05-18  Wim Taymans  <wim@fluendo.com>
27694
27695         * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27696         Port _span() functions to new subbuffers.
27697
27698 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27699
27700         * gst/gstbin.c: (gst_bin_add_func):
27701           Fix clock settery in bins when adding kids after the clock has
27702           been selected.
27703
27704 2005-05-18  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27705
27706         * gst/elements/gstidentity.c: (gst_identity_class_init):
27707           Workaround until signals support GstMiniObject.
27708
27709 2005-05-18  Jan Schmidt  <thaytan@mad.scientist.com>
27710
27711         * gst/gstbuffer.c:
27712         Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27713
27714 2005-05-18  Wim Taymans  <wim@fluendo.com>
27715
27716         * gst/base/Makefile.am:
27717         * gst/base/gstadapter.c: (gst_adapter_base_init),
27718         (gst_adapter_class_init), (gst_adapter_init),
27719         (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27720         (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27721         (gst_adapter_flush), (gst_adapter_available),
27722         (gst_adapter_available_fast):
27723         * gst/base/gstadapter.h:
27724         Ported and added adapter to the base classes.
27725
27726 2005-05-17  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
27727
27728         * gst/gst.c:
27729         * gst/gstmessage.c:
27730           Make sure the class is reffed/unreffed once before threads can be
27731           used.  Fixes #304551.
27732
27733 2005-05-17  Wim Taymans  <wim@fluendo.com>
27734
27735         * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27736         (gst_basesink_chain_unlocked), (gst_basesink_activate):
27737         * gst/gstminiobject.c: (gst_mini_object_get_type),
27738         (gst_mini_object_free):
27739         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27740         (gst_pad_push), (gst_pad_push_event):
27741         * gst/gstqueue.c: (gst_queue_change_state):
27742         Don't queue buffers in basesink when we are flushing.
27743         Unref buffer when flushing in basesink.
27744         Flush queue when going to READY
27745         Unref buffer when _push() returns an error.
27746         Don't free MiniObject instance when refcount is incremented
27747         in _finalize() so that we can recover objects.
27748
27749 2005-05-17  Thomas Vander Stichele  <thomas at apestaart dot org>
27750
27751         * docs/manual/advanced-schedulers.xml:
27752         * docs/manual/appendix-checklist.xml:
27753         * docs/pwg/advanced-clock.xml:
27754         * docs/pwg/advanced-interfaces.xml:
27755         * docs/pwg/advanced-request.xml:
27756         * docs/pwg/advanced-types.xml:
27757         * docs/pwg/intro-preface.xml:
27758         * examples/plugins/example.c: (gst_example_get_type),
27759         (gst_example_class_init), (gst_example_chain),
27760         (gst_example_set_property), (gst_example_get_property),
27761         (gst_example_change_state), (plugin_init):
27762         * examples/plugins/example.h:
27763           small doc fixes
27764
27765 2005-05-17  Wim Taymans  <wim@fluendo.com>
27766
27767         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27768         (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27769         * gst/gstqueue.c: (gst_queue_change_state):
27770         Clear queue when going to READY.
27771         Remove IN_SETCAPS flag too.
27772
27773 2005-05-17  Tim-Philipp Müller  <tim at centricular dot net>
27774
27775         * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27776           Remove implicit cast from gboolean to GstElementStateReturn;
27777           make sure we still return failure in paused => ready case if
27778           the parent class fails to change state and our own stop 
27779           vfunc succeeds.
27780
27781 2005-05-17  Wim Taymans  <wim@fluendo.com>
27782
27783         * tools/gst-launch.c: (event_loop):
27784         Message was unreffed too soon.
27785
27786 2005-05-16  Andy Wingo  <wingo@pobox.com>
27787
27788         * gst/gstbin.c (sink_iterator_filter): Err... um...
27789
27790         * check/gst/gstbin.c (test_ghost_pads): New test for the
27791         ghosting-if-elements-not-in-same-bin behavior.
27792
27793 2005-05-16  David Schleef  <ds@schleef.org>
27794
27795         * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27796         accessing refcount directly.
27797
27798 2005-05-15  David Schleef  <ds@schleef.org>
27799
27800         * check/Makefile.am: remove GstData checks
27801         * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27802         * gst/Makefile.am: add miniobject, remove data
27803         * gst/gst.h: add miniobject, remove data
27804         * gst/gstdata.c: remove
27805         * gst/gstdata.h: remove
27806         * gst/gstdata_private.h: remove
27807         * gst/gsttypes.h: remove GstEvent and GstMessage
27808         * gst/gstelement.c: (gst_element_post_message): fix for API changes
27809         * gst/gstmarshal.list: change BOXED -> OBJECT
27810
27811         Implement GstMiniObject.
27812         * gst/gstminiobject.c:
27813         * gst/gstminiobject.h:
27814
27815         Modify to be subclasses of GstMiniObject.
27816         * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27817         (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27818         (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27819         (gst_subbuffer_get_type), (gst_subbuffer_init),
27820         (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27821         (gst_buffer_span):
27822         * gst/gstbuffer.h:
27823         * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27824         (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27825         (_gst_event_copy), (gst_event_new):
27826         * gst/gstevent.h:
27827         * gst/gstmessage.c: (_gst_message_initialize),
27828         (gst_message_get_type), (gst_message_class_init),
27829         (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27830         (gst_message_new), (gst_message_new_error),
27831         (gst_message_new_warning), (gst_message_new_tag),
27832         (gst_message_new_state_changed), (gst_message_new_application):
27833         * gst/gstmessage.h:
27834         * gst/gstprobe.c: (gst_probe_perform),
27835         (gst_probe_dispatcher_dispatch):
27836         * gst/gstprobe.h:
27837         * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27838         (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27839         (_gst_query_copy), (gst_query_new):
27840
27841         Update elements for GstData -> GstMiniObject changes
27842         * gst/gstquery.h:
27843         * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27844         (gst_queue_chain), (gst_queue_loop):
27845         * gst/elements/gstbufferstore.c:
27846         (gst_buffer_store_add_buffer_func),
27847         (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27848         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27849         (gst_fakesink_render):
27850         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27851         * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27852         (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27853         (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27854         (gst_filesrc_create_read):
27855         * gst/elements/gstidentity.c: (gst_identity_class_init):
27856         * gst/elements/gsttypefindelement.c:
27857         (gst_type_find_element_src_event), (free_entry_buffers),
27858         (gst_type_find_element_handle_event):
27859         * libs/gst/dataprotocol/dataprotocol.c:
27860         (gst_dp_header_from_buffer):
27861         * libs/gst/dataprotocol/dataprotocol.h:
27862         * libs/gst/dataprotocol/dp-private.h:
27863
27864 2005-05-15  David Schleef  <ds@schleef.org>
27865
27866         * gst/elements/gstelements.c: Don't include headers that were
27867         just removed.
27868
27869 2005-05-15  David Schleef  <ds@schleef.org>
27870
27871         * gst/elements/Makefile.am: Remove some elements that don't
27872         need to be in the core (or even exist at all).
27873         * gst/elements/gstaggregator.c:
27874         * gst/elements/gstaggregator.h:
27875         * gst/elements/gstmd5sink.c:
27876         * gst/elements/gstmd5sink.h:
27877         * gst/elements/gstmultifilesrc.c:
27878         * gst/elements/gstmultifilesrc.h:
27879         * gst/elements/gstpipefilter.c:
27880         * gst/elements/gstpipefilter.h:
27881         * gst/elements/gstshaper.c:
27882         * gst/elements/gstshaper.h:
27883         * gst/elements/gststatistics.c:
27884         * gst/elements/gststatistics.h:
27885         * po/POTFILES.in: Remove above files.
27886
27887 2005-05-14  Andy Wingo  <wingo@pobox.com>
27888
27889         * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
27890         so as to get the refs right.
27891         (sink_iterator_filter): New function, wraps bin_element_is_sink,
27892         unreffing objects that don't pass the filter.
27893
27894         * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
27895         gst_element_set_bus.
27896         (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
27897         normal cases, this will destroy the bus.
27898
27899         * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
27900         object.
27901
27902         * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
27903         has no sinks.
27904
27905 2005-05-13  Andy Wingo  <wingo@pobox.com>
27906
27907         * gst/gstutils.c (gst_element_link_pads): Instead of calling
27908         gst_pad_link, call pad_link_maybe_ghosting,
27909         (pad_link_maybe_ghosting): Links pads, making sure that the
27910         elements being linked are in the same bin.
27911         (find_common_root, object_has_ancestor, ghost_up, remove_pad):
27912         Helpers for pad_link_maybe_ghosting.
27913
27914 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
27915
27916         * configure.ac:
27917           Require GLib >= 2.4.0 (for the g_atomic_* funcs)
27918
27919 2005-05-13  Tim-Philipp Müller  <tim at centricular dot net>
27920
27921         * docs/design/part-element-source.txt:
27922           Mention GstPushSrc
27923
27924 2005-05-12  Wim Taymans  <wim@fluendo.com>
27925
27926         * gst/base/gstbasesink.c: (gst_basesink_init),
27927         (gst_basesink_activate):
27928         * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
27929         (gst_basesrc_is_seekable):
27930         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
27931         (bin_element_is_sink), (gst_bin_change_state):
27932         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27933         * gst/gstelement.h:
27934         Identify sinks by their flag to avoid overly complicated
27935         checks (fow now).
27936         Do state changes even for elements not reachable from the
27937         sinks.
27938         BaseSink is a sink now :)
27939         Some more debugging info in the basesrc.
27940
27941
27942 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27943
27944         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
27945           Implement _query on a bin, similar to _send_event.
27946
27947 2005-05-12  Tim-Philipp Müller  <tim at centricular dot net>
27948
27949         * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
27950           Discont event offset format should be GST_FORMAT_BYTES,
27951           not GST_FORMAT_TIME.
27952
27953 2005-05-12  Wim Taymans  <wim@fluendo.com>
27954
27955         * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
27956         Same fix as Ronald's but without the signal. 
27957
27958 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27959
27960         * gst/gstutils.c: (gst_element_query_position):
27961           No, an element is not a pad.
27962
27963 2005-05-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
27964
27965         * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
27966         (gst_bin_get_state):
27967           If a child is removed from a bin while we remove the child from
27968           the bin and while we're retrieving its state, signal this to the
27969           get_state function so we abort the wait (instead of waiting for
27970           a timeout) and can immediately re-iterate over all other elements.
27971
27972 2005-05-12  Wim Taymans  <wim@fluendo.com>
27973
27974         * gst/base/Makefile.am:
27975         * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
27976         (gst_basesrc_start):
27977         * gst/base/gstbasesrc.h:
27978         * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
27979         (gst_pushsrc_base_init), (gst_pushsrc_class_init),
27980         (gst_pushsrc_init), (gst_pushsrc_create):
27981         * gst/base/gstpushsrc.h:
27982         Added is_seekable to BaseSrc
27983         Added simple PushSrc.
27984
27985 2005-05-11  Wim Taymans  <wim@fluendo.com>
27986
27987         * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27988         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
27989         (gst_element_link_pads), (gst_element_query_position),
27990         (gst_element_query_convert), (intersect_caps_func),
27991         (gst_pad_query_position), (gst_pad_query_convert):
27992         Fix refcounting in utils function.
27993         No point in trying to activate a pad when it's added, it could
27994         be added from the state change function and then we deadlock, the
27995         element has to decide what to do.
27996
27997 2005-05-10  Andy Wingo  <wingo@pobox.com>
27998
27999         * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28000         *all* the arguments.
28001
28002         * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28003         stream lock if it's a FLUSH_DONE; normal flushes don't get the
28004         lock (according to the docs -- if this is wrong change the docs).
28005
28006         * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28007         flush messages in the NULL state.
28008
28009         * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28010         message immediately and return.
28011         (gst_bus_set_flushing): New function. If a bus is flushing, it
28012         flushes out any queued messages and immediately unrefs new
28013         messages. This is so when an element goes to NULL, all of the
28014         unhandled messages coming from it can be freed, and their
28015         references to the element dropped. In other words: message source
28016         ref considered harmful :P
28017
28018         * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28019         we're finished with it.
28020
28021         * gst/gstmessage.c (gst_message_new_state_changed): 
28022
28023 2005-05-10  Wim Taymans  <wim@fluendo.com>
28024
28025         * gst/gstvalue.c: (gst_value_compare_flags),
28026         (gst_value_serialize_flags), (gst_value_deserialize_flags),
28027         (_gst_value_initialize):
28028         Added flags serialize/deserialize/compare code.
28029
28030 2005-05-09  Andy Wingo  <wingo@pobox.com>
28031
28032         * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28033         Intersect the peer's caps with our caps.
28034
28035 2005-05-09  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28036
28037         * gst/base/gsttypefindhelper.c: (helper_find_peek):
28038         * gst/elements/gsttypefindelement.c: (find_peek):
28039           Handle negative offsets better. Fixes decodebin.
28040
28041 2005-05-09  Wim Taymans  <wim@fluendo.com>
28042
28043         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28044         (gst_base_transform_event):
28045         * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28046         Implement accept_caps.
28047         Fix silly lock/unlock mismatch in base class.
28048
28049 2005-05-09  Wim Taymans  <wim@fluendo.com>
28050
28051         * docs/design/draft-push-pull.txt:
28052         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28053         * gst/elements/gstfilesink.c: (gst_filesink_init),
28054         (gst_filesink_query):
28055         * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28056         (gst_type_find_handle_src_query), (find_element_get_length):
28057         * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28058         * gst/gstelement.h:
28059         * gst/gstmessage.c:
28060         * gst/gstmessage.h:
28061         * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28062         (gst_real_pad_get_caps_unlocked),
28063         (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28064         (gst_pad_event_default_dispatch), (gst_pad_event_default),
28065         (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28066         (gst_real_pad_dispose), (gst_real_pad_finalize),
28067         (gst_pad_load_and_link), (gst_pad_save_thyself),
28068         (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28069         (gst_pad_check_pull_range), (gst_pad_pull_range),
28070         (gst_pad_template_get_type), (gst_pad_template_class_init),
28071         (gst_pad_template_init), (gst_pad_template_dispose),
28072         (name_is_valid), (gst_static_pad_template_get),
28073         (gst_pad_template_new), (gst_static_pad_template_get_caps),
28074         (gst_pad_template_get_caps), (gst_pad_set_element_private),
28075         (gst_pad_get_element_private), (gst_pad_start_task),
28076         (gst_pad_pause_task), (gst_pad_stop_task),
28077         (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28078         (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28079         (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28080         (gst_ghost_pad_new):
28081         * gst/gstpad.h:
28082         * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28083         (gst_query_new_position), (gst_query_set_position),
28084         (gst_query_parse_position), (gst_query_new_convert),
28085         (gst_query_set_convert), (gst_query_parse_convert):
28086         * gst/gstquery.h:
28087         * gst/gstqueryutils.c:
28088         * gst/gstqueryutils.h:
28089         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28090         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28091         (gst_queue_handle_src_query):
28092         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28093         (gst_element_query_position), (gst_element_query_convert),
28094         (intersect_caps_func), (gst_pad_query_position),
28095         (gst_pad_query_convert):
28096         * gst/gstutils.h:
28097         * tools/gst-inspect.c: (print_pad_info):
28098         * tools/gst-xmlinspect.c: (print_element_info):
28099         Remove old query functions. Ported old code.
28100         Added position/convert helper functions to gstutils.
28101         Reordered gstpad.c code, grouping relevant things.
28102         Remove gst_message_new(), always need to speficy a specific
28103         message.
28104
28105
28106 2005-05-09  Andy Wingo  <wingo@pobox.com>
28107
28108         * gst/gstiterator.h: Add some includes.
28109
28110         * gst/gstqueryutils.h: Include more headers.
28111
28112         * gst/gstpad.h:
28113         * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28114         some uses of gst_pad_query.
28115
28116         * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28117         NULL out parameters.
28118         (gst_query_new_position): New proc, allocates a new position
28119         query.
28120
28121         * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28122         gstqueryutils.c to the build.
28123
28124         * gst/gststructure.c (gst_structure_set_valist): Implement with
28125         the generic G_VALUE_COLLECT.
28126         
28127 2005-05-08  Edward Hervey  <bilboed@bilboed.com>
28128
28129         * gst/Makefile.am: (gst_headers):
28130         Added gstqueryutils.h to the list of headers to install, that was
28131         a 'nachty' move wingo :)
28132
28133 2005-05-06  Andy Wingo  <wingo@pobox.com>
28134
28135         * gst/gstquery.h
28136         * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28137         GstData, init a memchunk.
28138         (standard_definitions): Add a few query types, deprecate a few.
28139         (gst_query_get_type): New proc.
28140         (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28141         implementation.
28142         (gst_query_new_application, gst_query_get_structure): New public
28143         procs.
28144
28145         * docs/design/draft-query.txt: Removed LINKS from the query types,
28146         because all the rest can be dispatched to other pads -- seemed
28147         ugly to have a query that couldn't be dispatched. internal_links
28148         is fine as a pad method.
28149
28150         * gst/gstpad.h: Add query2 as a pad method, add the new functions
28151         in gstpad.c, but maintain binary compatibility for the moment.
28152         Will fix before 0.9 is out.
28153
28154         * gst/gstqueryutils.c: 
28155         * gst/gstqueryutils.h: New files, implement 3 methods for each
28156         query type: parse_query, parse_response, and set. Probably need an
28157         allocator as well.
28158
28159         * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28160
28161         * gst/elements/gstfilesink.c (gst_filesink_query2):
28162         * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28163         query_types, and formats methods.
28164
28165         * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28166         (gst_pad_set_query2_function): New functions.
28167         (gst_real_pad_init): Set query2_default as the default query2
28168         function. Basically just dispatches to internally linked pads.
28169
28170         Needs review!
28171         
28172         * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28173         without using the atomic operations. Only one thread can possibly
28174         be accessing the data at this point. Changed so as to avoid
28175         gst_atomic operations.
28176
28177 2005-05-06  Wim Taymans  <wim@fluendo.com>
28178
28179         * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28180         Also set caps if we use the fallback buffer alloc.
28181
28182 2005-05-06  Tim-Philipp Müller  <tim at centricular dot net>
28183
28184         * docs/gst/Makefile.am:
28185         * docs/gst/gstreamer-docs.sgml:
28186         * docs/gst/gstreamer-sections.txt:
28187         * docs/gst/tmpl/gstatomic.sgml:
28188         * docs/gst/tmpl/gstmemchunk.sgml:
28189         * testsuite/elements/struct_i386.h:
28190         * win32/GStreamer.vcproj:
28191         * win32/Makefile:
28192           Purge GstAtomic stuff from docs and win32 makefiles as well
28193
28194 2005-05-06  Wim Taymans  <wim@fluendo.com>
28195
28196         * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28197         * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28198         * gst/gstpad.c: (gst_pad_peer_get_caps):
28199         * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28200         (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28201         (gst_queue_src_activate), (gst_queue_change_state):
28202         * gst/gstqueue.h:
28203         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28204         (intersect_caps_func):
28205         Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28206         Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28207         Some fixes for the peer_get_caps() change.
28208
28209 2005-05-06  Wim Taymans  <wim@fluendo.com>
28210
28211         * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28212         (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28213         (gst_basesink_activate):
28214         Actually do something with error codes returned from the push
28215         functions.
28216
28217 2005-05-06  Wim Taymans  <wim@fluendo.com>
28218
28219         * docs/design/part-element-sink.txt:
28220         * docs/design/part-element-source.txt:
28221         * gst/base/gstbasesink.c: (gst_basesink_class_init),
28222         (gst_basesink_event), (gst_basesink_activate):
28223         * gst/base/gstbasesink.h:
28224         * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28225         (gst_basesrc_activate):
28226         * gst/base/gstbasesrc.h:
28227         * gst/gstelement.c: (gst_element_pads_activate):
28228         Some more documentation.
28229         Fixed scheduling decision in _pads_activate().
28230
28231 2005-05-05  Andy Wingo  <wingo@pobox.com>
28232
28233         * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28234         the test suite.
28235
28236 2005-05-05  Wim Taymans  <wim@fluendo.com>
28237
28238         * gst/base/Makefile.am:
28239         * gst/base/gstbasesink.h:
28240         * gst/base/gstbasesrc.c: (gst_basesrc_init),
28241         (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28242         * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28243         (gst_collectpads_class_init), (gst_collectpads_init),
28244         (gst_collectpads_finalize), (gst_collectpads_new),
28245         (gst_collectpads_set_function), (gst_collectpads_add_pad),
28246         (find_pad), (gst_collectpads_remove_pad),
28247         (gst_collectpads_is_active), (gst_collectpads_collect),
28248         (gst_collectpads_collect_range), (gst_collectpads_start),
28249         (gst_collectpads_stop), (gst_collectpads_peek),
28250         (gst_collectpads_pop), (gst_collectpads_available),
28251         (gst_collectpads_read), (gst_collectpads_flush),
28252         (gst_collectpads_chain):
28253         * gst/base/gstcollectpads.h:
28254         * gst/elements/Makefile.am:
28255         * gst/elements/gstelements.c:
28256         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28257         (gst_fakesink_get_times), (gst_fakesink_event),
28258         (gst_fakesink_preroll), (gst_fakesink_render):
28259         * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28260         (gst_filesink_init), (gst_filesink_set_location),
28261         (gst_filesink_open_file), (gst_filesink_close_file),
28262         (gst_filesink_pad_query), (gst_filesink_event),
28263         (gst_filesink_render), (gst_filesink_change_state):
28264         * gst/elements/gstfilesink.h:
28265         Added object to help in making collect pad based elements.
28266         Ported filesink.
28267         Make event function in sink baseclass return gboolean.
28268
28269 2005-05-05  Wim Taymans  <wim@fluendo.com>
28270
28271         * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28272         (gst_bin_get_by_name):
28273         * gst/gstbuffer.h:
28274         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28275         (gst_clock_finalize):
28276         * gst/gstdata.c: (gst_data_replace):
28277         * gst/gstdata.h:
28278         * gst/gstelement.c: (gst_element_request_pad),
28279         (gst_element_pads_activate):
28280         * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28281         (gst_object_unref):
28282         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28283         (gst_pad_set_checkgetrange_function),
28284         (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28285         (gst_pad_check_pull_range), (gst_pad_pull_range),
28286         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28287         (gst_pad_pause_task), (gst_pad_stop_task):
28288         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28289         (gst_element_request_pad), (gst_pad_proxy_getcaps):
28290         Fix name lookup in GstBin.
28291         Added _data_replace() function and _buffer_replace()
28292         Use finalize method to clean up clock.
28293         Fix refcounting on request pads.
28294         Fix pad schedule mode error.
28295         Some more object refcounting debug info,
28296
28297
28298 2005-05-04  Andy Wingo <wingo@pobox.com>
28299
28300         * check/Makefile.am:
28301         * docs/gst/tmpl/gstatomic.sgml:
28302         * docs/gst/tmpl/gstplugin.sgml:
28303         * gst/base/gstbasesink.c: (gst_basesink_activate):
28304         * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28305         (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28306         (gst_basesrc_query), (gst_basesrc_set_property),
28307         (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28308         (gst_basesrc_activate):
28309         * gst/base/gstbasesrc.h:
28310         * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28311         (gst_base_transform_src_activate):
28312         * gst/elements/gstelements.c:
28313         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28314         (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28315         * gst/elements/gsttee.c: (gst_tee_sink_activate):
28316         * gst/elements/gsttypefindelement.c: (find_element_get_length),
28317         (gst_type_find_element_checkgetrange),
28318         (gst_type_find_element_activate):
28319         * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28320         * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28321         (gst_caps_load_thyself):
28322         * gst/gstelement.c: (gst_element_pads_activate),
28323         (gst_element_save_thyself), (gst_element_restore_thyself):
28324         * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28325         (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28326         * gst/gstpad.h:
28327         * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28328         (gst_xml_parse_file), (gst_xml_parse_memory),
28329         (gst_xml_get_element), (gst_xml_make_element):
28330         * gst/indexers/gstfileindex.c: (gst_file_index_load),
28331         (_file_index_id_save_xml), (gst_file_index_commit):
28332         * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28333         (read_enum), (load_pad_template), (load_feature), (load_plugin),
28334         (load_paths):
28335         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28336         (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28337         * tools/gst-complete.c: (main):
28338         * tools/gst-compprep.c: (main):
28339         * tools/gst-inspect.c: (print_element_properties_info):
28340         * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28341         * tools/gst-xmlinspect.c: (print_element_properties):
28342         GCC 4 fixen.
28343         
28344 2005-05-03  Thomas Vander Stichele  <thomas at apestaart dot org>
28345
28346         * gst/gstplugin.c: (gst_plugin_check_module),
28347         (gst_plugin_check_file), (gst_plugin_load_file):
28348             apply patch from #172526 to make register work on MacOSX
28349
28350 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28351
28352         * docs/gst/tmpl/gstconfig.sgml:
28353         * gst/gstconfig.h.in:
28354           move documentation for some symbols.  Add doc for GST_PTR_FORMAT
28355         * testsuite/debug/printf_extension.c: (main):
28356           Do not use GST_PTR_FORMAT on pointers to types with
28357           sizeof < sizeof(gpointer).  Fixes test on 64-bit
28358         * testsuite/elements/property.h:
28359           use correct printf format
28360
28361 2005-05-02  Wim Taymans  <wim@fluendo.com>
28362
28363         * docs/design/draft-push-pull.txt:
28364         * docs/design/draft-query.txt:
28365         * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28366         (gst_basesrc_start):
28367         Added draft for new query API.
28368         Added draft for better selecting scheduling methods.
28369         Make basesrc ignore length if the subclass does not support
28370         it.
28371
28372 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28373
28374         * gst/Makefile.am:
28375           possible fixes for automake-1.5 - _LIBADD is reserved
28376
28377 2005-05-02  Thomas Vander Stichele  <thomas at apestaart dot org>
28378
28379         * docs/faq/Makefile.am:
28380         * docs/manual/Makefile.am:
28381         * docs/manuals.mak:
28382         * docs/pwg/Makefile.am:
28383         * gst/Makefile.am:
28384           possible fixes for automake-1.5
28385
28386 2005-04-28  Wim Taymans  <wim@fluendo.com>
28387
28388         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28389         (gst_basesink_pad_getcaps), (gst_basesink_init),
28390         (gst_basesink_do_sync):
28391         * gst/gstclock.c: (gst_clock_entry_new):
28392         * gst/gstevent.c: (gst_event_discont_get_value):
28393         * gst/gstpipeline.c: (pipeline_bus_handler),
28394         (gst_pipeline_change_state):
28395         * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28396         Better debugging of clocking info.
28397         Allow NULL values when getting discont values.
28398
28399 2005-04-27  Wim Taymans  <wim@fluendo.com>
28400
28401         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28402         * check/gst/gstpad.c: (gst_pad_suite):
28403         Increase timeout for checks.
28404
28405 2005-04-27  Thomas Vander Stichele  <thomas (at) apestaart (dot) org>
28406
28407         * check/Makefile.am:
28408           fix the broken rule for cleanup.  Apparently this rule is
28409           only needed on FC2, so maybe this warrants further autotool
28410           inspection.
28411
28412 2005-04-26  Wim Taymans  <wim@fluendo.com>
28413
28414         * gst/gsttrashstack.h:
28415         Ooohh. a nasty one! After having a failed pop() from the stack,
28416         it's possible that the stack is empty. In that case, don't
28417         follow the NULL pointer.
28418
28419 2005-04-25  Wim Taymans  <wim@fluendo.com>
28420
28421         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28422         (gst_pad_set_checkgetrange_function),
28423         (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28424         (gst_pad_check_pull_range), (gst_pad_pull_range),
28425         (gst_static_pad_template_get_caps), (gst_pad_start_task),
28426         (gst_pad_pause_task), (gst_pad_stop_task):
28427         * gst/gstplugin.c: (gst_plugin_load):
28428         * gst/gstplugin.h:
28429         Remove gst_library_load as it does more harm than good with
28430         the new g_module flags.
28431         Revert bogus caps template check in pad linking, pad caps
28432         are important when linking not the template, which is more
28433         general than the current caps.
28434
28435 2005-04-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28436
28437         * gst/autoplug/.cvsignore:
28438         * gst/autoplug/Makefile.am:
28439         * gst/autoplug/gstsearchfuncs.c:
28440         * gst/autoplug/gstsearchfuncs.h:
28441         * gst/autoplug/gstspider.c:
28442         * gst/autoplug/gstspider.h:
28443         * gst/autoplug/gstspideridentity.c:
28444         * gst/autoplug/gstspideridentity.h:
28445         * gst/autoplug/spidertest.c:
28446           Die, spider, die.
28447
28448 2005-04-25  Wim Taymans  <wim@fluendo.com>
28449
28450         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28451         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28452         (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28453         (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28454         * gst/gstpad.h:
28455         Added stubs for unimplemented functions. 
28456
28457 2005-04-24  David Schleef  <ds@schleef.org>
28458
28459         * gst/gstpad.h: Disable some unimplemented functions.  Wim,
28460         please fix.
28461
28462 2005-04-24  David Schleef  <ds@schleef.org>
28463
28464         Convert everything from GstAtomicInt to g_atomic_int_*, and
28465         remove gstatomic.
28466         * gst/Makefile.am:
28467         * gst/gstatomic.c:
28468         * gst/gstatomic.h:
28469         * gst/gstatomic_impl.h:
28470         * gst/gstbuffer.c:
28471         * gst/gstcaps.c:
28472         * gst/gstcaps.h:
28473         * gst/gstclock.c:
28474         * gst/gstclock.h:
28475         * gst/gstdata.c:
28476         * gst/gstdata.h:
28477         * gst/gstdata_private.h:
28478         * gst/gstevent.c:
28479         * gst/gstinfo.c:
28480         * gst/gstinfo.h:
28481         * gst/gstmessage.c:
28482         * gst/gstobject.c:
28483         * gst/gstobject.h:
28484         * gst/gststructure.c:
28485         * gst/gststructure.h:
28486         * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28487         * gst/gstutils.h:
28488
28489 2005-04-24  David Schleef  <ds@schleef.org>
28490
28491         * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28492         make the regressions tests work.  Remove some code that is no
28493         longer true.
28494         * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28495         Disable warning for pads without templates.
28496
28497 2005-04-24  David Schleef  <ds@schleef.org>
28498
28499         * gst/gstpad.c: Remove handling of filtered caps.  Fix/merge
28500         functions that handle filtered links.
28501         * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28502         removed functions.
28503         * gst/gstutils.c: Fix/remove utility functions that handle
28504         filtered caps.
28505         * gst/gstutils.h:
28506         * gst/gstvalue.c: Add serialization/deserialization of caps
28507         * gst/parse/grammar.y: Ignore filtered caps when linking.  This
28508         requires fixing so that the filter caps notation creates
28509         a capsfilter element and sets the filter_caps property.  I
28510         think everyone probably wants to keep the shorthand notation.
28511         * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28512         * docs/gst/tmpl/gstpad.sgml:
28513
28514         * gst/elements/gstelements.c: Register capsfilter element.
28515         * gst/Makefile.am: fix spacing
28516         * docs/random/ds/0.9-suggested-changes: random
28517
28518 2005-04-23  David Schleef  <ds@schleef.org>
28519
28520         * gst/elements/Makefile.am:
28521         * gst/elements/gstcapsfilter.c: New element that acts like an
28522         identity, but filters caps.  Will eventually replace filtered
28523         caps in pad linking.
28524         * gst/gstutils.c: (gst_element_create_all_pads): New function
28525         to create all the ALWAYS pads that are registered with an
28526         element class.  This functionality should eventually be
28527         merged in with GstElement initialization.
28528         * gst/gstutils.h:
28529         * testsuite/trigger/README: part of trigger test code that should
28530         have been checked in a long time ago.
28531
28532 2005-04-23  David Schleef  <ds@schleef.org>
28533
28534         * gst/Makefile.am: Remove as-libtool stuff.  It's likely not
28535         needed with new versions of libtool (nobody will confirm this),
28536         and hard to carry around.
28537         * gst/autoplug/Makefile.am:
28538         * gst/base/Makefile.am:
28539         * gst/elements/Makefile.am:
28540         * gst/indexers/Makefile.am:
28541         * gst/schedulers/Makefile.am:
28542         * libs/gst/bytestream/Makefile.am:
28543         * libs/gst/control/Makefile.am:
28544         * libs/gst/dataprotocol/Makefile.am:
28545         * libs/gst/getbits/Makefile.am:
28546
28547 2005-04-21  Wim Taymans  <wim@fluendo.com>
28548
28549         * docs/design/draft-push-pull.txt:
28550         * docs/design/part-MT-refcounting.txt:
28551         * docs/design/part-TODO.txt:
28552         * docs/design/part-caps.txt:
28553         * docs/design/part-events.txt:
28554         * docs/design/part-gstbus.txt:
28555         * docs/design/part-gstpipeline.txt:
28556         * docs/design/part-messages.txt:
28557         * docs/design/part-push-pull.txt:
28558         * docs/design/part-query.txt:
28559         Some more docs.
28560
28561 2005-04-21  Wim Taymans  <wim@fluendo.com>
28562
28563         * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28564         (gst_message_new), (gst_message_new_error),
28565         (gst_message_new_warning), (gst_message_new_tag),
28566         (gst_message_new_state_changed), (gst_message_new_application),
28567         (gst_message_get_structure):
28568         * gst/gstmessage.h:
28569         * gst/gststructure.c: (gst_structure_set_parent_refcount),
28570         (gst_structure_copy_conditional):
28571         Use parent refcount in GstMessage to ensure GstStructure
28572         consistency.
28573         Cleaned up headers a bit.
28574         
28575
28576 2005-04-20  Wim Taymans  <wim@fluendo.com>
28577
28578         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28579         (gst_basesink_pad_getcaps), (gst_basesink_init),
28580         (gst_basesink_chain_unlocked):
28581         * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28582         (gst_type_find_helper):
28583         * gst/elements/gsttypefindelement.c:
28584         (gst_type_find_element_have_type), (gst_type_find_element_init),
28585         (stop_typefinding), (gst_type_find_element_handle_event),
28586         (find_suggest), (gst_type_find_element_chain),
28587         (gst_type_find_element_checkgetrange),
28588         (gst_type_find_element_getrange), (do_typefind),
28589         (gst_type_find_element_activate):
28590         * gst/gstbuffer.c: (_gst_buffer_sub_free),
28591         (gst_buffer_default_free), (gst_buffer_default_copy),
28592         (gst_buffer_set_caps):
28593         * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28594         (gst_caps_replace):
28595         * gst/gstmessage.c: (gst_message_new),
28596         (gst_message_new_state_changed):
28597         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28598         (gst_pad_set_checkgetrange_function),
28599         (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28600         (gst_pad_set_caps), (gst_pad_check_pull_range),
28601         (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28602         * gst/gstpad.h:
28603         * gst/gsttypefind.c: (gst_type_find_register):
28604         Make gst_caps_replace() work like other _replace() functions.
28605         Use _caps_replace() where possible.
28606         Make sure _message_new() initialises its field.
28607         Add gst_static_pad_template_get_caps()
28608
28609
28610 2005-04-18  Andy Wingo  <wingo@pobox.com>
28611
28612         * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28613         on the peer, not the pad. I think that was a typo. Pass an extra
28614         arg to see if random access is possible. Activate the pads as
28615         PULL_RANGE if possible.
28616
28617         * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28618
28619         * gst/base/gstbasesrc.c (gst_basesrc_set_property) 
28620         (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28621         to PROP_....
28622
28623 2005-04-14  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28624
28625         * docs/faq/using.xml:
28626           Add note on gstreamer-properties (#154996).
28627
28628 2005-04-13  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28629
28630         * docs/random/bbb/optional-properties:
28631           Some analysis on optional properties.
28632
28633 2005-04-12  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28634
28635         * docs/gst/tmpl/gstelementfactory.sgml:
28636         * gst/gstelement.h:
28637         * gst/gstelementfactory.c: (gst_element_factory_init),
28638         (gst_element_factory_cleanup), (gst_element_register),
28639         (__gst_element_factory_add_static_pad_template),
28640         (gst_element_factory_get_static_pad_templates),
28641         (gst_element_factory_can_src_caps),
28642         (gst_element_factory_can_sink_caps):
28643         * gst/registries/Makefile.am:
28644         * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28645         (gst_xml_registry_class_init), (gst_xml_registry_init),
28646         (gst_xml_registry_new), (gst_xml_registry_set_property),
28647         (gst_xml_registry_get_property), (get_time), (make_dir),
28648         (gst_xml_registry_get_perms_func),
28649         (plugin_times_older_than_recurse), (plugin_times_older_than),
28650         (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28651         (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28652         (add_to_char_array), (read_string), (read_uint), (read_enum),
28653         (load_pad_template), (load_feature), (load_plugin), (load_paths),
28654         (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28655         (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28656         (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28657         (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28658         (gst_xml_registry_rebuild):
28659         * gst/registries/gstlibxmlregistry.h:
28660         * tools/gst-compprep.c: (main):
28661         * tools/gst-inspect.c: (print_pad_templates_info):
28662         * tools/gst-xmlinspect.c: (print_element_info):
28663           Use libxml2 for registry parsing, use staticpadtemplates in
28664           elementfactories. Makes gst_init() +/- 10x faster.
28665
28666 2005-04-12  Wim Taymans  <wim@fluendo.com>
28667
28668         * gst/base/Makefile.am:
28669         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28670         (gst_basesink_pad_getcaps), (gst_basesink_init),
28671         (gst_basesink_event), (gst_basesink_change_state):
28672         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28673         (gst_basesrc_init), (gst_basesrc_query),
28674         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28675         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28676         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28677         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28678         (gst_basesrc_stop), (gst_basesrc_activate),
28679         (gst_basesrc_change_state):
28680         * gst/base/gsttypefindhelper.c: (helper_find_peek),
28681         (helper_find_suggest), (gst_type_find_helper):
28682         * gst/base/gsttypefindhelper.h:
28683         * gst/elements/Makefile.am:
28684         * gst/elements/gstelements.c:
28685         * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28686         (gst_fakesink_get_times), (gst_fakesink_event),
28687         (gst_fakesink_preroll), (gst_fakesink_render):
28688         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28689         (gst_fakesrc_init), (gst_fakesrc_event_handler),
28690         (gst_fakesrc_get_property), (gst_fakesrc_create),
28691         (gst_fakesrc_start), (gst_fakesrc_stop):
28692         * gst/elements/gstfakesrc.h:
28693         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28694         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28695         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28696         (gst_filesrc_create_read), (gst_filesrc_create),
28697         (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28698         (gst_filesrc_start):
28699         * gst/elements/gsttypefindelement.c:
28700         (gst_type_find_element_have_type), (gst_type_find_element_init),
28701         (start_typefinding), (stop_typefinding), (push_buffer_store),
28702         (gst_type_find_element_handle_event),
28703         (gst_type_find_element_chain),
28704         (gst_type_find_element_checkgetrange),
28705         (gst_type_find_element_getrange), (do_typefind),
28706         (gst_type_find_element_activate),
28707         (gst_type_find_element_change_state):
28708         * gst/elements/gsttypefindelement.h:
28709         * gst/gstpipeline.c: (pipeline_bus_handler):
28710         Added typefind helper.
28711         Small preroll fix in the base sink.
28712         Disable typefind code in basesrc.
28713         Crude port of typefindelement.
28714         Fakesrc cleanups.
28715
28716
28717 2005-04-11  Wim Taymans  <wim@fluendo.com>
28718
28719         * check/gst/gstbus.c: (gstbus_suite):
28720         * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28721         * check/gstcheck.h:
28722           Fix up the timeout so that the test does not fail.
28723
28724 2005-04-06  Wim Taymans  <wim@fluendo.com>
28725
28726         * gst/base/README:
28727         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28728         (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28729         (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28730         (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28731         (gst_basesrc_check_get_range), (gst_basesrc_loop),
28732         (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28733         (gst_basesrc_stop), (gst_basesrc_activate),
28734         (gst_basesrc_change_state), (basesrc_find_peek),
28735         (basesrc_find_suggest), (gst_basesrc_type_find):
28736         * gst/base/gstbasesrc.h:
28737         * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28738         (gst_filesrc_class_init), (gst_filesrc_init),
28739         (gst_filesrc_finalize), (gst_filesrc_set_location),
28740         (gst_filesrc_set_property), (gst_filesrc_get_property),
28741         (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28742         (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28743         (gst_filesrc_create_read), (gst_filesrc_create),
28744         (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28745         * gst/elements/gstfilesrc.h:
28746         * gst/gstelement.c: (gst_element_get_state_func),
28747         (gst_element_lost_state), (gst_element_pads_activate):
28748         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28749         (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28750         (gst_pad_pull_range):
28751         * gst/gstpad.h:
28752         More work on the generic source base class, implement seeking,
28753         query.
28754         Make filesrc extend the base source class.
28755         Added gst_pad_set_checkgetrange_function to GstPad.
28756
28757 2005-04-06  Andy Wingo  <wingo@pobox.com>
28758
28759         * pkgconfig/gstreamer-base.pc.in:
28760         * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28761
28762         * pkgconfig/Makefile.am:
28763         * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28764
28765 2005-04-04  Wim Taymans  <wim@fluendo.com>
28766
28767         * gst/base/Makefile.am:
28768         * gst/base/README:
28769         * gst/base/gstbasesink.c: (gst_basesink_base_init),
28770         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28771         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28772         (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28773         * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28774         (gst_basesrc_base_init), (gst_basesrc_class_init),
28775         (gst_basesrc_init), (gst_basesrc_get_formats),
28776         (gst_basesrc_get_query_types), (gst_basesrc_query),
28777         (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28778         (gst_basesrc_set_property), (gst_basesrc_get_property),
28779         (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28780         (gst_basesrc_loop), (gst_basesrc_activate),
28781         (gst_basesrc_change_state):
28782         * gst/base/gstbasesrc.h:
28783         * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28784         (gst_fakesrc_class_init), (gst_fakesrc_init),
28785         (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28786         (gst_fakesrc_get_property), (gst_fakesrc_create):
28787         * gst/elements/gstfakesrc.h:
28788         * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28789         (gst_filesrc_open_file), (gst_filesrc_loop),
28790         (gst_filesrc_activate), (filesrc_find_peek),
28791         (gst_filesrc_type_find):
28792         Made base source class, make fakesrc extend it.
28793         Add comments to basesink class.
28794         Some filesrc cleanup.
28795
28796 2005-03-31  David Schleef  <ds@schleef.org>
28797
28798         * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28799         Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28800         expected to link against libgstreamer.
28801         * gst/base/Makefile.am: link against libgstreamer
28802         * gst/elements/Makefile.am: same
28803
28804 2005-03-31  Andy Wingo  <wingo@pobox.com>
28805
28806         * tests/instantiate/Makefile.am:
28807         * tests/instantiate/caps.c: Add test to test speed of caps copy
28808         and free.
28809
28810         * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28811         GMemChunk to be fair.
28812
28813         * gst/gsttrashstack.h: Remove warning about using the fallback
28814         trash stack implementation, it's still faster than malloc.
28815
28816 2005-03-30  Andy Wingo  <wingo@pobox.com>
28817
28818         * tests/complexity.c: Add a copyright.
28819
28820 2005-03-31  Wim Taymans  <wim@fluendo.com>
28821
28822         * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28823         (gst_base_transform_class_init), (gst_base_transform_init),
28824         (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28825         (gst_base_transform_get_property),
28826         (gst_base_transform_sink_activate),
28827         (gst_base_transform_src_activate),
28828         (gst_base_transform_change_state):
28829         * gst/base/gstbasetransform.h:
28830         * gst/elements/gstidentity.c: (gst_identity_class_init),
28831         (gst_identity_event), (gst_identity_check_perfect),
28832         (gst_identity_transform), (gst_identity_start),
28833         (gst_identity_stop):
28834         Added start/stop methods to transform base class so subclasses 
28835         don't need to deal with state changes even.
28836
28837 2005-03-31  Wim Taymans  <wim@fluendo.com>
28838
28839         * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28840         (gst_event_new_discontinuous), (gst_event_discont_get_value):
28841         * gst/gstevent.h:
28842         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28843         (gst_pad_pull_range):
28844         Added rate to the discont event to prepare for variable speed
28845         and reverse playback.
28846
28847 2005-03-29  David Schleef  <ds@schleef.org>
28848
28849         * configure.ac:
28850         * testsuite/trigger/Makefile.am:
28851         * testsuite/trigger/trigger.c: A little example program to show
28852         how trigger-based elements can work.
28853
28854 2005-03-29  Wim Taymans  <wim@fluendo.com>
28855
28856         * gst/base/Makefile.am:
28857         * gst/base/README:
28858         * gst/base/gstbasesink.c: (gst_basesink_get_type),
28859         (gst_basesink_base_init), (gst_basesink_class_init),
28860         (gst_basesink_pad_getcaps), (gst_basesink_init),
28861         (gst_basesink_activate), (gst_basesink_change_state):
28862         * gst/base/gstbasesink.h:
28863         * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
28864         (gst_base_transform_base_init), (gst_base_transform_finalize),
28865         (gst_base_transform_class_init), (gst_base_transform_init),
28866         (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
28867         (gst_base_transform_event), (gst_base_transform_getrange),
28868         (gst_base_transform_chain), (gst_base_transform_handle_buffer),
28869         (gst_base_transform_set_property),
28870         (gst_base_transform_get_property),
28871         (gst_base_transform_sink_activate),
28872         (gst_base_transform_src_activate),
28873         (gst_base_transform_change_state):
28874         * gst/base/gstbasetransform.h:
28875         * gst/elements/gstidentity.c: (gst_identity_finalize),
28876         (gst_identity_class_init), (gst_identity_init),
28877         (gst_identity_event), (gst_identity_check_perfect),
28878         (gst_identity_transform), (gst_identity_set_property),
28879         (gst_identity_get_property), (gst_identity_change_state):
28880         * gst/elements/gstidentity.h:
28881         * gst/gstelement.c: (gst_element_get_state_func),
28882         (gst_element_lost_state), (gst_element_pads_activate):
28883         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28884         (gst_pad_check_pull_range), (gst_pad_pull_range):
28885         * gst/gstpad.h:
28886         Simplify pad activation.
28887         Added function to check if pull_range can be performed.
28888         Error out when pulling inactive or flushing pads.
28889         Removed const from refcounted types as it does not make sense.
28890         Simplify pad templates in basesink
28891         Added base class for simple 1-to-1 transforms.
28892         Make identity subclass the base transform.
28893
28894 2005-03-29  Andy Wingo  <wingo@pobox.com>
28895
28896         * docs/libs/gstreamer-libs-overrides.txt: 
28897         * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
28898         really don't understand what's going on, but like whatever. I want
28899         green buildbot!
28900
28901         * docs/gst/Makefile.am:
28902         * docs/libs/Makefile.am: Dist the overrides files.
28903
28904         * check/Makefile.am (clean-local): Remove .libs directories.
28905
28906         * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
28907         elements to EXTRA_DIST, so po/ files are happy.
28908
28909         * po/POTFILES.in: Er, remove it here.
28910
28911         * po/POTFILES: Remove gstspider.c.
28912
28913         * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
28914
28915         * docs/libs/gstreamer-libs-docs.sgml: 
28916         * docs/libs/gstreamer-libs-sections.txt: Remove the section on
28917         bytestream.
28918
28919         * tests/complexity.c (main): Set the length of the preroll queue
28920         on the sinks to prevent a lockup.
28921
28922         * libs/gst/dataprotocol/Makefile.am: 
28923         * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
28924         the same as the one in check/gst-libs/gdp.c.
28925
28926         * po/, docs/gst/: Commit automatic changes to docs and po files.
28927
28928         * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
28929         the versioned libgstbase.
28930
28931         * check/Makefile.am: Depend on an unversioned gst-register, seems
28932         to make autoconf happier.
28933
28934         * gst/base/Makefile.am: Make libgstbase a versioned lib.
28935
28936 2005-03-28  Wim Taymans  <wim@fluendo.com>
28937
28938         * configure.ac:
28939         * docs/design/part-gstelement.txt:
28940         * docs/design/part-negotiation.txt:
28941         * docs/design/part-preroll.txt:
28942         * docs/design/part-scheduling.txt:
28943         * docs/design/part-states.txt:
28944         * gst/Makefile.am:
28945         * gst/base/Makefile.am:
28946         * gst/base/README:
28947         * gst/base/gstbasesink.c: (gst_basesink_get_template),
28948         (gst_basesink_base_init), (gst_basesink_class_init),
28949         (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28950         (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28951         (gst_basesink_set_pad_functions),
28952         (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
28953         (gst_basesink_set_property), (gst_basesink_get_property),
28954         (gst_base_sink_get_template), (gst_base_sink_get_caps),
28955         (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
28956         (gst_basesink_preroll_queue_push),
28957         (gst_basesink_preroll_queue_empty),
28958         (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
28959         (gst_basesink_event), (gst_basesink_get_times),
28960         (gst_basesink_do_sync), (gst_basesink_handle_buffer),
28961         (gst_basesink_chain_unlocked), (gst_basesink_chain),
28962         (gst_basesink_loop), (gst_basesink_activate),
28963         (gst_basesink_change_state):
28964         * gst/base/gstbasesink.h:
28965         * gst/elements/Makefile.am:
28966         * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
28967         (gst_fakesink_class_init), (gst_fakesink_init),
28968         (gst_fakesink_set_property), (gst_fakesink_get_property),
28969         (gst_fakesink_get_times), (gst_fakesink_event),
28970         (gst_fakesink_preroll), (gst_fakesink_render),
28971         (gst_fakesink_change_state):
28972         * gst/elements/gstfakesink.h:
28973         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
28974         (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
28975         * gst/gstelement.c: (gst_element_add_pad),
28976         (gst_element_get_state_func), (gst_element_abort_state),
28977         (gst_element_commit_state), (gst_element_lost_state),
28978         (gst_element_set_state), (gst_element_pads_activate):
28979         * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
28980         * gst/gstpipeline.c: (gst_pipeline_send_event),
28981         (gst_pipeline_change_state):
28982         Added state change code.
28983         Added/updated docs.
28984         Added sink base class, make fakesink extend the base class.
28985         Small cleanups in GstPipeline.
28986
28987 2005-03-26  David Schleef  <ds@schleef.org>
28988
28989         * gst/Makefile.am: remove gstcpu.[ch].  The gst_cpu functionality
28990         is broken and should be implemented in a different library.
28991         * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
28992         * gst/gst.h: remove gstcpu.h
28993         * gst/gstcpu.c: remove
28994         * gst/gstcpu.h: remove
28995         * gst/Makefile.am.future: Remove this file.  It's ancient.
28996
28997 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
28998
28999         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29000         (gst_bin_send_event):
29001           Add default event/set_manager handlers. The set_manager handler
29002           takes care that the manager is distributed over kids that were
29003           already in the bin before the manager was set. The event handler
29004           is a utility virtual function that sends the event over all sinks,
29005           so that gst_element_send_event (bin, event); has the expected
29006           behaviour.
29007         * gst/gstpad.c: (gst_pad_event_default):
29008           Re-install default event handling for discontinuities, so that
29009           seeking works without requiring hacks in applications or extra
29010           code in sinks.
29011         * gst/gstpipeline.c: (gst_pipeline_class_init),
29012         (gst_pipeline_send_event):
29013           Half hack, half utility: set a pipeline to PAUSED for seek events,
29014           since that is the only way we can guarantee a/v sync. Means that
29015           you can do gst_element_seek (pipeline, method, pos); on a pipeline
29016           and it "just works".
29017
29018 2005-03-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
29019
29020         * gst/gstpipeline.c: (gst_pipeline_use_clock):
29021           Lock/unlock mismatch.
29022
29023 2005-03-25  Thomas Vander Stichele  <thomas at apestaart dot org>
29024
29025         * docs/faq/gst-uninstalled:
29026           add gst-plugins-base
29027         * docs/gst/Makefile.am:
29028           don't error out until docs are fixed
29029         * docs/gst/gstreamer.types:
29030           remove thread
29031
29032 2005-03-22  Wim Taymans  <wim@fluendo.com>
29033
29034         * check/Makefile.am:
29035         * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29036         * gst/gststructure.c: (gst_structure_set_valist),
29037         (gst_structure_copy_conditional):
29038         Activated more tests.
29039         Added message test.
29040         Added G_TYPE_POINTER to GstStructure.
29041         
29042
29043 2005-03-22  Wim Taymans  <wim@fluendo.com>
29044
29045         * docs/design/part-TODO.txt:
29046         * docs/design/part-events.txt:
29047         * docs/design/part-gstbin.txt:
29048         * docs/design/part-gstbus.txt:
29049         * docs/design/part-gstpipeline.txt:
29050         * docs/design/part-messages.txt:
29051         * gst/gstbus.c:
29052         * gst/gstmessage.c:
29053         Docs updates
29054
29055 2005-03-21  Wim Taymans  <wim@fluendo.com>
29056
29057         * gst/gstbus.c: (gst_bus_post):
29058         Fix copy-and-paste error.
29059
29060 2005-03-21  Wim Taymans  <wim@fluendo.com>
29061
29062         * check/Makefile.am:
29063         * gst/Makefile.am:
29064         * gst/elements/Makefile.am:
29065         * gst/elements/gstelements.c:
29066         * gst/elements/gstfakesink.c: (gst_fakesink_init),
29067         (gst_fakesink_event), (gst_fakesink_chain):
29068         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29069         (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29070         (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29071         (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29072         (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29073         (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29074         (gst_fakesrc_loop), (gst_fakesrc_activate),
29075         (gst_fakesrc_change_state):
29076         * gst/elements/gstfakesrc.h:
29077         * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29078         (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29079         (gst_filesrc_open_file), (gst_filesrc_loop),
29080         (gst_filesrc_activate), (gst_filesrc_change_state),
29081         (filesrc_find_peek), (filesrc_find_suggest),
29082         (gst_filesrc_type_find):
29083         * gst/elements/gstidentity.c: (gst_identity_finalize),
29084         (gst_identity_class_init), (gst_identity_init),
29085         (gst_identity_proxy_getcaps), (identity_queue_push),
29086         (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29087         (gst_identity_getrange), (gst_identity_chain),
29088         (gst_identity_sink_loop), (gst_identity_src_loop),
29089         (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29090         (gst_identity_set_property), (gst_identity_get_property),
29091         (gst_identity_change_state):
29092         * gst/elements/gstidentity.h:
29093         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29094         (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29095         (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29096         (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29097         (gst_tee_sink_activate):
29098         * gst/elements/gsttee.h:
29099         * gst/gst.c: (gst_register_core_elements), (init_post):
29100         * gst/gst.h:
29101         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29102         (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29103         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29104         (gst_bin_change_state):
29105         * gst/gstbin.h:
29106         * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29107         (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29108         (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29109         (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29110         (gst_bus_set_sync_handler), (gst_bus_create_watch),
29111         (bus_watch_callback), (bus_watch_destroy),
29112         (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29113         (poll_timeout), (gst_bus_poll):
29114         * gst/gstbus.h:
29115         * gst/gstcaps.h:
29116         * gst/gstdata.h:
29117         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29118         (gst_element_post_message), (gst_element_message_full),
29119         (gst_element_get_state_func), (gst_element_get_state),
29120         (gst_element_abort_state), (gst_element_commit_state),
29121         (gst_element_lost_state), (gst_element_set_state),
29122         (gst_element_pads_activate), (gst_element_change_state),
29123         (gst_element_dispose), (gst_element_set_manager_func),
29124         (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29125         (gst_element_set_manager), (gst_element_get_manager),
29126         (gst_element_set_bus), (gst_element_get_bus),
29127         (gst_element_set_scheduler), (gst_element_get_scheduler):
29128         * gst/gstelement.h:
29129         * gst/gstevent.c: (gst_event_new_segment_seek),
29130         (gst_event_new_flush):
29131         * gst/gstevent.h:
29132         * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29133         (_gst_message_free), (gst_message_get_type), (gst_message_new),
29134         (gst_message_new_eos), (gst_message_new_error),
29135         (gst_message_new_warning), (gst_message_new_tag),
29136         (gst_message_new_state_changed), (gst_message_new_application),
29137         (gst_message_get_structure), (gst_message_parse_tag),
29138         (gst_message_parse_state_changed), (gst_message_parse_error),
29139         (gst_message_parse_warning):
29140         * gst/gstmessage.h:
29141         * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29142         (gst_real_pad_set_property), (gst_pad_set_active),
29143         (gst_pad_is_active), (gst_pad_set_blocked_async),
29144         (gst_pad_set_blocked), (gst_pad_is_blocked),
29145         (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29146         (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29147         (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29148         (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29149         (gst_pad_link_filtered), (gst_pad_relink_filtered),
29150         (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29151         (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29152         (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29153         (gst_pad_set_caps), (gst_pad_configure_sink),
29154         (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29155         (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29156         (gst_real_pad_dispose), (gst_real_pad_finalize),
29157         (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29158         (gst_pad_event_default_dispatch), (gst_pad_event_default),
29159         (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29160         * gst/gstpad.h:
29161         * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29162         (pipeline_bus_handler), (gst_pipeline_change_state),
29163         (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29164         * gst/gstpipeline.h:
29165         * gst/gstprobe.h:
29166         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29167         (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29168         (gst_queue_link_src), (gst_queue_bufferalloc),
29169         (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29170         (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29171         (gst_queue_loop), (gst_queue_handle_src_event),
29172         (gst_queue_handle_src_query), (gst_queue_src_activate),
29173         (gst_queue_change_state):
29174         * gst/gstqueue.h:
29175         * gst/gstscheduler.c: (gst_scheduler_init),
29176         (gst_scheduler_dispose), (gst_scheduler_create_task),
29177         (gst_scheduler_factory_create):
29178         * gst/gstscheduler.h:
29179         * gst/gststructure.c: (gst_structure_get_type),
29180         (gst_structure_copy_conditional):
29181         * gst/gststructure.h:
29182         * gst/gsttaginterface.h:
29183         * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29184         (gst_task_init), (gst_task_dispose), (gst_task_create),
29185         (gst_task_get_state), (gst_task_start), (gst_task_stop),
29186         (gst_task_pause):
29187         * gst/gsttask.h:
29188         * gst/gstthread.c:
29189         * gst/gstthread.h:
29190         * gst/gsttypes.h:
29191         * gst/schedulers/Makefile.am:
29192         * gst/schedulers/cothreads_compat.h:
29193         * gst/schedulers/entryscheduler.c:
29194         * gst/schedulers/faircothreads.c:
29195         * gst/schedulers/faircothreads.h:
29196         * gst/schedulers/fairscheduler.c:
29197         * gst/schedulers/gstbasicscheduler.c:
29198         * gst/schedulers/gstoptimalscheduler.c:
29199         * gst/schedulers/gthread-cothreads.h:
29200         * gst/schedulers/threadscheduler.c:
29201         (gst_thread_scheduler_task_get_type),
29202         (gst_thread_scheduler_task_class_init),
29203         (gst_thread_scheduler_task_init),
29204         (gst_thread_scheduler_task_start),
29205         (gst_thread_scheduler_task_stop),
29206         (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29207         (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29208         (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29209         (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29210         (plugin_init):
29211         * libs/gst/Makefile.am:
29212         * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29213         * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29214         (gst_file_pad_parent_set):
29215         * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29216         (gst_dp_event_from_packet):
29217         * tests/complexity.c: (main):
29218         * tests/mass_elements.c: (main):
29219         * testsuite/states/locked.c: (message_received), (main):
29220         * testsuite/states/parent.c: (main):
29221         * tools/gst-inspect.c: (print_element_flag_info),
29222         (print_implementation_info), (print_pad_info):
29223         * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29224         (main):
29225         * tools/gst-md5sum.c: (event_loop), (main):
29226         * tools/gst-typefind.c: (main):
29227         * tools/gst-xmlinspect.c: (print_element_info):
29228         Next big merge.
29229         Added GstBus for mainloop integration.
29230         Added GstMessage for sending notifications on the bus.
29231         Added GstTask as an abstraction for pipeline entry points.
29232         Removed GstThread.
29233         Removed Schedulers.
29234         Simplified GstQueue for multithreaded core.
29235         Made _link threadsafe, removed old capsnego.
29236         Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29237         Added pad blocking functions.
29238         Reworked scheduling functions in GstPad to prepare for
29239         scheduling updates soon.
29240         Moved events out of data stream.
29241         Simplified GstEvent types.
29242         Added return values to push/pull.
29243         Removed clocking from GstElement.
29244         Added prototypes for state change function for next merge.
29245         Removed iterate from bins and state change management.
29246         Fixed some elements, disabled others for now.
29247         Fixed -inspect and -launch.
29248         Added check for GstBus.
29249
29250 2005-03-10  Wim Taymans  <wim@fluendo.com>
29251
29252         * docs/design/part-MT-refcounting.txt:
29253         * docs/design/part-clocks.txt:
29254         * docs/design/part-gstelement.txt:
29255         * docs/design/part-gstobject.txt:
29256         * docs/design/part-standards.txt:
29257         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29258         (gst_bin_remove_func), (gst_bin_remove):
29259         * gst/gstbin.h:
29260         * gst/gstbuffer.c:
29261         * gst/gstcaps.h:
29262         * testsuite/clock/clock1.c: (main):
29263         * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29264         (main):
29265         * testsuite/dlopen/loadgst.c: (do_test):
29266         * testsuite/refcounting/bin.c: (add_remove_test1),
29267         (add_remove_test2), (main):
29268         * testsuite/refcounting/element.c: (main):
29269         * testsuite/refcounting/element_pad.c: (main):
29270         * testsuite/refcounting/pad.c: (main):
29271         * tools/gst-launch.c: (sigint_handler_sighandler):
29272         * tools/gst-typefind.c: (main):
29273         Doc updates.
29274         Added doc about clock.
29275         removed gst_bin_iterate_recurse_up(), marked methods
29276         for removal.
29277         Fix more testsuites.
29278
29279 2005-03-09  Wim Taymans  <wim@fluendo.com>
29280
29281         * gst/gstpad.c: (gst_pad_get_direction),
29282         (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29283         (gst_pad_collect_valist):
29284         * testsuite/bins/interface.c: (main):
29285         * testsuite/caps/audioscale.c: (test_caps):
29286         * testsuite/caps/caps.c: (test1), (test2), (test3):
29287         * testsuite/caps/deserialize.c: (main):
29288         * testsuite/caps/enumcaps.c: (main):
29289         * testsuite/caps/filtercaps.c: (main):
29290         * testsuite/caps/intersect2.c: (main):
29291         * testsuite/caps/random.c: (main):
29292         * testsuite/caps/renegotiate.c: (my_fixate), (main):
29293         * testsuite/caps/sets.c: (check_caps):
29294         * testsuite/caps/simplify.c: (check_caps), (main):
29295         * testsuite/caps/subtract.c: (check_caps):
29296         Fix _pad_get_direction wrt ghostpads.
29297         Fix caps testsuite.
29298
29299 2005-03-09  Wim Taymans  <wim@fluendo.com>
29300
29301         * check/Makefile.am:
29302         * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29303         * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29304         (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29305         * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29306         (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29307         (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29308         (gst_bin_remove), (gst_bin_iterate_recurse_up),
29309         (bin_element_is_sink), (gst_bin_iterate_sinks),
29310         (gst_bin_iterate_all_by_interface):
29311         * gst/gstbin.h:
29312         * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29313         (gst_element_change_state), (gst_element_dispose),
29314         (gst_element_finalize), (gst_element_set_loop_function):
29315         * gst/gstelement.h:
29316         * gst/gstiterator.c: (find_custom_fold_func):
29317         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29318         (gst_pad_collectv), (gst_pad_collect_valist),
29319         (gst_pad_template_new):
29320         * gst/gstpipeline.c: (gst_pipeline_class_init),
29321         (gst_pipeline_dispose), (gst_pipeline_set_property),
29322         (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29323         (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29324         (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29325         * gst/gstutils.h:
29326         * gst/schedulers/entryscheduler.c:
29327         * gst/schedulers/gstbasicscheduler.c:
29328         (gst_basic_scheduler_cothreaded_chain),
29329         (gst_basic_scheduler_chain_add_element):
29330         * testsuite/bins/interface.c: (main):
29331         Added GstBin test.
29332         Added GstSystemClock test.
29333         Implemented clock distribution code in GstBin.
29334         Implemented iterate sinks method for future use.
29335         Rearranged gstelement.h
29336         Fix GstIterator comparison bug.
29337         Moved some code to GstPipeline, mostly clocking related.
29338
29339 2005-03-09  Wim Taymans  <wim@fluendo.com>
29340
29341         * configure.ac:
29342         * gst/gst_private.h:
29343         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29344         (gst_bin_remove_func), (gst_bin_remove),
29345         (gst_bin_get_by_name_recurse_up):
29346         * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29347         (gst_clock_id_compare_func), (gst_clock_id_wait),
29348         (gst_clock_id_wait_async), (gst_clock_init),
29349         (gst_clock_adjust_unlocked), (gst_clock_get_time):
29350         * gst/gstelement.h:
29351         * gst/gstinfo.c: (_gst_debug_init):
29352         * gst/gstobject.h:
29353         * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29354         (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29355         * gst/gstpad.h:
29356         Bump version number, we're now 0.9.0
29357         Add future debugging category.
29358         Fix NULL _unref() in _get_by_name_recurse_up
29359         Rearrange gstpad.h.
29360         Update some docs.
29361
29362 2005-03-08  Wim Taymans  <wim@fluendo.com>
29363
29364         * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29365         * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29366         * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29367         * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29368         * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29369         * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29370         * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29371         * gst/elements/gstidentity.c: (gst_identity_class_init):
29372         * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29373         * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29374         * gst/elements/gstshaper.c: (gst_shaper_class_init):
29375         * gst/elements/gststatistics.c: (gst_statistics_class_init):
29376         * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29377         (gst_tee_link):
29378         * gst/gstelement.c: (gst_element_class_init),
29379         (gst_element_base_class_init), (gst_element_init),
29380         (gst_element_get_random_pad), (gst_element_wait_state_change),
29381         (gst_element_change_state), (gst_element_dispose),
29382         (gst_element_finalize), (gst_element_set_loop_function):
29383         * gst/gstelement.h:
29384         * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29385         * gst/gstthread.c: (gst_thread_class_init),
29386         (gst_thread_release_children_locks), (gst_thread_change_state):
29387         * gst/schedulers/gstbasicscheduler.c:
29388         (gst_basic_scheduler_loopfunc_wrapper),
29389         (gst_basic_scheduler_chain_wrapper),
29390         (gst_basic_scheduler_src_wrapper),
29391         (gst_basic_scheduler_remove_element):
29392         * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29393         Remove threadsafe properties. Fix elements because GObject
29394         complains when installing a property before declaring a
29395         set/get_property handler.
29396         Rearrange gstelement.h file, use STATE macros for state locks.
29397         Free mutexes in the finalize method instead of dispose.
29398
29399 2005-03-08  Wim Taymans  <wim@fluendo.com>
29400
29401         * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29402         * gst/gstthread.c: (gst_thread_release_children_locks):
29403         Added parentage check.
29404         Fix build og GstThread again.
29405
29406 2005-03-08  Wim Taymans  <wim@fluendo.com>
29407
29408         * docs/design/part-MT-refcounting.txt:
29409         * docs/design/part-conventions.txt:
29410         * docs/design/part-gstobject.txt:
29411         * docs/design/part-relations.txt:
29412         * docs/design/part-standards.txt:
29413         * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29414         (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29415         (gst_bin_get_by_name), (gst_bin_get_by_interface),
29416         (gst_bin_iterate_all_by_interface):
29417         * gst/gstbuffer.h:
29418         * gst/gstclock.h:
29419         * gst/gstelement.c: (gst_element_class_init),
29420         (gst_element_change_state), (gst_element_set_loop_function):
29421         * gst/gstelement.h:
29422         * gst/gstiterator.c:
29423         * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29424         (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29425         (gst_object_dispatch_properties_changed), (gst_object_set_name),
29426         (gst_object_set_parent), (gst_object_unparent),
29427         (gst_object_check_uniqueness):
29428         * gst/gstobject.h:
29429         Docs updates, clean up some headers.
29430
29431 2005-03-07  Wim Taymans  <wim@fluendo.com>
29432
29433         * check/.cvsignore:
29434         * check/Makefile.am:
29435         * check/gst-libs/.cvsignore:
29436         * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29437         * check/gst/.cvsignore:
29438         * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29439         (START_TEST), (gstbus_suite), (main):
29440         * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29441         * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29442         (gst_data_suite), (main):
29443         * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29444         (add_fold_func), (gstiterator_suite), (main):
29445         * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29446         (thread_name_object), (thread_name_object_default),
29447         (gst_object_name_compare), (gst_object_suite), (main):
29448         * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29449         (gst_pad_suite), (main):
29450         * check/gstcheck.c: (gst_check_log_message_func),
29451         (gst_check_log_critical_func), (gst_check_init):
29452         * check/gstcheck.h:
29453         * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29454         (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29455         Added checks.
29456
29457 2005-03-07  Wim Taymans  <wim@fluendo.com>
29458
29459         * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29460         (gst_list_iterator_next), (gst_list_iterator_resync),
29461         (gst_list_iterator_free), (gst_iterator_new_list),
29462         (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29463         (gst_iterator_free), (gst_iterator_push), (filter_next),
29464         (filter_resync), (filter_uninit), (filter_free),
29465         (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29466         (gst_iterator_foreach), (find_custom_fold_func),
29467         (gst_iterator_find_custom):
29468         * gst/gstiterator.h:
29469         Added missing files.
29470
29471 2005-03-07  Wim Taymans  <wim@fluendo.com>
29472
29473         * Makefile.am:
29474         * configure.ac:
29475         * docs/design/part-MT-refcounting.txt:
29476         * docs/design/part-conventions.txt:
29477         * docs/design/part-gstobject.txt:
29478         * docs/design/part-relations.txt:
29479         * examples/mixer/mixer.c: (main):
29480         * examples/thread/thread.c: (eos), (main):
29481         * gst/Makefile.am:
29482         * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29483         * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29484         (gst_spider_plug_from_srcpad):
29485         * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29486         (gst_spider_identity_change_state),
29487         (gst_spider_identity_sink_loop_type_finding):
29488         * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29489         * gst/elements/gstidentity.c: (gst_identity_init):
29490         * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29491         (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29492         * gst/elements/gsttypefindelement.c: (free_entry):
29493         * gst/gst.c:
29494         * gst/gst.h:
29495         * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29496         (gst_bin_set_clock_func), (gst_bin_auto_clock),
29497         (gst_bin_set_index), (gst_bin_set_element_sched),
29498         (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29499         (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29500         (gst_bin_iterate_elements), (iterate_child_recurse),
29501         (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29502         (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29503         (compare_interface), (gst_bin_get_by_interface),
29504         (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29505         * gst/gstbin.h:
29506         * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29507         (gst_buffer_default_free), (gst_buffer_default_copy),
29508         (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29509         (gst_buffer_create_sub):
29510         * gst/gstbuffer.h:
29511         * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29512         (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29513         (gst_caps_unref), (gst_static_caps_get),
29514         (gst_caps_remove_and_get_structure), (gst_caps_append),
29515         (gst_caps_append_structure), (gst_caps_remove_structure),
29516         (gst_caps_copy_nth), (gst_caps_set_simple),
29517         (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29518         (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29519         (gst_caps_structure_intersect_field), (gst_caps_intersect),
29520         (gst_caps_structure_subtract_field), (gst_caps_subtract),
29521         (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29522         (gst_caps_structure_figure_out_union),
29523         (gst_caps_switch_structures), (gst_caps_do_simplify),
29524         (gst_caps_replace), (gst_caps_from_string),
29525         (gst_caps_copy_conditional):
29526         * gst/gstcaps.h:
29527         * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29528         (_gst_clock_id_free), (gst_clock_id_unref),
29529         (gst_clock_id_compare_func), (gst_clock_id_wait),
29530         (gst_clock_id_wait_async), (gst_clock_class_init),
29531         (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29532         (gst_clock_get_time), (gst_clock_set_time_adjust),
29533         (gst_clock_set_property), (gst_clock_get_property):
29534         * gst/gstclock.h:
29535         * gst/gstcompat.h:
29536         * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29537         * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29538         * gst/gstdata.h:
29539         * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29540         (gst_element_requires_clock), (gst_element_provides_clock),
29541         (gst_element_set_clock), (gst_element_clock_wait),
29542         (gst_element_wait), (gst_element_set_time_delay),
29543         (gst_element_is_indexable), (gst_element_add_pad),
29544         (gst_element_add_ghost_pad), (gst_element_remove_pad),
29545         (pad_compare_name), (gst_element_get_static_pad),
29546         (gst_element_request_pad), (gst_element_get_request_pad),
29547         (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29548         (gst_element_class_get_pad_template_list),
29549         (gst_element_class_get_pad_template), (gst_element_error_func),
29550         (gst_element_get_random_pad), (gst_element_get_event_masks),
29551         (gst_element_send_event), (gst_element_seek),
29552         (gst_element_get_query_types), (gst_element_query),
29553         (gst_element_get_formats), (gst_element_convert),
29554         (gst_element_is_locked_state), (gst_element_set_locked_state),
29555         (gst_element_sync_state_with_parent), (gst_element_change_state),
29556         (gst_element_finalize), (gst_element_yield),
29557         (gst_element_interrupt), (gst_element_set_scheduler),
29558         (gst_element_get_scheduler), (gst_element_set_loop_function):
29559         * gst/gstelement.h:
29560         * gst/gstevent.h:
29561         * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29562         (gst_format_get_by_nick), (gst_format_get_details),
29563         (gst_format_iterate_definitions):
29564         * gst/gstformat.h:
29565         * gst/gstindex.c: (gst_index_gtype_resolver):
29566         * gst/gstinfo.c:
29567         * gst/gstinfo.h:
29568         * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29569         (gst_mem_chunk_free):
29570         * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29571         (gst_object_ref), (gst_object_unref), (gst_object_sink),
29572         (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29573         (gst_object_dispatch_properties_changed),
29574         (gst_object_set_name_default), (gst_object_set_name),
29575         (gst_object_get_name), (gst_object_set_name_prefix),
29576         (gst_object_get_name_prefix), (gst_object_set_parent),
29577         (gst_object_get_parent), (gst_object_unparent),
29578         (gst_object_check_uniqueness), (gst_object_save_thyself),
29579         (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29580         (gst_object_set_property), (gst_object_get_property),
29581         (gst_object_get_path_string):
29582         * gst/gstobject.h:
29583         * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29584         (gst_real_pad_init), (gst_real_pad_get_property),
29585         (gst_pad_custom_new), (gst_pad_get_direction),
29586         (gst_pad_set_active), (gst_pad_is_active),
29587         (gst_pad_set_event_function), (gst_pad_is_linked),
29588         (gst_pad_link_free), (gst_pad_link_intersect),
29589         (gst_pad_link_fixate), (gst_pad_set_caps),
29590         (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29591         (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29592         (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29593         (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29594         (gst_pad_get_caps), (gst_pad_peer_get_caps),
29595         (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29596         (gst_pad_realize), (gst_pad_get_allowed_caps),
29597         (gst_real_pad_dispose), (gst_real_pad_finalize),
29598         (gst_pad_collectv), (gst_pad_collect_valist),
29599         (gst_pad_template_dispose), (gst_pad_template_new),
29600         (gst_pad_get_internal_links):
29601         * gst/gstpad.h:
29602         * gst/gstpipeline.c: (gst_pipeline_dispose),
29603         (gst_pipeline_change_state):
29604         * gst/gstpipeline.h:
29605         * gst/gstplugin.c:
29606         * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29607         (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29608         * gst/gstpluginfeature.h:
29609         * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29610         * gst/gstquery.c: (_gst_query_type_initialize),
29611         (gst_query_type_register), (gst_query_type_get_by_nick),
29612         (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29613         * gst/gstquery.h:
29614         * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29615         * gst/gstscheduler.c: (gst_scheduler_add_element),
29616         (gst_scheduler_factory_create):
29617         * gst/gststructure.c: (gst_structure_set_parent_refcount),
29618         (gst_structure_free), (gst_structure_set_name),
29619         (gst_structure_id_set_value), (gst_structure_set_value),
29620         (gst_structure_set_valist), (gst_structure_remove_field),
29621         (gst_structure_remove_fields),
29622         (gst_structure_remove_fields_valist),
29623         (gst_structure_remove_all_fields), (gst_structure_foreach),
29624         (gst_structure_map_in_place),
29625         (gst_caps_structure_fixate_field_nearest_int),
29626         (gst_caps_structure_fixate_field_nearest_double):
29627         * gst/gststructure.h:
29628         * gst/gstsystemclock.c: (gst_system_clock_class_init),
29629         (gst_system_clock_init), (gst_system_clock_dispose),
29630         (gst_system_clock_async_thread),
29631         (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29632         (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29633         * gst/gstsystemclock.h:
29634         * gst/gsttag.c: (gst_tag_list_add_value_internal),
29635         (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29636         * gst/gsttaginterface.c:
29637         * gst/gstthread.c: (gst_thread_dispose),
29638         (gst_thread_release_children_locks), (gst_thread_change_state),
29639         (gst_thread_main_loop):
29640         * gst/gsttrashstack.h:
29641         * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29642         * gst/gsttypes.h:
29643         * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29644         (gst_element_request_pad), (gst_element_get_pad_from_template),
29645         (gst_element_request_compatible_pad),
29646         (gst_element_get_compatible_pad_filtered),
29647         (gst_element_get_compatible_pad), (gst_element_state_get_name),
29648         (gst_element_link_pads_filtered), (gst_element_link_filtered),
29649         (gst_element_link_many), (gst_element_link),
29650         (gst_element_link_pads), (gst_element_unlink_pads),
29651         (gst_element_unlink_many), (gst_element_unlink),
29652         (gst_pad_can_link_filtered), (gst_pad_can_link),
29653         (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29654         (gst_object_default_error), (gst_bin_add_many),
29655         (gst_bin_remove_many), (gst_element_populate_std_props),
29656         (gst_element_class_install_std_props), (gst_buffer_merge),
29657         (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29658         (link_fold_func), (gst_pad_proxy_setcaps):
29659         * gst/gstutils.h:
29660         * gst/gstvalue.c: (gst_value_deserialize_string):
29661         * gst/parse/grammar.y:
29662         * gst/schedulers/gstbasicscheduler.c:
29663         (gst_basic_scheduler_cothreaded_chain),
29664         (gst_basic_scheduler_chain_recursive_add),
29665         (gst_basic_scheduler_pad_link):
29666         * gst/schedulers/gstoptimalscheduler.c:
29667         (get_group_schedule_function),
29668         (gst_opt_scheduler_state_transition),
29669         (gst_opt_scheduler_add_element), (element_get_reachables_func):
29670         * libs/gst/bytestream/bytestream.c:
29671         * libs/gst/dataprotocol/dataprotocol.c:
29672         (gst_dp_header_from_buffer):
29673         * po/nb.po:
29674         * po/ru.po:
29675         * tests/threadstate/threadstate2.c: (eos):
29676         * tools/gst-compprep.c: (main):
29677         * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29678         (print_pad_info), (print_children_info):
29679         * tools/gst-launch.c: (idle_func), (main):
29680         * tools/gst-md5sum.c: (idle_func), (main):
29681         * tools/gst-xmlinspect.c: (print_element_info):
29682         First THREADED backport attempt, focusing on adding locks and
29683         making sure the API is threadsafe. Needs more work. More docs
29684         follow this week.
29685
29686 2005-02-24  Andy Wingo  <wingo@pobox.com>
29687
29688         * tests/bench-complexity.scm:
29689         * tests/complexity.gnuplot: New files, good for running complexity
29690         benchmarks.
29691
29692         * tests/Makefile.am:
29693         * tests/complexity.c: New test, sets up N elements, at each level
29694         teeing into M streams per element. Eeeenteresting.
29695
29696         * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29697         benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29698         running bench-mass_elements.scm.
29699
29700         * tests/bench-mass_elements.scm: New script, runs mass_elements
29701         for various numbers of identities, outputting the results to a
29702         file. Requires guile 1.6. Just for testing.
29703
29704 2005-02-23  Thomas Vander Stichele  <thomas at apestaart dot org>
29705
29706         * gst/schedulers/fairscheduler.c:
29707           compile with debug disabled
29708
29709 2005-02-22  Thomas Vander Stichele  <thomas at apestaart dot org>
29710
29711         * configure.ac:
29712           hunting season on 0.9 is now OPEN